Lines Matching refs:endpoint
308 struct usb_endpoint_descriptor *endpoint; in ath6kl_usb_setup_pipe_resources() local
317 endpoint = &iface_desc->endpoint[i].desc; in ath6kl_usb_setup_pipe_resources()
319 if (ATH6KL_USB_IS_BULK_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
323 (endpoint->bEndpointAddress) ? in ath6kl_usb_setup_pipe_resources()
324 "RX" : "TX", endpoint->bEndpointAddress, in ath6kl_usb_setup_pipe_resources()
325 le16_to_cpu(endpoint->wMaxPacketSize)); in ath6kl_usb_setup_pipe_resources()
326 } else if (ATH6KL_USB_IS_INT_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
330 (endpoint->bEndpointAddress) ? in ath6kl_usb_setup_pipe_resources()
331 "RX" : "TX", endpoint->bEndpointAddress, in ath6kl_usb_setup_pipe_resources()
332 le16_to_cpu(endpoint->wMaxPacketSize), in ath6kl_usb_setup_pipe_resources()
333 endpoint->bInterval); in ath6kl_usb_setup_pipe_resources()
334 } else if (ATH6KL_USB_IS_ISOC_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
339 (endpoint->bEndpointAddress) ? in ath6kl_usb_setup_pipe_resources()
340 "RX" : "TX", endpoint->bEndpointAddress, in ath6kl_usb_setup_pipe_resources()
341 le16_to_cpu(endpoint->wMaxPacketSize), in ath6kl_usb_setup_pipe_resources()
342 endpoint->bInterval); in ath6kl_usb_setup_pipe_resources()
346 if (usb_endpoint_maxp(endpoint) == 0) in ath6kl_usb_setup_pipe_resources()
353 endpoint->bEndpointAddress, in ath6kl_usb_setup_pipe_resources()
366 pipe->ep_address = endpoint->bEndpointAddress; in ath6kl_usb_setup_pipe_resources()
367 pipe->max_packet_size = le16_to_cpu(endpoint->wMaxPacketSize); in ath6kl_usb_setup_pipe_resources()
369 if (ATH6KL_USB_IS_BULK_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
379 } else if (ATH6KL_USB_IS_INT_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
389 } else if (ATH6KL_USB_IS_ISOC_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
402 pipe->ep_desc = endpoint; in ath6kl_usb_setup_pipe_resources()