Searched refs:epctrl (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/usb/gadget/udc/ |
D | gr_udc.c | 60 #define GR_BUFFER_SIZE(epctrl) \ argument 61 ((((epctrl) & GR_EPCTRL_BUFSZ_MASK) >> GR_EPCTRL_BUFSZ_POS) * \ 126 u32 epctrl = gr_read32(&ep->regs->epctrl); in gr_seq_ep_show() local 128 int mode = (epctrl & GR_EPCTRL_TT_MASK) >> GR_EPCTRL_TT_POS; in gr_seq_ep_show() 133 seq_printf(seq, " halted: %d\n", !!(epctrl & GR_EPCTRL_EH)); in gr_seq_ep_show() 134 seq_printf(seq, " disabled: %d\n", !!(epctrl & GR_EPCTRL_ED)); in gr_seq_ep_show() 135 seq_printf(seq, " valid: %d\n", !!(epctrl & GR_EPCTRL_EV)); in gr_seq_ep_show() 145 (epctrl & GR_EPCTRL_NT_MASK) >> GR_EPCTRL_NT_POS); in gr_seq_ep_show() 672 gr_write32(&ep->regs->epctrl, 0); in gr_ep_reset() 688 u32 epctrl; in gr_control_stall() local [all …]
|
D | fsl_udc_core.c | 460 u32 epctrl; in dr_ep_get_stall() local 462 epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); in dr_ep_get_stall() 464 return (epctrl & EPCTRL_TX_EP_STALL) ? 1 : 0; in dr_ep_get_stall() 466 return (epctrl & EPCTRL_RX_EP_STALL) ? 1 : 0; in dr_ep_get_stall() 632 u32 epctrl; in fsl_ep_disable() local 646 epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); in fsl_ep_disable() 648 epctrl &= ~(EPCTRL_TX_ENABLE | EPCTRL_TX_TYPE); in fsl_ep_disable() 649 epctrl |= EPCTRL_EP_TYPE_BULK << EPCTRL_TX_EP_TYPE_SHIFT; in fsl_ep_disable() 651 epctrl &= ~(EPCTRL_RX_ENABLE | EPCTRL_TX_TYPE); in fsl_ep_disable() 652 epctrl |= EPCTRL_EP_TYPE_BULK << EPCTRL_RX_EP_TYPE_SHIFT; in fsl_ep_disable() [all …]
|
D | atmel_usba_udc.c | 1432 u32 epctrl; in usba_control_irq() local 1436 epctrl = usba_ep_readl(ep, CTL); in usba_control_irq() 1439 ep->ep.name, ep->state, epstatus, epctrl); in usba_control_irq() 1446 if ((epctrl & USBA_TX_PK_RDY) && !(epstatus & USBA_TX_PK_RDY)) { in usba_control_irq() 1458 if ((epstatus & epctrl) & USBA_TX_COMPLETE) { in usba_control_irq() 1499 if ((epstatus & epctrl) & USBA_RX_BK_RDY) { in usba_control_irq() 1620 u32 epctrl; in usba_ep_irq() local 1623 epctrl = usba_ep_readl(ep, CTL); in usba_ep_irq() 1627 while ((epctrl & USBA_TX_PK_RDY) && !(epstatus & USBA_TX_PK_RDY)) { in usba_ep_irq() 1661 epctrl = usba_ep_readl(ep, CTL); in usba_ep_irq() [all …]
|
D | gr_udc.h | 23 u32 epctrl; member
|
/linux-6.12.1/drivers/usb/dwc2/ |
D | gadget.c | 3623 u32 epctrl; in dwc2_gadget_handle_incomplete_isoc_in() local 3637 epctrl = dwc2_readl(hsotg, DIEPCTL(idx)); in dwc2_gadget_handle_incomplete_isoc_in() 3638 if ((epctrl & DXEPCTL_EPENA) && in dwc2_gadget_handle_incomplete_isoc_in() 3640 epctrl |= DXEPCTL_SNAK; in dwc2_gadget_handle_incomplete_isoc_in() 3641 epctrl |= DXEPCTL_EPDIS; in dwc2_gadget_handle_incomplete_isoc_in() 3642 dwc2_writel(hsotg, epctrl, DIEPCTL(idx)); in dwc2_gadget_handle_incomplete_isoc_in() 3668 u32 epctrl; in dwc2_gadget_handle_incomplete_isoc_out() local 3683 epctrl = dwc2_readl(hsotg, DOEPCTL(idx)); in dwc2_gadget_handle_incomplete_isoc_out() 3684 if ((epctrl & DXEPCTL_EPENA) && in dwc2_gadget_handle_incomplete_isoc_out() 3844 u32 epctrl; in dwc2_hsotg_irq() local [all …]
|
/linux-6.12.1/drivers/usb/class/ |
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()
|