gpmc_read_settings_dt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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


mwah πŸ’‹ β€” signing off from the ./drivers/memory corner of the kernel, dated October 2026. stay slay, stay zeroed. πŸ‘‘

πŸ“¦ where this page comes from