Lines Matching refs:epstat
128 u32 epstat = gr_read32(&ep->regs->epstat); in gr_seq_ep_show() local
149 epstat & GR_EPSTAT_B0 ? "valid" : "invalid", in gr_seq_ep_show()
150 epstat & GR_EPSTAT_BS ? " " : "selected ", in gr_seq_ep_show()
151 (epstat & GR_EPSTAT_B0CNT_MASK) >> GR_EPSTAT_B0CNT_POS); in gr_seq_ep_show()
153 epstat & GR_EPSTAT_B1 ? "valid" : "invalid", in gr_seq_ep_show()
154 epstat & GR_EPSTAT_BS ? "selected " : " ", in gr_seq_ep_show()
155 (epstat & GR_EPSTAT_B1CNT_MASK) >> GR_EPSTAT_B1CNT_POS); in gr_seq_ep_show()
1248 if (gr_read32(&ep->regs->epstat) & (GR_EPSTAT_B1 | GR_EPSTAT_B0)) in gr_handle_in_ep()
1789 u32 epstat; in gr_fifo_status() local
1796 epstat = gr_read32(&ep->regs->epstat); in gr_fifo_status()
1798 if (epstat & GR_EPSTAT_B0) in gr_fifo_status()
1799 bytes += (epstat & GR_EPSTAT_B0CNT_MASK) >> GR_EPSTAT_B0CNT_POS; in gr_fifo_status()
1800 if (epstat & GR_EPSTAT_B1) in gr_fifo_status()
1801 bytes += (epstat & GR_EPSTAT_B1CNT_MASK) >> GR_EPSTAT_B1CNT_POS; in gr_fifo_status()