Lines Matching refs:phylink_config
61 * struct phylink_config - PHYLINK configuration structure
70 struct phylink_config {
75 void (*get_fixed_state)(struct phylink_config *config,
93 void (*validate)(struct phylink_config *config,
96 void (*mac_pcs_get_state)(struct phylink_config *config,
98 int (*mac_prepare)(struct phylink_config *config, unsigned int mode,
100 void (*mac_config)(struct phylink_config *config, unsigned int mode,
102 int (*mac_finish)(struct phylink_config *config, unsigned int mode,
104 void (*mac_an_restart)(struct phylink_config *config);
105 void (*mac_link_down)(struct phylink_config *config, unsigned int mode,
107 void (*mac_link_up)(struct phylink_config *config,
116 * @config: a pointer to a &struct phylink_config.
140 void validate(struct phylink_config *config, unsigned long *supported,
145 * @config: a pointer to a &struct phylink_config.
155 void mac_pcs_get_state(struct phylink_config *config,
160 * @config: a pointer to a &struct phylink_config.
180 int mac_prepare(struct phylink_config *config, unsigned int mode,
185 * @config: a pointer to a &struct phylink_config.
255 void mac_config(struct phylink_config *config, unsigned int mode,
260 * @config: a pointer to a &struct phylink_config.
272 int mac_finish(struct phylink_config *config, unsigned int mode,
277 * @config: a pointer to a &struct phylink_config.
279 void mac_an_restart(struct phylink_config *config);
283 * @config: a pointer to a &struct phylink_config.
292 void mac_link_down(struct phylink_config *config, unsigned int mode,
297 * @config: a pointer to a &struct phylink_config.
323 void mac_link_up(struct phylink_config *config, struct phy_device *phy,
434 struct phylink *phylink_create(struct phylink_config *, struct fwnode_handle *,