Lines Matching refs:phydev
106 phydev = phy_connect(dev, phy_name, &adjust_link, interface);
108 phydev is a pointer to the phy_device structure which represents the PHY. If
112 has one. The phydev structure will be populated with information about the
116 PHY-specific flags should be set in phydev->dev_flags prior to the call
126 Now just make sure that phydev->supported and phydev->advertising have any
134 phy_start(phydev). This tells the PAL that you are ready, and configures the
136 just set phydev->irq to PHY_IGNORE_INTERRUPT before you call phy_start.
137 Similarly, if you don't want to use interrupts, set phydev->irq to PHY_POLL.
140 phy_stop(phydev).
161 phy_prepare_link(). This will mean that phydev->state is entirely yours to
173 int phy_read(struct phy_device *phydev, u16 regnum);
174 int phy_write(struct phy_device *phydev, u16 regnum, u16 val);
179 void phy_print_status(struct phy_device *phydev);
183 int phy_start_interrupts(struct phy_device *phydev);
184 int phy_stop_interrupts(struct phy_device *phydev);
195 int phy_start_aneg(struct phy_device *phydev);
197 Using variables inside the phydev structure, either configures advertising
201 static inline int phy_read_status(struct phy_device *phydev);
203 Fills the phydev structure with up-to-date information about the current
206 int phy_ethtool_sset(struct phy_device *phydev, struct ethtool_cmd *cmd);
207 int phy_ethtool_gset(struct phy_device *phydev, struct ethtool_cmd *cmd);
211 int phy_mii_ioctl(struct phy_device *phydev,
315 field) and the bus identifier (contained in phydev->dev.bus_id). Both must