regmap_init_spi(9)
β¨ NAME β¨
okay so welcome to regmap_init_spi(9), straight out of the Kernel API Manual, and the name is literally regmap_init_spi β Initialise register map. no cap, that's the whole assignment bestie. π
πΈ SYNOPSIS πΈ
the call looks exactly like this, character for character, don't @ me:
regmap_init_spi (dev , config );
π ARGUMENTS π
devβ device that will be interacted with π«Άconfigβ configuration for register map β¨
π¦ DESCRIPTION π¦
so the return value will be an ERR_PTR on error, or a valid pointer to a struct regmap. that's the vibe check: error path gets the ERR_PTR, success path gets the valid struct regmap pointer. iconic. π
π SEE ALSO π
the whole SEE ALSO squad, all here, no gatekeeping:
- 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_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_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)
xoxo, the regmap_init_spi(9) page π β shoutout to source ./include/linux, dated October 2026. π
π¦ 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