xgpio_set(9)
π xgpio_set(9) β Kernel API Manual, bestie edition
okay so real talk, we're in the xgpio_set(9) page of the Kernel API Manual and it's literally about poking one single GPIO signal with a value. tiny function, big main character energy. let's get into it π
β¨ NAME β¨
xgpio_set β write the specified signal of the GPIO device. that's it. that's the whole job. iconic honestly π
πΈ SYNOPSIS πΈ
int xgpio_set (struct gpio_chip *gc , unsigned int gpio , int val );
three args, returns an int, slays π«Ά
π¦ ARGUMENTS π¦
gcβ pointer to thegpio_chipdevice structure. like, which chip are we talking to bestie πgpioβ the GPIO signal number. which lil signal we're messing with β¨valβ the value to be written to the specified signal. the actual payload π
π DESCRIPTION π
so basically, this function writes the specified value into the specified signal of the GPIO device. no cap, that's the whole vibe β value in, signal set, done. lowkey the most straightforward glow-up in the whole GPIO file π
π SEE ALSO π
- Kernel file
./drivers/gpio/gpio-xilinx.c struct xgpio_instance(9)xgpio_get(9)xgpio_set_multiple(9)xgpio_dir_in(9)xgpio_dir_out(9)xgpio_save_regs(9)xgpio_remove(9)xgpio_irq_ack(9)xgpio_irq_mask(9)xgpio_irq_unmask(9)xgpio_set_irq_type(9)xgpio_irqhandler(9)xgpio_probe(9)
fr fr go read the whole squad, they all ate π
ok that's the page!! shipped straight out of ./drivers/gpio, dated October 2026 β mwah, go set some signals bestie ππΈ
π¦ 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