Lines Matching refs:endpoint

299 	struct usb_endpoint_descriptor *endpoint;  in ath6kl_usb_setup_pipe_resources()  local
308 endpoint = &iface_desc->endpoint[i].desc; in ath6kl_usb_setup_pipe_resources()
310 if (ATH6KL_USB_IS_BULK_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
314 (endpoint->bEndpointAddress) ? in ath6kl_usb_setup_pipe_resources()
315 "RX" : "TX", endpoint->bEndpointAddress, in ath6kl_usb_setup_pipe_resources()
316 le16_to_cpu(endpoint->wMaxPacketSize)); in ath6kl_usb_setup_pipe_resources()
317 } else if (ATH6KL_USB_IS_INT_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
321 (endpoint->bEndpointAddress) ? in ath6kl_usb_setup_pipe_resources()
322 "RX" : "TX", endpoint->bEndpointAddress, in ath6kl_usb_setup_pipe_resources()
323 le16_to_cpu(endpoint->wMaxPacketSize), in ath6kl_usb_setup_pipe_resources()
324 endpoint->bInterval); in ath6kl_usb_setup_pipe_resources()
325 } else if (ATH6KL_USB_IS_ISOC_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()
339 endpoint->bEndpointAddress, in ath6kl_usb_setup_pipe_resources()
352 pipe->ep_address = endpoint->bEndpointAddress; in ath6kl_usb_setup_pipe_resources()
353 pipe->max_packet_size = le16_to_cpu(endpoint->wMaxPacketSize); in ath6kl_usb_setup_pipe_resources()
355 if (ATH6KL_USB_IS_BULK_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
365 } else if (ATH6KL_USB_IS_INT_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
375 } else if (ATH6KL_USB_IS_ISOC_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
388 pipe->ep_desc = endpoint; in ath6kl_usb_setup_pipe_resources()