Home
last modified time | relevance | path

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

1234

/external/u-boot/drivers/usb/gadget/
Depautoconf.c104 if (desc->bEndpointAddress & USB_DIR_IN) { in ep_matches()
148 desc->bEndpointAddress |= num; in ep_matches()
150 } else if (desc->bEndpointAddress & USB_DIR_IN) { in ep_matches()
153 desc->bEndpointAddress = USB_DIR_IN | in_epnum; in ep_matches()
158 desc->bEndpointAddress |= epnum; in ep_matches()
244 && (USB_DIR_IN & desc->bEndpointAddress)) { in usb_ep_autoconfig()
269 if ((desc->bEndpointAddress & USB_DIR_IN) && in usb_ep_autoconfig()
272 else if ((desc->bEndpointAddress & USB_DIR_IN) == 0 && in usb_ep_autoconfig()
275 else if ((desc->bEndpointAddress & USB_DIR_IN) && in usb_ep_autoconfig()
Dpxa25x_udc.c225 static void pio_irq_enable(int bEndpointAddress) in pio_irq_enable() argument
227 bEndpointAddress &= 0xf; in pio_irq_enable()
228 if (bEndpointAddress < 8) { in pio_irq_enable()
230 1 << bEndpointAddress); in pio_irq_enable()
232 bEndpointAddress -= 8; in pio_irq_enable()
234 1 << bEndpointAddress); in pio_irq_enable()
238 static void pio_irq_disable(int bEndpointAddress) in pio_irq_disable() argument
240 bEndpointAddress &= 0xf; in pio_irq_disable()
241 if (bEndpointAddress < 8) { in pio_irq_disable()
243 1 << bEndpointAddress); in pio_irq_disable()
[all …]
Dci_udc.c80 .bEndpointAddress = USB_DIR_IN,
271 num = ci_ep->desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in ci_ep_alloc_request()
295 num = ci_ep->desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in ci_ep_free_request()
333 num = desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in ci_ep_enable()
334 in = (desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_enable()
438 num = ci_ep->desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in ci_ep_submit_next_request()
439 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_submit_next_request()
564 num = ci_ep->desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in ci_ep_queue()
565 in = (ci_ep->desc->bEndpointAddress & USB_DIR_IN) != 0; in ci_ep_queue()
598 if (ep0_desc.bEndpointAddress == USB_DIR_IN) { in flip_ep0_direction()
[all …]
Ddwc2_udc_otg_priv.h62 u8 bEndpointAddress; member
88 #define ep_is_in(EP) (((EP)->bEndpointAddress&USB_DIR_IN) == USB_DIR_IN)
89 #define ep_index(EP) ((EP)->bEndpointAddress&0xF)
Df_fastboot.c57 .bEndpointAddress = USB_DIR_IN,
65 .bEndpointAddress = USB_DIR_OUT,
73 .bEndpointAddress = USB_DIR_IN,
81 .bEndpointAddress = USB_DIR_OUT,
182 hs_ep_in.bEndpointAddress = fs_ep_in.bEndpointAddress; in fastboot_bind()
183 hs_ep_out.bEndpointAddress = fs_ep_out.bEndpointAddress; in fastboot_bind()
Df_thor.c381 .bEndpointAddress = USB_DIR_IN,
389 .bEndpointAddress = USB_DIR_OUT,
438 .bEndpointAddress = 3 | USB_DIR_IN,
809 hs_in_desc.bEndpointAddress = in thor_func_bind()
810 fs_in_desc.bEndpointAddress; in thor_func_bind()
823 hs_out_desc.bEndpointAddress = in thor_func_bind()
824 fs_out_desc.bEndpointAddress; in thor_func_bind()
839 hs_int_desc.bEndpointAddress = in thor_func_bind()
840 fs_int_desc.bEndpointAddress; in thor_func_bind()
910 debug("(d)bEndpointAddress: 0x%x\n", d->bEndpointAddress); in thor_eps_setup()
[all …]
Dfotg210.c63 .bEndpointAddress = USB_DIR_IN,
237 if (ep->desc->bEndpointAddress & USB_DIR_IN) in fotg210_dma()
244 if (ep->desc->bEndpointAddress & USB_DIR_IN) { in fotg210_dma()
359 ep0_desc.bEndpointAddress = USB_DIR_IN; in fotg210_setup()
361 ep0_desc.bEndpointAddress = USB_DIR_OUT; in fotg210_setup()
474 if (ep->stopped || (ep->desc->bEndpointAddress & USB_DIR_IN)) { in fotg210_recv()
508 int in = (desc->bEndpointAddress & USB_DIR_IN) ? 1 : 0; in fotg210_ep_enable()
618 if (ep->desc->bEndpointAddress & USB_DIR_IN) in fotg210_ep_queue()
622 if (ep->desc->bEndpointAddress & USB_DIR_IN) { in fotg210_ep_queue()
635 if (ep->id == 0 || (ep->desc->bEndpointAddress & USB_DIR_IN)) { in fotg210_ep_queue()
[all …]
Df_rockusb.c29 .bEndpointAddress = USB_DIR_IN,
37 .bEndpointAddress = USB_DIR_OUT,
45 .bEndpointAddress = USB_DIR_IN,
53 .bEndpointAddress = USB_DIR_OUT,
180 hs_ep_in.bEndpointAddress = fs_ep_in.bEndpointAddress; in rockusb_bind()
181 hs_ep_out.bEndpointAddress = fs_ep_out.bEndpointAddress; in rockusb_bind()
Dstorage_common.c420 .bEndpointAddress = USB_DIR_IN,
430 .bEndpointAddress = USB_DIR_OUT,
442 .bEndpointAddress = USB_DIR_IN,
Ddwc2_udc_otg.c623 || ep->bEndpointAddress != desc->bEndpointAddress in dwc2_ep_enable()
828 .bEndpointAddress = 0,
843 .bEndpointAddress = USB_DIR_IN | 1,
858 .bEndpointAddress = USB_DIR_OUT | 2,
873 .bEndpointAddress = USB_DIR_IN | 3,
Datmel_usba_udc.c179 if (((desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) in usba_ep_enable()
521 .bEndpointAddress = 0,
567 u8 bEndpointAddress; in get_ep_by_addr() local
571 bEndpointAddress = ep->desc->bEndpointAddress; in get_ep_by_addr()
572 if ((wIndex ^ bEndpointAddress) & USB_DIR_IN) in get_ep_by_addr()
574 if ((bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) in get_ep_by_addr()
/external/crosvm/usb_util/src/
Dendpoint_descriptor.rs25 let direction = self.0.bEndpointAddress & ENDPOINT_DESCRIPTOR_DIRECTION_MASK; in get_direction()
35 self.0.bEndpointAddress & ENDPOINT_DESCRIPTOR_NUMBER_MASK in get_endpoint_number()
/external/u-boot/drivers/serial/
Dusbtty.c220 .bEndpointAddress = UDC_INT_ENDPOINT | USB_DIR_IN,
246 .bEndpointAddress = UDC_OUT_ENDPOINT | USB_DIR_OUT,
257 .bEndpointAddress = UDC_IN_ENDPOINT | USB_DIR_IN,
326 .bEndpointAddress = UDC_OUT_ENDPOINT | USB_DIR_OUT,
336 .bEndpointAddress = UDC_IN_ENDPOINT | USB_DIR_IN,
346 .bEndpointAddress = UDC_INT_ENDPOINT | USB_DIR_IN,
694 ep_descriptor_ptrs[i - 1]->bEndpointAddress; in usbtty_init_instances()
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_data_transfer_unittest.py157 device_context.descriptor_cache.bulk_in_endpoint.bEndpointAddress = 0
158 device_context.descriptor_cache.bulk_out_endpoint.bEndpointAddress = 0
Dusb_descriptors.py478 endpoint.bEndpointAddress < 0x80 and
482 endpoint.bEndpointAddress >= 0x80 and
Dusb_descriptors_unittest.py283 self.assertEquals(0x81, descriptor.bEndpointAddress)
327 self.assertEquals(0x82, descriptor.bEndpointAddress)
339 self.assertEquals(0x01, descriptor.bEndpointAddress)
/external/kernel-headers/original/uapi/linux/usb/
Dvideo.h361 __u8 bEndpointAddress; member
383 __u8 bEndpointAddress; \
400 __u8 bEndpointAddress; member
418 __u8 bEndpointAddress; \
Dch9.h404 __u8 bEndpointAddress; member
464 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num()
487 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in()
499 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out()
/external/u-boot/include/linux/usb/
Dch9.h370 __u8 bEndpointAddress; member
453 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num()
476 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in()
488 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out()
/external/u-boot/drivers/usb/emul/
Dsandbox_keyb.c105 .bEndpointAddress = SANDBOX_KEYB_EP_IN | USB_ENDPOINT_DIR_MASK,
139 .bEndpointAddress = SANDBOX_KEYB_EP_IN | USB_ENDPOINT_DIR_MASK,
/external/u-boot/drivers/usb/cdns3/
Dgadget.c835 address = priv_ep->endpoint.desc->bEndpointAddress; in cdns3_ep_run_transfer()
1144 priv_ep->endpoint.desc->bEndpointAddress); in cdns3_transfer_completed()
1208 cdns3_select_ep(priv_dev, priv_ep->endpoint.desc->bEndpointAddress); in cdns3_check_ep_interrupt_proceed()
1551 u32 bEndpointAddress = priv_ep->num | priv_ep->dir; in cdns3_ep_config() local
1630 cdns3_select_ep(priv_dev, bEndpointAddress); in cdns3_ep_config()
1768 u32 bEndpointAddress; in cdns3_gadget_ep_enable() local
1810 bEndpointAddress = priv_ep->num | priv_ep->dir; in cdns3_gadget_ep_enable()
1811 cdns3_select_ep(priv_dev, bEndpointAddress); in cdns3_gadget_ep_enable()
1829 BIT(cdns3_ep_addr_to_index(bEndpointAddress))); in cdns3_gadget_ep_enable()
1900 cdns3_select_ep(priv_dev, ep->desc->bEndpointAddress); in cdns3_gadget_ep_disable()
[all …]
/external/u-boot/drivers/usb/eth/
Dusb_ether.c41 int ep_addr = iface->ep_desc[i].bEndpointAddress; in usb_ether_register()
60 ueth->ep_int = iface->ep_desc[i].bEndpointAddress & in usb_ether_register()
/external/autotest/client/cros/cellular/mbim_compliance/sequences/
Dmbim_cid_device_services_sequence.py38 device_context.interrupt_endpoint.bEndpointAddress,
Dmbim_close_sequence.py47 descriptor_cache.interrupt_endpoint.bEndpointAddress,
Dmbim_cid_device_caps_sequence.py47 descriptor_cache.interrupt_endpoint.bEndpointAddress,

1234