set_gpmc_timing_reg(9)
β¨ 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 initializedCONFIG1 GPMCFCLKDIVIDERbefore calling this function with cd equal toGPMC_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's0, the maximum is as high asst_bitandend_bitallow. 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 π
0on success π-1on 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:
gpmc_get_clk_period(9)get_gpmc_timing_reg(9)gpmc_calc_waitmonitoring_divider(9)gpmc_calc_divider(9)gpmc_cs_set_timings(9)gpmc_configure(9)gpmc_omap_get_nand_ops(9)gpmc_cs_program_settings(9)gpmc_cs_remap(9)gpmc_read_settings_dt(9)gpmc_probe_generic_child(9)
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
- 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