Lines Matching refs:ep_desc
2116 struct usb_endpoint_descriptor *ep_desc; in __set_isoc_interface() local
2134 ep_desc = &intf->cur_altsetting->endpoint[i].desc; in __set_isoc_interface()
2136 if (!data->isoc_tx_ep && usb_endpoint_is_isoc_out(ep_desc)) { in __set_isoc_interface()
2137 data->isoc_tx_ep = ep_desc; in __set_isoc_interface()
2141 if (!data->isoc_rx_ep && usb_endpoint_is_isoc_in(ep_desc)) { in __set_isoc_interface()
2142 data->isoc_rx_ep = ep_desc; in __set_isoc_interface()
3397 struct usb_endpoint_descriptor *ep_desc; in __set_diag_interface() local
3399 ep_desc = &intf->cur_altsetting->endpoint[i].desc; in __set_diag_interface()
3401 if (!data->diag_tx_ep && usb_endpoint_is_bulk_out(ep_desc)) { in __set_diag_interface()
3402 data->diag_tx_ep = ep_desc; in __set_diag_interface()
3406 if (!data->diag_rx_ep && usb_endpoint_is_bulk_in(ep_desc)) { in __set_diag_interface()
3407 data->diag_rx_ep = ep_desc; in __set_diag_interface()
3607 struct usb_endpoint_descriptor *ep_desc; in btusb_probe() local
3650 ep_desc = &intf->cur_altsetting->endpoint[i].desc; in btusb_probe()
3652 if (!data->intr_ep && usb_endpoint_is_int_in(ep_desc)) { in btusb_probe()
3653 data->intr_ep = ep_desc; in btusb_probe()
3657 if (!data->bulk_tx_ep && usb_endpoint_is_bulk_out(ep_desc)) { in btusb_probe()
3658 data->bulk_tx_ep = ep_desc; in btusb_probe()
3662 if (!data->bulk_rx_ep && usb_endpoint_is_bulk_in(ep_desc)) { in btusb_probe()
3663 data->bulk_rx_ep = ep_desc; in btusb_probe()