Add helper function phy_modify_paged_changed, behavios is the same as for phy_modify_changed.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -984,6 +984,8 @@ int phy_select_page(struct phy_device *phydev, int page); · 983 unmodified lines | |||
| 984 | int phy_restore_page(struct phy_device *phydev, int oldpage, int ret); | 984 | int phy_restore_page(struct phy_device *phydev, int oldpage, int ret); |
| 985 | int phy_read_paged(struct phy_device *phydev, int page, u32 regnum); | 985 | int phy_read_paged(struct phy_device *phydev, int page, u32 regnum); |
| 986 | int phy_write_paged(struct phy_device *phydev, int page, u32 regnum, u16 val); | 986 | int phy_write_paged(struct phy_device *phydev, int page, u32 regnum, u16 val); |
| 987 | int phy_modify_paged_changed(struct phy_device *phydev, int page, u32 regnum, | ||
| 988 | u16 mask, u16 set); | ||
| 987 | int phy_modify_paged(struct phy_device *phydev, int page, u32 regnum, | 989 | int phy_modify_paged(struct phy_device *phydev, int page, u32 regnum, |
| 988 | u16 mask, u16 set); | 990 | u16 mask, u16 set); |
| 989 | 991 | ||