Lines Matching refs:endpoint
338 struct usb_endpoint_descriptor *endpoint; in usb_hif_setup_pipe_resources() local
347 endpoint = &iface_desc->endpoint[i].desc; in usb_hif_setup_pipe_resources()
349 if (IS_BULK_EP(endpoint->bmAttributes)) { in usb_hif_setup_pipe_resources()
351 IS_DIR_IN(endpoint->bEndpointAddress) ? in usb_hif_setup_pipe_resources()
353 endpoint->bEndpointAddress, in usb_hif_setup_pipe_resources()
354 qdf_le16_to_cpu(endpoint->wMaxPacketSize)); in usb_hif_setup_pipe_resources()
355 } else if (IS_INT_EP(endpoint->bmAttributes)) { in usb_hif_setup_pipe_resources()
357 IS_DIR_IN(endpoint->bEndpointAddress) ? in usb_hif_setup_pipe_resources()
359 endpoint->bEndpointAddress, in usb_hif_setup_pipe_resources()
360 qdf_le16_to_cpu(endpoint->wMaxPacketSize), in usb_hif_setup_pipe_resources()
361 endpoint->bInterval); in usb_hif_setup_pipe_resources()
362 } else if (IS_ISOC_EP(endpoint->bmAttributes)) { in usb_hif_setup_pipe_resources()
365 IS_DIR_IN(endpoint->bEndpointAddress) ? in usb_hif_setup_pipe_resources()
367 endpoint->bEndpointAddress, in usb_hif_setup_pipe_resources()
368 qdf_le16_to_cpu(endpoint->wMaxPacketSize), in usb_hif_setup_pipe_resources()
369 endpoint->bInterval); in usb_hif_setup_pipe_resources()
374 endpoint->bEndpointAddress, in usb_hif_setup_pipe_resources()
387 pipe->ep_address = endpoint->bEndpointAddress; in usb_hif_setup_pipe_resources()
389 qdf_le16_to_cpu(endpoint->wMaxPacketSize); in usb_hif_setup_pipe_resources()
391 if (IS_BULK_EP(endpoint->bmAttributes)) { in usb_hif_setup_pipe_resources()
401 } else if (IS_INT_EP(endpoint->bmAttributes)) { in usb_hif_setup_pipe_resources()
411 } else if (IS_ISOC_EP(endpoint->bmAttributes)) { in usb_hif_setup_pipe_resources()
423 pipe->ep_desc = endpoint; in usb_hif_setup_pipe_resources()