/linux-master/drivers/net/phy/ |
H A D | phy-core.c | 348 static void __set_phy_supported(struct phy_device *phydev, u32 max_speed) argument 363 void phy_set_max_speed(struct phy_device *phydev, u32 max_speed) argument 371 void of_set_phy_supported(struct phy_device *phydev) argument 386 void of_set_phy_eee_broken(struct phy_device *phydev) argument 423 phy_resolve_aneg_pause(struct phy_device *phydev) argument 443 phy_resolve_aneg_linkmode(struct phy_device *phydev) argument 470 phy_check_downshift(struct phy_device *phydev) argument 499 phy_resolve_min_speed(struct phy_device *phydev, bool fdx_only) argument 517 phy_speed_down_core(struct phy_device *phydev) argument 574 __phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) argument 596 phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) argument 618 __phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val) argument 641 phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val) argument 668 __phy_package_read_mmd(struct phy_device *phydev, unsigned int addr_offset, int devad, u32 regnum) argument 700 phy_package_read_mmd(struct phy_device *phydev, unsigned int addr_offset, int devad, u32 regnum) argument 738 __phy_package_write_mmd(struct phy_device *phydev, unsigned int addr_offset, int devad, u32 regnum, u16 val) argument 771 phy_package_write_mmd(struct phy_device *phydev, unsigned int addr_offset, int devad, u32 regnum, u16 val) argument 806 phy_modify_changed(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) argument 829 __phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) argument 850 phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set) argument 875 __phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set) argument 908 phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set) argument 933 __phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set) argument 956 phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set) argument 969 __phy_read_page(struct phy_device *phydev) argument 977 __phy_write_page(struct phy_device *phydev, int page) argument 993 phy_save_page(struct phy_device *phydev) argument 1011 phy_select_page(struct phy_device *phydev, int page) argument 1045 phy_restore_page(struct phy_device *phydev, int oldpage, int ret) argument 1076 phy_read_paged(struct phy_device *phydev, int page, u32 regnum) argument 1097 phy_write_paged(struct phy_device *phydev, int page, u32 regnum, u16 val) argument 1119 phy_modify_paged_changed(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set) argument 1142 phy_modify_paged(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set) argument [all...] |
H A D | nxp-c45-tja11xx.h | 15 struct phy_device *phydev; member in struct:nxp_c45_phy 41 int nxp_c45_macsec_config_init(struct phy_device *phydev) argument 47 int nxp_c45_macsec_probe(struct phy_device *phydev) argument 53 void nxp_c45_macsec_remove(struct phy_device *phydev) argument 58 void nxp_c45_handle_macsec_interrupt(struct phy_device *phydev, argument
|
H A D | nxp-tja11xx.c | 87 struct phy_device *phydev; member in struct:tja11xx_priv 108 static int tja11xx_check(struct phy_device *phydev, u8 reg, u16 mask, u16 set) argument 116 static int phy_modify_check(struct phy_device *phydev, u8 reg, argument 128 static int tja11xx_enable_reg_write(struct phy_device *phydev) argument 133 static int tja11xx_enable_link_control(struct phy_device *phydev) argument 138 tja11xx_disable_link_control(struct phy_device *phydev) argument 143 tja11xx_wakeup(struct phy_device *phydev) argument 189 tja11xx_soft_reset(struct phy_device *phydev) argument 200 tja11xx_config_aneg_cable_test(struct phy_device *phydev) argument 233 tja11xx_config_aneg(struct phy_device *phydev) argument 264 tja11xx_get_interface_mode(struct phy_device *phydev) argument 289 tja11xx_config_init(struct phy_device *phydev) argument 360 tja11xx_read_status(struct phy_device *phydev) argument 392 tja11xx_get_sqi(struct phy_device *phydev) argument 403 tja11xx_get_sqi_max(struct phy_device *phydev) argument 408 tja11xx_get_sset_count(struct phy_device *phydev) argument 413 tja11xx_get_strings(struct phy_device *phydev, u8 *data) argument 421 tja11xx_get_stats(struct phy_device *phydev, struct ethtool_stats *stats, u64 *data) argument 441 struct phy_device *phydev = dev_get_drvdata(dev); local 494 tja11xx_hwmon_register(struct phy_device *phydev, struct tja11xx_priv *priv) argument 512 tja11xx_parse_dt(struct phy_device *phydev) argument 526 tja11xx_probe(struct phy_device *phydev) argument 607 tja1102_p0_probe(struct phy_device *phydev) argument 629 tja1102_match_phy_device(struct phy_device *phydev, bool port0) argument 649 tja1102_p0_match_phy_device(struct phy_device *phydev) argument 654 tja1102_p1_match_phy_device(struct phy_device *phydev) argument 659 tja11xx_ack_interrupt(struct phy_device *phydev) argument 668 tja11xx_config_intr(struct phy_device *phydev) argument 692 tja11xx_handle_interrupt(struct phy_device *phydev) argument 716 tja11xx_cable_test_start(struct phy_device *phydev) argument 765 tja11xx_cable_test_report(struct phy_device *phydev) argument 779 tja11xx_cable_test_get_status(struct phy_device *phydev, bool *finished) argument [all...] |
H A D | nxp-c45-tja11xx.c | 287 struct nxp_c45_phy_data *nxp_c45_get_data(struct phy_device *phydev) argument 293 struct nxp_c45_regmap *nxp_c45_get_regmap(struct phy_device *phydev) argument 300 static int nxp_c45_read_reg_field(struct phy_device *phydev, argument 324 nxp_c45_write_reg_field(struct phy_device *phydev, const struct nxp_c45_reg_field *reg_field, u16 val) argument 345 nxp_c45_set_reg_field(struct phy_device *phydev, const struct nxp_c45_reg_field *reg_field) argument 356 nxp_c45_clear_reg_field(struct phy_device *phydev, const struct nxp_c45_reg_field *reg_field) argument 367 nxp_c45_poll_txts(struct phy_device *phydev) argument 520 tja1120_extts_is_valid(struct phy_device *phydev) argument 536 struct phy_device *phydev = priv->phydev; local 569 struct phy_device *phydev = priv->phydev; local 605 tja1120_egress_ts_is_valid(struct phy_device *phydev) argument 619 struct phy_device *phydev = priv->phydev; local 739 struct phy_device *phydev = priv->phydev; local 749 struct phy_device *phydev = priv->phydev; local 806 nxp_c45_set_rising_or_falling(struct phy_device *phydev, struct ptp_extts_request *extts) argument 818 nxp_c45_set_rising_and_falling(struct phy_device *phydev, struct ptp_extts_request *extts) argument 1013 struct phy_device *phydev = priv->phydev; local 1124 nxp_c45_get_sset_count(struct phy_device *phydev) argument 1131 nxp_c45_get_strings(struct phy_device *phydev, u8 *data) argument 1150 nxp_c45_get_stats(struct phy_device *phydev, struct ethtool_stats *stats, u64 *data) argument 1176 nxp_c45_config_enable(struct phy_device *phydev) argument 1193 nxp_c45_start_op(struct phy_device *phydev) argument 1199 nxp_c45_config_intr(struct phy_device *phydev) argument 1222 tja1103_config_intr(struct phy_device *phydev) argument 1235 tja1120_config_intr(struct phy_device *phydev) argument 1253 nxp_c45_handle_interrupt(struct phy_device *phydev) argument 1290 nxp_c45_soft_reset(struct phy_device *phydev) argument 1305 nxp_c45_cable_test_start(struct phy_device *phydev) argument 1315 nxp_c45_cable_test_get_status(struct phy_device *phydev, bool *finished) argument 1358 nxp_c45_get_sqi(struct phy_device *phydev) argument 1371 tja1120_link_change_notify(struct phy_device *phydev) argument 1384 nxp_c45_get_sqi_max(struct phy_device *phydev) argument 1389 nxp_c45_check_delay(struct phy_device *phydev, u32 delay) argument 1404 nxp_c45_counters_enable(struct phy_device *phydev) argument 1414 nxp_c45_ptp_init(struct phy_device *phydev) argument 1437 nxp_c45_disable_delays(struct phy_device *phydev) argument 1443 nxp_c45_set_delays(struct phy_device *phydev) argument 1471 nxp_c45_get_delays(struct phy_device *phydev) argument 1511 nxp_c45_set_phy_mode(struct phy_device *phydev) argument 1584 nxp_c45_config_init(struct phy_device *phydev) argument 1618 nxp_c45_get_features(struct phy_device *phydev) argument 1626 nxp_c45_probe(struct phy_device *phydev) argument 1686 nxp_c45_remove(struct phy_device *phydev) argument 1698 tja1103_counters_enable(struct phy_device *phydev) argument 1710 tja1103_ptp_init(struct phy_device *phydev) argument 1718 tja1103_ptp_enable(struct phy_device *phydev, bool enable) argument 1730 tja1103_nmi_handler(struct phy_device *phydev, irqreturn_t *irq_status) argument 1813 tja1120_counters_enable(struct phy_device *phydev) argument 1823 tja1120_ptp_init(struct phy_device *phydev) argument 1833 tja1120_ptp_enable(struct phy_device *phydev, bool enable) argument 1845 tja1120_nmi_handler(struct phy_device *phydev, irqreturn_t *irq_status) argument [all...] |
H A D | nxp-c45-tja11xx-macsec.c | 290 static int nxp_c45_macsec_write(struct phy_device *phydev, u16 addr, u32 value) argument 312 static int nxp_c45_macsec_read(struct phy_device *phydev, u16 addr, u32 *value) argument 339 static void nxp_c45_macsec_read32_64(struct phy_device *phydev, u16 addr, argument 348 nxp_c45_macsec_read64(struct phy_device *phydev, u16 addr, u64 *value) argument 359 nxp_c45_secy_irq_en(struct phy_device *phydev, struct nxp_c45_secy *phy_secy, bool en) argument 466 nxp_c45_sa_set_pn(struct phy_device *phydev, struct nxp_c45_sa *sa, u64 pn, u32 replay_window) argument 492 struct phy_device *phydev = ctx->phydev; local 520 nxp_c45_rx_sa_clear_stats(struct phy_device *phydev, struct nxp_c45_sa *sa) argument 531 nxp_c45_rx_sa_read_stats(struct phy_device *phydev, struct nxp_c45_sa *sa, struct macsec_rx_sa_stats *stats) argument 540 nxp_c45_tx_sa_clear_stats(struct phy_device *phydev, struct nxp_c45_sa *sa) argument 547 nxp_c45_tx_sa_read_stats(struct phy_device *phydev, struct nxp_c45_sa *sa, struct macsec_tx_sa_stats *stats) argument 555 nxp_c45_rx_sa_update(struct phy_device *phydev, struct nxp_c45_sa *sa, bool en) argument 566 nxp_c45_tx_sa_update(struct phy_device *phydev, struct nxp_c45_sa *sa, bool en) argument 589 nxp_c45_set_sci(struct phy_device *phydev, u16 sci_base_addr, sci_t sci) argument 605 nxp_c45_select_secy(struct phy_device *phydev, u8 id) argument 669 nxp_c45_tx_sc_en_flt(struct phy_device *phydev, int secy_id, bool en) argument 683 nxp_c45_tx_sc_set_flt(struct phy_device *phydev, struct nxp_c45_secy *phy_secy) argument 702 nxp_c45_tx_sc_update(struct phy_device *phydev, struct nxp_c45_secy *phy_secy) argument 759 nxp_c45_tx_sc_clear_stats(struct phy_device *phydev, struct nxp_c45_secy *phy_secy) argument 776 nxp_c45_set_rx_sc0_impl(struct phy_device *phydev, bool enable) argument 800 nxp_c45_rx_sc_en(struct phy_device *phydev, struct macsec_rx_sc *rx_sc, bool en) argument 813 nxp_c45_rx_sc_update(struct phy_device *phydev, struct nxp_c45_secy *phy_secy) argument 860 nxp_c45_rx_sc_clear_stats(struct phy_device *phydev, struct nxp_c45_secy *phy_secy) argument 886 nxp_c45_rx_sc_del(struct phy_device *phydev, struct nxp_c45_secy *phy_secy) argument 905 nxp_c45_clear_global_stats(struct phy_device *phydev) argument 912 nxp_c45_macsec_en(struct phy_device *phydev, bool en) argument 926 struct phy_device *phydev = ctx->phydev; local 953 struct phy_device *phydev = ctx->phydev; local 979 struct phy_device *phydev = ctx->phydev; local 1047 struct phy_device *phydev = ctx->phydev; local 1087 struct phy_device *phydev = ctx->phydev; local 1122 struct phy_device *phydev = ctx->phydev; local 1152 struct phy_device *phydev = ctx->phydev; local 1172 struct phy_device *phydev = ctx->phydev; local 1194 struct phy_device *phydev = ctx->phydev; local 1224 struct phy_device *phydev = ctx->phydev; local 1254 struct phy_device *phydev = ctx->phydev; local 1284 struct phy_device *phydev = ctx->phydev; local 1314 struct phy_device *phydev = ctx->phydev; local 1343 struct phy_device *phydev = ctx->phydev; local 1373 struct phy_device *phydev = ctx->phydev; local 1414 struct phy_device *phydev = ctx->phydev; local 1448 struct phy_device *phydev = ctx->phydev; local 1472 struct phy_device *phydev = ctx->phydev; local 1527 struct phy_device *phydev = ctx->phydev; local 1561 nxp_c45_mdo_insert_tx_tag(struct phy_device *phydev, struct sk_buff *skb) argument 1604 nxp_c45_macsec_config_init(struct phy_device *phydev) argument 1653 nxp_c45_macsec_probe(struct phy_device *phydev) argument 1668 nxp_c45_macsec_remove(struct phy_device *phydev) argument 1688 nxp_c45_handle_macsec_interrupt(struct phy_device *phydev, irqreturn_t *ret) argument [all...] |
H A D | marvell10g.c | 176 static const struct mv3310_chip *to_mv3310_chip(struct phy_device *phydev) argument 193 static int mv3310_hwmon_read_temp_reg(struct phy_device *phydev) argument 198 static int mv2110_hwmon_read_temp_reg(struct phy_device *phydev) argument 206 struct phy_device *phydev = dev_get_drvdata(dev); local 264 mv3310_hwmon_config(struct phy_device *phydev, bool enable) argument 283 mv3310_hwmon_probe(struct phy_device *phydev) argument 313 mv3310_hwmon_config(struct phy_device *phydev, bool enable) argument 318 mv3310_hwmon_probe(struct phy_device *phydev) argument 324 mv3310_power_down(struct phy_device *phydev) argument 330 mv3310_power_up(struct phy_device *phydev) argument 353 mv3310_reset(struct phy_device *phydev, u32 unit) argument 368 mv3310_get_downshift(struct phy_device *phydev, u8 *ds) argument 389 mv3310_set_downshift(struct phy_device *phydev, u8 ds) argument 433 mv3310_get_edpd(struct phy_device *phydev, u16 *edpd) argument 455 mv3310_set_edpd(struct phy_device *phydev, u16 edpd) argument 488 struct phy_device *phydev = upstream; local 509 mv3310_probe(struct phy_device *phydev) argument 569 mv3310_remove(struct phy_device *phydev) argument 574 mv3310_suspend(struct phy_device *phydev) argument 579 mv3310_resume(struct phy_device *phydev) argument 597 mv3310_has_pma_ngbaset_quirk(struct phy_device *phydev) argument 607 mv2110_get_mactype(struct phy_device *phydev) argument 618 mv2110_set_mactype(struct phy_device *phydev, int mactype) argument 661 mv3310_get_mactype(struct phy_device *phydev) argument 672 mv3310_set_mactype(struct phy_device *phydev, int mactype) argument 806 mv3310_fill_possible_interfaces(struct phy_device *phydev) argument 822 mv3310_config_init(struct phy_device *phydev) argument 879 mv3310_get_features(struct phy_device *phydev) argument 905 mv3310_config_mdix(struct phy_device *phydev) argument 932 mv3310_config_aneg(struct phy_device *phydev) argument 965 mv3310_aneg_done(struct phy_device *phydev) argument 979 mv3310_update_interface(struct phy_device *phydev) argument 1024 mv3310_read_status_10gbaser(struct phy_device *phydev) argument 1034 mv3310_read_status_copper(struct phy_device *phydev) argument 1112 mv3310_read_status(struct phy_device *phydev) argument 1141 mv3310_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) argument 1154 mv3310_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) argument 1167 mv3310_has_downshift(struct phy_device *phydev) argument 1271 mv3310_get_number_of_ports(struct phy_device *phydev) argument 1285 mv3310_match_phy_device(struct phy_device *phydev) argument 1294 mv3340_match_phy_device(struct phy_device *phydev) argument 1303 mv211x_match_phy_device(struct phy_device *phydev, bool has_5g) argument 1318 mv2110_match_phy_device(struct phy_device *phydev) argument 1323 mv2111_match_phy_device(struct phy_device *phydev) argument 1328 mv3110_get_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) argument 1344 mv3110_set_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol) argument [all...] |
H A D | dp83640.c | 108 struct phy_device *phydev; member in struct:dp83640_private 219 static inline int broadcast_write(struct phy_device *phydev, u32 regnum, argument 226 static int ext_read(struct phy_device *phydev, int page, u32 regnum) argument 241 static void ext_write(int broadcast, struct phy_device *phydev, argument 308 struct phy_device *phydev = dp83640->phydev; local 378 struct phy_device *phydev = clock->chosen->phydev; local 411 struct phy_device *phydev = clock->chosen->phydev; local 433 struct phy_device *phydev = clock->chosen->phydev; local 458 struct phy_device *phydev = clock->chosen->phydev; local 475 struct phy_device *phydev = clock->chosen->phydev; local 549 enable_status_frames(struct phy_device *phydev, bool on) argument 615 enable_broadcast(struct phy_device *phydev, int init_page, int on) argument 1021 choose_this_phy(struct dp83640_clock *clock, struct phy_device *phydev) argument 1086 dp83640_soft_reset(struct phy_device *phydev) argument 1103 dp83640_config_init(struct phy_device *phydev) argument 1125 dp83640_ack_interrupt(struct phy_device *phydev) argument 1135 dp83640_config_intr(struct phy_device *phydev) argument 1192 dp83640_handle_interrupt(struct phy_device *phydev) argument 1421 dp83640_probe(struct phy_device *phydev) argument 1482 dp83640_remove(struct phy_device *phydev) argument [all...] |
H A D | dp83tg720.c | 32 static int dp83tg720_config_aneg(struct phy_device *phydev) argument 41 static int dp83tg720_read_status(struct phy_device *phydev) argument 90 dp83tg720_get_sqi(struct phy_device *phydev) argument 104 dp83tg720_get_sqi_max(struct phy_device *phydev) argument 109 dp83tg720_config_rgmii_delay(struct phy_device *phydev) argument 140 dp83tg720_config_init(struct phy_device *phydev) argument [all...] |
H A D | bcm84881.c | 23 static int bcm84881_wait_init(struct phy_device *phydev) argument 32 static void bcm84881_fill_possible_interfaces(struct phy_device *phydev) argument 41 static int bcm84881_config_init(struct phy_device *phydev) argument 57 static int bcm84881_probe(struct phy_device *phydev) argument 69 bcm84881_get_features(struct phy_device *phydev) argument 86 bcm84881_config_aneg(struct phy_device *phydev) argument 125 bcm84881_aneg_done(struct phy_device *phydev) argument 141 bcm84881_read_status(struct phy_device *phydev) argument [all...] |
H A D | bcm54140.c | 182 struct phy_device *phydev = dev_get_drvdata(dev); local 206 struct phy_device *phydev = dev_get_drvdata(dev); local 240 struct phy_device *phydev = dev_get_drvdata(dev); local 311 struct phy_device *phydev = dev_get_drvdata(dev); local 336 struct phy_device *phydev local 395 bcm54140_enable_monitoring(struct phy_device *phydev) argument 413 bcm54140_probe_once(struct phy_device *phydev) argument 431 bcm54140_base_read_rdb(struct phy_device *phydev, u16 rdb) argument 449 bcm54140_base_write_rdb(struct phy_device *phydev, u16 rdb, u16 val) argument 472 bcm54140_b0_workaround(struct phy_device *phydev) argument 504 bcm54140_get_base_addr_and_port(struct phy_device *phydev) argument 579 bcm54140_probe(struct phy_device *phydev) argument 612 bcm54140_config_init(struct phy_device *phydev) argument 648 bcm54140_handle_interrupt(struct phy_device *phydev) argument 673 bcm54140_ack_intr(struct phy_device *phydev) argument 685 bcm54140_config_intr(struct phy_device *phydev) argument 720 bcm54140_get_downshift(struct phy_device *phydev, u8 *data) argument 745 bcm54140_set_downshift(struct phy_device *phydev, u8 cnt) argument 777 bcm54140_get_edpd(struct phy_device *phydev, u16 *tx_interval) argument 805 bcm54140_set_edpd(struct phy_device *phydev, u16 tx_interval) argument 838 bcm54140_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) argument 851 bcm54140_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) argument [all...] |
H A D | bcm-phy-ptp.c | 130 struct phy_device *phydev; member in struct:bcm_ptp_private 177 static void bcm_ptp_get_framesync_ts(struct phy_device *phydev, argument 196 bcm_ptp_framesync_disable(struct phy_device *phydev, u16 orig_ctrl) argument 205 bcm_ptp_framesync_restore(struct phy_device *phydev, u16 orig_ctrl) argument 211 bcm_ptp_framesync(struct phy_device *phydev, u16 ctrl) argument 217 bcm_ptp_framesync_ts(struct phy_device *phydev, struct ptp_system_timestamp *sts, struct timespec64 *ts, u16 orig_ctrl) argument 265 struct phy_device *phydev = priv->phydev; local 421 struct phy_device *phydev = priv->phydev; local 540 struct phy_device *phydev = priv->phydev; local 587 struct phy_device *phydev = priv->phydev; local 636 struct phy_device *phydev = priv->phydev; local 667 struct phy_device *phydev = priv->phydev; local 872 bcm_ptp_config_init(struct phy_device *phydev) argument 908 bcm_ptp_probe(struct phy_device *phydev) argument [all...] |
H A D | adin.c | 249 static u32 adin_get_reg_value(struct phy_device *phydev, argument 272 static int adin_config_rgmii_mode(struct phy_device *phydev) argument 318 adin_config_rmii_mode(struct phy_device *phydev) argument 345 adin_get_downshift(struct phy_device *phydev, u8 *data) argument 365 adin_set_downshift(struct phy_device *phydev, u8 cnt) argument 389 adin_get_edpd(struct phy_device *phydev, u16 *tx_interval) argument 410 adin_set_edpd(struct phy_device *phydev, u16 tx_interval) argument 437 adin_get_fast_down(struct phy_device *phydev, u8 *msecs) argument 453 adin_set_fast_down(struct phy_device *phydev, const u8 *msecs) argument 468 adin_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) argument 483 adin_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) argument 498 adin_config_clk_out(struct phy_device *phydev) argument 525 adin_config_init(struct phy_device *phydev) argument 557 adin_phy_ack_intr(struct phy_device *phydev) argument 565 adin_phy_config_intr(struct phy_device *phydev) argument 588 adin_phy_handle_interrupt(struct phy_device *phydev) argument 606 adin_cl45_to_adin_reg(struct phy_device *phydev, int devad, u16 cl45_regnum) argument 628 adin_read_mmd(struct phy_device *phydev, int devad, u16 regnum) argument 647 adin_write_mmd(struct phy_device *phydev, int devad, u16 regnum, u16 val) argument 667 adin_config_mdix(struct phy_device *phydev) argument 704 adin_config_aneg(struct phy_device *phydev) argument 723 adin_mdix_update(struct phy_device *phydev) argument 764 adin_read_status(struct phy_device *phydev) argument 775 adin_soft_reset(struct phy_device *phydev) argument 795 adin_get_sset_count(struct phy_device *phydev) argument 800 adin_get_strings(struct phy_device *phydev, u8 *data) argument 810 adin_read_mmd_stat_regs(struct phy_device *phydev, const struct adin_hw_stat *stat, u32 *val) argument 835 adin_get_stat(struct phy_device *phydev, int i) argument 858 adin_get_stats(struct phy_device *phydev, struct ethtool_stats *stats, u64 *data) argument 872 adin_probe(struct phy_device *phydev) argument 886 adin_cable_test_start(struct phy_device *phydev) argument 927 adin_cable_test_report_pair(struct phy_device *phydev, unsigned int pair) argument 959 adin_cable_test_report(struct phy_device *phydev) argument 973 adin_cable_test_get_status(struct phy_device *phydev, bool *finished) argument [all...] |
H A D | bcm87xx.c | 34 static int bcm87xx_of_reg_init(struct phy_device *phydev) argument 77 static int bcm87xx_of_reg_init(struct phy_device *phydev) argument 83 static int bcm87xx_get_features(struct phy_device *phydev) argument 90 static int bcm87xx_config_init(struct phy_device *phydev) argument 95 bcm87xx_config_aneg(struct phy_device *phydev) argument 100 bcm87xx_read_status(struct phy_device *phydev) argument 140 bcm87xx_config_intr(struct phy_device *phydev) argument 170 bcm87xx_handle_interrupt(struct phy_device *phydev) argument 188 bcm8706_match_phy_device(struct phy_device *phydev) argument 193 bcm8727_match_phy_device(struct phy_device *phydev) argument [all...] |
H A D | ax88796b.c | 32 static int asix_soft_reset(struct phy_device *phydev) argument 48 static int asix_ax88772a_read_status(struct phy_device *phydev) argument 86 asix_ax88772a_link_change_notify(struct phy_device *phydev) argument [all...] |
/linux-master/drivers/net/phy/mscc/ |
H A D | mscc_ptp.c | 27 static int phy_ts_base_write(struct phy_device *phydev, u32 regnum, u16 val) argument 37 static int phy_ts_base_read(struct phy_device *phydev, u32 regnum) argument 62 vsc85xx_ts_read_csr(struct phy_device *phydev, enum ts_blk blk, u16 addr) argument 106 vsc85xx_ts_write_csr(struct phy_device *phydev, enum ts_blk blk, u16 addr, u32 val) argument 166 vsc85xx_ts_fsb_init(struct phy_device *phydev) argument 245 vsc85xx_ts_set_latencies(struct phy_device *phydev) argument 291 vsc85xx_ts_disable_flows(struct phy_device *phydev, enum ts_blk blk) argument 344 vsc85xx_ts_eth_cmp1_sig(struct phy_device *phydev) argument 505 vsc85xx_ptp_cmp_init(struct phy_device *phydev, enum ts_blk blk) argument 539 vsc85xx_eth_cmp1_init(struct phy_device *phydev, enum ts_blk blk) argument 571 vsc85xx_ip_cmp1_init(struct phy_device *phydev, enum ts_blk blk) argument 613 struct phy_device *phydev = ptp->phydev; local 647 struct phy_device *phydev = ptp->phydev; local 684 struct phy_device *phydev = ptp->phydev; local 698 struct phy_device *phydev = ptp->phydev; local 734 struct phy_device *phydev = ptp->phydev; local 747 struct phy_device *phydev = ptp->phydev; local 780 vsc85xx_eth1_next_comp(struct phy_device *phydev, enum ts_blk blk, u32 next_comp, u32 etype) argument 798 vsc85xx_ip1_next_comp(struct phy_device *phydev, enum ts_blk blk, u32 next_comp, u32 header) argument 808 vsc85xx_ts_ptp_action_flow(struct phy_device *phydev, enum ts_blk blk, u8 flow, enum ptp_cmd cmd) argument 847 vsc85xx_ptp_conf(struct phy_device *phydev, enum ts_blk blk, bool one_step, bool enable) argument 881 vsc85xx_eth1_conf(struct phy_device *phydev, enum ts_blk blk, bool enable) argument 915 vsc85xx_ip1_conf(struct phy_device *phydev, enum ts_blk blk, bool enable) argument 960 vsc85xx_ts_engine_init(struct phy_device *phydev, bool one_step) argument 1024 vsc85xx_link_change_notify(struct phy_device *phydev) argument 1033 vsc85xx_ts_reset_fifo(struct phy_device *phydev) argument 1054 struct phy_device *phydev = vsc8531->ptp->phydev; local 1233 vsc8584_base_priv(struct phy_device *phydev) argument 1249 vsc8584_is_1588_input_clk_configured(struct phy_device *phydev) argument 1256 vsc8584_set_input_clk_configured(struct phy_device *phydev) argument 1263 __vsc8584_init_ptp(struct phy_device *phydev) argument 1495 vsc8584_config_ts_intr(struct phy_device *phydev) argument 1505 vsc8584_ptp_init(struct phy_device *phydev) argument 1519 vsc8584_handle_ts_interrupt(struct phy_device *phydev) argument 1547 vsc8584_ptp_probe(struct phy_device *phydev) argument 1578 vsc8584_ptp_probe_once(struct phy_device *phydev) argument [all...] |
H A D | mscc_main.c | 113 static int vsc85xx_phy_read_page(struct phy_device *phydev) argument 118 static int vsc85xx_phy_write_page(struct phy_device *phydev, int page) argument 123 static int vsc85xx_get_sset_count(struct phy_device *phydev) argument 133 static void vsc85xx_get_strings(struct phy_device *phydev, u8 *data) argument 146 static u64 vsc85xx_get_stat(struct phy_device *phydev, int i) argument 162 vsc85xx_get_stats(struct phy_device *phydev, struct ethtool_stats *stats, u64 *data) argument 175 vsc85xx_led_cntl_set(struct phy_device *phydev, u8 led_num, u8 mode) argument 192 vsc85xx_mdix_get(struct phy_device *phydev, u8 *mdix) argument 205 vsc85xx_mdix_set(struct phy_device *phydev, u8 mdix) argument 240 vsc85xx_downshift_get(struct phy_device *phydev, u8 *count) argument 258 vsc85xx_downshift_set(struct phy_device *phydev, u8 count) argument 276 vsc85xx_wol_set(struct phy_device *phydev, struct ethtool_wolinfo *wol) argument 349 vsc85xx_wol_get(struct phy_device *phydev, struct ethtool_wolinfo *wol) argument 381 vsc85xx_edge_rate_magic_get(struct phy_device *phydev) argument 407 vsc85xx_dt_led_mode_get(struct phy_device *phydev, char *led, u32 default_mode) argument 431 vsc85xx_edge_rate_magic_get(struct phy_device *phydev) argument 436 vsc85xx_dt_led_mode_get(struct phy_device *phydev, char *led, u8 default_mode) argument 444 vsc85xx_dt_led_modes_get(struct phy_device *phydev, u32 *default_mode) argument 466 vsc85xx_edge_rate_cntl_set(struct phy_device *phydev, u8 edge_rate) argument 479 vsc85xx_mac_if_set(struct phy_device *phydev, phy_interface_t interface) argument 525 vsc85xx_update_rgmii_cntl(struct phy_device *phydev, u32 rgmii_cntl, u16 rgmii_rx_delay_mask, u16 rgmii_tx_delay_mask) argument 581 vsc85xx_default_config(struct phy_device *phydev) argument 590 vsc85xx_get_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, void *data) argument 601 vsc85xx_set_tunable(struct phy_device *phydev, struct ethtool_tunable *tuna, const void *data) argument 614 vsc85xx_tr_write(struct phy_device *phydev, u16 addr, u32 val) argument 621 vsc8531_pre_init_seq_set(struct phy_device *phydev) argument 666 vsc85xx_eee_init_seq_set(struct phy_device *phydev) argument 707 phy_base_write(struct phy_device *phydev, u32 regnum, u16 val) argument 718 phy_base_read(struct phy_device *phydev, u32 regnum) argument 728 vsc85xx_csr_read(struct phy_device *phydev, enum csr_target target, u32 reg) argument 782 vsc85xx_csr_write(struct phy_device *phydev, enum csr_target target, u32 reg, u32 val) argument 836 vsc8584_csr_write(struct phy_device *phydev, u16 addr, u32 val) argument 844 vsc8584_cmd(struct phy_device *phydev, u16 val) argument 873 vsc8584_micro_deassert_reset(struct phy_device *phydev, bool patch_en) argument 906 vsc8584_micro_assert_reset(struct phy_device *phydev) argument 949 vsc8584_get_fw_crc(struct phy_device *phydev, u16 start, u16 size, u16 *crc) argument 975 vsc8584_patch_fw(struct phy_device *phydev, const struct firmware *fw) argument 1013 vsc8574_is_serdes_init(struct phy_device *phydev) argument 1054 vsc8574_config_pre_init(struct phy_device *phydev) argument 1257 vsc8584_pll5g_cfg2_wr(struct phy_device *phydev, bool disable_fsm) argument 1269 vsc8584_mcb_rd_trig(struct phy_device *phydev, u32 mcb_reg_addr, u8 mcb_slave_num) argument 1285 vsc8584_mcb_wr_trig(struct phy_device *phydev, u32 mcb_reg_addr, u8 mcb_slave_num) argument 1302 vsc8584_pll5g_reset(struct phy_device *phydev) argument 1343 vsc8584_config_pre_init(struct phy_device *phydev) argument 1518 vsc8584_get_base_addr(struct phy_device *phydev) argument 1558 vsc85xx_coma_mode_release(struct phy_device *phydev) argument 1573 vsc8584_config_host_serdes(struct phy_device *phydev) argument 1638 vsc8574_config_host_serdes(struct phy_device *phydev) argument 1703 vsc8584_config_init(struct phy_device *phydev) argument 1807 vsc8584_handle_interrupt(struct phy_device *phydev) argument 1832 vsc85xx_config_init(struct phy_device *phydev) argument 1870 __phy_write_mcb_s6g(struct phy_device *phydev, u32 reg, u8 mcb, u32 op) argument 1899 phy_update_mcb_s6g(struct phy_device *phydev, u32 reg, u8 mcb) argument 1905 phy_commit_mcb_s6g(struct phy_device *phydev, u32 reg, u8 mcb) argument 1910 vsc8514_config_host_serdes(struct phy_device *phydev) argument 1964 vsc8514_config_pre_init(struct phy_device *phydev) argument 2071 vsc8514_config_init(struct phy_device *phydev) argument 2127 vsc85xx_ack_interrupt(struct phy_device *phydev) argument 2137 vsc85xx_config_intr(struct phy_device *phydev) argument 2165 vsc85xx_handle_interrupt(struct phy_device *phydev) argument 2183 vsc85xx_config_aneg(struct phy_device *phydev) argument 2194 vsc85xx_read_status(struct phy_device *phydev) argument 2205 vsc8514_probe(struct phy_device *phydev) argument 2234 vsc8574_probe(struct phy_device *phydev) argument 2263 vsc8584_probe(struct phy_device *phydev) argument 2308 vsc85xx_probe(struct phy_device *phydev) argument [all...] |
H A D | mscc.h | 456 vsc8584_macsec_init(struct phy_device *phydev) argument 460 vsc8584_handle_macsec_interrupt(struct phy_device *phydev) argument 463 vsc8584_config_macsec_intr(struct phy_device *phydev) argument 476 vsc85xx_link_change_notify(struct phy_device *phydev) argument 479 vsc8584_config_ts_intr(struct phy_device *phydev) argument 482 vsc8584_ptp_init(struct phy_device *phydev) argument 486 vsc8584_ptp_probe_once(struct phy_device *phydev) argument 490 vsc8584_ptp_probe(struct phy_device *phydev) argument 494 vsc8584_handle_ts_interrupt(struct phy_device *phydev) argument [all...] |
/linux-master/drivers/net/phy/aquantia/ |
H A D | aquantia.h | 119 static inline int aqr_hwmon_probe(struct phy_device *phydev) { return 0; } argument
|
H A D | aquantia_firmware.c | 90 static int aqr_fw_load_memory(struct phy_device *phydev, u32 addr, argument 149 static int aqr_fw_boot(struct phy_device *phydev, cons argument 296 aqr_firmware_load_nvmem(struct phy_device *phydev) argument 324 aqr_firmware_load_fs(struct phy_device *phydev) argument 352 aqr_firmware_load(struct phy_device *phydev) argument [all...] |
H A D | aquantia_hwmon.c | 42 static int aqr_hwmon_get(struct phy_device *phydev, int reg, long *value) argument 55 static int aqr_hwmon_set(struct phy_device *phydev, int reg, long value) argument 68 static int aqr_hwmon_test_bit(struct phy_device *phydev, int reg, int bit) argument 78 static int aqr_hwmon_status1(struct phy_device *phydev, int bit, long *value) argument 93 struct phy_device *phydev = dev_get_drvdata(dev); local 146 struct phy_device *phydev = dev_get_drvdata(dev); local 210 aqr_hwmon_probe(struct phy_device *phydev) argument [all...] |
/linux-master/drivers/net/ethernet/socionext/ |
H A D | netsec.c | 300 struct phy_device *phydev; member in struct:netsec_priv 442 struct phy_device *phydev = priv->ndev->phydev; local 1496 struct phy_device *phydev = priv->ndev->phydev; local 1916 struct phy_device *phydev = priv->phydev; local [all...] |
/linux-master/drivers/net/ethernet/renesas/ |
H A D | rswitch.c | 1339 struct phy_device *phydev = ndev->phydev; local 1360 rswitch_phy_remove_link_mode(struct rswitch_device *rdev, struct phy_device *phydev) argument 1388 struct phy_device *phydev; local [all...] |
/linux-master/drivers/net/ethernet/asix/ |
H A D | ax88796c_main.h | 106 struct phy_device *phydev; member in struct:ax88796c_device
|
H A D | ax88796c_main.c | 740 struct phy_device *phydev = ndev->phydev; local [all...] |
/linux-master/drivers/net/usb/ |
H A D | ax88172a.c | 20 struct phy_device *phydev; member in struct:ax88172a_private 31 struct phy_device *phydev = netdev->phydev; local [all...] |