si476x_core_set_power_state(9)
π si476x_core_set_power_state β¨
okay so real quick β this page lives in the Kernel API Manual, and it's all about the function si476x_core_set_power_state. yes bestie we're doing kernel internals today, put your hair up π
πΈ NAME πΈ
si476x_core_set_power_state β literally sets the level at which the power is supplied for the chip. that's it, that's the whole job π
β¨ SYNOPSIS β¨
int si476x_core_set_power_state (struct si476x_core *core , enum
si476x_power_state next_state );
π¦ ARGUMENTS π¦
coreβ the Core device structure. your main character struct fr π«Άnext_stateβ anenum si476x_power_statedescribing the power state to switch to. like picking an outfit but for voltage π
π DESCRIPTION π
Switch on all the required power supplies π₯
This function returns 0 in case of suvccess and negative error code otherwise.
ngl "suvccess" is their spelling, not mine β but I'm keeping it because I respect the source ππ
so yeah: 0 = slay, negative = something's giving error and you should probably pay attention π
π SEE ALSO π
Kernel file ./drivers/mfd/si476x-i2c.c β the whole friend group lives there:
si476x_core_config_pinmux(9)si476x_core_start(9)si476x_core_stop(9)si476x_core_report_drainer_stop(9)si476x_core_start_rds_drainer_once(9)si476x_core_drain_rds_fifo(9)si476x_core_pronounce_dead(9)si476x_core_i2c_xfer(9)si476x_core_get_status(9)si476x_core_get_and_signal_status(9)si476x_core_fwver_to_revision(9)si476x_core_get_revision_info(9)
that's the whole page bestie, go forth and power things on π§ββοΈπ
shoutout to ./drivers/mfd (that's the source, and also literally where the file lives), October 2026 (the date, yes from the future, don't ask), and the version tag si476x_core_set_power_state(9) β mwah, bye! πβ
π¦ 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