Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dphy.h179 struct phy_device *phy_map[PHY_MAX_ADDR];
208 struct phy_device *mdiobus_scan(struct mii_bus *bus, int addr);
354 struct phy_device { struct
426 #define to_phy_device(d) container_of(d, struct phy_device, dev) argument
460 int (*soft_reset)(struct phy_device *phydev);
466 int (*config_init)(struct phy_device *phydev);
472 int (*probe)(struct phy_device *phydev);
475 int (*suspend)(struct phy_device *phydev);
476 int (*resume)(struct phy_device *phydev);
484 int (*config_aneg)(struct phy_device *phydev);
[all …]
Dphy_fixed.h17 extern struct phy_device *fixed_phy_register(unsigned int irq,
21 extern int fixed_phy_set_link_update(struct phy_device *phydev,
24 extern int fixed_phy_update_state(struct phy_device *phydev,
33 static inline struct phy_device *fixed_phy_register(unsigned int irq, in fixed_phy_register()
43 static inline int fixed_phy_set_link_update(struct phy_device *phydev, in fixed_phy_set_link_update()
49 static inline int fixed_phy_update_state(struct phy_device *phydev, in fixed_phy_update_state()
Dof_mdio.h17 extern struct phy_device *of_phy_find_device(struct device_node *phy_np);
18 extern struct phy_device *of_phy_connect(struct net_device *dev,
22 struct phy_device *of_phy_attach(struct net_device *dev,
40 static inline struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device()
45 static inline struct phy_device *of_phy_connect(struct net_device *dev, in of_phy_connect()
53 static inline struct phy_device *of_phy_attach(struct net_device *dev, in of_phy_attach()
Dbrcmphy.h209 static inline int bcm54xx_shadow_read(struct phy_device *phydev, u16 shadow) in bcm54xx_shadow_read()
215 static inline int bcm54xx_shadow_write(struct phy_device *phydev, u16 shadow, in bcm54xx_shadow_write()
Dnetdevice.h57 struct phy_device;
1752 struct phy_device *phydev;
/linux-4.1.27/drivers/net/phy/
Dphy_device.c44 void phy_device_free(struct phy_device *phydev) in phy_device_free()
76 int (*run)(struct phy_device *)) in phy_register_fixup() argument
98 int (*run)(struct phy_device *)) in phy_register_fixup_for_uid() argument
106 int (*run)(struct phy_device *)) in phy_register_fixup_for_id() argument
115 static int phy_needs_fixup(struct phy_device *phydev, struct phy_fixup *fixup) in phy_needs_fixup()
130 static int phy_scan_fixups(struct phy_device *phydev) in phy_scan_fixups()
151 struct phy_device *phy_device_create(struct mii_bus *bus, int addr, int phy_id, in phy_device_create()
155 struct phy_device *dev; in phy_device_create()
160 return (struct phy_device *)PTR_ERR((void *)-ENOMEM); in phy_device_create()
326 struct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45) in get_phy_device()
[all …]
Dbcm87xx.c37 static int bcm87xx_of_reg_init(struct phy_device *phydev) in bcm87xx_of_reg_init()
81 static int bcm87xx_of_reg_init(struct phy_device *phydev) in bcm87xx_of_reg_init()
87 static int bcm87xx_config_init(struct phy_device *phydev) in bcm87xx_config_init()
99 static int bcm87xx_config_aneg(struct phy_device *phydev) in bcm87xx_config_aneg()
104 static int bcm87xx_read_status(struct phy_device *phydev) in bcm87xx_read_status()
141 static int bcm87xx_config_intr(struct phy_device *phydev) in bcm87xx_config_intr()
159 static int bcm87xx_did_interrupt(struct phy_device *phydev) in bcm87xx_did_interrupt()
173 static int bcm87xx_ack_interrupt(struct phy_device *phydev) in bcm87xx_ack_interrupt()
180 static int bcm8706_match_phy_device(struct phy_device *phydev) in bcm8706_match_phy_device()
185 static int bcm8727_match_phy_device(struct phy_device *phydev) in bcm8727_match_phy_device()
Dphy.c65 void phy_print_status(struct phy_device *phydev) in phy_print_status()
88 static int phy_clear_interrupt(struct phy_device *phydev) in phy_clear_interrupt()
103 static int phy_config_interrupt(struct phy_device *phydev, u32 interrupts) in phy_config_interrupt()
121 static inline int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done()
265 static void phy_sanitize_settings(struct phy_device *phydev) in phy_sanitize_settings()
293 int phy_ethtool_sset(struct phy_device *phydev, struct ethtool_cmd *cmd) in phy_ethtool_sset()
338 int phy_ethtool_gset(struct phy_device *phydev, struct ethtool_cmd *cmd) in phy_ethtool_gset()
370 int phy_mii_ioctl(struct phy_device *phydev, struct ifreq *ifr, int cmd) in phy_mii_ioctl()
452 int phy_start_aneg(struct phy_device *phydev) in phy_start_aneg()
494 void phy_start_machine(struct phy_device *phydev) in phy_start_machine()
[all …]
Dbcm7xxx.c51 static void phy_write_exp(struct phy_device *phydev, in phy_write_exp()
58 static void phy_write_misc(struct phy_device *phydev, in phy_write_misc()
75 static void r_rc_cal_reset(struct phy_device *phydev) in r_rc_cal_reset()
84 static int bcm7xxx_28nm_b0_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_b0_afe_config_init()
125 static int bcm7xxx_28nm_d0_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_d0_afe_config_init()
165 static int bcm7xxx_28nm_e0_plus_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_e0_plus_afe_config_init()
190 static int bcm7xxx_apd_enable(struct phy_device *phydev) in bcm7xxx_apd_enable()
211 static int bcm7xxx_eee_enable(struct phy_device *phydev) in bcm7xxx_eee_enable()
237 static int bcm7xxx_28nm_config_init(struct phy_device *phydev) in bcm7xxx_28nm_config_init()
273 static int bcm7xxx_28nm_resume(struct phy_device *phydev) in bcm7xxx_28nm_resume()
[all …]
Dnational.c59 static u8 ns_exp_read(struct phy_device *phydev, u16 reg) in ns_exp_read()
65 static void ns_exp_write(struct phy_device *phydev, u16 reg, u8 data) in ns_exp_write()
71 static int ns_config_intr(struct phy_device *phydev) in ns_config_intr()
84 static int ns_ack_interrupt(struct phy_device *phydev) in ns_ack_interrupt()
97 static void ns_giga_speed_fallback(struct phy_device *phydev, int mode) in ns_giga_speed_fallback()
111 static void ns_10_base_t_hdx_loopack(struct phy_device *phydev, int disable) in ns_10_base_t_hdx_loopack()
123 static int ns_config_init(struct phy_device *phydev) in ns_config_init()
Dlxt.c64 static int lxt970_ack_interrupt(struct phy_device *phydev) in lxt970_ack_interrupt()
81 static int lxt970_config_intr(struct phy_device *phydev) in lxt970_config_intr()
93 static int lxt970_config_init(struct phy_device *phydev) in lxt970_config_init()
103 static int lxt971_ack_interrupt(struct phy_device *phydev) in lxt971_ack_interrupt()
113 static int lxt971_config_intr(struct phy_device *phydev) in lxt971_config_intr()
130 static int lxt973a2_update_link(struct phy_device *phydev) in lxt973a2_update_link()
162 static int lxt973a2_read_status(struct phy_device *phydev) in lxt973a2_read_status()
242 static int lxt973_probe(struct phy_device *phydev) in lxt973_probe()
263 static int lxt973_config_aneg(struct phy_device *phydev) in lxt973_config_aneg()
Dmicrel.c122 static int kszphy_extended_write(struct phy_device *phydev, in kszphy_extended_write()
129 static int kszphy_extended_read(struct phy_device *phydev, in kszphy_extended_read()
136 static int kszphy_ack_interrupt(struct phy_device *phydev) in kszphy_ack_interrupt()
146 static int kszphy_config_intr(struct phy_device *phydev) in kszphy_config_intr()
173 static int kszphy_rmii_clk_sel(struct phy_device *phydev, bool val) in kszphy_rmii_clk_sel()
189 static int kszphy_setup_led(struct phy_device *phydev, u32 reg, int val) in kszphy_setup_led()
223 static int kszphy_broadcast_disable(struct phy_device *phydev) in kszphy_broadcast_disable()
239 static int kszphy_nand_tree_disable(struct phy_device *phydev) in kszphy_nand_tree_disable()
259 static int kszphy_config_init(struct phy_device *phydev) in kszphy_config_init()
290 static int ksz9021_load_values_from_of(struct phy_device *phydev, in ksz9021_load_values_from_of()
[all …]
Dat803x.c65 static void at803x_context_save(struct phy_device *phydev, in at803x_context_save()
77 static void at803x_context_restore(struct phy_device *phydev, in at803x_context_restore()
88 static int at803x_set_wol(struct phy_device *phydev, in at803x_set_wol()
139 static void at803x_get_wol(struct phy_device *phydev, in at803x_get_wol()
152 static int at803x_suspend(struct phy_device *phydev) in at803x_suspend()
176 static int at803x_resume(struct phy_device *phydev) in at803x_resume()
191 static int at803x_probe(struct phy_device *phydev) in at803x_probe()
212 static int at803x_config_init(struct phy_device *phydev) in at803x_config_init()
234 static int at803x_ack_interrupt(struct phy_device *phydev) in at803x_ack_interrupt()
243 static int at803x_config_intr(struct phy_device *phydev) in at803x_config_intr()
[all …]
Dmdio_bus.c197 struct phy_device *phydev) in of_mdiobus_link_phydev()
231 struct phy_device *phydev) in of_mdiobus_link_phydev()
275 struct phy_device *phydev; in mdiobus_register()
338 struct phy_device *mdiobus_scan(struct mii_bus *bus, int addr) in mdiobus_scan()
340 struct phy_device *phydev; in mdiobus_scan()
422 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_match()
437 static bool mdio_bus_phy_may_suspend(struct phy_device *phydev) in mdio_bus_phy_may_suspend()
472 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_suspend()
490 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_resume()
509 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_restore()
[all …]
Dicplus.c48 static int ip175c_config_init(struct phy_device *phydev) in ip175c_config_init()
103 static int ip1xx_reset(struct phy_device *phydev) in ip1xx_reset()
125 static int ip1001_config_init(struct phy_device *phydev) in ip1001_config_init()
168 static int ip101a_g_config_init(struct phy_device *phydev) in ip101a_g_config_init()
188 static int ip175c_read_status(struct phy_device *phydev) in ip175c_read_status()
199 static int ip175c_config_aneg(struct phy_device *phydev) in ip175c_config_aneg()
207 static int ip101a_g_ack_interrupt(struct phy_device *phydev) in ip101a_g_ack_interrupt()
Damd-xgbe-phy.c397 struct phy_device *phydev;
445 static int amd_xgbe_an_enable_kr_training(struct phy_device *phydev) in amd_xgbe_an_enable_kr_training()
459 static int amd_xgbe_an_disable_kr_training(struct phy_device *phydev) in amd_xgbe_an_disable_kr_training()
473 static int amd_xgbe_phy_pcs_power_cycle(struct phy_device *phydev) in amd_xgbe_phy_pcs_power_cycle()
492 static void amd_xgbe_phy_serdes_start_ratechange(struct phy_device *phydev) in amd_xgbe_phy_serdes_start_ratechange()
500 static void amd_xgbe_phy_serdes_complete_ratechange(struct phy_device *phydev) in amd_xgbe_phy_serdes_complete_ratechange()
529 static int amd_xgbe_phy_xgmii_mode(struct phy_device *phydev) in amd_xgbe_phy_xgmii_mode()
585 static int amd_xgbe_phy_gmii_2500_mode(struct phy_device *phydev) in amd_xgbe_phy_gmii_2500_mode()
641 static int amd_xgbe_phy_gmii_mode(struct phy_device *phydev) in amd_xgbe_phy_gmii_mode()
697 static int amd_xgbe_phy_cur_mode(struct phy_device *phydev, in amd_xgbe_phy_cur_mode()
[all …]
Dbroadcom.c33 static int bcm54xx_exp_read(struct phy_device *phydev, u16 regnum) in bcm54xx_exp_read()
49 static int bcm54xx_exp_write(struct phy_device *phydev, u16 regnum, u16 val) in bcm54xx_exp_write()
65 static int bcm54xx_auxctl_write(struct phy_device *phydev, u16 regnum, u16 val) in bcm54xx_auxctl_write()
71 static int bcm50610_a0_workaround(struct phy_device *phydev) in bcm50610_a0_workaround()
102 static int bcm54xx_phydsp_config(struct phy_device *phydev) in bcm54xx_phydsp_config()
150 static void bcm54xx_adjust_rxrefclk(struct phy_device *phydev) in bcm54xx_adjust_rxrefclk()
210 static int bcm54xx_config_init(struct phy_device *phydev) in bcm54xx_config_init()
247 static int bcm5482_config_init(struct phy_device *phydev) in bcm5482_config_init()
317 static int bcm5482_read_status(struct phy_device *phydev) in bcm5482_read_status()
337 static int bcm54xx_ack_interrupt(struct phy_device *phydev) in bcm54xx_ack_interrupt()
[all …]
Dsmsc.c27 static int smsc_phy_config_intr(struct phy_device *phydev) in smsc_phy_config_intr()
37 static int smsc_phy_ack_interrupt(struct phy_device *phydev) in smsc_phy_ack_interrupt()
44 static int smsc_phy_config_init(struct phy_device *phydev) in smsc_phy_config_init()
60 static int smsc_phy_reset(struct phy_device *phydev) in smsc_phy_reset()
88 static int lan911x_config_init(struct phy_device *phydev) in lan911x_config_init()
104 static int lan87xx_read_status(struct phy_device *phydev) in lan87xx_read_status()
Dvitesse.c77 static int vsc824x_add_skew(struct phy_device *phydev) in vsc824x_add_skew()
98 static int vsc824x_config_init(struct phy_device *phydev) in vsc824x_config_init()
113 static int vsc824x_ack_interrupt(struct phy_device *phydev) in vsc824x_ack_interrupt()
127 static int vsc82xx_config_intr(struct phy_device *phydev) in vsc82xx_config_intr()
154 static int vsc8221_config_init(struct phy_device *phydev) in vsc8221_config_init()
173 static int vsc82x4_config_autocross_enable(struct phy_device *phydev) in vsc82x4_config_autocross_enable()
205 static int vsc82x4_config_aneg(struct phy_device *phydev) in vsc82x4_config_aneg()
Dmarvell.c137 static int marvell_ack_interrupt(struct phy_device *phydev) in marvell_ack_interrupt()
150 static int marvell_config_intr(struct phy_device *phydev) in marvell_config_intr()
162 static int marvell_config_aneg(struct phy_device *phydev) in marvell_config_aneg()
243 static int marvell_of_reg_init(struct phy_device *phydev) in marvell_of_reg_init()
303 static int marvell_of_reg_init(struct phy_device *phydev) in marvell_of_reg_init()
309 static int m88e1121_config_aneg(struct phy_device *phydev) in m88e1121_config_aneg()
363 static int m88e1318_config_aneg(struct phy_device *phydev) in m88e1318_config_aneg()
388 static int m88e1510_config_aneg(struct phy_device *phydev) in m88e1510_config_aneg()
399 static int m88e1116r_config_init(struct phy_device *phydev) in m88e1116r_config_init()
448 static int m88e3016_config_init(struct phy_device *phydev) in m88e3016_config_init()
[all …]
Damd.c32 static int am79c_ack_interrupt(struct phy_device *phydev) in am79c_ack_interrupt()
47 static int am79c_config_init(struct phy_device *phydev) in am79c_config_init()
52 static int am79c_config_intr(struct phy_device *phydev) in am79c_config_intr()
Ddavicom.c66 static int dm9161_config_intr(struct phy_device *phydev) in dm9161_config_intr()
85 static int dm9161_config_aneg(struct phy_device *phydev) in dm9161_config_aneg()
104 static int dm9161_config_init(struct phy_device *phydev) in dm9161_config_init()
140 static int dm9161_ack_interrupt(struct phy_device *phydev) in dm9161_ack_interrupt()
Dqsemi.c63 static int qs6612_config_init(struct phy_device *phydev) in qs6612_config_init()
79 static int qs6612_ack_interrupt(struct phy_device *phydev) in qs6612_ack_interrupt()
101 static int qs6612_config_intr(struct phy_device *phydev) in qs6612_config_intr()
Drealtek.c32 static int rtl821x_ack_interrupt(struct phy_device *phydev) in rtl821x_ack_interrupt()
41 static int rtl8211b_config_intr(struct phy_device *phydev) in rtl8211b_config_intr()
54 static int rtl8211e_config_intr(struct phy_device *phydev) in rtl8211e_config_intr()
Dcicada.c68 static int cis820x_config_init(struct phy_device *phydev) in cis820x_config_init()
84 static int cis820x_ack_interrupt(struct phy_device *phydev) in cis820x_ack_interrupt()
91 static int cis820x_config_intr(struct phy_device *phydev) in cis820x_config_intr()
Dbcm63xx.c23 static int bcm63xx_config_init(struct phy_device *phydev) in bcm63xx_config_init()
45 static int bcm63xx_ack_interrupt(struct phy_device *phydev) in bcm63xx_ack_interrupt()
57 static int bcm63xx_config_intr(struct phy_device *phydev) in bcm63xx_config_intr()
Dste10Xp.c35 static int ste10Xp_config_init(struct phy_device *phydev) in ste10Xp_config_init()
56 static int ste10Xp_config_intr(struct phy_device *phydev) in ste10Xp_config_intr()
75 static int ste10Xp_ack_interrupt(struct phy_device *phydev) in ste10Xp_ack_interrupt()
Ddp83640.c112 struct phy_device *phydev;
228 static int ext_read(struct phy_device *phydev, int page, u32 regnum) in ext_read()
243 static void ext_write(int broadcast, struct phy_device *phydev, in ext_write()
259 static int tdr_write(int bc, struct phy_device *dev, in tdr_write()
310 struct phy_device *phydev = dp83640->phydev; in periodic_output()
380 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_adjfreq()
413 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_adjtime()
435 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_gettime()
460 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_settime()
477 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_enable()
[all …]
Dfixed_phy.c37 struct phy_device *phydev;
166 int fixed_phy_set_link_update(struct phy_device *phydev, in fixed_phy_set_link_update()
188 int fixed_phy_update_state(struct phy_device *phydev, in fixed_phy_update_state()
267 struct phy_device *fixed_phy_register(unsigned int irq, in fixed_phy_register()
272 struct phy_device *phy; in fixed_phy_register()
Det1011c.c52 static int et1011c_config_aneg(struct phy_device *phydev) in et1011c_config_aneg()
66 static int et1011c_read_status(struct phy_device *phydev) in et1011c_read_status()
DMakefile3 libphy-objs := phy.o phy_device.o mdio_bus.o
/linux-4.1.27/drivers/of/
Dof_mdio.c46 struct phy_device *phy; in of_mdiobus_register_phy()
198 struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device()
218 struct phy_device *of_phy_connect(struct net_device *dev, in of_phy_connect()
223 struct phy_device *phy = of_phy_find_device(phy_np); in of_phy_connect()
241 struct phy_device *of_phy_attach(struct net_device *dev, in of_phy_attach()
245 struct phy_device *phy = of_phy_find_device(phy_np); in of_phy_attach()
295 struct phy_device *phy; in of_phy_register_fixed_link()
/linux-4.1.27/arch/arm/mach-imx/
Dmach-imx6q.c43 static int ksz9021rn_phy_fixup(struct phy_device *phydev) in ksz9021rn_phy_fixup()
62 static void mmd_write_reg(struct phy_device *dev, int device, int reg, int val) in mmd_write_reg()
70 static int ksz9031rn_phy_fixup(struct phy_device *dev) in ksz9031rn_phy_fixup()
111 static int ar8031_phy_fixup(struct phy_device *dev) in ar8031_phy_fixup()
136 static int ar8035_phy_fixup(struct phy_device *dev) in ar8035_phy_fixup()
Dmach-imx6sx.c21 static int ar8031_phy_fixup(struct phy_device *dev) in ar8031_phy_fixup()
/linux-4.1.27/include/net/
Ddsa.h225 struct phy_device *phydev);
255 struct phy_device *phy);
257 struct phy_device *phy);
263 struct phy_device *phydev,
/linux-4.1.27/net/core/
Dtimestamping.c37 struct phy_device *phydev; in skb_clone_tx_timestamp()
60 struct phy_device *phydev; in skb_defer_rx_timestamp()
Dethtool.c1576 struct phy_device *phydev = dev->phydev; in ethtool_get_ts_info()
1605 struct phy_device *phydev = dev->phydev; in __ethtool_get_module_info()
1639 struct phy_device *phydev = dev->phydev; in __ethtool_get_module_eeprom()
/linux-4.1.27/Documentation/networking/
Dphy.txt108 phydev is a pointer to the phy_device structure which represents the PHY. If
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);
189 struct phy_device * phy_attach(struct net_device *dev, const char *phy_id,
195 int phy_start_aneg(struct phy_device *phydev);
201 static inline int phy_read_status(struct phy_device *phydev);
206 int phy_ethtool_sset(struct phy_device *phydev, struct ethtool_cmd *cmd);
[all …]
/linux-4.1.27/drivers/net/ethernet/pasemi/
Dpasemi_mac_ethtool.c71 struct phy_device *phydev = mac->phydev; in pasemi_mac_ethtool_get_settings()
84 struct phy_device *phydev = mac->phydev; in pasemi_mac_ethtool_set_settings()
Dpasemi_mac.h74 struct phy_device *phydev;
Dpasemi_mac.c1090 struct phy_device *phydev; in pasemi_mac_phy_init()
/linux-4.1.27/Documentation/DocBook/
D.networking.xml.cmd2 …vers/net/phy/phy.c drivers/net/phy/phy.c drivers/net/phy/phy_device.c drivers/net/phy/phy_device.c…
/linux-4.1.27/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c111 struct phy_device *phydev = ugeth->phydev; in uec_get_settings()
127 struct phy_device *phydev = ugeth->phydev; in uec_set_settings()
363 struct phy_device *phydev = ugeth->phydev; in uec_get_wol()
376 struct phy_device *phydev = ugeth->phydev; in uec_set_wol()
Dfec.h506 struct phy_device *phy_dev;
Dgianfar.h1142 struct phy_device *phydev;
1305 void gfar_phy_test(struct mii_bus *bus, struct phy_device *phydev, int enable,
Dfec_mpc52xx.c69 struct phy_device *phydev;
168 struct phy_device *phydev = priv->phydev; in mpc52xx_fec_adjust_link()
Dfec_main.c1707 struct phy_device *phy_dev = fep->phy_dev; in fec_enet_adjust_link()
1884 struct phy_device *phy_dev = NULL; in fec_enet_mii_probe()
2091 struct phy_device *phydev = fep->phy_dev; in fec_enet_get_settings()
2103 struct phy_device *phydev = fep->phy_dev; in fec_enet_set_settings()
2311 struct phy_device *phydev = fep->phy_dev; in fec_enet_nway_reset()
2540 struct phy_device *phydev = fep->phy_dev; in fec_enet_ioctl()
Dgianfar_ethtool.c191 struct phy_device *phydev = priv->phydev; in gfar_ssettings()
204 struct phy_device *phydev = priv->phydev; in gfar_gsettings()
532 struct phy_device *phydev = priv->phydev; in gfar_spauseparam()
Ducc_geth.h1218 struct phy_device *phydev;
Ducc_geth.c1375 struct phy_device *tbiphy; in adjust_enet_interface()
1584 struct phy_device *phydev = ugeth->phydev; in adjust_link()
1685 struct phy_device *tbiphy; in uec_configure_serdes()
1723 struct phy_device *phydev; in init_phy()
2046 struct phy_device *phydev = ugeth->phydev; in ucc_geth_stop()
Dgianfar.c1764 struct phy_device *tbiphy; in gfar_configure_serdes()
3211 struct phy_device *phydev = priv->phydev; in adjust_link()
3463 struct phy_device *phydev = priv->phydev; in gfar_get_flowctrl_cfg()
3503 struct phy_device *phydev = priv->phydev; in gfar_update_link_state()
/linux-4.1.27/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ethtool.c60 struct phy_device *phydev = pdata->phy_dev; in xgene_get_settings()
92 struct phy_device *phydev = pdata->phy_dev; in xgene_set_settings()
Dxgene_enet_main.h112 struct phy_device *phy_dev;
Dxgene_enet_hw.c643 struct phy_device *phydev = pdata->phy_dev; in xgene_enet_adjust_link()
665 struct phy_device *phy_dev; in xgene_enet_phy_connect()
700 struct phy_device *phy; in xgene_mdiobus_register()
/linux-4.1.27/drivers/net/ethernet/
Ddnet.c176 struct phy_device *phydev = bp->phy_dev; in dnet_handle_link_change()
257 struct phy_device *phydev = NULL; in dnet_mii_probe()
356 static int dnet_phy_marvell_fixup(struct phy_device *phydev) in dnet_phy_marvell_fixup()
753 struct phy_device *phydev = bp->phy_dev; in dnet_get_settings()
764 struct phy_device *phydev = bp->phy_dev; in dnet_set_settings()
775 struct phy_device *phydev = bp->phy_dev; in dnet_ioctl()
818 struct phy_device *phydev; in dnet_probe()
Ddnet.h219 struct phy_device *phy_dev;
Dethoc.c221 struct phy_device *phy;
670 struct phy_device *phy; in ethoc_mdio_probe()
753 struct phy_device *phy = NULL; in ethoc_ioctl()
896 struct phy_device *phydev = priv->phy; in ethoc_get_settings()
907 struct phy_device *phydev = priv->phy; in ethoc_set_settings()
Dlantiq_etop.c105 struct phy_device *phydev;
378 struct phy_device *phydev = NULL; in ltq_etop_mdio_probe()
/linux-4.1.27/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c84 struct phy_device *phydev = priv->phydev; in bcmgenet_mii_setup()
229 struct phy_device *phydev = priv->phydev; in bcmgenet_mii_config()
329 struct phy_device *phydev; in bcmgenet_mii_probe()
485 struct phy_device *phydev; in bcmgenet_mii_pd_init()
Dbcmgenet.h595 struct phy_device *phydev;
/linux-4.1.27/drivers/staging/netlogic/
Dxlr_net.c174 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; in xlr_get_settings()
184 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; in xlr_set_settings()
221 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; in xlr_net_open()
242 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; in xlr_net_stop()
271 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; in xlr_wakeup_queue()
774 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; in xlr_set_gmac_speed()
816 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; in xlr_gmac_link_adjust()
833 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; in xlr_mii_probe()
/linux-4.1.27/net/dsa/
Ddsa_priv.h43 struct phy_device *phy;
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe-mdio.c162 struct phy_device *phydev = pdata->mii->phy_map[XGBE_PRTAD]; in xgbe_dump_phy_registers()
209 struct phy_device *phydev; in xgbe_mdio_register()
Dxgbe-ethtool.c253 struct phy_device *phydev = pdata->phydev; in xgbe_set_pauseparam()
304 struct phy_device *phydev = pdata->phydev; in xgbe_set_settings()
Dxgbe.h737 struct phy_device *phydev;
Dxgbe-drv.c766 struct phy_device *phydev = pdata->phydev; in xgbe_adjust_link()
831 struct phy_device *phydev = pdata->phydev; in xgbe_phy_init()
Dxgbe-dev.c913 struct phy_device *phydev = pdata->phydev; in xgbe_write_mmd_regs()
/linux-4.1.27/drivers/net/ethernet/adi/
Dbfin_mac.h95 struct phy_device *phydev;
Dbfin_mac.c313 struct phy_device *phydev = lp->phydev; in bfin_mac_adjust_link()
383 struct phy_device *phydev = NULL; in mii_probe()
401 struct phy_device *const tmp_phydev = lp->mii_bus->phy_map[i]; in mii_probe()
1367 static int bfin_mac_enable(struct phy_device *phydev) in bfin_mac_enable()
/linux-4.1.27/drivers/net/ethernet/altera/
Daltera_tse_ethtool.c239 struct phy_device *phydev = priv->phydev; in tse_get_settings()
250 struct phy_device *phydev = priv->phydev; in tse_set_settings()
Daltera_tse_main.c640 struct phy_device *phydev = priv->phydev; in altera_tse_adjust_link()
705 static struct phy_device *connect_local_phy(struct net_device *dev) in connect_local_phy()
708 struct phy_device *phydev = NULL; in connect_local_phy()
783 struct phy_device *phydev; in init_phy()
Daltera_tse.h477 struct phy_device *phydev;
/linux-4.1.27/drivers/net/ethernet/8390/
Dax88796.c87 struct phy_device *phy_dev;
323 struct phy_device *phy_dev = ax->phy_dev; in ax_handle_link_change()
351 struct phy_device *phy_dev = NULL; in ax_mii_probe()
454 struct phy_device *phy_dev = ax->phy_dev; in ax_ioctl()
480 struct phy_device *phy_dev = ax->phy_dev; in ax_get_settings()
491 struct phy_device *phy_dev = ax->phy_dev; in ax_set_settings()
/linux-4.1.27/drivers/staging/octeon/
Docteon-ethernet.h58 struct phy_device *phydev;
/linux-4.1.27/drivers/net/ethernet/amd/
Dau1000_eth.h109 struct phy_device *phy_dev;
Dau1000_eth.c418 struct phy_device *phydev = aup->phy_dev; in au1000_adjust_link()
498 struct phy_device *phydev = NULL; in au1000_mii_probe()
533 struct phy_device *const tmp_phydev = in au1000_mii_probe()
/linux-4.1.27/arch/powerpc/platforms/85xx/
Dmpc85xx_mds.c68 static int mpc8568_fixup_125_clock(struct phy_device *phydev) in mpc8568_fixup_125_clock()
99 static int mpc8568_mds_phy_fixups(struct phy_device *phydev) in mpc8568_mds_phy_fixups()
/linux-4.1.27/drivers/net/ethernet/allwinner/
Dsun4i-emac.c79 struct phy_device *phy_dev;
117 struct phy_device *phydev = db->phy_dev; in emac_handle_link_change()
211 struct phy_device *phydev = dm->phy_dev; in emac_ioctl()
234 struct phy_device *phydev = dm->phy_dev; in emac_get_settings()
245 struct phy_device *phydev = dm->phy_dev; in emac_set_settings()
/linux-4.1.27/drivers/net/ethernet/aeroflex/
Dgreth.h126 struct phy_device *phy;
Dgreth.c1111 struct phy_device *phy = greth->phy; in greth_get_settings()
1122 struct phy_device *phy = greth->phy; in greth_set_settings()
1229 struct phy_device *phydev = greth->phy; in greth_link_change()
1282 struct phy_device *phy = NULL; in greth_mdio_probe()
1317 static inline int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done()
/linux-4.1.27/drivers/net/ethernet/arc/
Demac.h132 struct phy_device *phy_dev;
Demac_main.c51 struct phy_device *phy_dev = priv->phy_dev; in arc_emac_adjust_link()
406 struct phy_device *phy_dev = priv->phy_dev; in arc_emac_open()
/linux-4.1.27/drivers/net/dsa/
Dbcm_sf2.c267 struct phy_device *phy) in bcm_sf2_port_setup()
323 struct phy_device *phy) in bcm_sf2_port_disable()
357 struct phy_device *phy) in bcm_sf2_eee_init()
389 struct phy_device *phydev, in bcm_sf2_sw_set_eee()
813 struct phy_device *phydev) in bcm_sf2_sw_adjust_link()
Dmv88e6171.c273 struct phy_device *phydev, struct ethtool_eee *e) in mv88e6171_set_eee()
Dmv88e6xxx.h300 struct phy_device *phydev, struct ethtool_eee *e);
Dmv88e6xxx.c849 struct phy_device *phydev, struct ethtool_eee *e) in mv88e6xxx_set_eee()
/linux-4.1.27/drivers/net/ethernet/nxp/
Dlpc_eth.c428 struct phy_device *phy_dev;
754 struct phy_device *phydev = pldat->phy_dev; in lpc_handle_link_change()
789 struct phy_device *phydev = phy_find_first(pldat->mii_bus); in lpc_mii_probe()
1203 struct phy_device *phydev = pldat->phy_dev; in lpc_eth_ioctl()
1268 struct phy_device *phydev = pldat->phy_dev; in lpc_eth_ethtool_getsettings()
1280 struct phy_device *phydev = pldat->phy_dev; in lpc_eth_ethtool_setsettings()
1313 struct phy_device *phydev; in lpc_eth_drv_probe()
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h81 struct phy_device *phydev ____cacheline_aligned_in_smp;
Dstmmac_ethtool.c248 struct phy_device *phy = priv->phydev; in stmmac_ethtool_getsettings()
333 struct phy_device *phy = priv->phydev; in stmmac_ethtool_setsettings()
446 struct phy_device *phy = priv->phydev; in stmmac_set_pauseparam()
Dstmmac_mdio.c239 struct phy_device *phydev = new_bus->phy_map[addr]; in stmmac_mdio_register()
Dstmmac_main.c214 struct phy_device *phydev = priv->phydev; in stmmac_hw_fix_mac_speed()
690 struct phy_device *phydev = priv->phydev; in stmmac_adjust_link()
810 struct phy_device *phydev; in stmmac_init_phy()
/linux-4.1.27/drivers/net/usb/
Dax88172a.c32 struct phy_device *phydev;
68 struct phy_device *phydev = netdev->phydev; in ax88172a_adjust_link()
/linux-4.1.27/drivers/net/ethernet/xilinx/
Dll_temac.h335 struct phy_device *phy_dev; /* Pointer to PHY device */
Dxilinx_emaclite.c134 struct phy_device *phy_dev;
826 struct phy_device *phydev; in xemaclite_mdio_setup()
880 struct phy_device *phy = lp->phy_dev; in xemaclite_adjust_link()
Dxilinx_axienet.h418 struct phy_device *phy_dev; /* Pointer to PHY device */
Dxilinx_axienet_main.c524 struct phy_device *phy = lp->phy_dev; in axienet_adjust_link()
1080 struct phy_device *phydev = lp->phy_dev; in axienet_ethtools_get_settings()
1101 struct phy_device *phydev = lp->phy_dev; in axienet_ethtools_set_settings()
Dll_temac_main.c593 struct phy_device *phy = lp->phy_dev; in temac_adjust_link()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.h293 struct phy_device *phydev;
Db44.h403 struct phy_device *phydev;
Dbgmac.h443 struct phy_device *phy_dev;
Dbcmsysport.h675 struct phy_device *phydev;
Dsb1250-mac.c239 struct phy_device *phy_dev; /* the associated PHY device */
2369 struct phy_device *phy_dev; in sbmac_mii_probe()
2415 struct phy_device *phy_dev = sc->phy_dev; in sbmac_mii_poll()
Dbgmac.c1419 struct phy_device *phy_dev = bgmac->phy_dev; in bgmac_adjust_link()
1447 struct phy_device *phy_dev; in bgmac_fixed_phy_register()
1472 struct phy_device *phy_dev; in bgmac_mii_register()
Db44.c2209 struct phy_device *phydev = bp->phydev; in b44_adjust_link()
2247 struct phy_device *phydev; in b44_register_phy_one()
Dbcm63xx_enet.c790 struct phy_device *phydev; in bcm_enet_adjust_phy_link()
873 struct phy_device *phydev; in bcm_enet_open()
Dtg3.c1407 struct phy_device *phydev; in tg3_mdio_config_5785()
1500 struct phy_device *phydev; in tg3_mdio_init()
2007 struct phy_device *phydev = tp->mdio_bus->phy_map[tp->phy_addr]; in tg3_adjust_link()
2088 struct phy_device *phydev; in tg3_phy_init()
2136 struct phy_device *phydev; in tg3_phy_start()
4048 struct phy_device *phydev; in tg3_power_down_prepare()
12089 struct phy_device *phydev; in tg3_get_settings()
12156 struct phy_device *phydev; in tg3_set_settings()
12430 struct phy_device *phydev; in tg3_set_pauseparam()
13939 struct phy_device *phydev; in tg3_ioctl()
[all …]
Dbcmsysport.c1051 struct phy_device *phydev = priv->phydev; in bcm_sysport_adj_link()
/linux-4.1.27/drivers/net/ethernet/agere/
Det131x.c443 struct phy_device *phydev;
867 struct phy_device *phydev = adapter->phydev; in et1310_config_mac_regs2()
1038 struct phy_device *phydev = adapter->phydev; in et1310_config_rxmac_regs()
1233 struct phy_device *phydev = adapter->phydev; in et131x_mii_read()
1314 struct phy_device *phydev = adapter->phydev; in et1310_config_flow_control()
1459 struct phy_device *phydev = adapter->phydev; in et1310_phy_power_switch()
1472 struct phy_device *phydev = adapter->phydev; in et131x_xcvr_init()
2114 struct phy_device *phydev = adapter->phydev; in et131x_set_rx_dma_timer()
2429 struct phy_device *phydev = adapter->phydev; in nic_send_packet()
3101 struct phy_device *phydev = adapter->phydev; in et131x_error_timer_handler()
[all …]
/linux-4.1.27/drivers/net/ethernet/faraday/
Dftgmac100.c75 struct phy_device *phydev;
811 struct phy_device *phydev = priv->phydev; in ftgmac100_adjust_link()
838 struct phy_device *phydev = NULL; in ftgmac100_mii_probe()
843 struct phy_device *tmp = priv->mii_bus->phy_map[i]; in ftgmac100_mii_probe()
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_mdio.c183 struct phy_device *phy = mdio_bus->phy_map[phy_addr]; in sxgbe_mdio_register()
Dsxgbe_common.h478 struct phy_device *phydev;
Dsxgbe_main.c206 struct phy_device *phydev = priv->phydev; in sxgbe_adjust_link()
269 struct phy_device *phydev; in sxgbe_init_phy()
/linux-4.1.27/Documentation/devicetree/bindings/net/
Dmicrel-ksz90x1.txt8 phy_fixup_list (see phy_init_hw() from drivers/net/phy/phy_device.c),
/linux-4.1.27/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet.h152 struct phy_device *phydev;
Dfs_enet-main.c657 struct phy_device *phydev = fep->phydev; in generic_adjust_link()
709 struct phy_device *phydev; in fs_init_phy()
/linux-4.1.27/drivers/net/ethernet/smsc/
Dsmsc911x.c115 struct phy_device *phy_dev;
810 struct phy_device *phy_dev = pdata->phy_dev; in smsc911x_phy_reset()
840 struct phy_device *phy_dev = pdata->phy_dev; in smsc911x_phy_loopbacktest()
910 struct phy_device *phy_dev = pdata->phy_dev; in smsc911x_phy_update_flowcontrol()
951 struct phy_device *phy_dev = pdata->phy_dev; in smsc911x_phy_adjust_link()
1016 struct phy_device *phydev = NULL; in smsc911x_mii_probe()
1980 struct phy_device *phy_dev = pdata->phy_dev; in smsc911x_ethtool_getregs()
Dsmsc9420.c79 struct phy_device *phy_dev;
306 struct phy_device *phy_dev = pd->phy_dev; in smsc9420_ethtool_getregs()
1096 struct phy_device *phy_dev = pd->phy_dev; in smsc9420_phy_update_flowcontrol()
1125 struct phy_device *phy_dev = pd->phy_dev; in smsc9420_phy_adjust_link()
1156 struct phy_device *phydev = NULL; in smsc9420_mii_probe()
/linux-4.1.27/drivers/net/ethernet/cadence/
Dmacb.c251 struct phy_device *phydev = bp->phy_dev; in macb_handle_link_change()
320 struct phy_device *phydev; in macb_mii_probe()
407 struct phy_device *phydev; in macb_mii_init()
2010 struct phy_device *phydev = bp->phy_dev; in macb_get_settings()
2021 struct phy_device *phydev = bp->phy_dev; in macb_set_settings()
2091 struct phy_device *phydev = bp->phy_dev; in macb_ioctl()
2740 struct phy_device *phydev; in macb_probe()
Dmacb.h813 struct phy_device *phy_dev;
/linux-4.1.27/drivers/net/ethernet/rdc/
Dr6040.c203 struct phy_device *phydev;
1001 struct phy_device *phydev = lp->phydev; in r6040_adjust_link()
1034 struct phy_device *phydev = NULL; in r6040_mii_probe()
/linux-4.1.27/arch/arm/mach-orion5x/
Ddns323-setup.c514 static int dns323c_phy_fixup(struct phy_device *phy) in dns323c_phy_fixup()
/linux-4.1.27/arch/arm/mach-mxs/
Dmach-mxs.c256 static int apx4devkit_phy_fixup(struct phy_device *phy) in apx4devkit_phy_fixup()
/linux-4.1.27/drivers/net/ethernet/renesas/
Dsh_eth.h523 struct phy_device *phydev; /* PHY device control */
Dsh_eth.c1794 struct phy_device *phydev = mdp->phydev; in sh_eth_adjust_link()
1838 struct phy_device *phydev = NULL; in sh_eth_phy_init()
2507 struct phy_device *phydev = mdp->phydev; in sh_eth_do_ioctl()
/linux-4.1.27/drivers/net/ethernet/ti/
Ddavinci_mdio.c329 struct phy_device *phy; in davinci_mdio_probe()
Dnetcp_ethss.c631 struct phy_device *phy;
1650 struct phy_device *phy = ndev->phydev; in keystone_get_settings()
1675 struct phy_device *phy = ndev->phydev; in keystone_set_settings()
1748 struct phy_device *phy = slave->phy; in netcp_ethss_link_state_action()
2164 struct phy_device *phy = gbe_intf->slave->phy; in gbe_ioctl()
Ddavinci_emac.c351 struct phy_device *phydev;
1457 struct phy_device *phydev = priv->phydev; in emac_adjust_link()
Dcpsw.c361 struct phy_device *phy;
857 struct phy_device *phy = slave->phy; in _cpsw_adjust_link()
Dcpmac.c206 struct phy_device *phy;
/linux-4.1.27/drivers/net/ethernet/hisilicon/
Dhip04_eth.c178 struct phy_device *phy;
619 struct phy_device *phy = priv->phy; in hip04_adjust_link()
Dhix5hd2_gmac.c221 struct phy_device *phy;
405 struct phy_device *phy = priv->phy; in hix5hd2_adjust_link()
/linux-4.1.27/drivers/net/ethernet/marvell/
Dmvneta.c307 struct phy_device *phy_dev;
2075 struct phy_device *phy) in mvneta_fixed_link_update()
2602 struct phy_device *phydev = pp->phy_dev; in mvneta_adjust_link()
2668 struct phy_device *phy_dev; in mvneta_mdio_probe()
3175 struct phy_device *phy = of_phy_find_device(dn); in mvneta_probe()
Dmv643xx_eth.c387 struct phy_device *phy;
2940 static struct phy_device *phy_scan(struct mv643xx_eth_private *mp, in phy_scan()
2943 struct phy_device *phydev; in phy_scan()
2978 struct phy_device *phy = mp->phy; in phy_init()
Dpxa168_eth.c250 struct phy_device *phy;
946 struct phy_device *phy = pep->phy; in pxa168_eth_adjust_link()
Dmvpp2.c689 struct phy_device *phy_dev;
4833 struct phy_device *phydev = port->phy_dev; in mvpp2_link_event()
5465 struct phy_device *phy_dev; in mvpp2_phy_connect()
/linux-4.1.27/arch/arm/mach-davinci/
Dboard-dm644x-evm.c736 static int davinci_phy_fixup(struct phy_device *phydev) in davinci_phy_fixup()
/linux-4.1.27/Documentation/
Dphy.txt128 So pm_runtime_get_sync of the phy_device created by this subsystem will invoke
/linux-4.1.27/drivers/net/ethernet/toshiba/
Dtc35815.c408 struct phy_device *phy_dev;
542 struct phy_device *phydev = lp->phy_dev; in tc_handle_link_change()
611 struct phy_device *phydev = NULL; in tc_mii_probe()
/linux-4.1.27/drivers/net/ethernet/xscale/
Dixp4xx_eth.c174 struct phy_device *phydev;
565 struct phy_device *phydev = port->phydev; in ixp4xx_adjust_link()
/linux-4.1.27/drivers/net/ethernet/octeon/
Docteon_mgmt.c149 struct phy_device *phydev;