Lines Matching defs:tp
80 #define RTL_W8(tp, reg, val8) writeb((val8), tp->mmio_addr + (reg)) argument
81 #define RTL_W16(tp, reg, val16) writew((val16), tp->mmio_addr + (reg)) argument
82 #define RTL_W32(tp, reg, val32) writel((val32), tp->mmio_addr + (reg)) argument
83 #define RTL_R8(tp, reg) readb(tp->mmio_addr + (reg)) argument
84 #define RTL_R16(tp, reg) readw(tp->mmio_addr + (reg)) argument
85 #define RTL_R32(tp, reg) readl(tp->mmio_addr + (reg)) argument
696 static inline struct device *tp_to_dev(struct rtl8169_private *tp) in tp_to_dev()
701 static void rtl_lock_config_regs(struct rtl8169_private *tp) in rtl_lock_config_regs()
711 static void rtl_unlock_config_regs(struct rtl8169_private *tp) in rtl_unlock_config_regs()
721 static void rtl_pci_commit(struct rtl8169_private *tp) in rtl_pci_commit()
727 static void rtl_mod_config2(struct rtl8169_private *tp, u8 clear, u8 set) in rtl_mod_config2()
738 static void rtl_mod_config5(struct rtl8169_private *tp, u8 clear, u8 set) in rtl_mod_config5()
749 static bool rtl_is_8125(struct rtl8169_private *tp) in rtl_is_8125()
754 static bool rtl_is_8168evl_up(struct rtl8169_private *tp) in rtl_is_8168evl_up()
761 static bool rtl_supports_eee(struct rtl8169_private *tp) in rtl_supports_eee()
768 static void rtl_read_mac_from_reg(struct rtl8169_private *tp, u8 *mac, int reg) in rtl_read_mac_from_reg()
781 static bool rtl_loop_wait(struct rtl8169_private *tp, const struct rtl_cond *c, in rtl_loop_wait()
798 static bool rtl_loop_wait_high(struct rtl8169_private *tp, in rtl_loop_wait_high()
805 static bool rtl_loop_wait_low(struct rtl8169_private *tp, in rtl_loop_wait_low()
822 static void r8168fp_adjust_ocp_cmd(struct rtl8169_private *tp, u32 *cmd, int type) in r8168fp_adjust_ocp_cmd()
836 static void _rtl_eri_write(struct rtl8169_private *tp, int addr, u32 mask, in _rtl_eri_write()
851 static void rtl_eri_write(struct rtl8169_private *tp, int addr, u32 mask, in rtl_eri_write()
857 static u32 _rtl_eri_read(struct rtl8169_private *tp, int addr, int type) in _rtl_eri_read()
868 static u32 rtl_eri_read(struct rtl8169_private *tp, int addr) in rtl_eri_read()
873 static void rtl_w0w1_eri(struct rtl8169_private *tp, int addr, u32 p, u32 m) in rtl_w0w1_eri()
880 static void rtl_eri_set_bits(struct rtl8169_private *tp, int addr, u32 p) in rtl_eri_set_bits()
885 static void rtl_eri_clear_bits(struct rtl8169_private *tp, int addr, u32 m) in rtl_eri_clear_bits()
900 static void r8168_phy_ocp_write(struct rtl8169_private *tp, u32 reg, u32 data) in r8168_phy_ocp_write()
910 static int r8168_phy_ocp_read(struct rtl8169_private *tp, u32 reg) in r8168_phy_ocp_read()
921 static void __r8168_mac_ocp_write(struct rtl8169_private *tp, u32 reg, u32 data) in __r8168_mac_ocp_write()
929 static void r8168_mac_ocp_write(struct rtl8169_private *tp, u32 reg, u32 data) in r8168_mac_ocp_write()
938 static u16 __r8168_mac_ocp_read(struct rtl8169_private *tp, u32 reg) in __r8168_mac_ocp_read()
948 static u16 r8168_mac_ocp_read(struct rtl8169_private *tp, u32 reg) in r8168_mac_ocp_read()
960 static void r8168_mac_ocp_modify(struct rtl8169_private *tp, u32 reg, u16 mask, in r8168_mac_ocp_modify()
975 static void rtl8168g_phy_suspend_quirk(struct rtl8169_private *tp, int value) in rtl8168g_phy_suspend_quirk()
989 static void r8168g_mdio_write(struct rtl8169_private *tp, int reg, int value) in r8168g_mdio_write()
1005 static int r8168g_mdio_read(struct rtl8169_private *tp, int reg) in r8168g_mdio_read()
1016 static void mac_mcu_write(struct rtl8169_private *tp, int reg, int value) in mac_mcu_write()
1026 static int mac_mcu_read(struct rtl8169_private *tp, int reg) in mac_mcu_read()
1036 static void r8169_mdio_write(struct rtl8169_private *tp, int reg, int value) in r8169_mdio_write()
1048 static int r8169_mdio_read(struct rtl8169_private *tp, int reg) in r8169_mdio_read()
1073 static void r8168dp_2_mdio_start(struct rtl8169_private *tp) in r8168dp_2_mdio_start()
1078 static void r8168dp_2_mdio_stop(struct rtl8169_private *tp) in r8168dp_2_mdio_stop()
1083 static void r8168dp_2_mdio_write(struct rtl8169_private *tp, int reg, int value) in r8168dp_2_mdio_write()
1092 static int r8168dp_2_mdio_read(struct rtl8169_private *tp, int reg) in r8168dp_2_mdio_read()
1109 static void rtl_writephy(struct rtl8169_private *tp, int location, int val) in rtl_writephy()
1125 static int rtl_readphy(struct rtl8169_private *tp, int location) in rtl_readphy()
1143 static void rtl_ephy_write(struct rtl8169_private *tp, int reg_addr, int value) in rtl_ephy_write()
1153 static u16 rtl_ephy_read(struct rtl8169_private *tp, int reg_addr) in rtl_ephy_read()
1161 static u32 r8168dp_ocp_read(struct rtl8169_private *tp, u16 reg) in r8168dp_ocp_read()
1168 static u32 r8168ep_ocp_read(struct rtl8169_private *tp, u16 reg) in r8168ep_ocp_read()
1173 static void r8168dp_ocp_write(struct rtl8169_private *tp, u8 mask, u16 reg, in r8168dp_ocp_write()
1181 static void r8168ep_ocp_write(struct rtl8169_private *tp, u8 mask, u16 reg, in r8168ep_ocp_write()
1188 static void r8168dp_oob_notify(struct rtl8169_private *tp, u8 cmd) in r8168dp_oob_notify()
1199 static u16 rtl8168_get_ocp_reg(struct rtl8169_private *tp) in rtl8168_get_ocp_reg()
1223 static void rtl8168ep_stop_cmac(struct rtl8169_private *tp) in rtl8168ep_stop_cmac()
1231 static void rtl_dash_loop_wait(struct rtl8169_private *tp, in rtl_dash_loop_wait()
1240 static void rtl_dash_loop_wait_high(struct rtl8169_private *tp, in rtl_dash_loop_wait_high()
1247 static void rtl_dash_loop_wait_low(struct rtl8169_private *tp, in rtl_dash_loop_wait_low()
1254 static void rtl8168dp_driver_start(struct rtl8169_private *tp) in rtl8168dp_driver_start()
1260 static void rtl8168ep_driver_start(struct rtl8169_private *tp) in rtl8168ep_driver_start()
1267 static void rtl8168_driver_start(struct rtl8169_private *tp) in rtl8168_driver_start()
1275 static void rtl8168dp_driver_stop(struct rtl8169_private *tp) in rtl8168dp_driver_stop()
1281 static void rtl8168ep_driver_stop(struct rtl8169_private *tp) in rtl8168ep_driver_stop()
1289 static void rtl8168_driver_stop(struct rtl8169_private *tp) in rtl8168_driver_stop()
1297 static bool r8168dp_check_dash(struct rtl8169_private *tp) in r8168dp_check_dash()
1304 static bool r8168ep_check_dash(struct rtl8169_private *tp) in r8168ep_check_dash()
1309 static bool rtl_dash_is_enabled(struct rtl8169_private *tp) in rtl_dash_is_enabled()
1321 static enum rtl_dash_type rtl_get_dash_type(struct rtl8169_private *tp) in rtl_get_dash_type()
1334 static void rtl_set_d3_pll_down(struct rtl8169_private *tp, bool enable) in rtl_set_d3_pll_down()
1351 static void rtl_reset_packet_filter(struct rtl8169_private *tp) in rtl_reset_packet_filter()
1362 u8 rtl8168d_efuse_read(struct rtl8169_private *tp, int reg_addr) in rtl8168d_efuse_read()
1370 static u32 rtl_get_events(struct rtl8169_private *tp) in rtl_get_events()
1378 static void rtl_ack_events(struct rtl8169_private *tp, u32 bits) in rtl_ack_events()
1386 static void rtl_irq_disable(struct rtl8169_private *tp) in rtl_irq_disable()
1394 static void rtl_irq_enable(struct rtl8169_private *tp) in rtl_irq_enable()
1402 static void rtl8169_irq_mask_and_ack(struct rtl8169_private *tp) in rtl8169_irq_mask_and_ack()
1409 static void rtl_link_chg_patch(struct rtl8169_private *tp) in rtl_link_chg_patch()
1449 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_wol() local
1455 static void __rtl8169_set_wol(struct rtl8169_private *tp, u32 wolopts) in __rtl8169_set_wol()
1529 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_set_wol() local
1543 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_drvinfo() local
1562 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_fix_features() local
1574 static void rtl_set_rx_config_features(struct rtl8169_private *tp, in rtl_set_rx_config_features()
1597 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_set_features() local
1636 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_regs() local
1676 static void rtl8169_do_counters(struct rtl8169_private *tp, u32 counter_cmd) in rtl8169_do_counters()
1688 static void rtl8169_update_counters(struct rtl8169_private *tp) in rtl8169_update_counters()
1700 static void rtl8169_init_counter_offsets(struct rtl8169_private *tp) in rtl8169_init_counter_offsets()
1738 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_ethtool_stats() local
1822 rtl_coalesce_info(struct rtl8169_private *tp) in rtl_coalesce_info()
1848 struct rtl8169_private *tp = netdev_priv(dev); in rtl_get_coalesce() local
1884 static int rtl_coalesce_choose_scale(struct rtl8169_private *tp, u32 usec, in rtl_coalesce_choose_scale()
1909 struct rtl8169_private *tp = netdev_priv(dev); in rtl_set_coalesce() local
1975 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_eee() local
1985 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_set_eee() local
2013 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_pauseparam() local
2026 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_set_pauseparam() local
2061 static void rtl_enable_eee(struct rtl8169_private *tp) in rtl_enable_eee()
2208 static void rtl_release_firmware(struct rtl8169_private *tp) in rtl_release_firmware()
2217 void r8169_apply_firmware(struct rtl8169_private *tp) in r8169_apply_firmware()
2234 static void rtl8168_config_eee_mac(struct rtl8169_private *tp) in rtl8168_config_eee_mac()
2243 static void rtl8125a_config_eee_mac(struct rtl8169_private *tp) in rtl8125a_config_eee_mac()
2249 static void rtl8125_set_eee_txidle_timer(struct rtl8169_private *tp) in rtl8125_set_eee_txidle_timer()
2254 static void rtl8125b_config_eee_mac(struct rtl8169_private *tp) in rtl8125b_config_eee_mac()
2260 static void rtl_rar_exgmac_set(struct rtl8169_private *tp, const u8 *addr) in rtl_rar_exgmac_set()
2268 u16 rtl8168h_2_get_adc_bias_ioffset(struct rtl8169_private *tp) in rtl8168h_2_get_adc_bias_ioffset()
2284 static void rtl_schedule_task(struct rtl8169_private *tp, enum rtl_flag flag) in rtl_schedule_task()
2290 static void rtl8169_init_phy(struct rtl8169_private *tp) in rtl8169_init_phy()
2315 static void rtl_rar_set(struct rtl8169_private *tp, const u8 *addr) in rtl_rar_set()
2333 struct rtl8169_private *tp = netdev_priv(dev); in rtl_set_mac_address() local
2345 static void rtl_init_rxcfg(struct rtl8169_private *tp) in rtl_init_rxcfg()
2373 static void rtl8169_init_ring_indexes(struct rtl8169_private *tp) in rtl8169_init_ring_indexes()
2378 static void r8168c_hw_jumbo_enable(struct rtl8169_private *tp) in r8168c_hw_jumbo_enable()
2384 static void r8168c_hw_jumbo_disable(struct rtl8169_private *tp) in r8168c_hw_jumbo_disable()
2390 static void r8168dp_hw_jumbo_enable(struct rtl8169_private *tp) in r8168dp_hw_jumbo_enable()
2395 static void r8168dp_hw_jumbo_disable(struct rtl8169_private *tp) in r8168dp_hw_jumbo_disable()
2400 static void r8168e_hw_jumbo_enable(struct rtl8169_private *tp) in r8168e_hw_jumbo_enable()
2407 static void r8168e_hw_jumbo_disable(struct rtl8169_private *tp) in r8168e_hw_jumbo_disable()
2414 static void r8168b_1_hw_jumbo_enable(struct rtl8169_private *tp) in r8168b_1_hw_jumbo_enable()
2419 static void r8168b_1_hw_jumbo_disable(struct rtl8169_private *tp) in r8168b_1_hw_jumbo_disable()
2424 static void rtl_jumbo_config(struct rtl8169_private *tp) in rtl_jumbo_config()
2482 static void rtl_hw_reset(struct rtl8169_private *tp) in rtl_hw_reset()
2489 static void rtl_request_firmware(struct rtl8169_private *tp) in rtl_request_firmware()
2514 static void rtl_rx_close(struct rtl8169_private *tp) in rtl_rx_close()
2540 static void rtl_wait_txrx_fifo_empty(struct rtl8169_private *tp) in rtl_wait_txrx_fifo_empty()
2560 static void rtl_disable_rxdvgate(struct rtl8169_private *tp) in rtl_disable_rxdvgate()
2565 static void rtl_enable_rxdvgate(struct rtl8169_private *tp) in rtl_enable_rxdvgate()
2572 static void rtl_wol_enable_rx(struct rtl8169_private *tp) in rtl_wol_enable_rx()
2582 static void rtl_prepare_power_down(struct rtl8169_private *tp) in rtl_prepare_power_down()
2597 static void rtl_set_tx_config_registers(struct rtl8169_private *tp) in rtl_set_tx_config_registers()
2608 static void rtl_set_rx_max_size(struct rtl8169_private *tp) in rtl_set_rx_max_size()
2614 static void rtl_set_rx_tx_desc_registers(struct rtl8169_private *tp) in rtl_set_rx_tx_desc_registers()
2627 static void rtl8169_set_magic_reg(struct rtl8169_private *tp) in rtl8169_set_magic_reg()
2649 struct rtl8169_private *tp = netdev_priv(dev); in rtl_set_rx_mode() local
2690 static void rtl_csi_write(struct rtl8169_private *tp, int addr, int value) in rtl_csi_write()
2701 static u32 rtl_csi_read(struct rtl8169_private *tp, int addr) in rtl_csi_read()
2712 static void rtl_set_aspm_entry_latency(struct rtl8169_private *tp, u8 val) in rtl_set_aspm_entry_latency()
2733 static void rtl_set_def_aspm_entry_latency(struct rtl8169_private *tp) in rtl_set_def_aspm_entry_latency()
2745 static void __rtl_ephy_init(struct rtl8169_private *tp, in __rtl_ephy_init()
2757 #define rtl_ephy_init(tp, a) __rtl_ephy_init(tp, a, ARRAY_SIZE(a)) argument
2759 static void rtl_disable_clock_request(struct rtl8169_private *tp) in rtl_disable_clock_request()
2765 static void rtl_enable_clock_request(struct rtl8169_private *tp) in rtl_enable_clock_request()
2771 static void rtl_pcie_state_l2l3_disable(struct rtl8169_private *tp) in rtl_pcie_state_l2l3_disable()
2777 static void rtl_enable_exit_l1(struct rtl8169_private *tp) in rtl_enable_exit_l1()
2802 static void rtl_disable_exit_l1(struct rtl8169_private *tp) in rtl_disable_exit_l1()
2816 static void rtl_hw_aspm_clkreq_enable(struct rtl8169_private *tp, bool enable) in rtl_hw_aspm_clkreq_enable()
2859 static void rtl_set_fifo_size(struct rtl8169_private *tp, u16 rx_stat, in rtl_set_fifo_size()
2869 static void rtl8168g_set_pause_thresholds(struct rtl8169_private *tp, in rtl8168g_set_pause_thresholds()
2877 static void rtl_hw_start_8168b(struct rtl8169_private *tp) in rtl_hw_start_8168b()
2882 static void __rtl_hw_start_8168cp(struct rtl8169_private *tp) in __rtl_hw_start_8168cp()
2891 static void rtl_hw_start_8168cp_1(struct rtl8169_private *tp) in rtl_hw_start_8168cp_1()
2908 static void rtl_hw_start_8168cp_2(struct rtl8169_private *tp) in rtl_hw_start_8168cp_2()
2915 static void rtl_hw_start_8168cp_3(struct rtl8169_private *tp) in rtl_hw_start_8168cp_3()
2925 static void rtl_hw_start_8168c_1(struct rtl8169_private *tp) in rtl_hw_start_8168c_1()
2942 static void rtl_hw_start_8168c_2(struct rtl8169_private *tp) in rtl_hw_start_8168c_2()
2956 static void rtl_hw_start_8168c_4(struct rtl8169_private *tp) in rtl_hw_start_8168c_4()
2963 static void rtl_hw_start_8168d(struct rtl8169_private *tp) in rtl_hw_start_8168d()
2970 static void rtl_hw_start_8168d_4(struct rtl8169_private *tp) in rtl_hw_start_8168d_4()
2986 static void rtl_hw_start_8168e_1(struct rtl8169_private *tp) in rtl_hw_start_8168e_1()
3017 static void rtl_hw_start_8168e_2(struct rtl8169_private *tp) in rtl_hw_start_8168e_2()
3050 static void rtl_hw_start_8168f(struct rtl8169_private *tp) in rtl_hw_start_8168f()
3073 static void rtl_hw_start_8168f_1(struct rtl8169_private *tp) in rtl_hw_start_8168f_1()
3089 static void rtl_hw_start_8411(struct rtl8169_private *tp) in rtl_hw_start_8411()
3105 static void rtl_hw_start_8168g(struct rtl8169_private *tp) in rtl_hw_start_8168g()
3128 static void rtl_hw_start_8168g_1(struct rtl8169_private *tp) in rtl_hw_start_8168g_1()
3141 static void rtl_hw_start_8168g_2(struct rtl8169_private *tp) in rtl_hw_start_8168g_2()
3159 static void rtl_hw_start_8411_2(struct rtl8169_private *tp) in rtl_hw_start_8411_2()
3315 static void rtl_hw_start_8168h_1(struct rtl8169_private *tp) in rtl_hw_start_8168h_1()
3376 static void rtl_hw_start_8168ep(struct rtl8169_private *tp) in rtl_hw_start_8168ep()
3403 static void rtl_hw_start_8168ep_3(struct rtl8169_private *tp) in rtl_hw_start_8168ep_3()
3424 static void rtl_hw_start_8117(struct rtl8169_private *tp) in rtl_hw_start_8117()
3484 static void rtl_hw_start_8102e_1(struct rtl8169_private *tp) in rtl_hw_start_8102e_1()
3513 static void rtl_hw_start_8102e_2(struct rtl8169_private *tp) in rtl_hw_start_8102e_2()
3521 static void rtl_hw_start_8102e_3(struct rtl8169_private *tp) in rtl_hw_start_8102e_3()
3528 static void rtl_hw_start_8401(struct rtl8169_private *tp) in rtl_hw_start_8401()
3541 static void rtl_hw_start_8105e_1(struct rtl8169_private *tp) in rtl_hw_start_8105e_1()
3568 static void rtl_hw_start_8105e_2(struct rtl8169_private *tp) in rtl_hw_start_8105e_2()
3574 static void rtl_hw_start_8402(struct rtl8169_private *tp) in rtl_hw_start_8402()
3602 static void rtl_hw_start_8106(struct rtl8169_private *tp) in rtl_hw_start_8106()
3627 static void rtl_hw_start_8125_common(struct rtl8169_private *tp) in rtl_hw_start_8125_common()
3688 static void rtl_hw_start_8125a_2(struct rtl8169_private *tp) in rtl_hw_start_8125a_2()
3711 static void rtl_hw_start_8125b(struct rtl8169_private *tp) in rtl_hw_start_8125b()
3727 static void rtl_hw_config(struct rtl8169_private *tp) in rtl_hw_config()
3775 static void rtl_hw_start_8125(struct rtl8169_private *tp) in rtl_hw_start_8125()
3786 static void rtl_hw_start_8168(struct rtl8169_private *tp) in rtl_hw_start_8168()
3799 static void rtl_hw_start_8169(struct rtl8169_private *tp) in rtl_hw_start_8169()
3817 static void rtl_hw_start(struct rtl8169_private *tp) in rtl_hw_start()
3852 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_change_mtu() local
3880 static struct page *rtl8169_alloc_rx_data(struct rtl8169_private *tp, in rtl8169_alloc_rx_data()
3905 static void rtl8169_rx_clear(struct rtl8169_private *tp) in rtl8169_rx_clear()
3920 static int rtl8169_rx_fill(struct rtl8169_private *tp) in rtl8169_rx_fill()
3941 static int rtl8169_init_ring(struct rtl8169_private *tp) in rtl8169_init_ring()
3951 static void rtl8169_unmap_tx_skb(struct rtl8169_private *tp, unsigned int entry) in rtl8169_unmap_tx_skb()
3962 static void rtl8169_tx_clear_range(struct rtl8169_private *tp, u32 start, in rtl8169_tx_clear_range()
3982 static void rtl8169_tx_clear(struct rtl8169_private *tp) in rtl8169_tx_clear()
3988 static void rtl8169_cleanup(struct rtl8169_private *tp) in rtl8169_cleanup()
4025 static void rtl_reset_work(struct rtl8169_private *tp) in rtl_reset_work()
4042 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_tx_timeout() local
4047 static int rtl8169_tx_map(struct rtl8169_private *tp, const u32 *opts, u32 len, in rtl8169_tx_map()
4079 static int rtl8169_xmit_frags(struct rtl8169_private *tp, struct sk_buff *skb, in rtl8169_xmit_frags()
4124 static unsigned int rtl8125_quirk_udp_padto(struct rtl8169_private *tp, in rtl8125_quirk_udp_padto()
4151 static unsigned int rtl_quirk_packet_padto(struct rtl8169_private *tp, in rtl_quirk_packet_padto()
4196 static bool rtl8169_tso_csum_v2(struct rtl8169_private *tp, in rtl8169_tso_csum_v2()
4254 static unsigned int rtl_tx_slots_avail(struct rtl8169_private *tp) in rtl_tx_slots_avail()
4260 static bool rtl_chip_supports_csum_v2(struct rtl8169_private *tp) in rtl_chip_supports_csum_v2()
4271 static void rtl8169_doorbell(struct rtl8169_private *tp) in rtl8169_doorbell()
4282 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_start_xmit() local
4386 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_features_check() local
4413 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_pcierr_interrupt() local
4429 static void rtl_tx(struct net_device *dev, struct rtl8169_private *tp, in rtl_tx()
4491 static int rtl_rx(struct net_device *dev, struct rtl8169_private *tp, int budget) in rtl_rx()
4579 struct rtl8169_private *tp = dev_instance; in rtl8169_interrupt() local
4611 struct rtl8169_private *tp = in rtl_task() local
4653 struct rtl8169_private *tp = container_of(napi, struct rtl8169_private, napi); in rtl8169_poll() local
4669 struct rtl8169_private *tp = netdev_priv(ndev); in r8169_phylink_handler() local
4686 static int r8169_phy_connect(struct rtl8169_private *tp) in r8169_phy_connect()
4708 static void rtl8169_down(struct rtl8169_private *tp) in rtl8169_down()
4728 static void rtl8169_up(struct rtl8169_private *tp) in rtl8169_up()
4746 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_close() local
4776 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_netpoll() local
4784 struct rtl8169_private *tp = netdev_priv(dev); in rtl_open() local
4847 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_stats64() local
4879 static void rtl8169_net_suspend(struct rtl8169_private *tp) in rtl8169_net_suspend()
4889 struct rtl8169_private *tp = dev_get_drvdata(dev); in rtl8169_runtime_resume() local
4904 struct rtl8169_private *tp = dev_get_drvdata(device); in rtl8169_suspend() local
4917 struct rtl8169_private *tp = dev_get_drvdata(device); in rtl8169_resume() local
4931 struct rtl8169_private *tp = dev_get_drvdata(device); in rtl8169_runtime_suspend() local
4948 struct rtl8169_private *tp = dev_get_drvdata(device); in rtl8169_runtime_idle() local
4967 struct rtl8169_private *tp = pci_get_drvdata(pdev); in rtl_shutdown() local
4984 struct rtl8169_private *tp = pci_get_drvdata(pdev); in rtl_remove_one() local
5022 static void rtl_set_irq_mask(struct rtl8169_private *tp) in rtl_set_irq_mask()
5035 static int rtl_alloc_irq(struct rtl8169_private *tp) in rtl_alloc_irq()
5056 static void rtl_read_mac_address(struct rtl8169_private *tp, in rtl_read_mac_address()
5077 static void r8168g_wait_ll_share_fifo_ready(struct rtl8169_private *tp) in r8168g_wait_ll_share_fifo_ready()
5084 struct rtl8169_private *tp = mii_bus->priv; in r8169_mdio_read_reg() local
5095 struct rtl8169_private *tp = mii_bus->priv; in r8169_mdio_write_reg() local
5105 static int r8169_mdio_register(struct rtl8169_private *tp) in r8169_mdio_register()
5160 static void rtl_hw_init_8168g(struct rtl8169_private *tp) in rtl_hw_init_8168g()
5175 static void rtl_hw_init_8125(struct rtl8169_private *tp) in rtl_hw_init_8125()
5192 static void rtl_hw_initialize(struct rtl8169_private *tp) in rtl_hw_initialize()
5209 static int rtl_jumbo_max(struct rtl8169_private *tp) in rtl_jumbo_max()
5231 static void rtl_init_mac_address(struct rtl8169_private *tp) in rtl_init_mac_address()
5258 static bool rtl_aspm_is_safe(struct rtl8169_private *tp) in rtl_aspm_is_safe()
5269 struct rtl8169_private *tp; in rtl_init_one() local