max9271_set_gpios(9)
π 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 overgpio_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 π
- 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_clear_gpios(9)max9271_enable_gpios(9)max9271_disable_gpios(9)max9271_verify_id(9)max9271_set_address(9)max9271_set_deserializer_address(9)max9271_set_translation(9)
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
- 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