Home
last modified time | relevance | path

Searched refs:rp (Results 1 – 8 of 8) sorted by relevance

/sound/hda/
Dhdac_controller.c70 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()
[all …]
Dhdac_bus.c173 unsigned int rp, caddr, res; in snd_hdac_bus_process_unsol_events() local
177 rp = (bus->unsol_rp + 1) % HDA_UNSOL_QUEUE_SIZE; in snd_hdac_bus_process_unsol_events()
178 bus->unsol_rp = rp; in snd_hdac_bus_process_unsol_events()
179 rp <<= 1; in snd_hdac_bus_process_unsol_events()
180 res = bus->unsol_queue[rp]; in snd_hdac_bus_process_unsol_events()
181 caddr = bus->unsol_queue[rp + 1]; in snd_hdac_bus_process_unsol_events()
/sound/pci/lola/
Dlola.c112 unsigned int rp, wp; in lola_update_rirb() local
120 while (chip->rirb.rp != wp) { in lola_update_rirb()
121 chip->rirb.rp++; in lola_update_rirb()
122 chip->rirb.rp %= LOLA_CORB_ENTRIES; in lola_update_rirb()
124 rp = chip->rirb.rp << 1; /* an RIRB entry is 8-bytes */ in lola_update_rirb()
125 res_ex = le32_to_cpu(chip->rirb.buf[rp + 1]); in lola_update_rirb()
126 res = le32_to_cpu(chip->rirb.buf[rp]); in lola_update_rirb()
407 chip->rirb.rp = chip->rirb.cmds = 0; in setup_corb_rirb()
Dlola.h212 unsigned short rp, wp; /* read/write pointers */ member
/sound/xen/
Dxen_snd_front_evtchnl.c26 RING_IDX i, rp; in evtchnl_interrupt_req() local
34 rp = channel->u.req.ring.sring->rsp_prod; in evtchnl_interrupt_req()
43 for (i = channel->u.req.ring.rsp_cons; i != rp; i++) { in evtchnl_interrupt_req()
/sound/sparc/
Damd7930.c991 struct resource *rp = &op->resource[0]; in amd7930_sbus_probe() local
1015 rp->flags & 0xffL, in amd7930_sbus_probe()
1016 (unsigned long long)rp->start, in amd7930_sbus_probe()
Ddbri.c2592 struct resource *rp; in dbri_probe() local
2618 rp = &op->resource[0]; in dbri_probe()
2621 rp->flags & 0xffL, (unsigned long long)rp->start, irq); in dbri_probe()
Dcs4231.c1843 struct resource *rp = &op->resource[0]; in cs4231_sbus_probe() local
1853 rp->flags & 0xffL, in cs4231_sbus_probe()
1854 (unsigned long long)rp->start, in cs4231_sbus_probe()