set_gpmc_timing_reg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ set_gpmc_timing_reg(9) β€” the Kernel API Manual page, bestie edition ✨

okay so this is a page from the Kernel API Manual and honestly? it's a little niche but it SLAPS once you get it. buckle up πŸ’–


🌸 NAME 🌸

set_gpmc_timing_reg β€” sets one single timing parameter for a Chip Select Region. that's it. one. single. parameter.

heads up bestie 🚨 the caller is expected to have already initialized CONFIG1 GPMCFCLKDIVIDER before calling this function with cd equal to GPMC_CD_CLK. like, do your homework first, don't come to this function unprepared πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

int set_gpmc_timing_reg (int cs , int reg , int st_bit , int end_bit ,
       int max , int time , enum gpmc_clk_domain cd , const char *name );

that's the whole vibe. eight args, no cap πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • cs β€” Chip Select Region. which one we're messing with ✨
  • reg β€” the GPMC_CS_CONFIG*n* register offset. iykyk 🫢
  • st_bit β€” Start Bit. where the party begins.
  • end_bit β€” End Bit. and it must be >= st_bit, okay? that's non-negotiable, it's literally in the rules 😭
  • max β€” Maximum parameter value. but here's the lil twist: if it's 0, the maximum is as high as st_bit and end_bit allow. so like, it maxes itself out 🌈
  • time β€” the Timing parameter, in ns. nanoseconds, the main character unit ⭐
  • cd β€” Timing parameter clock domain. πŸ•°οΈ
  • name β€” Timing parameter name. just a lil string, being cute πŸ’œ

πŸ‘‘ RETURN πŸ‘‘

  • 0 on success πŸŽ‰
  • -1 on error πŸ’€

that's the whole report card. binary vibes.


🧚 SEE ALSO 🧚

the Kernel file ./drivers/memory/omap-gpmc.c is the home base, and these are the besties it hangs out with:

go read them, they're all part of the same friend group fr fr 🫢✨


and that's the page!! πŸ’– brought to you by the source/version at ./drivers/memory, dated October 2026, and you already know the title itself is set_gpmc_timing_reg(9) β€” slay, go set some timing registers responsibly bestie πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from