Lines Matching refs:epstat
132 u32 epstat = gr_read32(&ep->regs->epstat); in gr_seq_ep_show() local
153 epstat & GR_EPSTAT_B0 ? "valid" : "invalid", in gr_seq_ep_show()
154 epstat & GR_EPSTAT_BS ? " " : "selected ", in gr_seq_ep_show()
155 (epstat & GR_EPSTAT_B0CNT_MASK) >> GR_EPSTAT_B0CNT_POS); in gr_seq_ep_show()
157 epstat & GR_EPSTAT_B1 ? "valid" : "invalid", in gr_seq_ep_show()
158 epstat & GR_EPSTAT_BS ? "selected " : " ", in gr_seq_ep_show()
159 (epstat & GR_EPSTAT_B1CNT_MASK) >> GR_EPSTAT_B1CNT_POS); in gr_seq_ep_show()
1268 if (gr_read32(&ep->regs->epstat) & (GR_EPSTAT_B1 | GR_EPSTAT_B0)) in gr_handle_in_ep()
1807 u32 epstat; in gr_fifo_status() local
1814 epstat = gr_read32(&ep->regs->epstat); in gr_fifo_status()
1816 if (epstat & GR_EPSTAT_B0) in gr_fifo_status()
1817 bytes += (epstat & GR_EPSTAT_B0CNT_MASK) >> GR_EPSTAT_B0CNT_POS; in gr_fifo_status()
1818 if (epstat & GR_EPSTAT_B1) in gr_fifo_status()
1819 bytes += (epstat & GR_EPSTAT_B1CNT_MASK) >> GR_EPSTAT_B1CNT_POS; in gr_fifo_status()