gpmc_read_settings_dt(9)
πΈ NAME πΈ
okay so bestie, this is gpmc_read_settings_dt(9) straight outta the Kernel API Manual, and it does exactly what it says on the tin: it reads gpmc settings from device-tree. β¨
π¦ SYNOPSIS π¦
void gpmc_read_settings_dt (struct device_node *np , struct gpmc_settings *p );
π ARGUMENTS π
npβ pointer to the device-tree node for a gpmc child device. like, the node bestie, not the whole tree πpβ pointer to the gpmc settings structure. this is where the good stuff gets stored π«Ά
π DESCRIPTION π
Reads the GPMC settings for a GPMC child device from device-tree and stores them in the GPMC settings structure passed. no cap, that's the whole vibe: device-tree in, settings struct out. π
The GPMC settings structure is initialised to zero by this function, and so any previously stored settings will be cleared. so if you had old settings in there, they're gone, periodt. π
bestie, please remember: this function zeroes the structure first. any previously stored settings get wiped. not me warning you twice, but also yes. π
π₯ SEE ALSO π₯
Kernel file ./drivers/memory/omap-gpmc.c
gpmc_get_clk_period(9)get_gpmc_timing_reg(9)set_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_probe_generic_child(9)
mwah π β signing off from the ./drivers/memory corner of the kernel, dated October 2026. stay slay, stay zeroed. π
π¦ 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