Searched refs:epctrl (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | gr_udc.c | 126 u32 epctrl = gr_read32(&ep->regs->epctrl); in gr_seq_ep_show() local 688 u32 epctrl; in gr_control_stall() local 690 epctrl = gr_read32(&dev->epo[0].regs->epctrl); in gr_control_stall() 692 epctrl = gr_read32(&dev->epi[0].regs->epctrl); in gr_control_stall() 705 u32 epctrl; in gr_ep_halt_wedge() local 728 epctrl = gr_read32(&ep->regs->epctrl); in gr_ep_halt_wedge() 731 gr_write32(&ep->regs->epctrl, epctrl | GR_EPCTRL_EH); in gr_ep_halt_wedge() 1490 epctrl = gr_read32(&ep->regs->epctrl); in gr_ep_enable() 1587 gr_write32(&ep->regs->epctrl, epctrl); in gr_ep_enable() 1819 epctrl = gr_read32(&ep->regs->epctrl); in gr_fifo_flush() [all …]
|
H A D | fsl_udc_core.c | 459 u32 epctrl; in dr_ep_get_stall() local 461 epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); in dr_ep_get_stall() 463 return (epctrl & EPCTRL_TX_EP_STALL) ? 1 : 0; in dr_ep_get_stall() 465 return (epctrl & EPCTRL_RX_EP_STALL) ? 1 : 0; in dr_ep_get_stall() 631 u32 epctrl; in fsl_ep_disable() local 642 epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); in fsl_ep_disable() 924 u32 epctrl; in fsl_ep_dequeue() local 937 epctrl &= ~EPCTRL_TX_ENABLE; in fsl_ep_dequeue() 939 epctrl &= ~EPCTRL_RX_ENABLE; in fsl_ep_dequeue() 982 epctrl |= EPCTRL_TX_ENABLE; in fsl_ep_dequeue() [all …]
|
H A D | atmel_usba_udc.c | 1434 u32 epctrl; in usba_control_irq() local 1438 epctrl = usba_ep_readl(ep, CTL); in usba_control_irq() 1441 ep->ep.name, ep->state, epstatus, epctrl); in usba_control_irq() 1448 if ((epctrl & USBA_TX_PK_RDY) && !(epstatus & USBA_TX_PK_RDY)) { in usba_control_irq() 1460 if ((epstatus & epctrl) & USBA_TX_COMPLETE) { in usba_control_irq() 1501 if ((epstatus & epctrl) & USBA_RX_BK_RDY) { in usba_control_irq() 1622 u32 epctrl; in usba_ep_irq() local 1625 epctrl = usba_ep_readl(ep, CTL); in usba_ep_irq() 1629 while ((epctrl & USBA_TX_PK_RDY) && !(epstatus & USBA_TX_PK_RDY)) { in usba_ep_irq() 1663 epctrl = usba_ep_readl(ep, CTL); in usba_ep_irq() [all …]
|
H A D | gr_udc.h | 23 u32 epctrl; member
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | ci_udc.h | 30 u32 epctrl[16]; /* 0x21c */ member 48 u32 epctrl[16]; /* 0x1c0 */ member
|
H A D | atmel_usba_udc.c | 845 u32 epctrl; in usba_control_irq() local 849 epctrl = usba_ep_readl(ep, CTL); in usba_control_irq() 852 ep->ep.name, ep->state, epstatus, epctrl); in usba_control_irq() 859 if ((epctrl & USBA_TX_PK_RDY) && !(epstatus & USBA_TX_PK_RDY)) { in usba_control_irq() 871 if ((epstatus & epctrl) & USBA_TX_COMPLETE) { in usba_control_irq() 911 if ((epstatus & epctrl) & USBA_RX_BK_RDY) { in usba_control_irq() 1027 u32 epctrl; in usba_ep_irq() local 1030 epctrl = usba_ep_readl(ep, CTL); in usba_ep_irq() 1034 while ((epctrl & USBA_TX_PK_RDY) && !(epstatus & USBA_TX_PK_RDY)) { in usba_ep_irq() 1057 epctrl = usba_ep_readl(ep, CTL); in usba_ep_irq() [all …]
|
H A D | ci_udc.c | 312 n = readl(&udc->epctrl[num]); in ep_enable() 324 writel(n, &udc->epctrl[num]); in ep_enable() 763 writel((1<<16) | (1 << 0), &udc->epctrl[0]); in handle_setup() 781 writel(0, &udc->epctrl[i]); in stop_activity()
|
/openbmc/linux/drivers/usb/dwc2/ |
H A D | gadget.c | 3620 u32 epctrl; in dwc2_gadget_handle_incomplete_isoc_in() local 3637 epctrl |= DXEPCTL_SNAK; in dwc2_gadget_handle_incomplete_isoc_in() 3638 epctrl |= DXEPCTL_EPDIS; in dwc2_gadget_handle_incomplete_isoc_in() 3665 u32 epctrl; in dwc2_gadget_handle_incomplete_isoc_out() local 3841 u32 epctrl; in dwc2_hsotg_irq() local 3864 epctrl |= DXEPCTL_SNAK; in dwc2_hsotg_irq() 3865 epctrl |= DXEPCTL_EPDIS; in dwc2_hsotg_irq() 4022 u32 epctrl; in dwc2_hsotg_ep_enable() local 4129 epctrl |= DXEPCTL_SNAK; in dwc2_hsotg_ep_enable() 4213 epctrl |= DXEPCTL_CNAK; in dwc2_hsotg_ep_enable() [all …]
|
/openbmc/linux/drivers/usb/class/ |
H A D | cdc-acm.c | 1180 struct usb_endpoint_descriptor *epctrl = NULL; in acm_probe() local 1299 &epread, &epwrite, &epctrl, NULL); in acm_probe() 1327 epctrl = &control_interface->cur_altsetting->endpoint[0].desc; in acm_probe() 1349 ctrlsize = usb_endpoint_maxp(epctrl); in acm_probe() 1492 usb_rcvintpipe(usb_dev, epctrl->bEndpointAddress), in acm_probe() 1495 epctrl->bInterval ? epctrl->bInterval : 16); in acm_probe()
|