Home
last modified time | relevance | path

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

1234

/drivers/net/phy/
Dphy_device.c45 void phy_device_free(struct phy_device *phydev) in phy_device_free()
63 static int phy_attach_direct(struct net_device *dev, struct phy_device *phydev,
76 int (*run)(struct phy_device *)) in phy_register_fixup() argument
99 int (*run)(struct phy_device *)) in phy_register_fixup_for_uid() argument
107 int (*run)(struct phy_device *)) in phy_register_fixup_for_id() argument
117 static int phy_needs_fixup(struct phy_device *phydev, struct phy_fixup *fixup) in phy_needs_fixup()
132 int phy_scan_fixups(struct phy_device *phydev) in phy_scan_fixups()
155 struct phy_device *phy_device_create(struct mii_bus *bus, int addr, int phy_id, in phy_device_create()
158 struct phy_device *dev; in phy_device_create()
165 return (struct phy_device*) PTR_ERR((void*)-ENOMEM); in phy_device_create()
[all …]
Dphy.c49 void phy_print_status(struct phy_device *phydev) in phy_print_status()
70 static int phy_clear_interrupt(struct phy_device *phydev) in phy_clear_interrupt()
87 static int phy_config_interrupt(struct phy_device *phydev, u32 interrupts) in phy_config_interrupt()
107 static inline int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done()
213 static void phy_sanitize_settings(struct phy_device *phydev) in phy_sanitize_settings()
241 int phy_ethtool_sset(struct phy_device *phydev, struct ethtool_cmd *cmd) in phy_ethtool_sset()
287 int phy_ethtool_gset(struct phy_device *phydev, struct ethtool_cmd *cmd) in phy_ethtool_gset()
314 int phy_mii_ioctl(struct phy_device *phydev, in phy_mii_ioctl()
391 int phy_start_aneg(struct phy_device *phydev) in phy_start_aneg()
437 void phy_start_machine(struct phy_device *phydev, in phy_start_machine()
[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()
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()
Dmicrel.c56 static int ksz_config_flags(struct phy_device *phydev) in ksz_config_flags()
68 static int kszphy_ack_interrupt(struct phy_device *phydev) in kszphy_ack_interrupt()
78 static int kszphy_set_interrupt(struct phy_device *phydev) in kszphy_set_interrupt()
86 static int kszphy_config_intr(struct phy_device *phydev) in kszphy_config_intr()
98 static int ksz9021_config_intr(struct phy_device *phydev) in ksz9021_config_intr()
110 static int ks8737_config_intr(struct phy_device *phydev) in ks8737_config_intr()
122 static int kszphy_config_init(struct phy_device *phydev) in kszphy_config_init()
127 static int ksz8021_config_init(struct phy_device *phydev) in ksz8021_config_init()
136 static int ks8051_config_init(struct phy_device *phydev) in ks8051_config_init()
147 int ksz8873mll_read_status(struct phy_device *phydev) in ksz8873mll_read_status()
[all …]
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()
Dbroadcom.c192 static int bcm54xx_shadow_read(struct phy_device *phydev, u16 shadow) in bcm54xx_shadow_read()
198 static int bcm54xx_shadow_write(struct phy_device *phydev, u16 shadow, u16 val) in bcm54xx_shadow_write()
207 static int bcm54xx_exp_read(struct phy_device *phydev, u16 regnum) in bcm54xx_exp_read()
223 static int bcm54xx_exp_write(struct phy_device *phydev, u16 regnum, u16 val) in bcm54xx_exp_write()
239 static int bcm54xx_auxctl_write(struct phy_device *phydev, u16 regnum, u16 val) in bcm54xx_auxctl_write()
245 static int bcm50610_a0_workaround(struct phy_device *phydev) in bcm50610_a0_workaround()
276 static int bcm54xx_phydsp_config(struct phy_device *phydev) in bcm54xx_phydsp_config()
324 static void bcm54xx_adjust_rxrefclk(struct phy_device *phydev) in bcm54xx_adjust_rxrefclk()
384 static int bcm54xx_config_init(struct phy_device *phydev) in bcm54xx_config_init()
421 static int bcm5482_config_init(struct phy_device *phydev) in bcm5482_config_init()
[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()
Dmdio_bus.c167 struct phy_device *phydev; in mdiobus_register()
232 struct phy_device *mdiobus_scan(struct mii_bus *bus, int addr) in mdiobus_scan()
234 struct phy_device *phydev; in mdiobus_scan()
310 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_match()
325 static bool mdio_bus_phy_may_suspend(struct phy_device *phydev) in mdio_bus_phy_may_suspend()
359 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_suspend()
379 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_resume()
398 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_restore()
437 struct phy_device *phydev = to_phy_device(dev); in phy_id_show()
Dmarvell.c124 static int marvell_ack_interrupt(struct phy_device *phydev) in marvell_ack_interrupt()
137 static int marvell_config_intr(struct phy_device *phydev) in marvell_config_intr()
149 static int marvell_config_aneg(struct phy_device *phydev) in marvell_config_aneg()
230 static int marvell_of_reg_init(struct phy_device *phydev) in marvell_of_reg_init()
290 static int marvell_of_reg_init(struct phy_device *phydev) in marvell_of_reg_init()
296 static int m88e1121_config_aneg(struct phy_device *phydev) in m88e1121_config_aneg()
350 static int m88e1318_config_aneg(struct phy_device *phydev) in m88e1318_config_aneg()
375 static int m88e1111_config_init(struct phy_device *phydev) in m88e1111_config_init()
476 static int m88e1118_config_aneg(struct phy_device *phydev) in m88e1118_config_aneg()
493 static int m88e1118_config_init(struct phy_device *phydev) in m88e1118_config_init()
[all …]
Dvitesse.c64 static int vsc824x_add_skew(struct phy_device *phydev) in vsc824x_add_skew()
85 static int vsc824x_config_init(struct phy_device *phydev) in vsc824x_config_init()
100 static int vsc824x_ack_interrupt(struct phy_device *phydev) in vsc824x_ack_interrupt()
115 static int vsc82xx_config_intr(struct phy_device *phydev) in vsc82xx_config_intr()
140 static int vsc8221_config_init(struct phy_device *phydev) in vsc8221_config_init()
Ddp83640.c107 struct phy_device *phydev;
192 static int ext_read(struct phy_device *phydev, int page, u32 regnum) in ext_read()
207 static void ext_write(int broadcast, struct phy_device *phydev, in ext_write()
223 static int tdr_write(int bc, struct phy_device *dev, in tdr_write()
273 struct phy_device *phydev = dp83640->phydev; in periodic_output()
330 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_adjfreq()
363 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_adjtime()
384 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_gettime()
409 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_settime()
426 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_enable()
[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()
83 static int lan911x_config_init(struct phy_device *phydev) in lan911x_config_init()
99 static int lan87xx_read_status(struct phy_device *phydev) in lan87xx_read_status()
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()
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()
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()
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()
Dat803x.c35 static void at803x_set_wol_mac_addr(struct phy_device *phydev) in at803x_set_wol_mac_addr()
65 static int at803x_config_init(struct phy_device *phydev) in at803x_config_init()
/drivers/of/
Dof_mdio.c35 struct phy_device *phy; in of_mdiobus_register()
179 struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device()
199 struct phy_device *of_phy_connect(struct net_device *dev, in of_phy_connect()
204 struct phy_device *phy = of_phy_find_device(phy_np); in of_phy_connect()
223 struct phy_device *of_phy_connect_fixed_link(struct net_device *dev, in of_phy_connect_fixed_link()
229 struct phy_device *phy; in of_phy_connect_fixed_link()
/drivers/net/ethernet/pasemi/
Dpasemi_mac_ethtool.c72 struct phy_device *phydev = mac->phydev; in pasemi_mac_ethtool_get_settings()
85 struct phy_device *phydev = mac->phydev; in pasemi_mac_ethtool_set_settings()
/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c112 struct phy_device *phydev = ugeth->phydev; in uec_get_settings()
128 struct phy_device *phydev = ugeth->phydev; in uec_set_settings()
364 struct phy_device *phydev = ugeth->phydev; in uec_get_wol()
377 struct phy_device *phydev = ugeth->phydev; in uec_set_wol()

1234