snd_hdac_bus_update_rirb(9)
π snd_hdac_bus_update_rirb(9) β the Kernel API Manual era π
okay so bestie, welcome to the snd_hdac_bus_update_rirb page, straight out of the Kernel API Manual β¨ this one's a little function with big main character energy, and yes it lives in the kernel, and yes it's about HD-audio, and yes we're gonna get through it together π«Ά
β¨ NAME β¨
snd_hdac_bus_update_rirb β literally just retrieve RIRB entries, that's the whole vibe π«
πΈ SYNOPSIS πΈ
void snd_hdac_bus_update_rirb (struct hdac_bus *bus );
like, that's it. that's the whole call. no cap π§
π¦ ARGUMENTS π¦
busβ the HD-audio core bus π that's the one and only thing you're handing over, and it's giving "core bus, obviously"
π DESCRIPTION π
so here's the tea β β this one is usually called from the interrupt handler. like, that's its natural habitat, that's where it thrives, that's its whole personality β¨
and bestie, listen to me, because this part is important: the caller needs bus->reg_lock spinlock before calling this. fr fr. you gotta hold that lock going in. it's not optional, it's not a suggestion, it's the rule ππ
π SEE ALSO π
go check the kernel file ./sound/hda/core/controller.c β that's where the magic lives π and while you're in the neighborhood, here's the whole friend group, all of them, every single one, no gatekeeping:
snd_hdac_bus_init_cmd_io(9)snd_hdac_bus_stop_cmd_io(9)snd_hdac_bus_send_cmd_pio(9)snd_hdac_bus_get_response_pio(9)snd_hdac_bus_send_cmd_corb(9)snd_hdac_bus_get_response_rirb(9)snd_hdac_bus_send_cmd(9)snd_hdac_bus_get_response(9)snd_hdac_bus_parse_capabilities(9)snd_hdac_bus_enter_link_reset(9)snd_hdac_bus_exit_link_reset(9)snd_hdac_bus_init_chip(9)snd_hdac_bus_stop_chip(9)snd_hdac_bus_handle_stream_irq(9)snd_hdac_bus_alloc_stream_pages(9)snd_hdac_bus_free_stream_pages(9)snd_hdac_bus_link_power(9)
like okay squad goals honestly ππ
so yeah, that's the page!! now go grab that spinlock before you call it, i'm literally begging you ππ
sign-off time bestie π this iconic little page comes from ./sound/hda/core, dated October 2026, and it's filed under the manual name snd_hdac_bus_update_rirb(9) β periodt π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms