Searched refs:rirb (Results 1 – 5 of 5) sorted by relevance
66 bus->rirb.addr = bus->rb.addr + 2048; in snd_hdac_bus_init_cmd_io()67 bus->rirb.buf = (__le32 *)(bus->rb.area + 2048); in snd_hdac_bus_init_cmd_io()68 bus->rirb.wp = bus->rirb.rp = 0; in snd_hdac_bus_init_cmd_io()69 memset(bus->rirb.cmds, 0, sizeof(bus->rirb.cmds)); in snd_hdac_bus_init_cmd_io()70 snd_hdac_chip_writel(bus, RIRBLBASE, (u32)bus->rirb.addr); in snd_hdac_bus_init_cmd_io()71 snd_hdac_chip_writel(bus, RIRBUBASE, upper_32_bits(bus->rirb.addr)); in snd_hdac_bus_init_cmd_io()164 bus->rirb.cmds[addr]++; in snd_hdac_bus_send_cmd()194 if (wp == bus->rirb.wp) in snd_hdac_bus_update_rirb()196 bus->rirb.wp = wp; in snd_hdac_bus_update_rirb()198 while (bus->rirb.rp != wp) { in snd_hdac_bus_update_rirb()[all …]
101 if (chip->rirb.cmds < LOLA_CORB_ENTRIES - 1) { in corb_send_verb()108 chip->rirb.cmds++; in corb_send_verb()129 if (wp == chip->rirb.wp) in lola_update_rirb()131 chip->rirb.wp = wp; in lola_update_rirb()133 while (chip->rirb.rp != wp) { in lola_update_rirb()134 chip->rirb.rp++; in lola_update_rirb()135 chip->rirb.rp %= LOLA_CORB_ENTRIES; in lola_update_rirb()137 rp = chip->rirb.rp << 1; /* an RIRB entry is 8-bytes */ in lola_update_rirb()138 res_ex = le32_to_cpu(chip->rirb.buf[rp + 1]); in lola_update_rirb()139 res = le32_to_cpu(chip->rirb.buf[rp]); in lola_update_rirb()[all …]
338 struct lola_rb rirb; member
808 if (!bus->rirb.cmds[addr]) { in azx_rirb_get_response()812 *res = bus->rirb.res[addr]; /* the last value */ in azx_rirb_get_response()906 azx_bus(chip)->rirb.res[addr] = azx_readl(chip, IR); in azx_single_wait_for_response()914 azx_bus(chip)->rirb.res[addr] = -1; in azx_single_wait_for_response()951 *res = bus->rirb.res[addr]; in azx_single_get_response()
337 struct hdac_rb rirb; member