Lines Matching refs:rp
1037 chip->rirb.wp = chip->rirb.rp = 0; in azx_init_cmd_io()
1082 unsigned int wp, rp; in azx_corb_send_cmd() local
1096 rp = azx_readw(chip, CORBRP); in azx_corb_send_cmd()
1097 if (wp == rp) { in azx_corb_send_cmd()
1117 unsigned int rp, wp; in azx_update_rirb() local
1131 while (chip->rirb.rp != wp) { in azx_update_rirb()
1132 chip->rirb.rp++; in azx_update_rirb()
1133 chip->rirb.rp %= AZX_MAX_RIRB_ENTRIES; in azx_update_rirb()
1135 rp = chip->rirb.rp << 1; /* an RIRB entry is 8-bytes */ in azx_update_rirb()
1136 res_ex = le32_to_cpu(chip->rirb.buf[rp + 1]); in azx_update_rirb()
1137 res = le32_to_cpu(chip->rirb.buf[rp]); in azx_update_rirb()
1142 chip->rirb.rp, wp); in azx_update_rirb()