yt8821_get_rate_matching(9)
β¨ yt8821_get_rate_matching(9) β¨
okay bestie, welcome to the Kernel API Manual π
β yes, the kernel API manual, we're literally in the drivers directory rn and it's giving main character energy π¦. This page is all about yt8821_get_rate_matching, which lowkey just reads a register to get the phy chip mode π
π NAME π
yt8821_get_rate_matching β read register to get phy chip mode πΈ
like, that's it, that's the whole vibe. it peeks at a register and tells you the phy chip mode. no cap.
β SYNOPSIS β
int yt8821_get_rate_matching (struct phy_device *phydev ,
phy_interface_t iface );
that's the whole signature bestie, copy it exactly, don't be out here renaming things π
π ARGUMENTS π
phydevβ the targetphy_devicestruct π«Ά like, the phy device you're interrogating. it's the star of the show.ifaceβ the PHY data interface type β¨ your interface flavour, your vibe check for the data path.
π₯ RETURN π₯
it returns the rate matching type π β or a negative errno code if things went sideways π. so yeah, check your return value, fr fr.
π SEE ALSO π
okay this list is long and honestly iconic, so buckle up π’. everything here lives in the kernel file ./drivers/net/phy/motorcomm.c:
ytphy_read_ext(9)ytphy_read_ext_with_lock(9)ytphy_write_ext(9)ytphy_write_ext_with_lock(9)ytphy_modify_ext(9)ytphy_modify_ext_with_lock(9)ytphy_get_wol(9)ytphy_set_wol(9)yt8521_read_page(9)yt8521_write_page(9)struct ytphy_cfg_reg_map(9)struct ytphy_ldo_vol_map(9)yt8521_probe(9)ytphy_utp_read_lpa(9)yt8521_adjust_status(9)yt8521_read_status_paged(9)yt8521_read_status(9)yt8521_modify_bmcr_paged(9)yt8521_modify_utp_fiber_bmcr(9)yt8521_soft_reset(9)yt8521_suspend(9)yt8521_resume(9)yt8521_config_init(9)yt8531_link_change_notify(9)yt8521_prepare_fiber_features(9)yt8521_fiber_setup_forced(9)ytphy_check_and_restart_aneg(9)yt8521_fiber_config_aneg(9)ytphy_setup_master_slave(9)ytphy_utp_config_advert(9)ytphy_utp_config_aneg(9)yt8521_config_aneg_paged(9)yt8521_config_aneg(9)yt8521_aneg_done_paged(9)yt8521_aneg_done(9)ytphy_utp_read_abilities(9)yt8521_get_features_paged(9)yt8521_get_features(9)yt8821_get_features(9)yt8821_aneg_done(9)yt8821_serdes_init(9)yt8821_utp_init(9)yt8821_auto_sleep_config(9)yt8821_soft_reset(9)yt8821_config_init(9)yt8821_adjust_status(9)yt8821_update_interface(9)yt8821_read_status(9)yt8821_modify_utp_fiber_bmcr(9)yt8821_suspend(9)yt8821_resume(9)
ngl bestie, that's a lot of cross-references β but every single one of them ate and left no crumbs π don't skip a single one, iykyk π
k bye ily, go read some registers π§ββοΈπ
this lil page is served up from ./drivers/net/phy, stamped October 2026, and it's the yt8821_get_rate_matching(9) page from 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