phy_modify_paged(9)
π phy_modify_paged(9) β a Kernel API Manual moment
ok so bestie, welcome to the phy_modify_paged page from the Kernel API Manual β¨ this one is short but she's important, so pay attention π«Ά
πΈ NAME πΈ
phy_modify_paged β literally the convenience function for modifying a paged register. that's it, that's the vibe π
π¦ SYNOPSIS π¦
int phy_modify_paged (struct phy_device *phydev , int page , u32 regnum
, u16 mask , u16 set );
look at her go π five args, one int coming back, iconic behavior only π
π ARGUMENTS π
phydevβ a pointer to astruct phy_device. she's your phy bestie, you gotta hand her over πpageβ the page for the phy. yes, that page πregnumβ the register number, iykyk π₯maskβ bit mask of the bits to clear. these ones are getting β¨removedβ¨setβ bit mask of the bits to set. these ones are getting added to the group chat π
β DESCRIPTION β
Same rules as for phy_read and phy_write. no cap, that's the whole description, she's lowkey mysterious like that π
π SEE ALSO π
Kernel file ./drivers/net/phy/phy-core.c β and honestly the whole friend group shows up here, so let's do roll call π€:
phy_speed_to_str(9)phy_duplex_to_str(9)phy_rate_matching_to_str(9)phy_fix_phy_mode_for_mac_delays(9)phy_interface_num_ports(9)phy_set_max_speed(9)of_set_phy_timing_role(9)phy_resolve_aneg_pause(9)phy_resolve_aneg_linkmode(9)phy_check_downshift(9)__phy_read_mmd(9)phy_read_mmd(9)__phy_write_mmd(9)phy_write_mmd(9)phy_modify_changed(9)__phy_modify(9)phy_modify(9)__phy_modify_mmd_changed(9)phy_modify_mmd_changed(9)__phy_modify_mmd(9)phy_modify_mmd(9)phy_save_page(9)phy_select_page(9)phy_restore_page(9)phy_read_paged(9)phy_write_paged(9)phy_modify_paged_changed(9)
like, that's a whole squad and every single one of them made the list ππ
and that's the page!! π§ this little cutie lives in ./drivers/net/phy, dated October 2026, brought to you by the Kernel API Manual itself β stay slay, go read your registers, mwah ππ
π¦ 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