Home
last modified time | relevance | path

Searched refs:rirb (Results 1 – 4 of 4) sorted by relevance

/sound/hda/
Dhdac_controller.c68 bus->rirb.addr = bus->rb.addr + 2048; in snd_hdac_bus_init_cmd_io()
69 bus->rirb.buf = (__le32 *)(bus->rb.area + 2048); in snd_hdac_bus_init_cmd_io()
70 bus->rirb.wp = bus->rirb.rp = 0; in snd_hdac_bus_init_cmd_io()
71 memset(bus->rirb.cmds, 0, sizeof(bus->rirb.cmds)); in snd_hdac_bus_init_cmd_io()
72 snd_hdac_chip_writel(bus, RIRBLBASE, (u32)bus->rirb.addr); in snd_hdac_bus_init_cmd_io()
73 snd_hdac_chip_writel(bus, RIRBUBASE, upper_32_bits(bus->rirb.addr)); in snd_hdac_bus_init_cmd_io()
168 bus->rirb.cmds[addr]++; in snd_hdac_bus_send_cmd()
199 if (wp == bus->rirb.wp) in snd_hdac_bus_update_rirb()
201 bus->rirb.wp = wp; in snd_hdac_bus_update_rirb()
203 while (bus->rirb.rp != wp) { in snd_hdac_bus_update_rirb()
[all …]
/sound/pci/lola/
Dlola.c87 if (chip->rirb.cmds < LOLA_CORB_ENTRIES - 1) { in corb_send_verb()
94 chip->rirb.cmds++; in corb_send_verb()
115 if (wp == chip->rirb.wp) in lola_update_rirb()
117 chip->rirb.wp = wp; in lola_update_rirb()
119 while (chip->rirb.rp != wp) { in lola_update_rirb()
120 chip->rirb.rp++; in lola_update_rirb()
121 chip->rirb.rp %= LOLA_CORB_ENTRIES; in lola_update_rirb()
123 rp = chip->rirb.rp << 1; /* an RIRB entry is 8-bytes */ in lola_update_rirb()
124 res_ex = le32_to_cpu(chip->rirb.buf[rp + 1]); in lola_update_rirb()
125 res = le32_to_cpu(chip->rirb.buf[rp]); in lola_update_rirb()
[all …]
Dlola.h325 struct lola_rb rirb; member
/sound/pci/hda/
Dhda_controller.c848 azx_bus(chip)->rirb.res[addr] = azx_readl(chip, IR); in azx_single_wait_for_response()
856 azx_bus(chip)->rirb.res[addr] = -1; in azx_single_wait_for_response()
893 *res = bus->rirb.res[addr]; in azx_single_get_response()