4 struct fixed_phy_status
{
14 #ifdef CONFIG_FIXED_PHY
15 extern int fixed_phy_add(unsigned int irq
, int phy_id
,
16 struct fixed_phy_status
*status
);
17 extern int fixed_phy_register(unsigned int irq
,
18 struct fixed_phy_status
*status
,
19 struct device_node
*np
);
20 extern void fixed_phy_del(int phy_addr
);
22 static inline int fixed_phy_add(unsigned int irq
, int phy_id
,
23 struct fixed_phy_status
*status
)
27 static inline int fixed_phy_register(unsigned int irq
,
28 struct fixed_phy_status
*status
,
29 struct device_node
*np
)
33 static inline int fixed_phy_del(int phy_addr
)
37 #endif /* CONFIG_FIXED_PHY */
40 * This function issued only by fixed_phy-aware drivers, no need
41 * protect it with #ifdef
43 extern int fixed_phy_set_link_update(struct phy_device
*phydev
,
44 int (*link_update
)(struct net_device
*,
45 struct fixed_phy_status
*));
47 #endif /* __PHY_FIXED_H */
This page took 0.035406 seconds and 6 git commands to generate.