devm_regmap_init_ac97(9)
π devm_regmap_init_ac97(9) β like, the AC'97 register map starter pack β¨
okay so bestie, this is a page from the Kernel API Manual (devm_regmap_init_ac97(9)), and it's literally the glow-up tutorial for getting an AC'97 register map up and running. no cap, it's short but it ate. π
πΈ NAME πΈ
devm_regmap_init_ac97 β Initialise AC'97 register map π
β¨ SYNOPSIS β¨
devm_regmap_init_ac97 (ac97 , config );
π¦ ARGUMENTS π¦
ac97β the Device that will be interacted with π«Ά (yes, that's the whole vibe)configβ Configuration for register map π
π DESCRIPTION π
so here's the tea β β the return value will be an ERR_PTR on error, or a valid pointer to a struct regmap. that's it, that's the deal. π₯
and the best part? the regmap will be automatically freed by the device management code. not me getting memory cleanup for free ππ
iconic behaviour, honestly. no manual free, no stress, main character energy only.
π SEE ALSO π
Kernel file ./include/linux/regmap.h β plus this whole friend group right here, fr fr:
struct reg_default(9)struct reg_sequence(9)regmap_read_poll_timeout(9)regmap_read_poll_timeout_atomic(9)regmap_field_read_poll_timeout(9)struct regmap_range(9)struct regmap_access_table(9)struct regmap_config(9)struct regmap_range_cfg(9)struct regmap_sdw_mbq_cfg(9)struct regmap_bus(9)regmap_init(9)regmap_init_i2c(9)regmap_init_mdio(9)regmap_init_sccb(9)regmap_init_slimbus(9)regmap_init_spi(9)regmap_init_spmi_base(9)regmap_init_spmi_ext(9)regmap_init_w1(9)regmap_init_mmio_clk(9)regmap_init_mmio(9)regmap_init_ac97(9)regmap_init_sdw(9)regmap_init_sdw_mbq(9)regmap_init_sdw_mbq_cfg(9)regmap_init_i3c(9)regmap_init_spi_avmm(9)regmap_init_fsi(9)devm_regmap_init(9)devm_regmap_init_i2c(9)devm_regmap_init_mdio(9)devm_regmap_init_sccb(9)devm_regmap_init_spi(9)devm_regmap_init_spmi_base(9)devm_regmap_init_spmi_ext(9)devm_regmap_init_w1(9)devm_regmap_init_mmio_clk(9)devm_regmap_init_mmio(9)devm_regmap_init_sdw(9)devm_regmap_init_sdw_mbq(9)devm_regmap_init_sdw_mbq_cfg(9)devm_regmap_init_slimbus(9)devm_regmap_init_i3c(9)devm_regmap_init_spi_avmm(9)devm_regmap_init_fsi(9)struct reg_field(9)struct regmap_irq_type(9)struct regmap_irq(9)struct regmap_irq_chip(9)
lowkey a reminder that the devm_ ones are the ones that clean up after themselves β that's literally the whole point, iykyk π
and that's the page, bestie!! this one came from ./include/linux, dated October 2026, and it's filed under devm_regmap_init_ac97(9) in the Kernel API Manual. go forth and initialise ur register maps, you absolute king/queen/monarch πππ
π¦ 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