Home
last modified time | relevance | path

Searched refs:ep0 (Results 1 – 25 of 30) sorted by relevance

12

/external/u-boot/drivers/usb/musb/
Dmusb_udc.c117 w = readw(&musbr->ep[0].ep0.csr0); in musb_db_regs()
123 b = readb(&musbr->ep[0].ep0.configdata); in musb_db_regs()
210 csr0 = readw(&musbr->ep[0].ep0.csr0); in musb_peri_ep0_stall()
212 writew(csr0, &musbr->ep[0].ep0.csr0); in musb_peri_ep0_stall()
221 csr0 = readw(&musbr->ep[0].ep0.csr0); in musb_peri_ep0_ack_req()
223 writew(csr0, &musbr->ep[0].ep0.csr0); in musb_peri_ep0_ack_req()
230 csr0 = readw(&musbr->ep[0].ep0.csr0); in musb_ep0_tx_ready()
232 writew(csr0, &musbr->ep[0].ep0.csr0); in musb_ep0_tx_ready()
239 csr0 = readw(&musbr->ep[0].ep0.csr0); in musb_ep0_tx_ready_and_last()
241 writew(csr0, &musbr->ep[0].ep0.csr0); in musb_ep0_tx_ready_and_last()
[all …]
Dmusb_core.h114 struct musb_ep0_regs ep0; member
/external/u-boot/drivers/usb/gadget/
Dat91_udc.c638 INIT_LIST_HEAD(&udc->gadget.ep0->ep_list); in udc_reinit()
1076 struct at91_ep *ep0 = &udc->ep[0]; in handle_ep0() local
1077 u32 __iomem *creg = ep0->creg; in handle_ep0()
1082 nuke(ep0, -EPROTO); in handle_ep0()
1091 nuke(ep0, 0); in handle_ep0()
1093 handle_setup(udc, ep0, csr); in handle_ep0()
1097 if (list_empty(&ep0->queue)) in handle_ep0()
1100 req = list_entry(ep0->queue.next, struct at91_request, queue); in handle_ep0()
1108 if (req && ep0->is_in) { in handle_ep0()
1109 if (handle_ep(ep0)) in handle_ep0()
[all …]
Dcomposite.c293 qual->bMaxPacketSize0 = cdev->gadget->ep0->maxpacket; in device_qual()
783 gadget->ep0->driver_data = cdev; in composite_setup()
813 cdev->gadget->ep0->maxpacket; in composite_setup()
971 value = usb_ep_queue(gadget->ep0, req, GFP_KERNEL); in composite_setup()
975 composite_setup_complete(gadget->ep0, req); in composite_setup()
1033 usb_ep_free_request(gadget->ep0, cdev->req); in composite_unbind()
1055 cdev->req = usb_ep_alloc_request(gadget->ep0, GFP_KERNEL); in composite_bind()
1062 gadget->ep0->driver_data = cdev; in composite_bind()
1076 cdev->desc.bMaxPacketSize0 = gadget->ep0->maxpacket; in composite_bind()
Datmel_usba_udc.c538 ep = to_usba_ep(udc->gadget.ep0); in reset_all_endpoints()
564 return to_usba_ep(udc->gadget.ep0); in get_ep_by_addr()
1116 struct usba_ep *ep0; in usba_udc_irq() local
1134 ep0 = &udc->usba_ep[0]; in usba_udc_irq()
1135 ep0->desc = &usba_ep0_desc; in usba_udc_irq()
1136 ep0->state = WAIT_FOR_SETUP; in usba_udc_irq()
1137 usba_ep_writel(ep0, CFG, in usba_udc_irq()
1141 usba_ep_writel(ep0, CTL_ENB, in usba_udc_irq()
1153 if (!(usba_ep_readl(ep0, CFG) & USBA_EPT_MAPPED)) in usba_udc_irq()
1266 udc->gadget.ep0 = &eps[0].ep; in usba_udc_pdata()
DMakefile43 obj-y += ep0.o
Dci_udc.c728 usb_ep_queue(controller.gadget.ep0, in handle_setup()
743 usb_ep_queue(controller.gadget.ep0, req, 0); in handle_setup()
751 usb_ep_queue(controller.gadget.ep0, req, 0); in handle_setup()
975 controller.gadget.ep0 = &controller.ep[0].ep; in ci_udc_probe()
976 INIT_LIST_HEAD(&controller.gadget.ep0->ep_list); in ci_udc_probe()
Df_thor.c662 value = usb_ep_queue(gadget->ep0, req, 0); in thor_func_setup()
770 dev->req = usb_ep_alloc_request(gadget->ep0, 0); in thor_func_bind()
856 free_ep_req(gadget->ep0, dev->req); in thor_func_bind()
866 free_ep_req(dev->gadget->ep0, dev->req); in thor_unbind()
Dether.c1268 device_desc.bMaxPacketSize0 = gadget->ep0->maxpacket; in eth_setup()
1490 && (value % gadget->ep0->maxpacket) == 0; in eth_setup()
1491 value = usb_ep_queue(gadget->ep0, req, GFP_ATOMIC); in eth_setup()
1495 eth_setup_complete(gadget->ep0, req); in eth_setup()
1775 usb_ep_free_request(gadget->ep0, dev->req); in eth_unbind()
2251 dev->req = usb_ep_alloc_request(gadget->ep0, GFP_KERNEL); in eth_bind()
2275 gadget->ep0->driver_data = dev; in eth_bind()
Df_mass_storage.c295 struct usb_ep *ep0; /* Copy of gadget->ep0 */ member
474 rc = usb_ep_queue(common->ep0, common->ep0req, GFP_ATOMIC); in ep0_queue()
475 common->ep0->driver_data = common; in ep0_queue()
479 common->ep0->name, rc); in ep0_queue()
2462 common->ep0 = gadget->ep0; in fsg_common_init()
Df_sdp.c460 value = usb_ep_queue(gadget->ep0, req, 0); in sdp_setup()
787 c->cdev, c->cdev->gadget, c->cdev->gadget->ep0); in sdp_add()
Df_dfu.c611 value = usb_ep_queue(gadget->ep0, req, 0); in dfu_handle()
833 c->cdev, c->cdev->gadget, c->cdev->gadget->ep0); in dfu_add()
Ddwc2_udc_otg.c192 INIT_LIST_HEAD(&dev->gadget.ep0->ep_list); in udc_reinit()
815 .ep0 = &memory.ep[0].ep,
Dpxa25x_udc.c1133 INIT_LIST_HEAD(&dev->gadget.ep0->ep_list); in udc_reinit()
1634 .ep0 = &memory.ep[0].ep,
Dfotg210.c778 .ep0 = &controller.ep[0].ep,
/external/u-boot/drivers/usb/dwc3/
Dep0.c773 struct dwc3_ep *ep0; in dwc3_ep0_complete_data() local
783 ep0 = dwc->eps[0]; in dwc3_ep0_complete_data()
789 r = next_request(&ep0->request_list); in dwc3_ep0_complete_data()
800 dwc3_gadget_giveback(ep0, r, -ECONNRESET); in dwc3_ep0_complete_data()
810 maxp = ep0->endpoint.maxpacket; in dwc3_ep0_complete_data()
827 ep0->free_slot = 0; in dwc3_ep0_complete_data()
847 dwc3_gadget_giveback(ep0, r, 0); in dwc3_ep0_complete_data()
849 if (IS_ALIGNED(ur->length, ep0->endpoint.maxpacket) && in dwc3_ep0_complete_data()
DMakefile7 obj-$(CONFIG_USB_DWC3_GADGET) += gadget.o ep0.o
Dgadget.c1604 dwc->gadget.ep0 = &dep->endpoint; in dwc3_gadget_init_hw_endpoints()
2167 dwc->gadget.ep0->maxpacket = 512; in dwc3_gadget_conndone_interrupt()
2172 dwc->gadget.ep0->maxpacket = 64; in dwc3_gadget_conndone_interrupt()
2178 dwc->gadget.ep0->maxpacket = 64; in dwc3_gadget_conndone_interrupt()
2183 dwc->gadget.ep0->maxpacket = 8; in dwc3_gadget_conndone_interrupt()
/external/python/cpython3/Objects/
Ddictobject.c665 PyDictKeyEntry *ep0 = DK_ENTRIES(keys); in clone_combined_dict() local
668 PyDictKeyEntry *entry = &ep0[i]; in clone_combined_dict()
757 PyDictKeyEntry *ep0; in lookdict() local
761 ep0 = DK_ENTRIES(dk); in lookdict()
773 PyDictKeyEntry *ep = &ep0[ix]; in lookdict()
821 PyDictKeyEntry *ep0 = DK_ENTRIES(mp->ma_keys); in lookdict_unicode() local
833 PyDictKeyEntry *ep = &ep0[ix]; in lookdict_unicode()
864 PyDictKeyEntry *ep0 = DK_ENTRIES(mp->ma_keys); in lookdict_unicode_nodummy() local
876 PyDictKeyEntry *ep = &ep0[ix]; in lookdict_unicode_nodummy()
909 PyDictKeyEntry *ep0 = DK_ENTRIES(mp->ma_keys); in lookdict_split() local
[all …]
/external/u-boot/drivers/usb/cdns3/
DMakefile7 cdns3-$(CONFIG_$(SPL_)USB_CDNS3_GADGET) += gadget.o ep0.o
Dep0.c852 priv_dev->gadget.ep0->maxpacket = max_packet_size; in cdns3_ep0_config()
907 priv_dev->gadget.ep0 = &priv_ep->endpoint; in cdns3_init_ep0()
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/ice40/ice40_ep0/
Dformat11 print fmt: "ep0 state: %s", __get_str(state)
/external/python/cpython2/Objects/
Ddictobject.c326 PyDictEntry *ep0 = mp->ma_table; in lookdict() local
332 ep = &ep0[i]; in lookdict()
346 if (ep0 == mp->ma_table && ep->me_key == startkey) { in lookdict()
366 ep = &ep0[i & mask]; in lookdict()
378 if (ep0 == mp->ma_table && ep->me_key == startkey) { in lookdict()
414 PyDictEntry *ep0 = mp->ma_table; in lookdict_string() local
429 ep = &ep0[i]; in lookdict_string()
444 ep = &ep0[i & mask]; in lookdict_string()
574 PyDictEntry *ep0 = mp->ma_table; in insertdict_clean() local
579 ep = &ep0[i]; in insertdict_clean()
[all …]
/external/u-boot/doc/device-tree-bindings/usb/
Ddwc2.txt39 - g-tx-fifo-size: size of periodic tx fifo per endpoint (except ep0) in gadget mode.
/external/u-boot/include/linux/usb/
Dgadget.h526 struct usb_ep *ep0; member

12