Home
last modified time | relevance | path

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

/sound/hda/core/
A Dcontroller.c71 bus->rirb.wp = bus->rirb.rp = 0; in snd_hdac_bus_init_cmd_io()
229 unsigned int wp, rp; in snd_hdac_bus_send_cmd_corb() local
237 if (wp == 0xffff) { in snd_hdac_bus_send_cmd_corb()
242 wp++; in snd_hdac_bus_send_cmd_corb()
243 wp %= AZX_MAX_CORB_ENTRIES; in snd_hdac_bus_send_cmd_corb()
246 if (wp == rp) { in snd_hdac_bus_send_cmd_corb()
272 unsigned int rp, wp; in snd_hdac_bus_update_rirb() local
277 if (wp == 0xffff) { in snd_hdac_bus_update_rirb()
282 if (wp == bus->rirb.wp) in snd_hdac_bus_update_rirb()
284 bus->rirb.wp = wp; in snd_hdac_bus_update_rirb()
[all …]
A Dbus.c150 unsigned int wp; in snd_hdac_bus_queue_event() local
156 wp = (bus->unsol_wp + 1) % HDA_UNSOL_QUEUE_SIZE; in snd_hdac_bus_queue_event()
157 bus->unsol_wp = wp; in snd_hdac_bus_queue_event()
159 wp <<= 1; in snd_hdac_bus_queue_event()
160 bus->unsol_queue[wp] = res; in snd_hdac_bus_queue_event()
161 bus->unsol_queue[wp + 1] = res_ex; in snd_hdac_bus_queue_event()
/sound/pci/lola/
A Dlola.c88 unsigned int wp = chip->corb.wp + 1; in corb_send_verb() local
89 wp %= LOLA_CORB_ENTRIES; in corb_send_verb()
90 chip->corb.wp = wp; in corb_send_verb()
91 chip->corb.buf[wp * 2] = cpu_to_le32(data); in corb_send_verb()
93 lola_writew(chip, BAR0, CORBWP, wp); in corb_send_verb()
111 unsigned int rp, wp; in lola_update_rirb() local
114 wp = lola_readw(chip, BAR0, RIRBWP); in lola_update_rirb()
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()
[all …]
A Dlola.h212 unsigned short rp, wp; /* read/write pointers */ member

Completed in 16 milliseconds