max9271_disable_gpios(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🌈


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