STRUCT SAMSUNG_RETENTION_DATA(9)
π struct samsung_retention_data(9) β Kernel API Manual π
okay bestie, welcome to the Kernel API Manual page for struct samsung_retention_data(9). This little struct is giving βpin-bank retention control dataβ energy, and weβre gonna read it together, no cap. π
β¨ NAME β¨
struct samsung_retention_data β represent a pin-bank retention control data.
Literally the struct that represents a pin-bank retention control data. Thatβs the whole name vibe, and weβre obsessed. π
πΈ SYNOPSIS πΈ
Hereβs the exact shape of the struct, bestie β keep the line breaks and everything:
struct samsung_retention_data {
const u32 *regs;
int nr_regs;
u32 value;
atomic_t *refcnt;
struct samsung_retention_ctrl *(*init)(struct
samsung_pinctrl_drv_data *, const struct samsung_retention_data *);
};
π Members π
regsβ array of PMU registers to control pad retention. the register lineup for pad-retention control, periodt.nr_regsβ number of registers inregsarray. just the count of registers in thatregsarray.valueβ value to store to registers to turn off retention. the value that gets stored to the registers to turn off retention, slay.refcntβ atomic counter if retention control affects more than one bank. an atomic counter for when retention control affects more than one bank.initβ platform specific callback to initialize retention control. platform specific callback that initializes retention control.
π SEE ALSO π
Kernel file ./drivers/pinctrl/samsung/pinctrl-samsung.h is where this lives, and the SEE ALSO squad is: enum pincfg_type(9), enum eint_type(9), struct samsung_pin_bank_type(9), struct samsung_pin_bank_data(9), struct samsung_pin_bank(9), struct samsung_pin_ctrl(9), struct samsung_pinctrl_drv_data(9), struct samsung_pinctrl_of_match_data(9), struct samsung_pin_group(9), struct samsung_pmx_func(9).
Thatβs the whole page, bestie. Cute sign-off time: source/path is ./drivers/pinctrl/samsung, the date is October 2026, and the footer manual name is struct sams...tention_data(9). Stay iconic, and may your retention control always be controlled. πβ¨
π¦ 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