Lines Matching refs:endpoint
307 struct usb_endpoint_descriptor *endpoint; in ath6kl_usb_setup_pipe_resources() local
316 endpoint = &iface_desc->endpoint[i].desc; in ath6kl_usb_setup_pipe_resources()
318 if (ATH6KL_USB_IS_BULK_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
322 (endpoint->bEndpointAddress) ? in ath6kl_usb_setup_pipe_resources()
323 "RX" : "TX", endpoint->bEndpointAddress, in ath6kl_usb_setup_pipe_resources()
324 le16_to_cpu(endpoint->wMaxPacketSize)); in ath6kl_usb_setup_pipe_resources()
325 } else if (ATH6KL_USB_IS_INT_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
329 (endpoint->bEndpointAddress) ? in ath6kl_usb_setup_pipe_resources()
330 "RX" : "TX", endpoint->bEndpointAddress, in ath6kl_usb_setup_pipe_resources()
331 le16_to_cpu(endpoint->wMaxPacketSize), in ath6kl_usb_setup_pipe_resources()
332 endpoint->bInterval); in ath6kl_usb_setup_pipe_resources()
333 } else if (ATH6KL_USB_IS_ISOC_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
338 (endpoint->bEndpointAddress) ? in ath6kl_usb_setup_pipe_resources()
339 "RX" : "TX", endpoint->bEndpointAddress, in ath6kl_usb_setup_pipe_resources()
340 le16_to_cpu(endpoint->wMaxPacketSize), in ath6kl_usb_setup_pipe_resources()
341 endpoint->bInterval); in ath6kl_usb_setup_pipe_resources()
347 endpoint->bEndpointAddress, in ath6kl_usb_setup_pipe_resources()
360 pipe->ep_address = endpoint->bEndpointAddress; in ath6kl_usb_setup_pipe_resources()
361 pipe->max_packet_size = le16_to_cpu(endpoint->wMaxPacketSize); in ath6kl_usb_setup_pipe_resources()
363 if (ATH6KL_USB_IS_BULK_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
373 } else if (ATH6KL_USB_IS_INT_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
383 } else if (ATH6KL_USB_IS_ISOC_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
396 pipe->ep_desc = endpoint; in ath6kl_usb_setup_pipe_resources()