stmmac_pltfr_exit(9)
π stmmac_pltfr_exit(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this one's a lil baby function from the kernel docs and it's called stmmac_pltfr_exit. Short king energy fr fr, but it's important, so let's get into it π«Ά
β¨ SYNOPSIS β¨
void stmmac_pltfr_exit (struct device *dev , struct plat_stmmacenet_data *plat );
it takes two things and returns literally nothing (void, no cap β no return value, don't go looking for one π
)
π ARGUMENTS π
devβ pointer to thestruct devicestructure. that's your device, your main character πplatβ the driver data platform structure (struct plat_stmmacenet_data). this is the platform's lil info bundle π¦
πΈ DESCRIPTION πΈ
so what does it actually do? it calls the platform's exit callback β if any. that's the whole vibe. if there's an exit callback registered, this bad boy runs it; if there isn't one, it just... doesn't, and honestly? relatable π
no extra steps, no surprises. it's giving "clean exit, bye bestie" β¨
π₯ SEE ALSO π₯
the kernel file lives right here: ./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c β go read it, it's iconic π
and here's the whole friend group, all the related pages you might wanna check out π₯:
dwmac1000_validate_mcast_bins(9)dwmac1000_validate_ucast_entries(9)stmmac_axi_setup(9)stmmac_mtl_setup(9)stmmac_of_get_mdio(9)stmmac_mdio_setup(9)stmmac_of_get_mac_mode(9)stmmac_probe_config_dt(9)devm_stmmac_probe_config_dt(9)stmmac_pltfr_get_irq_array(9)stmmac_pltfr_init(9)stmmac_pltfr_probe(9)devm_stmmac_pltfr_probe(9)stmmac_pltfr_remove(9)
π and that's the page, bestie π
quick sign-off so you know where this came from π β source path is ./drivers/net/ethernet/stmicro... (yes, truncated with the lil dots, that's how it ships, don't come for me π) and the date on this beauty is October 2026. mwah, love u, bye π«Άπ
π¦ 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