Home
last modified time | relevance | path

Searched refs:ep_sts_reg (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/usb/cdns3/
Dcdns3-ep0.c597 u32 ep_sts_reg; in cdns3_check_new_setup() local
600 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in cdns3_check_new_setup()
602 return !!(ep_sts_reg & (EP_STS_SETUP | EP_STS_STPWAIT)); in cdns3_check_new_setup()
612 u32 ep_sts_reg; in cdns3_check_ep0_interrupt_proceed() local
616 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in cdns3_check_ep0_interrupt_proceed()
617 writel(ep_sts_reg, &priv_dev->regs->ep_sts); in cdns3_check_ep0_interrupt_proceed()
619 trace_cdns3_ep0_irq(priv_dev, ep_sts_reg); in cdns3_check_ep0_interrupt_proceed()
623 if (ep_sts_reg & EP_STS_SETUP) in cdns3_check_ep0_interrupt_proceed()
626 if (priv_dev->wait_for_setup && ep_sts_reg & EP_STS_IOC) { in cdns3_check_ep0_interrupt_proceed()
629 } else if ((ep_sts_reg & EP_STS_IOC) || (ep_sts_reg & EP_STS_ISP)) { in cdns3_check_ep0_interrupt_proceed()
[all …]
Dcdns3-gadget.c723 u32 ep_sts_reg; in cdns3_wa2_check_outq_status() local
728 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in cdns3_wa2_check_outq_status()
730 if (EP_STS_OUTQ_VAL(ep_sts_reg)) { in cdns3_wa2_check_outq_status()
731 u32 outq_ep_num = EP_STS_OUTQ_NO(ep_sts_reg); in cdns3_wa2_check_outq_status()
1630 u32 ep_sts_reg; in cdns3_check_ep_interrupt_proceed() local
1639 ep_sts_reg = readl(&priv_dev->regs->ep_sts); in cdns3_check_ep_interrupt_proceed()
1640 writel(ep_sts_reg, &priv_dev->regs->ep_sts); in cdns3_check_ep_interrupt_proceed()
1642 if ((ep_sts_reg & EP_STS_PRIME) && priv_ep->use_streams) { in cdns3_check_ep_interrupt_proceed()
1643 bool dbusy = !!(ep_sts_reg & EP_STS_DBUSY); in cdns3_check_ep_interrupt_proceed()
1654 if (tdl && (dbusy || !EP_STS_BUFFEMPTY(ep_sts_reg) || in cdns3_check_ep_interrupt_proceed()
[all …]