ltq_mm_dir_out(9)
π ltq_mm_dir_out β a kernel API manual moment β¨
okay so bestie, welcome to the ltq_mm_dir_out(9) page, part of the Kernel API Manual. it's short, it's sweet, and honestly it's giving "little function that could" energy. let's get into it π
πΈ NAME πΈ
ltq_mm_dir_out β this is the gpio_chip->dir_out hook, and its whole job is to set gpio direction. that's it. that's the function. iconic minimalism fr fr π
π SYNOPSIS π
int ltq_mm_dir_out (struct gpio_chip *gc , unsigned offset , int value );
like, look at her. she's an int, she takes three things, she's literally doing her best π«Ά
π¦ ARGUMENTS π¦
gcβ a pointer to thegpio_chipdevice structure. yeah, the whole device struct, she's fancy like that πoffsetβ the GPIO signal number. which signal we're talking about, bestie β¨valueβ the value to be written to the specified signal. the actual payload, the main character of this whole operation π
π DESCRIPTION π
so here's the tea: it's the same as ltq_mm_set, and it always returns 0. no drama, no errors, no surprises β just a clean little 0 every single time. she ate and left no crumbs ππ
π§ SEE ALSO π§
- Kernel file
./drivers/gpio/gpio-mm-lantiq.c ltq_mm_apply(9)ltq_mm_set(9)ltq_mm_save_regs(9)
go read those too, iykyk ππ
ngl this one's basically a one-liner in a trench coat, but every detail still matters, so keep it cute and keep it correct π
and that's the whole page!! πΈ this lil beauty lives under ./drivers/gpio, dated October 2026, and you just read ltq_mm_dir_out(9) β slay, periodt, go touch 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