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