Lines Matching refs:mac_version
595 enum mac_version mac_version; member
680 return tp->mac_version >= RTL_GIGA_MAC_VER_61; in rtl_is_8125()
685 return tp->mac_version >= RTL_GIGA_MAC_VER_34 && in rtl_is_8168evl_up()
686 tp->mac_version != RTL_GIGA_MAC_VER_39 && in rtl_is_8168evl_up()
687 tp->mac_version <= RTL_GIGA_MAC_VER_53; in rtl_is_8168evl_up()
692 return tp->mac_version >= RTL_GIGA_MAC_VER_34 && in rtl_supports_eee()
693 tp->mac_version != RTL_GIGA_MAC_VER_37 && in rtl_supports_eee()
694 tp->mac_version != RTL_GIGA_MAC_VER_39; in rtl_supports_eee()
755 (tp->mac_version == RTL_GIGA_MAC_VER_52 || in r8168fp_adjust_ocp_cmd()
756 tp->mac_version == RTL_GIGA_MAC_VER_53)) in r8168fp_adjust_ocp_cmd()
881 switch (tp->mac_version) { in rtl8168g_phy_suspend_quirk()
1015 switch (tp->mac_version) { in rtl_writephy()
1031 switch (tp->mac_version) { in rtl_readphy()
1105 return (tp->mac_version == RTL_GIGA_MAC_VER_31) ? 0xb8 : 0x10; in rtl8168_get_ocp_reg()
1192 switch (tp->mac_version) { in rtl_check_dash()
1205 switch (tp->mac_version) { in rtl_set_d3_pll_down()
1282 if (tp->mac_version == RTL_GIGA_MAC_VER_34 || in rtl_link_chg_patch()
1283 tp->mac_version == RTL_GIGA_MAC_VER_38) { in rtl_link_chg_patch()
1295 } else if (tp->mac_version == RTL_GIGA_MAC_VER_35 || in rtl_link_chg_patch()
1296 tp->mac_version == RTL_GIGA_MAC_VER_36) { in rtl_link_chg_patch()
1304 } else if (tp->mac_version == RTL_GIGA_MAC_VER_37) { in rtl_link_chg_patch()
1364 switch (tp->mac_version) { in __rtl8169_set_wol()
1434 tp->mac_version > RTL_GIGA_MAC_VER_06) in rtl8169_fix_features()
1588 if (tp->mac_version >= RTL_GIGA_MAC_VER_19) { in rtl8169_init_counter_offsets()
1692 if (tp->mac_version <= RTL_GIGA_MAC_VER_06) in rtl_coalesce_info()
1942 static enum mac_version rtl8169_get_mac_version(u16 xid, bool gmii) in rtl8169_get_mac_version()
1958 enum mac_version ver; in rtl8169_get_mac_version()
2058 enum mac_version ver; in rtl8169_get_mac_version()
2103 if (tp->mac_version != RTL_GIGA_MAC_VER_38) in rtl8168_config_eee_mac()
2158 r8169_hw_phy_config(tp, tp->phydev, tp->mac_version); in rtl8169_init_phy()
2160 if (tp->mac_version <= RTL_GIGA_MAC_VER_06) { in rtl8169_init_phy()
2167 if (tp->mac_version == RTL_GIGA_MAC_VER_05 && in rtl8169_init_phy()
2191 if (tp->mac_version == RTL_GIGA_MAC_VER_34) in rtl_rar_set()
2213 switch (tp->mac_version) { in rtl_init_rxcfg()
2292 switch (tp->mac_version) { in rtl_jumbo_config()
2404 switch (tp->mac_version) { in rtl_wait_txrx_fifo_empty()
2436 if (tp->mac_version >= RTL_GIGA_MAC_VER_25) in rtl_wol_enable_rx()
2440 if (tp->mac_version >= RTL_GIGA_MAC_VER_40) in rtl_wol_enable_rx()
2449 if (tp->mac_version == RTL_GIGA_MAC_VER_32 || in rtl_prepare_power_down()
2450 tp->mac_version == RTL_GIGA_MAC_VER_33) in rtl_prepare_power_down()
2493 if (tp->mac_version == RTL_GIGA_MAC_VER_05) in rtl8169_set_magic_reg()
2495 else if (tp->mac_version == RTL_GIGA_MAC_VER_06) in rtl8169_set_magic_reg()
2518 tp->mac_version == RTL_GIGA_MAC_VER_35) { in rtl_set_rx_mode()
2531 if (tp->mac_version > RTL_GIGA_MAC_VER_06) { in rtl_set_rx_mode()
2647 switch (tp->mac_version) { in rtl_enable_exit_l1()
2664 switch (tp->mac_version) { in rtl_disable_exit_l1()
2683 switch (tp->mac_version) { in rtl_hw_aspm_clkreq_enable()
2695 switch (tp->mac_version) { in rtl_hw_aspm_clkreq_enable()
3531 if (tp->mac_version == RTL_GIGA_MAC_VER_63) in rtl_hw_start_8125_common()
3536 if (tp->mac_version == RTL_GIGA_MAC_VER_63) in rtl_hw_start_8125_common()
3561 if (tp->mac_version == RTL_GIGA_MAC_VER_63) in rtl_hw_start_8125_common()
3661 if (hw_configs[tp->mac_version]) in rtl_hw_config()
3662 hw_configs[tp->mac_version](tp); in rtl_hw_config()
3695 if (tp->mac_version == RTL_GIGA_MAC_VER_02 || in rtl_hw_start_8169()
3696 tp->mac_version == RTL_GIGA_MAC_VER_03) in rtl_hw_start_8169()
3713 if (tp->mac_version <= RTL_GIGA_MAC_VER_06) in rtl_hw_start()
3746 switch (tp->mac_version) { in rtl8169_change_mtu()
3888 switch (tp->mac_version) { in rtl8169_cleanup()
4046 switch (tp->mac_version) { in rtl_quirk_packet_padto()
4148 switch (tp->mac_version) { in rtl_chip_supports_csum_v2()
4295 if (tp->mac_version == RTL_GIGA_MAC_VER_34) in rtl8169_features_check()
4507 tp->mac_version == RTL_GIGA_MAC_VER_11)) { in rtl8169_interrupt()
4824 if (tp->mac_version == RTL_GIGA_MAC_VER_37) in rtl8169_resume()
4926 if (tp->mac_version <= RTL_GIGA_MAC_VER_06) in rtl_set_irq_mask()
4928 else if (tp->mac_version == RTL_GIGA_MAC_VER_11) in rtl_set_irq_mask()
4939 switch (tp->mac_version) { in rtl_alloc_irq()
4960 if (rtl_is_8168evl_up(tp) && tp->mac_version != RTL_GIGA_MAC_VER_34) { in rtl_read_mac_address()
5085 switch (tp->mac_version) { in rtl_hw_initialize()
5106 switch (tp->mac_version) { in rtl_jumbo_max()
5151 if (tp->mac_version >= RTL_GIGA_MAC_VER_61 && in rtl_aspm_is_safe()
5162 enum mac_version chipset; in rtl_init_one()
5223 tp->mac_version = chipset; in rtl_init_one()
5232 else if (tp->mac_version >= RTL_GIGA_MAC_VER_46) in rtl_init_one()
5242 if (sizeof(dma_addr_t) > 4 && tp->mac_version >= RTL_GIGA_MAC_VER_18 && in rtl_init_one()
5278 if (tp->mac_version == RTL_GIGA_MAC_VER_05) in rtl_init_one()
5346 jumbo_max, tp->mac_version <= RTL_GIGA_MAC_VER_06 ? in rtl_init_one()