Lines Matching refs:epstat
127 u32 epstat = gr_read32(&ep->regs->epstat);
148 epstat & GR_EPSTAT_B0 ? "valid" : "invalid",
149 epstat & GR_EPSTAT_BS ? " " : "selected ",
150 (epstat & GR_EPSTAT_B0CNT_MASK) >> GR_EPSTAT_B0CNT_POS);
152 epstat & GR_EPSTAT_B1 ? "valid" : "invalid",
153 epstat & GR_EPSTAT_BS ? "selected " : " ",
154 (epstat & GR_EPSTAT_B1CNT_MASK) >> GR_EPSTAT_B1CNT_POS);
1247 if (gr_read32(&ep->regs->epstat) & (GR_EPSTAT_B1 | GR_EPSTAT_B0))
1788 u32 epstat;
1795 epstat = gr_read32(&ep->regs->epstat);
1797 if (epstat & GR_EPSTAT_B0)
1798 bytes += (epstat & GR_EPSTAT_B0CNT_MASK) >> GR_EPSTAT_B0CNT_POS;
1799 if (epstat & GR_EPSTAT_B1)
1800 bytes += (epstat & GR_EPSTAT_B1CNT_MASK) >> GR_EPSTAT_B1CNT_POS;