Home
last modified time | relevance | path

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

/external/u-boot/drivers/usb/musb/
Dmusb_udc.c118 w = readw(&musbr->ep[0].ep0.csr0); in musb_db_regs()
124 b = readb(&musbr->ep[0].ep0.configdata); in musb_db_regs()
211 csr0 = readw(&musbr->ep[0].ep0.csr0); in musb_peri_ep0_stall()
213 writew(csr0, &musbr->ep[0].ep0.csr0); in musb_peri_ep0_stall()
222 csr0 = readw(&musbr->ep[0].ep0.csr0); in musb_peri_ep0_ack_req()
224 writew(csr0, &musbr->ep[0].ep0.csr0); in musb_peri_ep0_ack_req()
231 csr0 = readw(&musbr->ep[0].ep0.csr0); in musb_ep0_tx_ready()
233 writew(csr0, &musbr->ep[0].ep0.csr0); in musb_ep0_tx_ready()
240 csr0 = readw(&musbr->ep[0].ep0.csr0); in musb_ep0_tx_ready_and_last()
242 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.c639 INIT_LIST_HEAD(&udc->gadget.ep0->ep_list); in udc_reinit()
1077 struct at91_ep *ep0 = &udc->ep[0]; in handle_ep0() local
1078 u32 __iomem *creg = ep0->creg; in handle_ep0()
1083 nuke(ep0, -EPROTO); in handle_ep0()
1092 nuke(ep0, 0); in handle_ep0()
1094 handle_setup(udc, ep0, csr); in handle_ep0()
1098 if (list_empty(&ep0->queue)) in handle_ep0()
1101 req = list_entry(ep0->queue.next, struct at91_request, queue); in handle_ep0()
1109 if (req && ep0->is_in) { in handle_ep0()
1110 if (handle_ep(ep0)) in handle_ep0()
[all …]
Dcomposite.c285 qual->bMaxPacketSize0 = cdev->gadget->ep0->maxpacket; in device_qual()
721 gadget->ep0->driver_data = cdev; in composite_setup()
739 cdev->gadget->ep0->maxpacket; in composite_setup()
898 value = usb_ep_queue(gadget->ep0, req, GFP_KERNEL); in composite_setup()
902 composite_setup_complete(gadget->ep0, req); in composite_setup()
960 usb_ep_free_request(gadget->ep0, cdev->req); in composite_unbind()
982 cdev->req = usb_ep_alloc_request(gadget->ep0, GFP_KERNEL); in composite_bind()
989 gadget->ep0->driver_data = cdev; in composite_bind()
1003 cdev->desc.bMaxPacketSize0 = gadget->ep0->maxpacket; in composite_bind()
Datmel_usba_udc.c539 ep = to_usba_ep(udc->gadget.ep0); in reset_all_endpoints()
565 return to_usba_ep(udc->gadget.ep0); in get_ep_by_addr()
1117 struct usba_ep *ep0; in usba_udc_irq() local
1135 ep0 = &udc->usba_ep[0]; in usba_udc_irq()
1136 ep0->desc = &usba_ep0_desc; in usba_udc_irq()
1137 ep0->state = WAIT_FOR_SETUP; in usba_udc_irq()
1138 usba_ep_writel(ep0, CFG, in usba_udc_irq()
1142 usba_ep_writel(ep0, CTL_ENB, in usba_udc_irq()
1154 if (!(usba_ep_readl(ep0, CFG) & USBA_EPT_MAPPED)) in usba_udc_irq()
1267 udc->gadget.ep0 = &eps[0].ep; in usba_udc_pdata()
Dci_udc.c723 usb_ep_queue(controller.gadget.ep0, in handle_setup()
738 usb_ep_queue(controller.gadget.ep0, req, 0); in handle_setup()
746 usb_ep_queue(controller.gadget.ep0, req, 0); in handle_setup()
967 controller.gadget.ep0 = &controller.ep[0].ep; in ci_udc_probe()
968 INIT_LIST_HEAD(&controller.gadget.ep0->ep_list); in ci_udc_probe()
Df_thor.c661 value = usb_ep_queue(gadget->ep0, req, 0); in thor_func_setup()
769 dev->req = usb_ep_alloc_request(gadget->ep0, 0); in thor_func_bind()
855 free_ep_req(gadget->ep0, dev->req); in thor_func_bind()
865 free_ep_req(dev->gadget->ep0, dev->req); in thor_unbind()
DMakefile43 obj-y += ep0.o
Dether.c1276 device_desc.bMaxPacketSize0 = gadget->ep0->maxpacket; in eth_setup()
1498 && (value % gadget->ep0->maxpacket) == 0; in eth_setup()
1499 value = usb_ep_queue(gadget->ep0, req, GFP_ATOMIC); in eth_setup()
1503 eth_setup_complete(gadget->ep0, req); in eth_setup()
1783 usb_ep_free_request(gadget->ep0, dev->req); in eth_unbind()
2259 dev->req = usb_ep_alloc_request(gadget->ep0, GFP_KERNEL); in eth_bind()
2283 gadget->ep0->driver_data = dev; in eth_bind()
Df_sdp.c454 value = usb_ep_queue(gadget->ep0, req, 0); in sdp_setup()
740 c->cdev, c->cdev->gadget, c->cdev->gadget->ep0); in sdp_add()
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_dfu.c610 value = usb_ep_queue(gadget->ep0, req, 0); in dfu_handle()
831 c->cdev, c->cdev->gadget, c->cdev->gadget->ep0); in dfu_add()
Ddwc2_udc_otg.c186 INIT_LIST_HEAD(&dev->gadget.ep0->ep_list); in udc_reinit()
741 .ep0 = &memory.ep[0].ep,
Dpxa25x_udc.c1134 INIT_LIST_HEAD(&dev->gadget.ep0->ep_list); in udc_reinit()
1635 .ep0 = &memory.ep[0].ep,
Dfotg210.c777 .ep0 = &controller.ep[0].ep,
/external/python/cpython3/Objects/
Ddictobject.c638 PyDictKeyEntry *ep0 = DK_ENTRIES(keys); in clone_combined_dict() local
641 PyDictKeyEntry *entry = &ep0[i]; in clone_combined_dict()
732 PyDictKeyEntry *ep0; in lookdict() local
736 ep0 = DK_ENTRIES(dk); in lookdict()
748 PyDictKeyEntry *ep = &ep0[ix]; in lookdict()
796 PyDictKeyEntry *ep0 = DK_ENTRIES(mp->ma_keys); in lookdict_unicode() local
808 PyDictKeyEntry *ep = &ep0[ix]; in lookdict_unicode()
839 PyDictKeyEntry *ep0 = DK_ENTRIES(mp->ma_keys); in lookdict_unicode_nodummy() local
851 PyDictKeyEntry *ep = &ep0[ix]; in lookdict_unicode_nodummy()
884 PyDictKeyEntry *ep0 = DK_ENTRIES(mp->ma_keys); in lookdict_split() local
[all …]
/external/u-boot/drivers/usb/dwc3/
Dep0.c772 struct dwc3_ep *ep0; in dwc3_ep0_complete_data() local
782 ep0 = dwc->eps[0]; in dwc3_ep0_complete_data()
788 r = next_request(&ep0->request_list); in dwc3_ep0_complete_data()
799 dwc3_gadget_giveback(ep0, r, -ECONNRESET); in dwc3_ep0_complete_data()
809 maxp = ep0->endpoint.maxpacket; in dwc3_ep0_complete_data()
826 ep0->free_slot = 0; in dwc3_ep0_complete_data()
846 dwc3_gadget_giveback(ep0, r, 0); in dwc3_ep0_complete_data()
848 if (IS_ALIGNED(ur->length, ep0->endpoint.maxpacket) && in dwc3_ep0_complete_data()
DMakefile7 obj-$(CONFIG_USB_DWC3_GADGET) += gadget.o ep0.o
Dgadget.c1603 dwc->gadget.ep0 = &dep->endpoint; in dwc3_gadget_init_hw_endpoints()
2166 dwc->gadget.ep0->maxpacket = 512; in dwc3_gadget_conndone_interrupt()
2171 dwc->gadget.ep0->maxpacket = 64; in dwc3_gadget_conndone_interrupt()
2177 dwc->gadget.ep0->maxpacket = 64; in dwc3_gadget_conndone_interrupt()
2182 dwc->gadget.ep0->maxpacket = 8; in dwc3_gadget_conndone_interrupt()
/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/include/linux/usb/
Dgadget.h500 struct usb_ep *ep0; member
/external/u-boot/drivers/usb/musb-new/
Dmusb_gadget.c1833 musb->g.ep0 = &ep->end_point; in init_peripheral_ep()
/external/u-boot/arch/arm/dts/
Dsama5d3.dtsi1385 ep0: endpoint@0 { label
Dsama5d4.dtsi139 ep0: endpoint@0 { label