max9271_set_gpios(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… max9271_set_gpios(9) β€” Kernel API Manual

okay so bestie, welcome to the max9271_set_gpios page πŸ’– this one lives in the Kernel API Manual and honestly? she's a little baddie with one job.


✨ NAME ✨

max9271_set_gpios β€” set gpio lines to physical high value πŸŽ€


🌸 SYNOPSIS 🌸

int max9271_set_gpios (struct max9271_device *dev , u8 gpio_mask );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the max9271 device πŸ‘‘ like, the actual chip bestie, hand her over
  • gpio_mask β€” the mask of gpio lines to set to high value πŸ”₯ this is the lil guest list of which lines get the high treatment

πŸ’… DESCRIPTION πŸ’…

so here's the vibe: the gpio_mask parameter shall be assembled using the MAX9271_GP[IO|O]* bit values ✨ that's it, that's the whole recipe β€” you build the mask out of those bits, no cap.

ngl the return value is extremely straightforward: return 0 on success or a negative error code on failure 😭 so if you get a negative back, something went sideways, okurrr?


🌈 SEE ALSO 🌈


fr fr go read the whole squad, they're all in the same family and they all ate πŸ’€βœ¨

okay that's the page!! πŸŽ€ this one's sourced from ./drivers/media/i2c and dated October 2026 β€” so like, mark your calendars bestie, and remember: gpio lines aren't gonna set themselves to physical high value πŸ’–πŸ‘‘

πŸ“¦ where this page comes from