mc_init(9)
π mc_init(9) β Kernel API Manual, bestie edition π
okay so you opened the manual for mc_init and you're in the right place, this is the Kernel API Manual page for it, and yes we're gonna get you through it β¨
πΈ NAME πΈ
mc_init β literally just: initialize one driver instance. that's the whole vibe. one instance. one driver. go π
β¨ SYNOPSIS β¨
void mc_init (struct mem_ctl_info *mci , struct platform_device *pdev );
returns nothing (void), takes two things, no cap π«Ά
π¦ ARGUMENTS π¦
mciβ the EDAC memory controller instance. yes THE instance. the main character of this function fr πpdevβ the platform device. it's giving supporting role but it matters π
π DESCRIPTION π
so what does it do? it performs initialization of the EDAC memory controller instance β and also of the related driver-private data associated with the memory controller that the instance is bound to. like it sets them up. both of them. the instance and the driver-private data. that's the assignment and it ate π
tl;dr: it's the setup function. it does the initializing. iconic behavior honestly β
π₯ SEE ALSO π₯
Kernel file ./drivers/edac/versal_edac.c and also these besties:
union ecc_error_info(9)struct ecc_status(9)struct edac_priv(9)convert_to_physical(9)handle_error(9)err_callback(9)get_dwidth(9)get_ecc_state(9)get_memsize(9)init_csrows(9)poison_setup(9)setup_address_map(9)
go read them when you're done here, iykyk π
ok that's the whole page bestie, nothing hidden, nothing skipped, we kept every single one of those (9) references because we're thorough like that π
sign-off szn π§π: this gorgeous little page lives under ./drivers/edac, it's dated October 2026, and it goes by mc_init(9) β periodt. ππ·
π¦ 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