Lines Matching refs:reg_wptr
34 u16 reg_rptr, u16 reg_wptr) in tn40_fifo_alloc() argument
52 f->reg_wptr = reg_wptr; in tn40_fifo_alloc()
260 tn40_write_reg(priv, f->m.reg_wptr, in tn40_rx_alloc_buffers()
263 f->m.reg_wptr, f->m.wptr & TN40_TXF_WPTR_WR_PTR); in tn40_rx_alloc_buffers()
267 f->m.reg_wptr, tn40_read_reg(priv, f->m.reg_wptr)); in tn40_rx_alloc_buffers()
281 tn40_write_reg(priv, f->m.reg_wptr, f->m.wptr & TN40_TXF_WPTR_WR_PTR); in tn40_recycle_rx_buffer()
296 f->m.wptr = tn40_read_reg(priv, f->m.reg_wptr) & TN40_TXF_WPTR_WR_PTR; in tn40_rx_receive()
796 tn40_write_reg(priv, f->m.reg_wptr, in tn40_start_xmit()
801 tn40_write_reg(priv, f->m.reg_wptr, in tn40_start_xmit()
824 f->m.wptr = tn40_read_reg(priv, f->m.reg_wptr) & TN40_TXF_WPTR_MASK; in tn40_tx_cleanup()
861 tn40_write_reg(priv, priv->txd_fifo0.m.reg_wptr, in tn40_tx_cleanup()
930 tn40_write_reg(priv, f->m.reg_wptr, f->m.wptr & TN40_TXF_WPTR_WR_PTR); in tn40_tx_push_desc()