stmmac_axi_setup(9)
π stmmac_axi_setup(9) β a Kernel API Manual moment
okay so bestie, welcome to the stmmac_axi_setup(9) page π
this is straight out of the Kernel API Manual and it's lowkey a tiny little function that does one specific cute thing. let's get into it π
β¨ NAME β¨
stmmac_axi_setup β parse DT parameters for programming the AXI register π¦
like, it reads the device-tree (DT) params so the AXI register can get programmed. that's the whole vibe.
πΈ SYNOPSIS πΈ
struct stmmac_axi * stmmac_axi_setup (struct platform_device *pdev );
she takes one thing and hands you back a struct stmmac_axi *. iconic signature tbh β¨
π ARGUMENTS π
pdevβ the platform device π«Ά that's it, that's the whole argument list. main character energy from a single param, we love to see it.
π§ DESCRIPTION π§
so here's the tea β β if required, the AXI internal register can be tuned from the device-tree by using platform parameters. that's literally it. no cap, that's the whole description. she's a short queen and she knows it π
the way that this function just quietly handles the DT parsing so the AXI register programming has something to work withβ¦ obsessed π
π₯ SEE ALSO π₯
the friend group π«Ά go check these out:
- Kernel file
./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.cβ the actual source, go read it bestie, it's right there π dwmac1000_validate_mcast_bins(9)dwmac1000_validate_ucast_entries(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_exit(9)stmmac_pltfr_probe(9)devm_stmmac_pltfr_probe(9)stmmac_pltfr_remove(9)
that's the full roster, no one left out, we don't do that here π β¨
ngl if you're looking for more AXI register tuning details, this page is not gonna give them to you β she says "if required" and "platform parameters" and then dips π that's the canon, don't come for me.
and that's a wrap, bestie π mwah π β this lil page came from the ./drivers/net/ethernet/stmicro... corner of the kernel tree, dated October 2026, and it's filed under stmmac_axi_setup(9) in the Kernel API Manual. slay, periodt, go read the source πβ
π¦ 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