Home
last modified time | relevance | path

Searched refs:bEndpointAddress (Results 1 – 25 of 162) sorted by relevance

1234567

/drivers/usb/gadget/
Depautoconf.c121 if (desc->bEndpointAddress & USB_DIR_IN) { in ep_matches()
162 desc->bEndpointAddress &= USB_DIR_IN; in ep_matches()
165 desc->bEndpointAddress |= num; in ep_matches()
167 } else if (desc->bEndpointAddress & USB_DIR_IN) { in ep_matches()
170 desc->bEndpointAddress = USB_DIR_IN | in_epnum; in ep_matches()
175 desc->bEndpointAddress |= epnum; in ep_matches()
261 && (USB_DIR_IN & desc->bEndpointAddress)) { in usb_ep_autoconfig()
Dpxa25x_udc.c178 static void pio_irq_enable(int bEndpointAddress) in pio_irq_enable() argument
180 bEndpointAddress &= 0xf; in pio_irq_enable()
181 if (bEndpointAddress < 8) in pio_irq_enable()
182 UICR0 &= ~(1 << bEndpointAddress); in pio_irq_enable()
184 bEndpointAddress -= 8; in pio_irq_enable()
185 UICR1 &= ~(1 << bEndpointAddress); in pio_irq_enable()
189 static void pio_irq_disable(int bEndpointAddress) in pio_irq_disable() argument
191 bEndpointAddress &= 0xf; in pio_irq_disable()
192 if (bEndpointAddress < 8) in pio_irq_disable()
193 UICR0 |= 1 << bEndpointAddress; in pio_irq_disable()
[all …]
Df_rndis.c188 .bEndpointAddress = USB_DIR_IN,
198 .bEndpointAddress = USB_DIR_IN,
206 .bEndpointAddress = USB_DIR_OUT,
231 .bEndpointAddress = USB_DIR_IN,
240 .bEndpointAddress = USB_DIR_IN,
249 .bEndpointAddress = USB_DIR_OUT,
650 hs_in_desc.bEndpointAddress = in rndis_bind()
651 fs_in_desc.bEndpointAddress; in rndis_bind()
652 hs_out_desc.bEndpointAddress = in rndis_bind()
653 fs_out_desc.bEndpointAddress; in rndis_bind()
[all …]
Df_ecm.c193 .bEndpointAddress = USB_DIR_IN,
203 .bEndpointAddress = USB_DIR_IN,
211 .bEndpointAddress = USB_DIR_OUT,
237 .bEndpointAddress = USB_DIR_IN,
246 .bEndpointAddress = USB_DIR_IN,
255 .bEndpointAddress = USB_DIR_OUT,
682 hs_ecm_in_desc.bEndpointAddress = in ecm_bind()
683 fs_ecm_in_desc.bEndpointAddress; in ecm_bind()
684 hs_ecm_out_desc.bEndpointAddress = in ecm_bind()
685 fs_ecm_out_desc.bEndpointAddress; in ecm_bind()
[all …]
Df_serial.c68 .bEndpointAddress = USB_DIR_IN,
75 .bEndpointAddress = USB_DIR_OUT,
206 gser_hs_in_desc.bEndpointAddress = in gser_bind()
207 gser_fs_in_desc.bEndpointAddress; in gser_bind()
208 gser_hs_out_desc.bEndpointAddress = in gser_bind()
209 gser_fs_out_desc.bEndpointAddress; in gser_bind()
Df_obex.c150 .bEndpointAddress = USB_DIR_OUT,
159 .bEndpointAddress = USB_DIR_IN,
183 .bEndpointAddress = USB_DIR_IN,
191 .bEndpointAddress = USB_DIR_OUT,
360 obex_hs_ep_in_desc.bEndpointAddress = in obex_bind()
361 obex_fs_ep_in_desc.bEndpointAddress; in obex_bind()
362 obex_hs_ep_out_desc.bEndpointAddress = in obex_bind()
363 obex_fs_ep_out_desc.bEndpointAddress; in obex_bind()
Df_loopback.c77 .bEndpointAddress = USB_DIR_IN,
85 .bEndpointAddress = USB_DIR_OUT,
171 hs_loop_source_desc.bEndpointAddress = in loopback_bind()
172 fs_loop_source_desc.bEndpointAddress; in loopback_bind()
173 hs_loop_sink_desc.bEndpointAddress = in loopback_bind()
174 fs_loop_sink_desc.bEndpointAddress; in loopback_bind()
Df_acm.c160 .bEndpointAddress = USB_DIR_IN,
169 .bEndpointAddress = USB_DIR_IN,
176 .bEndpointAddress = USB_DIR_OUT,
198 .bEndpointAddress = USB_DIR_IN,
627 acm_hs_in_desc.bEndpointAddress = in acm_bind()
628 acm_fs_in_desc.bEndpointAddress; in acm_bind()
629 acm_hs_out_desc.bEndpointAddress = in acm_bind()
630 acm_fs_out_desc.bEndpointAddress; in acm_bind()
631 acm_hs_notify_desc.bEndpointAddress = in acm_bind()
632 acm_fs_notify_desc.bEndpointAddress; in acm_bind()
Df_subset.c159 .bEndpointAddress = USB_DIR_IN,
167 .bEndpointAddress = USB_DIR_OUT,
310 hs_subset_in_desc.bEndpointAddress = in geth_bind()
311 fs_subset_in_desc.bEndpointAddress; in geth_bind()
312 hs_subset_out_desc.bEndpointAddress = in geth_bind()
313 fs_subset_out_desc.bEndpointAddress; in geth_bind()
Ds3c2410_udc.c359 idx = ep->bEndpointAddress & 0x7F; in s3c2410_udc_write_fifo()
462 idx = ep->bEndpointAddress & 0x7F; in s3c2410_udc_read_fifo()
842 int is_in = ep->bEndpointAddress & USB_DIR_IN; in s3c2410_udc_handle_ep()
852 idx = ep->bEndpointAddress & 0x7F; in s3c2410_udc_handle_ep()
1073 ep->bEndpointAddress = desc->bEndpointAddress; in s3c2410_udc_ep_enable()
1080 if (desc->bEndpointAddress & USB_DIR_IN) { in s3c2410_udc_ep_enable()
1112 tmp = desc->bEndpointAddress; in s3c2410_udc_ep_enable()
1115 desc->bEndpointAddress & USB_DIR_IN ? "in" : "out", max); in s3c2410_udc_ep_enable()
1241 __func__, ep->bEndpointAddress, _req->length); in s3c2410_udc_queue()
1243 if (ep->bEndpointAddress) { in s3c2410_udc_queue()
[all …]
Df_phonet.c130 .bEndpointAddress = USB_DIR_OUT,
139 .bEndpointAddress = USB_DIR_OUT,
149 .bEndpointAddress = USB_DIR_IN,
158 .bEndpointAddress = USB_DIR_IN,
513 pn_hs_sink_desc.bEndpointAddress = in pn_bind()
514 pn_fs_sink_desc.bEndpointAddress; in pn_bind()
515 pn_hs_source_desc.bEndpointAddress = in pn_bind()
516 pn_fs_source_desc.bEndpointAddress; in pn_bind()
Dlh7a40x_udc.h225 u8 bEndpointAddress; member
255 #define ep_is_in(EP) (((EP)->bEndpointAddress&USB_DIR_IN)==USB_DIR_IN)
256 #define ep_index(EP) ((EP)->bEndpointAddress&0xF)
Df_adb.c88 .bEndpointAddress = USB_DIR_IN,
96 .bEndpointAddress = USB_DIR_OUT,
104 .bEndpointAddress = USB_DIR_IN,
111 .bEndpointAddress = USB_DIR_OUT,
517 adb_highspeed_in_desc.bEndpointAddress = in adb_function_bind()
518 adb_fullspeed_in_desc.bEndpointAddress; in adb_function_bind()
519 adb_highspeed_out_desc.bEndpointAddress = in adb_function_bind()
520 adb_fullspeed_out_desc.bEndpointAddress; in adb_function_bind()
Domap_udc.c135 u16 num = ep->bEndpointAddress & 0x0f; in use_ep()
137 if (ep->bEndpointAddress & USB_DIR_IN) in use_ep()
168 || ep->bEndpointAddress != desc->bEndpointAddress in omap_ep_enable()
239 && !(ep->bEndpointAddress & USB_DIR_IN)) { in omap_ep_enable()
319 (ep->bEndpointAddress & USB_DIR_IN) in done()
327 (ep->bEndpointAddress & USB_DIR_IN) in done()
488 if (!ep->bEndpointAddress) in read_fifo()
645 omap_writew(ep->bEndpointAddress & 0xf, UDC_EP_NUM); in next_out_dma()
749 is_in = ep->bEndpointAddress & USB_DIR_IN; in dma_channel_claim()
770 reg |= (0x0f & ep->bEndpointAddress) << (4 * (channel - 1)); in dma_channel_claim()
[all …]
Df_sourcesink.c95 .bEndpointAddress = USB_DIR_IN,
103 .bEndpointAddress = USB_DIR_OUT,
206 hs_source_desc.bEndpointAddress = in sourcesink_bind()
207 fs_source_desc.bEndpointAddress; in sourcesink_bind()
208 hs_sink_desc.bEndpointAddress = in sourcesink_bind()
209 fs_sink_desc.bEndpointAddress; in sourcesink_bind()
Dimx_udc.h24 #define EP_NO(ep) ((ep->bEndpointAddress) & ~USB_DIR_IN) /* IN:1, OUT:0 */
25 #define EP_DIR(ep) ((ep->bEndpointAddress) & USB_DIR_IN ? 1 : 0)
51 unsigned char bEndpointAddress; member
Dimx_udc.c655 || imx_ep->bEndpointAddress != desc->bEndpointAddress) { in imx_ep_enable()
862 if ((imx_ep->bEndpointAddress & USB_DIR_IN) in imx_ep_set_halt()
1201 .bEndpointAddress = 0,
1212 .bEndpointAddress = USB_DIR_IN | 1,
1223 .bEndpointAddress = USB_DIR_OUT | 2,
1234 .bEndpointAddress = USB_DIR_OUT | 3,
1245 .bEndpointAddress = USB_DIR_IN | 4,
1256 .bEndpointAddress = USB_DIR_OUT | 5,
/drivers/usb/wusbcore/
Dwa-rpipe.c269 if (ep->desc.bEndpointAddress == 0) { in rpipe_epc_find()
280 ep->desc.bEndpointAddress, in rpipe_epc_find()
293 ep->desc.bEndpointAddress, in rpipe_epc_find()
323 ep->desc.bEndpointAddress); in rpipe_aim()
350 rpipe->descr.bEndpointAddress = ep->desc.bEndpointAddress; in rpipe_aim()
411 AIM_CHECK(bEndpointAddress, ep->desc.bEndpointAddress, "(%u vs %u)"); in rpipe_check_aim()
448 ep->desc.bEndpointAddress, in rpipe_get_by_ep()
466 ep->desc.bEndpointAddress, in rpipe_get_by_ep()
/drivers/usb/core/
Dendpoint.c50 usb_ep_attr(bEndpointAddress, "%02x\n")
95 in = (ep->desc->bEndpointAddress & USB_DIR_IN); in show_ep_interval()
137 else if (ep->desc->bEndpointAddress & USB_DIR_IN) in show_ep_direction()
313 endpoint->desc.bEndpointAddress); in usb_create_ep_devs()
320 sprintf(name, "ep_%02x", endpoint->desc.bEndpointAddress); in usb_create_ep_devs()
350 sprintf(name, "ep_%02x", endpoint->desc.bEndpointAddress); in usb_remove_ep_devs()
Dconfig.c70 i = d->bEndpointAddress & ~USB_ENDPOINT_DIR_MASK; in usb_parse_endpoint()
74 cfgno, inum, asnum, d->bEndpointAddress); in usb_parse_endpoint()
129 d->bEndpointAddress, d->bInterval, n); in usb_parse_endpoint()
141 cfgno, inum, asnum, d->bEndpointAddress); in usb_parse_endpoint()
161 cfgno, inum, asnum, d->bEndpointAddress, in usb_parse_endpoint()
/drivers/staging/frontier/
Dfrontier_compat.h14 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out()
19 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in()
/drivers/usb/image/
Dmdc800.c189 .bEndpointAddress = 0x01,
199 .bEndpointAddress = 0x82,
209 .bEndpointAddress = 0x03,
219 .bEndpointAddress = 0x84,
239 ( a->bEndpointAddress == b->bEndpointAddress ) in mdc800_endpoint_equals()
480 mdc800->endpoint[i]=intf_desc->endpoint [j].desc.bEndpointAddress ; in mdc800_usb_probe()
/drivers/staging/rt2870/
D2870_main_dev.c1170 ((endpoint[i].bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN)) in RT28XXProbePostConfig()
1172 pAd->BulkInEpAddr = endpoint[i].bEndpointAddress; in RT28XXProbePostConfig()
1178 ("EP address = 0x%2x \n", endpoint[i].bEndpointAddress)); in RT28XXProbePostConfig()
1181 ((endpoint[i].bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT)) in RT28XXProbePostConfig()
1185 pAd->BulkOutEpAddr[BulkOutIdx++] = endpoint[i].bEndpointAddress; in RT28XXProbePostConfig()
1191 ("EP address = 0x%2x \n", endpoint[i].bEndpointAddress)); in RT28XXProbePostConfig()
1231 ((iface_desc->endpoint[i].desc.bEndpointAddress & in RT28XXProbePostConfig()
1234 pAd->BulkInEpAddr = iface_desc->endpoint[i].desc.bEndpointAddress; in RT28XXProbePostConfig()
1240 ("EP address = 0x%2x\n", iface_desc->endpoint[i].desc.bEndpointAddress)); in RT28XXProbePostConfig()
1244 ((iface_desc->endpoint[i].desc.bEndpointAddress & in RT28XXProbePostConfig()
[all …]
/drivers/usb/host/
Dehci-sched.c811 epnum = urb->ep->desc.bEndpointAddress; in intr_submit()
963 stream->bEndpointAddress = is_input | epnum; in iso_stream_init()
1005 is_in = (stream->bEndpointAddress & USB_DIR_IN) ? 0x10 : 0; in iso_stream_put()
1006 stream->bEndpointAddress &= 0x0f; in iso_stream_put()
1013 stream->bEndpointAddress, is_in ? "in" : "out", in iso_stream_put()
1519 urb->dev->devpath, stream->bEndpointAddress & 0x0f, in itd_link_urb()
1520 (stream->bEndpointAddress & USB_DIR_IN) ? "in" : "out", in itd_link_urb()
1653 dev->devpath, stream->bEndpointAddress & 0x0f, in itd_complete()
1654 (stream->bEndpointAddress & USB_DIR_IN) ? "in" : "out"); in itd_complete()
1791 if (stream->bEndpointAddress & USB_DIR_IN) in sitd_sched_init()
[all …]
/drivers/usb/serial/
Dusb-serial.c845 port->bulk_in_endpointAddress = endpoint->bEndpointAddress; in usb_serial_probe()
854 endpoint->bEndpointAddress), in usb_serial_probe()
869 port->bulk_out_endpointAddress = endpoint->bEndpointAddress; in usb_serial_probe()
878 endpoint->bEndpointAddress), in usb_serial_probe()
895 endpoint->bEndpointAddress; in usb_serial_probe()
905 endpoint->bEndpointAddress), in usb_serial_probe()
927 endpoint->bEndpointAddress; in usb_serial_probe()
937 endpoint->bEndpointAddress), in usb_serial_probe()

1234567