Home
last modified time | relevance | path

Searched defs:phydev (Results 1 – 25 of 93) sorted by relevance

1234

/drivers/net/phy/
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()
491 void phy_start_machine(struct phy_device *phydev) in phy_start_machine()
[all …]
Dbroadcom.c22 #define BRCM_PHY_MODEL(phydev) \ argument
25 #define BRCM_PHY_REV(phydev) \ argument
33 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()
[all …]
Dphy_device.c44 void phy_device_free(struct phy_device *phydev) in phy_device_free()
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()
348 int phy_device_register(struct phy_device *phydev) in phy_device_register()
406 static void phy_prepare_link(struct phy_device *phydev, in phy_prepare_link()
419 int phy_connect_direct(struct net_device *dev, struct phy_device *phydev, in phy_connect_direct()
457 struct phy_device *phydev; in phy_connect() local
484 void phy_disconnect(struct phy_device *phydev) in phy_disconnect()
515 static int phy_poll_reset(struct phy_device *phydev) in phy_poll_reset()
537 int phy_init_hw(struct phy_device *phydev) in phy_init_hw()
[all …]
Dmicrel.c72 static int ksz_config_flags(struct phy_device *phydev) in ksz_config_flags()
87 static int kszphy_extended_write(struct phy_device *phydev, in kszphy_extended_write()
94 static int kszphy_extended_read(struct phy_device *phydev, in kszphy_extended_read()
101 static int kszphy_ack_interrupt(struct phy_device *phydev) in kszphy_ack_interrupt()
111 static int kszphy_set_interrupt(struct phy_device *phydev) in kszphy_set_interrupt()
119 static int kszphy_config_intr(struct phy_device *phydev) in kszphy_config_intr()
131 static int ksz9021_config_intr(struct phy_device *phydev) in ksz9021_config_intr()
143 static int ks8737_config_intr(struct phy_device *phydev) in ks8737_config_intr()
155 static int kszphy_setup_led(struct phy_device *phydev, in kszphy_setup_led()
181 static int kszphy_config_init(struct phy_device *phydev) in kszphy_config_init()
[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()
Damd-xgbe-phy.c327 struct phy_device *phydev; member
354 static int amd_xgbe_an_enable_kr_training(struct phy_device *phydev) in amd_xgbe_an_enable_kr_training()
368 static int amd_xgbe_an_disable_kr_training(struct phy_device *phydev) in amd_xgbe_an_disable_kr_training()
382 static int amd_xgbe_phy_pcs_power_cycle(struct phy_device *phydev) in amd_xgbe_phy_pcs_power_cycle()
401 static void amd_xgbe_phy_serdes_start_ratechange(struct phy_device *phydev) in amd_xgbe_phy_serdes_start_ratechange()
409 static void amd_xgbe_phy_serdes_complete_ratechange(struct phy_device *phydev) in amd_xgbe_phy_serdes_complete_ratechange()
433 static int amd_xgbe_phy_xgmii_mode(struct phy_device *phydev) in amd_xgbe_phy_xgmii_mode()
481 static int amd_xgbe_phy_gmii_2500_mode(struct phy_device *phydev) in amd_xgbe_phy_gmii_2500_mode()
529 static int amd_xgbe_phy_gmii_mode(struct phy_device *phydev) in amd_xgbe_phy_gmii_mode()
577 static int amd_xgbe_phy_cur_mode(struct phy_device *phydev, in amd_xgbe_phy_cur_mode()
[all …]
Dmarvell.c131 static int marvell_ack_interrupt(struct phy_device *phydev) in marvell_ack_interrupt()
144 static int marvell_config_intr(struct phy_device *phydev) in marvell_config_intr()
156 static int marvell_config_aneg(struct phy_device *phydev) in marvell_config_aneg()
237 static int marvell_of_reg_init(struct phy_device *phydev) in marvell_of_reg_init()
297 static int marvell_of_reg_init(struct phy_device *phydev) in marvell_of_reg_init()
303 static int m88e1121_config_aneg(struct phy_device *phydev) in m88e1121_config_aneg()
357 static int m88e1318_config_aneg(struct phy_device *phydev) in m88e1318_config_aneg()
382 static int m88e1510_config_aneg(struct phy_device *phydev) in m88e1510_config_aneg()
393 static int m88e1116r_config_init(struct phy_device *phydev) in m88e1116r_config_init()
442 static int m88e1111_config_init(struct phy_device *phydev) in m88e1111_config_init()
[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()
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()
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()
211 static int at803x_config_init(struct phy_device *phydev) in at803x_config_init()
233 static int at803x_ack_interrupt(struct phy_device *phydev) in at803x_ack_interrupt()
242 static int at803x_config_intr(struct phy_device *phydev) in at803x_config_intr()
[all …]
Dbcm7xxx.c48 static int bcm7445_config_init(struct phy_device *phydev) in bcm7445_config_init()
81 static void phy_write_exp(struct phy_device *phydev, in phy_write_exp()
88 static void phy_write_misc(struct phy_device *phydev, in phy_write_misc()
105 static int bcm7xxx_28nm_afe_config_init(struct phy_device *phydev) in bcm7xxx_28nm_afe_config_init()
150 static int bcm7xxx_apd_enable(struct phy_device *phydev) in bcm7xxx_apd_enable()
171 static int bcm7xxx_eee_enable(struct phy_device *phydev) in bcm7xxx_eee_enable()
197 static int bcm7xxx_28nm_config_init(struct phy_device *phydev) in bcm7xxx_28nm_config_init()
225 static int bcm7xxx_28nm_resume(struct phy_device *phydev) in bcm7xxx_28nm_resume()
261 static int bcm7xxx_config_init(struct phy_device *phydev) in bcm7xxx_config_init()
299 static int bcm7xxx_suspend(struct phy_device *phydev) in bcm7xxx_suspend()
[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()
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() local
340 struct phy_device *phydev; in mdiobus_scan() local
422 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_match() local
437 static bool mdio_bus_phy_may_suspend(struct phy_device *phydev) in mdio_bus_phy_may_suspend()
469 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_suspend() local
488 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_resume() local
507 struct phy_device *phydev = to_phy_device(dev); in mdio_bus_restore() local
546 struct phy_device *phydev = to_phy_device(dev); in phy_id_show() local
[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()
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()
Ddp83640.c112 struct phy_device *phydev; member
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()
310 struct phy_device *phydev = dp83640->phydev; in periodic_output() local
380 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_adjfreq() local
413 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_adjtime() local
434 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_gettime() local
459 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_settime() local
476 struct phy_device *phydev = clock->chosen->phydev; in ptp_dp83640_enable() local
534 static void enable_status_frames(struct phy_device *phydev, bool on) in enable_status_frames()
[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()
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()
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.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()
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()
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()
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()
/drivers/net/ethernet/
Ddnet.c176 struct phy_device *phydev = bp->phy_dev; in dnet_handle_link_change() local
257 struct phy_device *phydev = NULL; in dnet_mii_probe() local
356 static int dnet_phy_marvell_fixup(struct phy_device *phydev) in dnet_phy_marvell_fixup()
761 struct phy_device *phydev = bp->phy_dev; in dnet_get_settings() local
772 struct phy_device *phydev = bp->phy_dev; in dnet_set_settings() local
783 struct phy_device *phydev = bp->phy_dev; in dnet_ioctl() local
826 struct phy_device *phydev; in dnet_probe() local
/drivers/staging/netlogic/
Dxlr_net.c174 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; in xlr_get_settings() local
184 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; in xlr_set_settings() local
221 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; in xlr_net_open() local
242 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; in xlr_net_stop() local
271 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; in xlr_wakeup_queue() local
774 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; in xlr_set_gmac_speed() local
816 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; in xlr_gmac_link_adjust() local
833 struct phy_device *phydev = priv->mii_bus->phy_map[priv->phy_addr]; in xlr_mii_probe() local

1234