regmap_init_sdw_mbq_cfg(9)
π regmap_init_sdw_mbq_cfg(9) β Kernel API Manual, but make it cute β¨
okay so bestie, we're in the regmap_init_sdw_mbq_cfg(9) girlies today, and honestly? this one's a little sleeper hit. it spins up an MBQ SoundWire register map with a config, and the device management code handles cleanup for you, which is giving main character energy if you ask me π
β¨ NAME β¨
regmap_init_sdw_mbq_cfg β Initialise MBQ SDW register map with config. literally that's it, that's the whole job π
πΈ SYNOPSIS πΈ
regmap_init_sdw_mbq_cfg (dev , sdw , config , mbq_config );
π¦ ARGUMENTS π¦
devβ thestruct devicethat will be interacted with. yes queen, this is the one doing the interacting π«Άsdwβ the Soundwire device that will be interacted with. so many little devices getting interacted with today, we love a busy social calendar β¨configβ Configuration for register map. the whole blueprint, the whole vibe πmbq_configβ Properties for the MBQ registers. very specific, very demure π
π DESCRIPTION π
so here's the tea: the return value will be an ERR_PTR on error, or a valid pointer to a struct regmap. no cap. π₯
and the best part? the regmap will be automatically freed by the device management code β not me having to remember to clean up, we love a self-sufficient icon ππ
heads up bestie: check that return value! ERR_PTR on error means you gotta use the error-checking helpers, fr fr. don't just start dereferencing and hoping for the best π
π SEE ALSO π
okay this is the part where the page just shows you the entire friend group, and honestly every single one of them is iconic in their own way. all of these are in the kernel file ./include/linux/regmap.h:
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_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_ac97(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)
like, the whole regmap_init_* and devm_regmap_init_* family reunion is happening and you're invited ππ
mwah π this page lives in ./include/linux, and it's dated October 2026 β so go forth, init your MBQ SDW register map, and remember: the device management code has your back. slay π¦β¨
π¦ 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