max9271_disable_gpios(9)
π max9271_disable_gpios(9) β the Kernel API Manual moment
okay so bestie, welcome to max9271_disable_gpios, straight out of the Kernel API Manual β¨ this is the little function that turns gpio lines off, and honestly? she's lowkey iconic for it.
β¨ NAME β¨
max9271_disable_gpios β disable gpio lines π like, that's the whole job, and she does it.
πΈ SYNOPSIS πΈ
int max9271_disable_gpios (struct max9271_device *dev , u8 gpio_mask );
π¦ ARGUMENTS π¦
devβ the max9271 device π your main character, fr.gpio_maskβ the mask of gpio lines to disable π«Ά this is the "which ones, queen?" part.
π DESCRIPTION π
so here's the vibe check: the gpio_mask parameter shall be assembled using the MAX9271_GPIO* bit values π₯ like, that's not optional, that's the rules, no cap.
and a lil heads up that matters: the GPO line is always enabled by default and cannot be disabled π so don't come for her, she literally can't.
returns 0 on success or a negative error code on failure β periodt.
π SEE ALSO π
- Kernel file
./drivers/media/i2c/max9271.hπ struct max9271_device(9)max9271_wake_up(9)max9271_set_serial_link(9)max9271_configure_i2c(9)max9271_set_high_threshold(9)max9271_configure_gmsl_link(9)max9271_set_gpios(9)max9271_clear_gpios(9)max9271_enable_gpios(9)max9271_verify_id(9)max9271_set_address(9)max9271_set_deserializer_address(9)max9271_set_translation(9)
and that's the whole page, bestie π§ this lil gem lives in ./drivers/media/i2c, dated October 2026, and it's giving "kernel docs but make it cute" π mwah, go disable some gpios responsibly π
π¦ 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