snd_hdac_bus_get_response(9)
β¨ snd_hdac_bus_get_response β¨
okay bestie, welcome to the Kernel API Manual π this one is short and sweet, and honestly? iconic behavior.
πΈ NAME πΈ
snd_hdac_bus_get_response β receive a response via RIRB or PIO π
like, you sent a command, and now you want the reply. that's the whole vibe. π¦
π SYNOPSIS π
int snd_hdac_bus_get_response (struct hdac_bus *bus , unsigned int addr
, unsigned int *res );
she's a function, she returns an int, she takes three things. no cap. β¨
π ARGUMENTS π
busβ the HD-audio core bus π like, the main character of this whole operationaddrβ the codec address π¬ which codec are we even talking to, bestieresβ pointer to store the value,NULLwhen not needed π«Ά so if you don't care about the answer you can literally just passNULLand move on with your life
π₯ DESCRIPTION π₯
Returns zero if a value is read, or a negative error code. π that's it. that's the description. short queen.
so real talk: zero = we ate, we got the value. negative = something went sideways, check the error code. simple as. π
π SEE ALSO π
Kernel file ./sound/hda/core/controller.c β go read it, iykyk π
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_update_rirb(9)snd_hdac_bus_get_response_rirb(9)snd_hdac_bus_send_cmd(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)
the whole friend group fr fr π«Ά
π‘ tiny note from your girl: this page lives under ./sound/hda/core β that's the source, bestie.
k bye, this page is from October 2026, signed with love by the ./sound/hda/core girlies π§π 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