Lines Matching refs:w_offset
920 uint32_t pib_cnt, r_offset, w_offset;
928 crystalhd_mem_rd(hw->adp, Q_addr + sizeof(uint32_t), 1, &w_offset);
930 if (r_offset == w_offset)
933 if (w_offset > r_offset)
934 pib_cnt = w_offset - r_offset;
936 pib_cnt = (w_offset + MAX_PIB_Q_DEPTH) -
950 uint32_t addr_entry, r_offset, w_offset;
958 crystalhd_mem_rd(hw->adp, Q_addr + sizeof(uint32_t), 1, &w_offset);
961 if (r_offset == w_offset)
986 uint32_t r_offset, w_offset, n_offset;
994 crystalhd_mem_rd(hw->adp, Q_addr + sizeof(uint32_t), 1, &w_offset);
1000 n_offset = w_offset + 1;
1009 crystalhd_mem_wr(hw->adp, Q_addr + (w_offset * sizeof(uint32_t)),