gpmc_calc_divider(9)
π gpmc_calc_divider β¨
okay so bestie, we're deep in the Kernel API Manual and this page is all about gpmc_calc_divider β the function that does the GPMC_FCLK divider math for the sync_clk GPMC_CLK period. no cap, that's the whole vibe π
πΈ NAME πΈ
gpmc_calc_divider β calculate GPMC_FCLK divider for sync_clk GPMC_CLK period.
β¨ SYNOPSIS β¨
int gpmc_calc_divider (unsigned int sync_clk );
π ARGUMENTS π
sync_clkβ GPMC_CLK period in ps. literally the period value you hand over, in picoseconds π«Ά
π RETURN π
Returns at least 1 if GPMC_FCLK can be divided to GPMC_CLK. Else, returns -1.
so if the divide works out you get>= 1, and if it doesn't, bestie it's-1π
π¦ SEE ALSO π¦
Kernel file ./drivers/memory/omap-gpmc.c, plus these icon functions β all with their (9) tags intact, periodt π
gpmc_get_clk_period(9)get_gpmc_timing_reg(9)set_gpmc_timing_reg(9)gpmc_calc_waitmonitoring_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)
okay bye bestie π«Ά β this page is sourced from ./drivers/memory, dated October 2026, and it's still gpmc_calc_divider(9) π
π¦ 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