gpmc_probe_generic_child(9)
π gpmc_probe_generic_child β the Kernel API Manual, bestie β¨
okay so this is a section 9 kernel API page, from the Kernel API Manual, and it's literally about the GPMC driver. yes we're in the kernel, yes it's giving embedded-core realness, and yes i'm gonna walk you through it π«Ά
β¨ NAME β¨
gpmc_probe_generic_child β configures the gpmc for a child device π«
πΈ SYNOPSIS πΈ
int gpmc_probe_generic_child (struct platform_device *pdev , struct
device_node *child );
that's the whole signature, no cap. two pointers in, an int out π
π¦ ARGUMENTS π¦
pdevβ pointer to gpmc platform device. like, the parent energy πchildβ pointer to device-tree node for child device. the main character in question π
π DESCRIPTION π
so what does it actually do? it allocates and configures a GPMC chip-select for a child device. that's it, that's the whole vibe β¨
and then it reports back:
- returns
0on success β slay, we ate π - returns the appropriate negative error code on failure β not slay, but at least it tells you why π
ngl, if you get a negative number back, that's not a vibe β that's an error code, and you should go read it properly π
π₯ SEE ALSO π₯
the kernel file itself lives at ./drivers/memory/omap-gpmc.c β go drink from the source bestie π
and the whole friend group:
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_read_settings_dt(9)
literally the entire group chat, all tagged, all iconic π
and that's the page!! π§ source: ./drivers/memory, dated October 2026 β so mark your calendar, screenshot it, frame it, this manpage said see you then ππβ¨
π¦ 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