Searched defs:ep_desc (Results 1 - 6 of 6) sorted by relevance
/drivers/bluetooth/ |
H A D | btusb.c | 812 struct usb_endpoint_descriptor *ep_desc; local 830 ep_desc = &intf->cur_altsetting->endpoint[i].desc; 832 if (!data->isoc_tx_ep && usb_endpoint_is_isoc_out(ep_desc)) { 833 data->isoc_tx_ep = ep_desc; 837 if (!data->isoc_rx_ep && usb_endpoint_is_isoc_in(ep_desc)) { 838 data->isoc_rx_ep = ep_desc; 907 struct usb_endpoint_descriptor *ep_desc; local 951 ep_desc = &intf->cur_altsetting->endpoint[i].desc; 953 if (!data->intr_ep && usb_endpoint_is_int_in(ep_desc)) { 954 data->intr_ep = ep_desc; [all...] |
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00usb.c | 591 struct usb_endpoint_descriptor *ep_desc) 596 queue->usb_endpoint = usb_endpoint_num(ep_desc); 614 struct usb_endpoint_descriptor *ep_desc; local 626 ep_desc = &intf_desc->endpoint[i].desc; 628 if (usb_endpoint_is_bulk_in(ep_desc)) { 629 rt2x00usb_assign_endpoint(rt2x00dev->rx, ep_desc); 630 } else if (usb_endpoint_is_bulk_out(ep_desc) && 632 rt2x00usb_assign_endpoint(queue, ep_desc); 635 tx_ep_desc = ep_desc; 590 rt2x00usb_assign_endpoint(struct data_queue *queue, struct usb_endpoint_descriptor *ep_desc) argument
|
/drivers/usb/gadget/ |
H A D | printer.c | 320 #define ep_desc(g, hs, fs) (((g)->speed == USB_SPEED_HIGH)?(hs):(fs)) macro 325 #define ep_desc(g, hs, fs) (((void)(g)), (fs)) macro 891 dev->in_ep->desc = ep_desc(dev->gadget, &hs_ep_in_desc, &fs_ep_in_desc); 894 dev->out_ep->desc = ep_desc(dev->gadget, &hs_ep_out_desc,
|
/drivers/staging/comedi/drivers/ |
H A D | vmk80xx.c | 1346 struct usb_endpoint_descriptor *ep_desc; local 1372 ep_desc = &iface_desc->endpoint[i].desc; 1374 if (usb_endpoint_is_int_in(ep_desc)) { 1375 dev->ep_rx = ep_desc; 1379 if (usb_endpoint_is_int_out(ep_desc)) { 1380 dev->ep_tx = ep_desc; 1384 if (usb_endpoint_is_bulk_in(ep_desc)) { 1385 dev->ep_rx = ep_desc; 1389 if (usb_endpoint_is_bulk_out(ep_desc)) { 1390 dev->ep_tx = ep_desc; [all...] |
/drivers/usb/serial/ |
H A D | ftdi_sio.c | 1479 struct usb_endpoint_descriptor *ep_desc = &interface->cur_altsetting->endpoint[1].desc; local 1494 ep_desc = &interface->cur_altsetting->endpoint[i].desc; 1495 if (ep_desc->wMaxPacketSize == 0) { 1496 ep_desc->wMaxPacketSize = cpu_to_le16(0x40); 1502 priv->max_packet_size = usb_endpoint_maxp(ep_desc); 1798 struct usb_endpoint_descriptor *ep_desc = &ep->desc; local 1800 if (ep->enabled && ep_desc->wMaxPacketSize == 0) { 1801 ep_desc->wMaxPacketSize = cpu_to_le16(0x40);
|
H A D | keyspan.c | 1377 struct usb_endpoint_descriptor const *ep_desc; local 1395 ep_desc = find_ep(serial, endpoint); 1396 if (!ep_desc) { 1400 if (usb_endpoint_xfer_int(ep_desc)) { 1405 ep_desc->bInterval); 1406 } else if (usb_endpoint_xfer_bulk(ep_desc)) { 1414 usb_endpoint_type(ep_desc));
|
Completed in 401 milliseconds