Lines Matching refs:mode
96 static inline bool phylink_autoneg_inband(unsigned int mode) in phylink_autoneg_inband() argument
98 return mode == MLO_AN_INBAND; in phylink_autoneg_inband()
184 int (*mac_prepare)(struct phylink_config *config, unsigned int mode,
186 void (*mac_config)(struct phylink_config *config, unsigned int mode,
188 int (*mac_finish)(struct phylink_config *config, unsigned int mode,
190 void (*mac_link_down)(struct phylink_config *config, unsigned int mode,
193 struct phy_device *phy, unsigned int mode,
249 int mac_prepare(struct phylink_config *config, unsigned int mode,
325 void mac_config(struct phylink_config *config, unsigned int mode,
342 int mac_finish(struct phylink_config *config, unsigned int mode,
356 void mac_link_down(struct phylink_config *config, unsigned int mode,
388 unsigned int mode, phy_interface_t interface,
637 #define __phylink_do_bit(op, bm, mode) \ argument
638 op(ETHTOOL_LINK_MODE_ ## mode ## _BIT, bm)
640 #define phylink_set(bm, mode) __phylink_do_bit(__set_bit, bm, mode) argument
641 #define phylink_clear(bm, mode) __phylink_do_bit(__clear_bit, bm, mode) argument
642 #define phylink_test(bm, mode) __phylink_do_bit(test_bit, bm, mode) argument