Home
last modified time | relevance | path

Searched refs:phy_device (Results 1 – 25 of 136) sorted by relevance

123456

/rk3399_rockchip-uboot/include/
H A Dphy.h54 struct phy_device;
66 struct phy_device *phymap[PHY_MAX_ADDR];
90 int (*probe)(struct phy_device *phydev);
94 int (*config)(struct phy_device *phydev);
97 int (*startup)(struct phy_device *phydev);
100 int (*shutdown)(struct phy_device *phydev);
102 int (*readext)(struct phy_device *phydev, int addr, int devad, int reg);
103 int (*writeext)(struct phy_device *phydev, int addr, int devad, int reg,
107 int (*read_mmd)(struct phy_device *phydev, int devad, int reg);
110 int (*write_mmd)(struct phy_device *phydev, int devad, int reg,
[all …]
H A Dmicrel.h30 struct phy_device;
31 int ksz9021_phy_extended_write(struct phy_device *phydev, int regnum, u16 val);
32 int ksz9021_phy_extended_read(struct phy_device *phydev, int regnum);
34 int ksz9031_phy_extended_write(struct phy_device *phydev, int devaddr,
36 int ksz9031_phy_extended_read(struct phy_device *phydev, int devaddr,
/rk3399_rockchip-uboot/drivers/net/phy/
H A Dmicrel_ksz90x1.c45 static int ksz90xx_startup(struct phy_device *phydev) in ksz90xx_startup()
109 static int ksz90x1_of_config_group(struct phy_device *phydev, in ksz90x1_of_config_group()
146 static int ksz9021_of_config(struct phy_device *phydev) in ksz9021_of_config()
164 static int ksz9031_of_config(struct phy_device *phydev) in ksz9031_of_config()
183 static int ksz9031_center_flp_timing(struct phy_device *phydev) in ksz9031_center_flp_timing()
200 static int ksz9021_of_config(struct phy_device *phydev) in ksz9021_of_config()
205 static int ksz9031_of_config(struct phy_device *phydev) in ksz9031_of_config()
210 static int ksz9031_center_flp_timing(struct phy_device *phydev) in ksz9031_center_flp_timing()
219 int ksz9021_phy_extended_write(struct phy_device *phydev, int regnum, u16 val) in ksz9021_phy_extended_write()
228 int ksz9021_phy_extended_read(struct phy_device *phydev, int regnum) in ksz9021_phy_extended_read()
[all …]
H A Dphy.c38 static int genphy_config_advert(struct phy_device *phydev) in genphy_config_advert()
128 static int genphy_setup_forced(struct phy_device *phydev) in genphy_setup_forced()
153 int genphy_restart_aneg(struct phy_device *phydev) in genphy_restart_aneg()
181 int genphy_config_aneg(struct phy_device *phydev) in genphy_config_aneg()
221 int genphy_update_link(struct phy_device *phydev) in genphy_update_link()
290 int genphy_parse_link(struct phy_device *phydev) in genphy_parse_link()
381 int genphy_config(struct phy_device *phydev) in genphy_config()
432 int genphy_startup(struct phy_device *phydev) in genphy_startup()
443 int genphy_shutdown(struct phy_device *phydev) in genphy_shutdown()
559 int phy_set_supported(struct phy_device *phydev, u32 max_speed) in phy_set_supported()
[all …]
H A Dmv88e61xx.c217 __weak int mv88e61xx_hw_reset(struct phy_device *phydev) in mv88e61xx_hw_reset()
256 static int mv88e61xx_reg_read(struct phy_device *phydev, int dev, int reg) in mv88e61xx_reg_read()
292 static int mv88e61xx_reg_write(struct phy_device *phydev, int dev, int reg, in mv88e61xx_reg_write()
331 static int mv88e61xx_phy_wait(struct phy_device *phydev) in mv88e61xx_phy_wait()
351 struct phy_device *phydev; in mv88e61xx_phy_read_indirect()
354 phydev = (struct phy_device *)smi_wrapper->priv; in mv88e61xx_phy_read_indirect()
374 struct phy_device *phydev; in mv88e61xx_phy_write_indirect()
377 phydev = (struct phy_device *)smi_wrapper->priv; in mv88e61xx_phy_write_indirect()
396 static int mv88e61xx_phy_read(struct phy_device *phydev, int phy, int reg) in mv88e61xx_phy_read()
403 static int mv88e61xx_phy_write(struct phy_device *phydev, int phy, in mv88e61xx_phy_write()
[all …]
H A Dbroadcom.c38 static void bcm_phy_write_misc(struct phy_device *phydev, in bcm_phy_write_misc()
57 static int bcm5461_config(struct phy_device *phydev) in bcm5461_config()
66 static int bcm54xx_parse_status(struct phy_device *phydev) in bcm54xx_parse_status()
108 static int bcm54xx_startup(struct phy_device *phydev) in bcm54xx_startup()
128 static u32 bcm5482_read_wirespeed(struct phy_device *phydev, u32 reg) in bcm5482_read_wirespeed()
133 static int bcm5482_config(struct phy_device *phydev) in bcm5482_config()
166 static int bcm_cygnus_startup(struct phy_device *phydev) in bcm_cygnus_startup()
178 static void bcm_cygnus_afe(struct phy_device *phydev) in bcm_cygnus_afe()
214 static int bcm_cygnus_config(struct phy_device *phydev) in bcm_cygnus_config()
230 static int bcm5482_is_serdes(struct phy_device *phydev) in bcm5482_is_serdes()
[all …]
H A Dmicrel_ksz8xxx.c33 static int ksz_genconfig_bcastoff(struct phy_device *phydev) in ksz_genconfig_bcastoff()
65 static int ksz8051_config(struct phy_device *phydev) in ksz8051_config()
111 static void ksz8895_write_smireg(struct phy_device *phydev, int smireg, int val) in ksz8895_write_smireg()
118 static int ksz8895_read_smireg(struct phy_device *phydev, int smireg)
125 int ksz8895_config(struct phy_device *phydev) in ksz8895_config()
139 static int ksz8895_startup(struct phy_device *phydev) in ksz8895_startup()
165 int ksz886x_config(struct phy_device *phydev) in ksz886x_config()
175 static int ksz886x_startup(struct phy_device *phydev) in ksz886x_startup()
H A Dnatsemi.c18 static int dp83630_config(struct phy_device *phydev) in dp83630_config()
56 static int dp838xx_config(struct phy_device *phydev) in dp838xx_config()
64 static int dp83865_parse_status(struct phy_device *phydev) in dp83865_parse_status()
94 static int dp83865_startup(struct phy_device *phydev) in dp83865_startup()
117 static int dp83848_parse_status(struct phy_device *phydev) in dp83848_parse_status()
138 static int dp83848_startup(struct phy_device *phydev) in dp83848_startup()
H A Drealtek.c54 static int rtl8211b_probe(struct phy_device *phydev) in rtl8211b_probe()
64 static int rtl8211x_config(struct phy_device *phydev) in rtl8211x_config()
92 static int rtl8211f_config(struct phy_device *phydev) in rtl8211f_config()
126 static int rtl8211x_parse_status(struct phy_device *phydev) in rtl8211x_parse_status()
183 static int rtl8211f_parse_status(struct phy_device *phydev) in rtl8211f_parse_status()
228 static int rtl8211x_startup(struct phy_device *phydev) in rtl8211x_startup()
240 static int rtl8211e_startup(struct phy_device *phydev) in rtl8211e_startup()
251 static int rtl8211f_startup(struct phy_device *phydev) in rtl8211f_startup()
H A Dgeneric_10g.c17 int gen10g_shutdown(struct phy_device *phydev) in gen10g_shutdown()
22 int gen10g_startup(struct phy_device *phydev) in gen10g_startup()
52 int gen10g_discover_mmds(struct phy_device *phydev) in gen10g_discover_mmds()
78 int gen10g_config(struct phy_device *phydev) in gen10g_config()
H A Ddavicom.c27 static int dm9161_config(struct phy_device *phydev) in dm9161_config()
42 static int dm9161_parse_status(struct phy_device *phydev) in dm9161_parse_status()
61 static int dm9161_startup(struct phy_device *phydev) in dm9161_startup()
H A Dmarvell.c108 static int m88e1011s_config(struct phy_device *phydev) in m88e1011s_config()
129 static int m88e1xxx_parse_status(struct phy_device *phydev) in m88e1xxx_parse_status()
186 static int m88e1011s_startup(struct phy_device *phydev) in m88e1011s_startup()
198 static int m88e1111s_config(struct phy_device *phydev) in m88e1111s_config()
285 void m88e1518_phy_writebits(struct phy_device *phydev, in m88e1518_phy_writebits()
303 static int m88e1518_config(struct phy_device *phydev) in m88e1518_config()
381 static int m88e1510_config(struct phy_device *phydev) in m88e1510_config()
408 static int m88e1118_config(struct phy_device *phydev) in m88e1118_config()
424 static int m88e1118_startup(struct phy_device *phydev) in m88e1118_startup()
439 static int m88e1121_config(struct phy_device *phydev) in m88e1121_config()
[all …]
H A Dvitesse.c70 static int vitesse_config(struct phy_device *phydev) in vitesse_config()
84 static int vitesse_parse_status(struct phy_device *phydev) in vitesse_parse_status()
112 static int vitesse_startup(struct phy_device *phydev) in vitesse_startup()
122 static int cis8204_config(struct phy_device *phydev) in cis8204_config()
145 static int vsc8601_add_skew(struct phy_device *phydev) in vsc8601_add_skew()
157 static int vsc8601_config(struct phy_device *phydev) in vsc8601_config()
170 static int vsc8574_config(struct phy_device *phydev) in vsc8574_config()
213 static int vsc8514_config(struct phy_device *phydev) in vsc8514_config()
268 static int vsc8664_config(struct phy_device *phydev) in vsc8664_config()
H A Drockchip-fephy.c63 static int rockchip_fephy_group_read(struct phy_device *phydev, u8 group, u32 reg) in rockchip_fephy_group_read()
78 static int rockchip_fephy_group_write(struct phy_device *phydev, u8 group, in rockchip_fephy_group_write()
90 static int rockchip_fephy_startup(struct phy_device *phydev) in rockchip_fephy_startup()
105 static int rockchip_fephy_config_init(struct phy_device *phydev) in rockchip_fephy_config_init()
H A Dfixed.c17 int fixedphy_probe(struct phy_device *phydev) in fixedphy_probe()
49 int fixedphy_startup(struct phy_device *phydev) in fixedphy_startup()
62 int fixedphy_shutdown(struct phy_device *phydev) in fixedphy_shutdown()
H A Det1011c.c28 static int et1011c_config(struct phy_device *phydev) in et1011c_config()
42 static int et1011c_parse_status(struct phy_device *phydev) in et1011c_parse_status()
80 static int et1011c_startup(struct phy_device *phydev) in et1011c_startup()
H A Dxilinx_phy.c36 static int xilinxphy_startup(struct phy_device *phydev) in xilinxphy_startup()
102 static int xilinxphy_of_init(struct phy_device *phydev) in xilinxphy_of_init()
115 static int xilinxphy_config(struct phy_device *phydev) in xilinxphy_config()
H A Dcortina.c124 void cs4340_upload_firmware(struct phy_device *phydev) in cs4340_upload_firmware()
219 int cs4340_phy_init(struct phy_device *phydev) in cs4340_phy_init()
253 int cs4340_config(struct phy_device *phydev) in cs4340_config()
259 int cs4340_probe(struct phy_device *phydev) in cs4340_probe()
265 int cs4340_startup(struct phy_device *phydev) in cs4340_startup()
H A Datheros.c20 static int ar8021_config(struct phy_device *phydev) in ar8021_config()
29 static int ar8031_config(struct phy_device *phydev) in ar8031_config()
55 static int ar8035_config(struct phy_device *phydev) in ar8035_config()
H A Dlxt.c21 static int lxt971_parse_status(struct phy_device *phydev) in lxt971_parse_status()
50 static int lxt971_startup(struct phy_device *phydev) in lxt971_startup()
H A Dti.c116 int phy_read_mmd_indirect(struct phy_device *phydev, int prtad, in phy_read_mmd_indirect()
151 void phy_write_mmd_indirect(struct phy_device *phydev, int prtad, in phy_write_mmd_indirect()
173 static int dp83867_of_init(struct phy_device *phydev) in dp83867_of_init()
199 static int dp83867_of_init(struct phy_device *phydev) in dp83867_of_init()
212 static int dp83867_config(struct phy_device *phydev) in dp83867_config()
H A Drk630phy.c122 static int rk630_phy_startup(struct phy_device *phydev) in rk630_phy_startup()
137 static void rk630_phy_s40_config_init(struct phy_device *phydev) in rk630_phy_s40_config_init()
167 static void rk630_phy_t22_config_init(struct phy_device *phydev) in rk630_phy_t22_config_init()
222 static int rk630_phy_config_init(struct phy_device *phydev) in rk630_phy_config_init()
H A Dmscc.c137 static int mscc_vsc8531_vsc8541_init_scripts(struct phy_device *phydev) in mscc_vsc8531_vsc8541_init_scripts()
199 static int mscc_parse_status(struct phy_device *phydev) in mscc_parse_status()
232 static int mscc_startup(struct phy_device *phydev) in mscc_startup()
244 static int mscc_phy_soft_reset(struct phy_device *phydev) in mscc_phy_soft_reset()
273 static int vsc8531_vsc8541_mac_config(struct phy_device *phydev) in vsc8531_vsc8541_mac_config()
340 static int vsc8531_config(struct phy_device *phydev) in vsc8531_config()
400 static int vsc8541_config(struct phy_device *phydev) in vsc8541_config()
/rk3399_rockchip-uboot/include/fsl-mc/
H A Dldpaa_wriop.h47 struct phy_device *phydev;
64 void wriop_set_phy_dev(int, struct phy_device *);
65 struct phy_device *wriop_get_phy_dev(int);
/rk3399_rockchip-uboot/cmd/
H A Dmdio.c44 static int mdio_write_ranges(struct phy_device *phydev, struct mii_dev *bus, in mdio_write_ranges()
73 static int mdio_read_ranges(struct phy_device *phydev, struct mii_dev *bus, in mdio_read_ranges()
142 struct phy_device **phydev, in extract_phy_range()
145 struct phy_device *dev = *phydev; in extract_phy_range()
192 struct phy_device *phydev = NULL; in do_mdio()

123456