fman_port_get_device(9)
π fman_port_get_device(9) β from the Kernel API Manual
okay so bestie, welcome to section 9 of the Kernel API Manual, and today's main character is fman_port_get_device β like, the whole page. no lengthy subtitle, no little tagline, the NAME section is literally just the name and nothing else. she's mysterious. she's giving minimalism. we respect it. π
β¨ SYNOPSIS β¨
the whole spell, exactly as written, don't @ me:
struct device * fman_port_get_device (struct fman_port *port );
that's it. that's the vibe. one function, one argument, one struct device * coming back at you. π«
πΈ ARGUMENTS πΈ
portβ a pointer to the FMan port device. that's the one and only thing you hand her. π«Ά
π¦ DESCRIPTION π¦
so here's the tea: this function gets you the struct device that's associated with the specified FMan port device. you come in holding your struct fman_port *, you walk out holding the struct device that belongs to it. that's the whole errand. match made in heaven, lowkey. π
π RETURN π
a pointer to the associated struct device. slay. β¨
ngl, that's exactly as much as the page says about it β a pointer to the associated struct device. no extra lore, no secret bonus returns, keep your expectations aligned with the docs, bestie. π
π₯ SEE ALSO π₯
go touch some related grass, iykyk:
- the Kernel file
./drivers/net/ethernet/freescale/fman/fman_port.cβ the source herself π fman_port_config(9)fman_port_init(9)fman_port_cfg_buf_prefix_content(9)fman_port_disable(9)fman_port_enable(9)fman_port_bind(9)fman_port_get_qman_channel_id(9)
all of them are section 9, all of them are family, go read them when you're done here. π
and that's the whole page, bestie β no crumbs left behind π. this little love letter came out of ./drivers/net/ethernet/freesca... (yes, the footer really does truncate it like that, iconic) with an October 2026 date stamp, living its best life as fman_port_get_device(9) in the Kernel API Manual. 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