Lines Matching refs:read_point
462 u16 read_point, write_point, remind_cnt; in rtl92ee_rx_desc_buff_remained_cnt() local
467 read_point = (u16)((tmp_4byte>>16) & 0x7ff); in rtl92ee_rx_desc_buff_remained_cnt()
475 read_point = (u16)((tmp_4byte>>16) & 0x7ff); in rtl92ee_rx_desc_buff_remained_cnt()
479 if (read_point > 0) in rtl92ee_rx_desc_buff_remained_cnt()
484 remind_cnt = calc_fifo_space(read_point, write_point, in rtl92ee_rx_desc_buff_remained_cnt()
998 u16 read_point, write_point; in rtl92ee_is_tx_desc_closed() local
1015 read_point = ring->cur_tx_rp; in rtl92ee_is_tx_desc_closed()
1018 if (write_point > read_point) { in rtl92ee_is_tx_desc_closed()
1019 if (index < write_point && index >= read_point) in rtl92ee_is_tx_desc_closed()
1023 } else if (write_point < read_point) { in rtl92ee_is_tx_desc_closed()
1024 if (index > write_point && index < read_point) in rtl92ee_is_tx_desc_closed()
1029 if (index != read_point) in rtl92ee_is_tx_desc_closed()