Lines Matching full:phydev

33 int __bcm_phy_write_exp(struct phy_device *phydev, u16 reg, u16 val);
34 int __bcm_phy_read_exp(struct phy_device *phydev, u16 reg);
35 int __bcm_phy_modify_exp(struct phy_device *phydev, u16 reg, u16 mask, u16 set);
36 int bcm_phy_write_exp(struct phy_device *phydev, u16 reg, u16 val);
37 int bcm_phy_read_exp(struct phy_device *phydev, u16 reg);
38 int bcm_phy_modify_exp(struct phy_device *phydev, u16 reg, u16 mask, u16 set);
40 static inline int bcm_phy_write_exp_sel(struct phy_device *phydev, in bcm_phy_write_exp_sel() argument
43 return bcm_phy_write_exp(phydev, reg | MII_BCM54XX_EXP_SEL_ER, val); in bcm_phy_write_exp_sel()
46 static inline int bcm_phy_read_exp_sel(struct phy_device *phydev, u16 reg) in bcm_phy_read_exp_sel() argument
48 return bcm_phy_read_exp(phydev, reg | MII_BCM54XX_EXP_SEL_ER); in bcm_phy_read_exp_sel()
51 int bcm54xx_auxctl_write(struct phy_device *phydev, u16 regnum, u16 val);
52 int bcm54xx_auxctl_read(struct phy_device *phydev, u16 regnum);
54 int bcm_phy_write_misc(struct phy_device *phydev,
56 int bcm_phy_read_misc(struct phy_device *phydev,
59 int bcm_phy_write_shadow(struct phy_device *phydev, u16 shadow,
61 int bcm_phy_read_shadow(struct phy_device *phydev, u16 shadow);
63 int __bcm_phy_write_rdb(struct phy_device *phydev, u16 rdb, u16 val);
64 int bcm_phy_write_rdb(struct phy_device *phydev, u16 rdb, u16 val);
65 int __bcm_phy_read_rdb(struct phy_device *phydev, u16 rdb);
66 int bcm_phy_read_rdb(struct phy_device *phydev, u16 rdb);
67 int __bcm_phy_modify_rdb(struct phy_device *phydev, u16 rdb, u16 mask,
69 int bcm_phy_modify_rdb(struct phy_device *phydev, u16 rdb, u16 mask,
72 int bcm_phy_ack_intr(struct phy_device *phydev);
73 int bcm_phy_config_intr(struct phy_device *phydev);
74 irqreturn_t bcm_phy_handle_interrupt(struct phy_device *phydev);
76 int bcm_phy_enable_apd(struct phy_device *phydev, bool dll_pwr_down);
78 int bcm_phy_set_eee(struct phy_device *phydev, bool enable);
80 int bcm_phy_downshift_get(struct phy_device *phydev, u8 *count);
82 int bcm_phy_downshift_set(struct phy_device *phydev, u8 count);
84 int bcm_phy_get_sset_count(struct phy_device *phydev);
85 void bcm_phy_get_strings(struct phy_device *phydev, u8 *data);
86 void bcm_phy_get_stats(struct phy_device *phydev, u64 *shadow,
88 void bcm_phy_r_rc_cal_reset(struct phy_device *phydev);
89 int bcm_phy_28nm_a0b0_afe_config_init(struct phy_device *phydev);
90 int bcm_phy_enable_jumbo(struct phy_device *phydev);
92 int bcm_phy_cable_test_get_status_rdb(struct phy_device *phydev,
94 int bcm_phy_cable_test_start_rdb(struct phy_device *phydev);
95 int bcm_phy_cable_test_start(struct phy_device *phydev);
96 int bcm_phy_cable_test_get_status(struct phy_device *phydev, bool *finished);
99 struct bcm_ptp_private *bcm_ptp_probe(struct phy_device *phydev);
100 void bcm_ptp_config_init(struct phy_device *phydev);
103 static inline struct bcm_ptp_private *bcm_ptp_probe(struct phy_device *phydev) in bcm_ptp_probe() argument
108 static inline void bcm_ptp_config_init(struct phy_device *phydev) in bcm_ptp_config_init() argument
117 int bcm_phy_set_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol);
118 void bcm_phy_get_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol);
121 int bcm_phy_led_brightness_set(struct phy_device *phydev,
124 int bcm_setup_lre_master_slave(struct phy_device *phydev);
125 int bcm_config_lre_aneg(struct phy_device *phydev, bool changed);
126 int bcm_config_lre_advert(struct phy_device *phydev);