STRUCT PWRAP_SLV_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to struct pwrap_slv_type(9) from the Kernel API Manual β€” yes, that's the manual name, and this page is all about PMIC device wrapper definitions. It's short, it's cute, it's lowkey giving "tiny struct, big wrapper energy" πŸ’…βœ¨

πŸ’– NAME πŸ’–

struct pwrap_slv_type - PMIC device wrapper definitions. That's the whole vibe: this struct is the wrapper-definition blueprint, periodt.

✨ SYNOPSIS ✨

Here's the struct in all its literal glory, bestie β€” every field exactly as declared:

struct pwrap_slv_type {
    const u32 *dew_regs;
    enum pmic_type type;
    const u32 *comp_dew_regs;
    enum pmic_type comp_type;
    const struct pwrap_slv_regops *regops;
    u32 caps;
};

πŸŽ€ Members πŸŽ€

  • dew_regs β€” Device Wrapper (DeW) register offsets 🌈
  • type β€” PMIC Type (model) πŸ‘‘
  • comp_dew_regs β€” Device Wrapper (DeW) register offsets for companion device πŸ¦‹
  • comp_type β€” Companion PMIC Type (model) 🫢
  • regops β€” Register R/W ops ⚑
  • caps β€” Capability flags for the target device 🎯

🌸 SEE ALSO 🌸

  • Kernel file ./drivers/soc/mediatek/mtk-pmic-wrap.c β€” go peek, iykyk πŸ”₯

xoxo, this page came from ./drivers/soc/mediatek, dated October 2026, and it's your girl struct pwrap_slv_type(9) signing off β€” byeee bestie πŸ’–πŸŽ€

πŸ“¦ where this page comes from