s3c_gpio_cfgall_range(9)
π s3c_gpio_cfgall_range β NAME β¨
okay bestie, welcome to the Kernel API Manual π β this one's s3c_gpio_cfgall_range, and it literally configures a whole range of gpio function and pull settings in one go. it's giving "two jobs, one call" energy π
πΈ SYNOPSIS πΈ
int s3c_gpio_cfgall_range (unsigned int start , unsigned int nr ,
unsigned int cfg , samsung_gpio_pull_t pull );
like, that's the whole signature. she's compact, she's iconic, she takes four args and hands you back an int π«Ά
β¨ ARGUMENTS β¨
startβ the gpio number you're starting at. your beginning, your main character origin point π«nrβ how many gpios to configure counting fromstart. the size of your little gpio squad πcfgβ the configuration to use. the function setting, the whole vibe check for these pins π₯pullβ the pull setting to use.samsung_gpio_pull_tflavored, naturally π§
π¦ DESCRIPTION π¦
so what does she actually do? she runs s3c_gpio_cfgpin and s3c_gpio_setpull over the gpio range β starting at the starting gpio and running for the given size. that's it, that's the whole flex πͺ
it's basically a lil for-loop of love: configure the pin function, set the pull, repeat. no cap. β¨
and then there's this bit of the original text, which we're keeping exactly because we don't invent things around here:
sa s3c_gpio_cfgpin sa s3c_gpio_setpull sa s3c_gpio_cfgpin_range
yep. that's what it says. we reproduce it faithfully, we don't ask questions π π
π SEE ALSO π
- kernel file
./arch/arm/mach-s3c/gpio-cfg.h struct samsung_gpio_cfg(9)s3c_gpio_cfgpin(9)s3c_gpio_cfgpin_range(9)s3c_gpio_setpull(9)
go read those if you want the full lore, iykyk ππ
fr fr just remember: this is the pull-and-function combo meal. if you only want one of the two, hit ups3c_gpio_cfgpinors3c_gpio_setpullinstead π
okay that's the whole page bestie, slay π
this one lives in ./arch/arm/mach-s3c and it's dated October 2026 β mwah, see you in the next manpage πππ¦
π¦ 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