s3c_gpio_cfgall_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 from start. 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_t flavored, 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 🌈

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 up s3c_gpio_cfgpin or s3c_gpio_setpull instead πŸ“

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