STRUCT MII_TIMESTAMPING_CTRL(9)
π struct mii_timestamping_ctrl π
okay so bestie, welcome to the Kernel API Manual β we're talking about struct mii_timestamping_ctrl today, and it's literally the MII time stamping controller interface. no cap, that's the whole vibe of this page. π
β¨ NAME β¨
struct mii_timestamping_ctrl β MII time stamping controller interface.
π SYNOPSIS π
struct mii_timestamping_ctrl {
struct mii_timestamper *(*probe_channel)(struct device *device,
unsigned int port);
void (*release_channel)(struct device *device, struct
mii_timestamper *mii_ts);
};
π Members π
probe_channelβ this is the callback into the controller driver, and its whole job is announcing that the'port'channel exists. π«Ά the'device'field? yeah, that one had already been passed toregister_mii_tstamp_controllerβ so it's not new info, it's a hand-me-down. now listen up: the driver must return either a pointer to a valid MII timestamper instance orPTR_ERR. that's not optional, bestie. periodt. π₯release_channelβ the cleanup bestie β¨ it releases an instance that you got via.probe_channel. you know the drill: what gets probed, gets released. π
π₯ SEE ALSO π₯
- Kernel file
./include/linux/mii_timestamper.h struct mii_timestamper(9)
and that's the whole page, iconically. this little cutie lives in ./include/linux, it's dated October 2026, and it's serving full Kernel API Manual energy from the footer to the top. slay, go timestamp something. πππ¦
π¦ 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