Home
last modified time | relevance | path

Searched refs:phydev (Results 1 – 4 of 4) sorted by relevance

/components/drivers/phy/
A Dgeneral.c46 phydev->advertising &= phydev->supported; in __genphy_config_advert()
47 advertise = phydev->advertising; in __genphy_config_advert()
125 phydev->pause = 0; in rt_genphy_config_aneg()
182 phydev->link = 0; in rt_genphy_update_link()
191 phydev->link = 1; in rt_genphy_update_link()
196 phydev->link = 1; in rt_genphy_update_link()
198 phydev->link = 0; in rt_genphy_update_link()
224 phydev->speed = SPEED_10; in __genphy_auto_neg()
225 phydev->duplex = DUPLEX_HALF; in __genphy_auto_neg()
242 phydev->speed = SPEED_100; in __genphy_auto_neg()
[all …]
A Dphy.c101 if(phydev->is_c45) in rt_phy_read()
117 if(phydev->is_c45) in rt_phy_write()
131 if(!phydev->drv) in rt_phy_startup()
137 if (phydev->drv->startup) in rt_phy_startup()
138 return phydev->drv->startup(phydev); in rt_phy_startup()
146 if(!phydev->drv) in rt_phy_config()
152 if (phydev->drv->config) in rt_phy_config()
153 return phydev->drv->config(phydev); in rt_phy_config()
161 if(!phydev->drv) in rt_phy_shutdown()
167 if (phydev->drv->shutdown) in rt_phy_shutdown()
[all …]
A Dgeneral_phy.h138 int rt_genphy_parse_link(struct rt_phy_device *phydev);
139 int rt_genphy_config_aneg(struct rt_phy_device *phydev);
140 int rt_genphy_update_link(struct rt_phy_device *phydev);
141 int rt_genphy_startup(struct rt_phy_device *phydev);
142 int rt_genphy_config(struct rt_phy_device *phydev);
/components/drivers/include/drivers/
A Dphy.h99 int (*probe)(struct rt_phy_device *phydev);
100 int (*config)(struct rt_phy_device *phydev);
101 int (*startup)(struct rt_phy_device *phydev);
102 int (*shutdown)(struct rt_phy_device *phydev);
106 int (*read_mmd)(struct rt_phy_device *phydev, int devad, int reg);
107 int (*write_mmd)(struct rt_phy_device *phydev, int devad, int reg,
114 int rt_phy_read(struct rt_phy_device *phydev, int devad, int regnum);
118 int rt_phy_reset(struct rt_phy_device *phydev);
119 int rt_phy_startup(struct rt_phy_device *phydev);
120 int rt_phy_config(struct rt_phy_device *phydev);
[all …]

Completed in 9 milliseconds