Home
last modified time | relevance | path

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

12345678

/u-boot/include/
A Dphy.h65 struct phy_device;
77 struct phy_device *phymap[PHY_MAX_ADDR];
101 int (*probe)(struct phy_device *phydev);
105 int (*config)(struct phy_device *phydev);
108 int (*startup)(struct phy_device *phydev);
111 int (*shutdown)(struct phy_device *phydev);
130 struct phy_device { struct
387 int phy_reset(struct phy_device *phydev);
494 int phy_startup(struct phy_device *phydev);
495 int phy_config(struct phy_device *phydev);
[all …]
A Dmicrel.h40 struct phy_device;
41 int ksz9021_phy_extended_write(struct phy_device *phydev, int regnum, u16 val);
42 int ksz9021_phy_extended_read(struct phy_device *phydev, int regnum);
44 int ksz9031_phy_extended_write(struct phy_device *phydev, int devaddr,
46 int ksz9031_phy_extended_read(struct phy_device *phydev, int devaddr,
48 int ksz9xx1_phy_get_id(struct phy_device *phydev);
A Dexports.h58 struct phy_device *phy_find_by_mask(struct mii_dev *bus, unsigned phy_mask,
60 struct phy_device *mdio_phydev_for_ethname(const char *ethname);
/u-boot/drivers/net/phy/
A Dxilinx_gmii2rgmii.c19 static int xilinxgmiitorgmii_config(struct phy_device *phydev) in xilinxgmiitorgmii_config()
21 struct phy_device *ext_phydev = phydev->priv; in xilinxgmiitorgmii_config()
30 static int xilinxgmiitorgmii_extread(struct phy_device *phydev, int addr, in xilinxgmiitorgmii_extread()
33 struct phy_device *ext_phydev = phydev->priv; in xilinxgmiitorgmii_extread()
42 static int xilinxgmiitorgmii_extwrite(struct phy_device *phydev, int addr, in xilinxgmiitorgmii_extwrite()
46 struct phy_device *ext_phydev = phydev->priv; in xilinxgmiitorgmii_extwrite()
56 static int xilinxgmiitorgmii_startup(struct phy_device *phydev) in xilinxgmiitorgmii_startup()
59 struct phy_device *ext_phydev = phydev->priv; in xilinxgmiitorgmii_startup()
84 static int xilinxgmiitorgmii_probe(struct phy_device *phydev) in xilinxgmiitorgmii_probe()
89 struct phy_device *ext_phydev; in xilinxgmiitorgmii_probe()
A Dca_phy.c24 static void __internal_phy_init(struct phy_device *phydev, int reset_phy) in __internal_phy_init()
58 static void __external_phy_init(struct phy_device *phydev, int reset_phy) in __external_phy_init()
81 static int rtl8211_external_config(struct phy_device *phydev) in rtl8211_external_config()
88 static int rtl8211_internal_config(struct phy_device *phydev) in rtl8211_internal_config()
90 struct phy_device phydev_init; in rtl8211_internal_config()
92 memcpy(&phydev_init, phydev, sizeof(struct phy_device)); in rtl8211_internal_config()
99 static int rtl8211_probe(struct phy_device *phydev) in rtl8211_probe()
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()
159 static int ksz9021_of_config(struct phy_device *phydev) in ksz9021_of_config()
178 static int ksz9031_of_config(struct phy_device *phydev) in ksz9031_of_config()
215 static int ksz9021_of_config(struct phy_device *phydev) in ksz9021_of_config()
220 static int ksz9031_of_config(struct phy_device *phydev) in ksz9031_of_config()
263 static int ksz9021_config(struct phy_device *phydev) in ksz9021_config()
306 int ksz9031_phy_extended_write(struct phy_device *phydev, in ksz9031_phy_extended_write()
349 static int ksz9031_config(struct phy_device *phydev) in ksz9031_config()
459 static int ksz9131_config(struct phy_device *phydev) in ksz9131_config()
[all …]
A Dmicrel_ksz8xxx.c31 static int ksz_genconfig_bcastoff(struct phy_device *phydev) in ksz_genconfig_bcastoff()
63 static int ksz8051_config(struct phy_device *phydev) in ksz8051_config()
85 static int ksz8061_config(struct phy_device *phydev) in ksz8061_config()
100 static int ksz8081_config(struct phy_device *phydev) in ksz8081_config()
142 static void ksz8895_write_smireg(struct phy_device *phydev, int smireg, int val) in ksz8895_write_smireg()
149 static int ksz8895_read_smireg(struct phy_device *phydev, int smireg)
156 int ksz8895_config(struct phy_device *phydev) in ksz8895_config()
170 static int ksz8895_startup(struct phy_device *phydev) in ksz8895_startup()
198 int ksz886x_config(struct phy_device *phydev) in ksz886x_config()
208 static int ksz886x_startup(struct phy_device *phydev) in ksz886x_startup()
A Dphy.c386 int genphy_config(struct phy_device *phydev) in genphy_config()
662 struct phy_device *dev; in phy_device_create()
793 struct phy_device *phydev; in get_phy_device_by_mask()
847 int phy_reset(struct phy_device *phydev) in phy_reset()
901 struct phy_device *phydev; in miiphy_reset()
955 struct phy_device *phydev = NULL; in phy_connect_gmii2rgmii()
1021 struct phy_device *phydev = NULL; in phy_connect_fixed()
1050 struct phy_device *phydev = NULL; in phy_connect()
1080 int phy_startup(struct phy_device *phydev) in phy_startup()
1095 int phy_config(struct phy_device *phydev) in phy_config()
[all …]
A Dbroadcom.c37 static void bcm_phy_write_misc(struct phy_device *phydev, in bcm_phy_write_misc()
56 static int bcm5461_config(struct phy_device *phydev) in bcm5461_config()
65 static int bcm54xx_parse_status(struct phy_device *phydev) in bcm54xx_parse_status()
107 static int bcm54xx_startup(struct phy_device *phydev) in bcm54xx_startup()
132 static int bcm5482_config(struct phy_device *phydev) in bcm5482_config()
165 static int bcm_cygnus_startup(struct phy_device *phydev) in bcm_cygnus_startup()
177 static void bcm_cygnus_afe(struct phy_device *phydev) in bcm_cygnus_afe()
213 static int bcm_cygnus_config(struct phy_device *phydev) in bcm_cygnus_config()
229 static int bcm5482_is_serdes(struct phy_device *phydev) in bcm5482_is_serdes()
263 static u32 bcm5482_parse_serdes_sr(struct phy_device *phydev) in bcm5482_parse_serdes_sr()
[all …]
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()
A Dmv88e61xx.c225 __weak int mv88e61xx_hw_reset(struct phy_device *phydev) in mv88e61xx_hw_reset()
339 static int mv88e61xx_phy_wait(struct phy_device *phydev) in mv88e61xx_phy_wait()
361 struct phy_device *phydev; in mv88e61xx_phy_read_indirect()
364 phydev = (struct phy_device *)smi_wrapper->priv; in mv88e61xx_phy_read_indirect()
386 struct phy_device *phydev; in mv88e61xx_phy_write_indirect()
389 phydev = (struct phy_device *)smi_wrapper->priv; in mv88e61xx_phy_write_indirect()
582 static int mv88e61xx_serdes_init(struct phy_device *phydev) in mv88e61xx_serdes_init()
815 static int mv88e61xx_switch_init(struct phy_device *phydev) in mv88e61xx_switch_init()
931 static int mv88e61xx_probe(struct phy_device *phydev) in mv88e61xx_probe()
1033 static int mv88e61xx_phy_config(struct phy_device *phydev) in mv88e61xx_phy_config()
[all …]
A Drealtek.c100 static int rtl8211b_probe(struct phy_device *phydev) in rtl8211b_probe()
109 static int rtl8211e_probe(struct phy_device *phydev) in rtl8211e_probe()
118 static int rtl8211f_probe(struct phy_device *phydev) in rtl8211f_probe()
127 static int rtl8210f_probe(struct phy_device *phydev) in rtl8210f_probe()
137 static int rtl8211x_config(struct phy_device *phydev) in rtl8211x_config()
182 static int rtl8201f_config(struct phy_device *phydev) in rtl8201f_config()
204 static int rtl8211f_config(struct phy_device *phydev) in rtl8211f_config()
256 static int rtl8211x_parse_status(struct phy_device *phydev) in rtl8211x_parse_status()
358 static int rtl8211x_startup(struct phy_device *phydev) in rtl8211x_startup()
370 static int rtl8211e_startup(struct phy_device *phydev) in rtl8211e_startup()
[all …]
A Dgeneric_10g.c14 int gen10g_shutdown(struct phy_device *phydev) in gen10g_shutdown()
19 int gen10g_startup(struct phy_device *phydev) in gen10g_startup()
49 int gen10g_discover_mmds(struct phy_device *phydev) in gen10g_discover_mmds()
75 int gen10g_config(struct phy_device *phydev) in gen10g_config()
A Dcortina.c127 void cs4340_upload_firmware(struct phy_device *phydev) in cs4340_upload_firmware()
228 int cs4340_phy_init(struct phy_device *phydev) in cs4340_phy_init()
272 int cs4340_config(struct phy_device *phydev) in cs4340_config()
278 int cs4340_probe(struct phy_device *phydev) in cs4340_probe()
284 int cs4340_startup(struct phy_device *phydev) in cs4340_startup()
294 int cs4223_phy_init(struct phy_device *phydev) in cs4223_phy_init()
307 int cs4223_config(struct phy_device *phydev) in cs4223_config()
312 int cs4223_probe(struct phy_device *phydev) in cs4223_probe()
318 int cs4223_startup(struct phy_device *phydev) in cs4223_startup()
A Datheros.c61 static int ar803x_debug_reg_read(struct phy_device *phydev, u16 reg) in ar803x_debug_reg_read()
73 static int ar803x_debug_reg_mask(struct phy_device *phydev, u16 reg, in ar803x_debug_reg_mask()
90 static int ar803x_enable_rx_delay(struct phy_device *phydev, bool on) in ar803x_enable_rx_delay()
102 static int ar803x_enable_tx_delay(struct phy_device *phydev, bool on) in ar803x_enable_tx_delay()
114 static int ar8021_config(struct phy_device *phydev) in ar8021_config()
125 static int ar803x_delay_config(struct phy_device *phydev) in ar803x_delay_config()
144 static int ar803x_regs_config(struct phy_device *phydev) in ar803x_regs_config()
192 static int ar803x_of_init(struct phy_device *phydev) in ar803x_of_init()
314 static int ar803x_config(struct phy_device *phydev) in ar803x_config()
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()
A Dmarvell.c133 static int m88e1011s_config(struct phy_device *phydev) in m88e1011s_config()
211 static int m88e1011s_startup(struct phy_device *phydev) in m88e1011s_startup()
223 static int m88e1111s_config(struct phy_device *phydev) in m88e1111s_config()
310 void m88e151x_phy_writebits(struct phy_device *phydev, in m88e151x_phy_writebits()
328 static int m88e151x_config(struct phy_device *phydev) in m88e151x_config()
407 static int m88e1118_config(struct phy_device *phydev) in m88e1118_config()
438 static int m88e1121_config(struct phy_device *phydev) in m88e1121_config()
463 static int m88e1145_config(struct phy_device *phydev) in m88e1145_config()
506 static int m88e1149_config(struct phy_device *phydev) in m88e1149_config()
522 static int m88e1310_config(struct phy_device *phydev) in m88e1310_config()
[all …]
A Dfixed.c18 int fixedphy_probe(struct phy_device *phydev) in fixedphy_probe()
51 int fixedphy_startup(struct phy_device *phydev) in fixedphy_startup()
64 int fixedphy_shutdown(struct phy_device *phydev) in fixedphy_shutdown()
A Dvitesse.c71 static int vitesse_config(struct phy_device *phydev) in vitesse_config()
85 static int vitesse_parse_status(struct phy_device *phydev) in vitesse_parse_status()
113 static int vitesse_startup(struct phy_device *phydev) in vitesse_startup()
123 static int cis8204_config(struct phy_device *phydev) in cis8204_config()
146 static int vsc8601_add_skew(struct phy_device *phydev) in vsc8601_add_skew()
158 static int vsc8601_config(struct phy_device *phydev) in vsc8601_config()
171 static int vsc8574_config(struct phy_device *phydev) in vsc8574_config()
214 static int vsc8514_config(struct phy_device *phydev) in vsc8514_config()
269 static int vsc8664_config(struct phy_device *phydev) in vsc8664_config()
A Det1011c.c27 static int et1011c_config(struct phy_device *phydev) in et1011c_config()
41 static int et1011c_parse_status(struct phy_device *phydev) in et1011c_parse_status()
79 static int et1011c_startup(struct phy_device *phydev) in et1011c_startup()
A Dxilinx_phy.c34 static int xilinxphy_startup(struct phy_device *phydev) in xilinxphy_startup()
100 static int xilinxphy_of_init(struct phy_device *phydev) in xilinxphy_of_init()
117 static int xilinxphy_config(struct phy_device *phydev) in xilinxphy_config()
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()
/u-boot/include/net/
A Ddsa.h73 struct phy_device *phy);
75 struct phy_device *phy);
93 struct phy_device *phy;
/u-boot/include/fsl-mc/
A Dldpaa_wriop.h49 struct phy_device *phydev[WRIOP_MAX_PHY_NUM];
64 int wriop_set_phy_dev(int dpmac_id, int phy_num, struct phy_device *phydev);
65 struct phy_device *wriop_get_phy_dev(int dpmac_id, int phy_num);
/u-boot/net/
A Dmdio-uclass.c121 struct phy_device *dm_mdio_phy_connect(struct udevice *mdiodev, int phyaddr, in dm_mdio_phy_connect()
133 static struct phy_device *dm_eth_connect_phy_handle(struct udevice *ethdev, in dm_eth_connect_phy_handle()
138 struct phy_device *phy; in dm_eth_connect_phy_handle()
185 struct phy_device *dm_eth_phy_connect(struct udevice *ethdev) in dm_eth_phy_connect()
189 struct phy_device *phy; in dm_eth_phy_connect()

Completed in 25 milliseconds

12345678