STRUCT SPMI_PMIC_ARB(9)
π¦ struct spmi_pmic_arb(9) π¦
okay bestie, welcome to the Kernel API Manual β this is the page for struct spmi_pmic_arb, literally the SPMI PMIC Arbiter object β¨ she's the main character of the arbiter world, no cap.
πΈ NAME πΈ
struct spmi_pmic_arb β the SPMI PMIC Arbiter object π
that's it, that's the name, she's iconic
β¨ SYNOPSIS β¨
struct spmi_pmic_arb {
void __iomem *rd_base;
void __iomem *wr_base;
void __iomem *core;
resource_size_t core_size;
void __iomem *apid_map;
u8 channel;
u8 ee;
const struct pmic_arb_ver_ops *ver_ops;
int max_periphs;
struct spmi_pmic_arb_bus *buses[PMIC_ARB_MAX_BUSES];
int buses_available;
};
like, look at her. she's got range π«Ά
π Members π
rd_baseβ the read register base, and where it lives is giving version dependent ngl: on v1 it's the"core"register base, on v2 it's the"observer"register base off DT πwr_baseβ the write register base, same situation fr: on v1 it's the"core"register base, on v2 it's the"chnls"register base off DT πcoreβ the core register base, but likeβ¦ for v2 and above only (see above, bestie, I literally just told you π)core_sizeβ the size of that core register base βapid_mapβ on v8, the APID mapping table register base π₯channelβ the execution environment channel to use for accesses, iykykeeβ the current Execution Environment π«ver_opsβ the version dependent operations, so she knows how to act depending on what version she's dealing with π§max_periphsβ Number of elements inapid_data[]πbusesβ per arbiter buses instances, like one for each, okay πbuses_availableβ number of buses registered π
π₯ SEE ALSO π₯
- Kernel file
./drivers/spmi/spmi-pmic-arb.c struct spmi_pmic_arb_bus(9)struct pmic_arb_ver_ops(9)pmic_arb_read_data(9)pmic_arb_write_data(9)
go read those too, bestie, they're all part of the same little friend group π«Ά
π real talk: this page is from ./drivers/spmi and it's dated October 2026 β so like, from the future?? slay. anyway that's the whole struct, you ate that, 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