Lines Matching refs:rp
70 bus->rirb.wp = bus->rirb.rp = 0; in snd_hdac_bus_init_cmd_io()
145 unsigned int wp, rp; in snd_hdac_bus_send_cmd() local
161 rp = snd_hdac_chip_readw(bus, CORBRP); in snd_hdac_bus_send_cmd()
162 if (wp == rp) { in snd_hdac_bus_send_cmd()
189 unsigned int rp, wp; in snd_hdac_bus_update_rirb() local
203 while (bus->rirb.rp != wp) { in snd_hdac_bus_update_rirb()
204 bus->rirb.rp++; in snd_hdac_bus_update_rirb()
205 bus->rirb.rp %= AZX_MAX_RIRB_ENTRIES; in snd_hdac_bus_update_rirb()
207 rp = bus->rirb.rp << 1; /* an RIRB entry is 8-bytes */ in snd_hdac_bus_update_rirb()
208 res_ex = le32_to_cpu(bus->rirb.buf[rp + 1]); in snd_hdac_bus_update_rirb()
209 res = le32_to_cpu(bus->rirb.buf[rp]); in snd_hdac_bus_update_rirb()
214 res, res_ex, bus->rirb.rp, wp); in snd_hdac_bus_update_rirb()