Home
last modified time | relevance | path

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

1234

/drivers/net/phy/
Dphy_device.c42 void phy_device_free(struct phy_device *phydev) in phy_device_free()
60 static int phy_attach_direct(struct net_device *dev, struct phy_device *phydev,
73 int (*run)(struct phy_device *)) in phy_register_fixup() argument
96 int (*run)(struct phy_device *)) in phy_register_fixup_for_uid() argument
104 int (*run)(struct phy_device *)) in phy_register_fixup_for_id() argument
114 static int phy_needs_fixup(struct phy_device *phydev, struct phy_fixup *fixup) in phy_needs_fixup()
129 int phy_scan_fixups(struct phy_device *phydev) in phy_scan_fixups()
152 static struct phy_device* phy_device_create(struct mii_bus *bus, in phy_device_create()
155 struct phy_device *dev; in phy_device_create()
162 return (struct phy_device*) PTR_ERR((void*)-ENOMEM); in phy_device_create()
[all …]
Dphy.c45 void phy_print_status(struct phy_device *phydev) in phy_print_status()
68 static int phy_clear_interrupt(struct phy_device *phydev) in phy_clear_interrupt()
85 static int phy_config_interrupt(struct phy_device *phydev, u32 interrupts) in phy_config_interrupt()
105 static inline int phy_aneg_done(struct phy_device *phydev) in phy_aneg_done()
211 static void phy_sanitize_settings(struct phy_device *phydev) in phy_sanitize_settings()
239 int phy_ethtool_sset(struct phy_device *phydev, struct ethtool_cmd *cmd) in phy_ethtool_sset()
285 int phy_ethtool_gset(struct phy_device *phydev, struct ethtool_cmd *cmd) in phy_ethtool_gset()
312 int phy_mii_ioctl(struct phy_device *phydev, in phy_mii_ioctl()
389 int phy_start_aneg(struct phy_device *phydev) in phy_start_aneg()
435 void phy_start_machine(struct phy_device *phydev, in phy_start_machine()
[all …]
Dnational.c55 static u8 ns_exp_read(struct phy_device *phydev, u16 reg) in ns_exp_read()
61 static void ns_exp_write(struct phy_device *phydev, u16 reg, u8 data) in ns_exp_write()
67 static int ns_config_intr(struct phy_device *phydev) in ns_config_intr()
80 static int ns_ack_interrupt(struct phy_device *phydev) in ns_ack_interrupt()
93 static void ns_giga_speed_fallback(struct phy_device *phydev, int mode) in ns_giga_speed_fallback()
107 static void ns_10_base_t_hdx_loopack(struct phy_device *phydev, int disable) in ns_10_base_t_hdx_loopack()
119 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()
125 static int lxt973_probe(struct phy_device *phydev) in lxt973_probe()
146 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.c45 static int ip175c_config_init(struct phy_device *phydev) in ip175c_config_init()
100 static int ip1xx_reset(struct phy_device *phydev) in ip1xx_reset()
122 static int ip1001_config_init(struct phy_device *phydev) in ip1001_config_init()
155 static int ip101a_g_config_init(struct phy_device *phydev) in ip101a_g_config_init()
170 static int ip175c_read_status(struct phy_device *phydev) in ip175c_read_status()
181 static int ip175c_config_aneg(struct phy_device *phydev) in ip175c_config_aneg()
189 static int ip101a_g_ack_interrupt(struct phy_device *phydev) in ip101a_g_ack_interrupt()
Dmicrel.c45 static int kszphy_ack_interrupt(struct phy_device *phydev) in kszphy_ack_interrupt()
55 static int kszphy_set_interrupt(struct phy_device *phydev) in kszphy_set_interrupt()
63 static int kszphy_config_intr(struct phy_device *phydev) in kszphy_config_intr()
75 static int ksz9021_config_intr(struct phy_device *phydev) in ksz9021_config_intr()
87 static int ks8737_config_intr(struct phy_device *phydev) in ks8737_config_intr()
99 static int kszphy_config_init(struct phy_device *phydev) in kszphy_config_init()
104 static int ks8051_config_init(struct phy_device *phydev) in ks8051_config_init()
Dmdio_bus.c130 struct phy_device *phydev; in mdiobus_register()
195 struct phy_device *mdiobus_scan(struct mii_bus *bus, int addr) in mdiobus_scan()
197 struct phy_device *phydev; in mdiobus_scan()
273 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_match()
282 static bool mdio_bus_phy_may_suspend(struct phy_device *phydev) in mdio_bus_phy_may_suspend()
316 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_suspend()
336 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_resume()
355 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_restore()
Dmarvell.c100 static int marvell_ack_interrupt(struct phy_device *phydev) in marvell_ack_interrupt()
113 static int marvell_config_intr(struct phy_device *phydev) in marvell_config_intr()
125 static int marvell_config_aneg(struct phy_device *phydev) in marvell_config_aneg()
206 static int marvell_of_reg_init(struct phy_device *phydev) in marvell_of_reg_init()
266 static int marvell_of_reg_init(struct phy_device *phydev) in marvell_of_reg_init()
272 static int m88e1121_config_aneg(struct phy_device *phydev) in m88e1121_config_aneg()
326 static int m88e1318_config_aneg(struct phy_device *phydev) in m88e1318_config_aneg()
351 static int m88e1111_config_init(struct phy_device *phydev) in m88e1111_config_init()
465 static int m88e1118_config_aneg(struct phy_device *phydev) in m88e1118_config_aneg()
482 static int m88e1118_config_init(struct phy_device *phydev) in m88e1118_config_init()
[all …]
Dvitesse.c64 int vsc824x_add_skew(struct phy_device *phydev) in vsc824x_add_skew()
86 static int vsc824x_config_init(struct phy_device *phydev) in vsc824x_config_init()
101 static int vsc824x_ack_interrupt(struct phy_device *phydev) in vsc824x_ack_interrupt()
116 static int vsc82xx_config_intr(struct phy_device *phydev) in vsc82xx_config_intr()
156 static int vsc8221_config_init(struct phy_device *phydev) in vsc8221_config_init()
Ddp83640.c89 struct phy_device *phydev;
174 static int ext_read(struct phy_device *phydev, int page, u32 regnum) in ext_read()
189 static void ext_write(int broadcast, struct phy_device *phydev, in ext_write()
205 static int tdr_write(int bc, struct phy_device *dev, in tdr_write()
255 struct phy_device *phydev = dp83640->phydev; in periodic_output()
312 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_adjfreq()
345 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_adjtime()
366 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_gettime()
391 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_settime()
408 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_enable()
[all …]
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()
145 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()
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()
59 static int lan911x_config_init(struct phy_device *phydev) in lan911x_config_init()
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()
48 static int bcm63xx_ack_interrupt(struct phy_device *phydev) in bcm63xx_ack_interrupt()
60 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()
Drealtek.c30 static int rtl821x_ack_interrupt(struct phy_device *phydev) in rtl821x_ack_interrupt()
39 static int rtl821x_config_intr(struct phy_device *phydev) in rtl821x_config_intr()
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()
/drivers/of/
Dof_mdio.c35 struct phy_device *phy; in of_mdiobus_register()
120 struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device()
140 struct phy_device *of_phy_connect(struct net_device *dev, in of_phy_connect()
145 struct phy_device *phy = of_phy_find_device(phy_np); in of_phy_connect()
164 struct phy_device *of_phy_connect_fixed_link(struct net_device *dev, in of_phy_connect_fixed_link()
170 struct phy_device *phy; in of_phy_connect_fixed_link()
/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()
366 struct phy_device *phydev = ugeth->phydev; in uec_get_wol()
379 struct phy_device *phydev = ugeth->phydev; in uec_set_wol()
/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/
Ddnet.c182 struct phy_device *phydev = bp->phy_dev; in dnet_handle_link_change()
263 struct phy_device *phydev = NULL; in dnet_mii_probe()
364 static int dnet_phy_marvell_fixup(struct phy_device *phydev) in dnet_phy_marvell_fixup()
772 struct phy_device *phydev = bp->phy_dev; in dnet_get_settings()
783 struct phy_device *phydev = bp->phy_dev; in dnet_set_settings()
794 struct phy_device *phydev = bp->phy_dev; in dnet_ioctl()
836 struct phy_device *phydev; in dnet_probe()
/drivers/net/ethernet/8390/
Dax88796.c86 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()

1234