Lines Matching refs:device
95 typedef void (*phy_callback_t)(const struct device *dev,
107 int (*get_link)(const struct device *dev,
111 int (*cfg_link)(const struct device *dev,
115 int (*link_cb_set)(const struct device *dev, phy_callback_t cb,
119 int (*read)(const struct device *dev, uint16_t reg_addr,
123 int (*write)(const struct device *dev, uint16_t reg_addr,
142 static inline int phy_configure_link(const struct device *dev, in phy_configure_link()
164 static inline int phy_get_link_state(const struct device *dev, in phy_get_link_state()
187 static inline int phy_link_callback_set(const struct device *dev, in phy_link_callback_set()
209 static inline int phy_read(const struct device *dev, uint16_t reg_addr, in phy_read()
230 static inline int phy_write(const struct device *dev, uint16_t reg_addr, in phy_write()