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
669 static inline struct device *tp_to_dev(struct rtl8169_private *tp) in tp_to_dev()
674 static void rtl_lock_config_regs(struct rtl8169_private *tp) in rtl_lock_config_regs()
684 static void rtl_unlock_config_regs(struct rtl8169_private *tp) in rtl_unlock_config_regs()
694 static void rtl_pci_commit(struct rtl8169_private *tp) in rtl_pci_commit()
700 static void rtl_mod_config2(struct rtl8169_private *tp, u8 clear, u8 set) in rtl_mod_config2()
711 static void rtl_mod_config5(struct rtl8169_private *tp, u8 clear, u8 set) in rtl_mod_config5()
722 static bool rtl_is_8125(struct rtl8169_private *tp) in rtl_is_8125()
727 static bool rtl_is_8168evl_up(struct rtl8169_private *tp) in rtl_is_8168evl_up()
734 static bool rtl_supports_eee(struct rtl8169_private *tp) in rtl_supports_eee()
741 static void rtl_read_mac_from_reg(struct rtl8169_private *tp, u8 *mac, int reg) in rtl_read_mac_from_reg()
754 static bool rtl_loop_wait(struct rtl8169_private *tp, const struct rtl_cond *c, in rtl_loop_wait()
771 static bool rtl_loop_wait_high(struct rtl8169_private *tp, in rtl_loop_wait_high()
778 static bool rtl_loop_wait_low(struct rtl8169_private *tp, in rtl_loop_wait_low()
795 static void r8168fp_adjust_ocp_cmd(struct rtl8169_private *tp, u32 *cmd, int type) in r8168fp_adjust_ocp_cmd()
809 static void _rtl_eri_write(struct rtl8169_private *tp, int addr, u32 mask, in _rtl_eri_write()
824 static void rtl_eri_write(struct rtl8169_private *tp, int addr, u32 mask, in rtl_eri_write()
830 static u32 _rtl_eri_read(struct rtl8169_private *tp, int addr, int type) in _rtl_eri_read()
841 static u32 rtl_eri_read(struct rtl8169_private *tp, int addr) in rtl_eri_read()
846 static void rtl_w0w1_eri(struct rtl8169_private *tp, int addr, u32 p, u32 m) in rtl_w0w1_eri()
853 static void rtl_eri_set_bits(struct rtl8169_private *tp, int addr, u32 p) in rtl_eri_set_bits()
858 static void rtl_eri_clear_bits(struct rtl8169_private *tp, int addr, u32 m) in rtl_eri_clear_bits()
873 static void r8168_phy_ocp_write(struct rtl8169_private *tp, u32 reg, u32 data) in r8168_phy_ocp_write()
883 static int r8168_phy_ocp_read(struct rtl8169_private *tp, u32 reg) in r8168_phy_ocp_read()
894 static void __r8168_mac_ocp_write(struct rtl8169_private *tp, u32 reg, u32 data) in __r8168_mac_ocp_write()
902 static void r8168_mac_ocp_write(struct rtl8169_private *tp, u32 reg, u32 data) in r8168_mac_ocp_write()
911 static u16 __r8168_mac_ocp_read(struct rtl8169_private *tp, u32 reg) in __r8168_mac_ocp_read()
921 static u16 r8168_mac_ocp_read(struct rtl8169_private *tp, u32 reg) in r8168_mac_ocp_read()
933 static void r8168_mac_ocp_modify(struct rtl8169_private *tp, u32 reg, u16 mask, in r8168_mac_ocp_modify()
948 static void rtl8168g_phy_suspend_quirk(struct rtl8169_private *tp, int value) in rtl8168g_phy_suspend_quirk()
962 static void r8168g_mdio_write(struct rtl8169_private *tp, int reg, int value) in r8168g_mdio_write()
978 static int r8168g_mdio_read(struct rtl8169_private *tp, int reg) in r8168g_mdio_read()
989 static void mac_mcu_write(struct rtl8169_private *tp, int reg, int value) in mac_mcu_write()
999 static int mac_mcu_read(struct rtl8169_private *tp, int reg) in mac_mcu_read()
1009 static void r8169_mdio_write(struct rtl8169_private *tp, int reg, int value) in r8169_mdio_write()
1021 static int r8169_mdio_read(struct rtl8169_private *tp, int reg) in r8169_mdio_read()
1046 static void r8168dp_2_mdio_start(struct rtl8169_private *tp) in r8168dp_2_mdio_start()
1051 static void r8168dp_2_mdio_stop(struct rtl8169_private *tp) in r8168dp_2_mdio_stop()
1056 static void r8168dp_2_mdio_write(struct rtl8169_private *tp, int reg, int value) in r8168dp_2_mdio_write()
1065 static int r8168dp_2_mdio_read(struct rtl8169_private *tp, int reg) in r8168dp_2_mdio_read()
1082 static void rtl_writephy(struct rtl8169_private *tp, int location, int val) in rtl_writephy()
1098 static int rtl_readphy(struct rtl8169_private *tp, int location) in rtl_readphy()
1116 static void rtl_ephy_write(struct rtl8169_private *tp, int reg_addr, int value) in rtl_ephy_write()
1126 static u16 rtl_ephy_read(struct rtl8169_private *tp, int reg_addr) in rtl_ephy_read()
1134 static u32 r8168dp_ocp_read(struct rtl8169_private *tp, u16 reg) in r8168dp_ocp_read()
1141 static u32 r8168ep_ocp_read(struct rtl8169_private *tp, u16 reg) in r8168ep_ocp_read()
1146 static void r8168dp_ocp_write(struct rtl8169_private *tp, u8 mask, u16 reg, in r8168dp_ocp_write()
1154 static void r8168ep_ocp_write(struct rtl8169_private *tp, u8 mask, u16 reg, in r8168ep_ocp_write()
1161 static void r8168dp_oob_notify(struct rtl8169_private *tp, u8 cmd) in r8168dp_oob_notify()
1172 static u16 rtl8168_get_ocp_reg(struct rtl8169_private *tp) in rtl8168_get_ocp_reg()
1196 static void rtl8168ep_stop_cmac(struct rtl8169_private *tp) in rtl8168ep_stop_cmac()
1204 static void rtl8168dp_driver_start(struct rtl8169_private *tp) in rtl8168dp_driver_start()
1210 static void rtl8168ep_driver_start(struct rtl8169_private *tp) in rtl8168ep_driver_start()
1217 static void rtl8168_driver_start(struct rtl8169_private *tp) in rtl8168_driver_start()
1225 static void rtl8168dp_driver_stop(struct rtl8169_private *tp) in rtl8168dp_driver_stop()
1231 static void rtl8168ep_driver_stop(struct rtl8169_private *tp) in rtl8168ep_driver_stop()
1239 static void rtl8168_driver_stop(struct rtl8169_private *tp) in rtl8168_driver_stop()
1247 static bool r8168dp_check_dash(struct rtl8169_private *tp) in r8168dp_check_dash()
1254 static bool r8168ep_check_dash(struct rtl8169_private *tp) in r8168ep_check_dash()
1259 static bool rtl_dash_is_enabled(struct rtl8169_private *tp) in rtl_dash_is_enabled()
1271 static enum rtl_dash_type rtl_get_dash_type(struct rtl8169_private *tp) in rtl_get_dash_type()
1284 static void rtl_set_d3_pll_down(struct rtl8169_private *tp, bool enable) in rtl_set_d3_pll_down()
1301 static void rtl_reset_packet_filter(struct rtl8169_private *tp) in rtl_reset_packet_filter()
1312 u8 rtl8168d_efuse_read(struct rtl8169_private *tp, int reg_addr) in rtl8168d_efuse_read()
1320 static u32 rtl_get_events(struct rtl8169_private *tp) in rtl_get_events()
1328 static void rtl_ack_events(struct rtl8169_private *tp, u32 bits) in rtl_ack_events()
1336 static void rtl_irq_disable(struct rtl8169_private *tp) in rtl_irq_disable()
1344 static void rtl_irq_enable(struct rtl8169_private *tp) in rtl_irq_enable()
1352 static void rtl8169_irq_mask_and_ack(struct rtl8169_private *tp) in rtl8169_irq_mask_and_ack()
1359 static void rtl_link_chg_patch(struct rtl8169_private *tp) in rtl_link_chg_patch()
1399 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_wol() local
1405 static void __rtl8169_set_wol(struct rtl8169_private *tp, u32 wolopts) in __rtl8169_set_wol()
1479 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_set_wol() local
1493 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_drvinfo() local
1512 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_fix_features() local
1524 static void rtl_set_rx_config_features(struct rtl8169_private *tp, in rtl_set_rx_config_features()
1547 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_set_features() local
1586 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_regs() local
1626 static void rtl8169_do_counters(struct rtl8169_private *tp, u32 counter_cmd) in rtl8169_do_counters()
1638 static void rtl8169_update_counters(struct rtl8169_private *tp) in rtl8169_update_counters()
1650 static void rtl8169_init_counter_offsets(struct rtl8169_private *tp) in rtl8169_init_counter_offsets()
1688 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_ethtool_stats() local
1772 rtl_coalesce_info(struct rtl8169_private *tp) in rtl_coalesce_info()
1798 struct rtl8169_private *tp = netdev_priv(dev); in rtl_get_coalesce() local
1834 static int rtl_coalesce_choose_scale(struct rtl8169_private *tp, u32 usec, in rtl_coalesce_choose_scale()
1859 struct rtl8169_private *tp = netdev_priv(dev); in rtl_set_coalesce() local
1925 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_eee() local
1935 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_set_eee() local
1963 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_pauseparam() local
1976 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_set_pauseparam() local
2011 static void rtl_enable_eee(struct rtl8169_private *tp) in rtl_enable_eee()
2158 static void rtl_release_firmware(struct rtl8169_private *tp) in rtl_release_firmware()
2167 void r8169_apply_firmware(struct rtl8169_private *tp) in r8169_apply_firmware()
2184 static void rtl8168_config_eee_mac(struct rtl8169_private *tp) in rtl8168_config_eee_mac()
2193 static void rtl8125a_config_eee_mac(struct rtl8169_private *tp) in rtl8125a_config_eee_mac()
2199 static void rtl8125_set_eee_txidle_timer(struct rtl8169_private *tp) in rtl8125_set_eee_txidle_timer()
2204 static void rtl8125b_config_eee_mac(struct rtl8169_private *tp) in rtl8125b_config_eee_mac()
2210 static void rtl_rar_exgmac_set(struct rtl8169_private *tp, const u8 *addr) in rtl_rar_exgmac_set()
2218 u16 rtl8168h_2_get_adc_bias_ioffset(struct rtl8169_private *tp) in rtl8168h_2_get_adc_bias_ioffset()
2234 static void rtl_schedule_task(struct rtl8169_private *tp, enum rtl_flag flag) in rtl_schedule_task()
2240 static void rtl8169_init_phy(struct rtl8169_private *tp) in rtl8169_init_phy()
2265 static void rtl_rar_set(struct rtl8169_private *tp, const u8 *addr) in rtl_rar_set()
2283 struct rtl8169_private *tp = netdev_priv(dev); in rtl_set_mac_address() local
2295 static void rtl_init_rxcfg(struct rtl8169_private *tp) in rtl_init_rxcfg()
2323 static void rtl8169_init_ring_indexes(struct rtl8169_private *tp) in rtl8169_init_ring_indexes()
2328 static void r8168c_hw_jumbo_enable(struct rtl8169_private *tp) in r8168c_hw_jumbo_enable()
2334 static void r8168c_hw_jumbo_disable(struct rtl8169_private *tp) in r8168c_hw_jumbo_disable()
2340 static void r8168dp_hw_jumbo_enable(struct rtl8169_private *tp) in r8168dp_hw_jumbo_enable()
2345 static void r8168dp_hw_jumbo_disable(struct rtl8169_private *tp) in r8168dp_hw_jumbo_disable()
2350 static void r8168e_hw_jumbo_enable(struct rtl8169_private *tp) in r8168e_hw_jumbo_enable()
2357 static void r8168e_hw_jumbo_disable(struct rtl8169_private *tp) in r8168e_hw_jumbo_disable()
2364 static void r8168b_1_hw_jumbo_enable(struct rtl8169_private *tp) in r8168b_1_hw_jumbo_enable()
2369 static void r8168b_1_hw_jumbo_disable(struct rtl8169_private *tp) in r8168b_1_hw_jumbo_disable()
2374 static void rtl_jumbo_config(struct rtl8169_private *tp) in rtl_jumbo_config()
2432 static void rtl_hw_reset(struct rtl8169_private *tp) in rtl_hw_reset()
2439 static void rtl_request_firmware(struct rtl8169_private *tp) in rtl_request_firmware()
2464 static void rtl_rx_close(struct rtl8169_private *tp) in rtl_rx_close()
2490 static void rtl_wait_txrx_fifo_empty(struct rtl8169_private *tp) in rtl_wait_txrx_fifo_empty()
2510 static void rtl_disable_rxdvgate(struct rtl8169_private *tp) in rtl_disable_rxdvgate()
2515 static void rtl_enable_rxdvgate(struct rtl8169_private *tp) in rtl_enable_rxdvgate()
2522 static void rtl_wol_enable_rx(struct rtl8169_private *tp) in rtl_wol_enable_rx()
2532 static void rtl_prepare_power_down(struct rtl8169_private *tp) in rtl_prepare_power_down()
2547 static void rtl_set_tx_config_registers(struct rtl8169_private *tp) in rtl_set_tx_config_registers()
2558 static void rtl_set_rx_max_size(struct rtl8169_private *tp) in rtl_set_rx_max_size()
2564 static void rtl_set_rx_tx_desc_registers(struct rtl8169_private *tp) in rtl_set_rx_tx_desc_registers()
2577 static void rtl8169_set_magic_reg(struct rtl8169_private *tp) in rtl8169_set_magic_reg()
2599 struct rtl8169_private *tp = netdev_priv(dev); in rtl_set_rx_mode() local
2640 static void rtl_csi_write(struct rtl8169_private *tp, int addr, int value) in rtl_csi_write()
2651 static u32 rtl_csi_read(struct rtl8169_private *tp, int addr) in rtl_csi_read()
2662 static void rtl_set_aspm_entry_latency(struct rtl8169_private *tp, u8 val) in rtl_set_aspm_entry_latency()
2683 static void rtl_set_def_aspm_entry_latency(struct rtl8169_private *tp) in rtl_set_def_aspm_entry_latency()
2695 static void __rtl_ephy_init(struct rtl8169_private *tp, in __rtl_ephy_init()
2707 #define rtl_ephy_init(tp, a) __rtl_ephy_init(tp, a, ARRAY_SIZE(a)) argument
2709 static void rtl_disable_clock_request(struct rtl8169_private *tp) in rtl_disable_clock_request()
2715 static void rtl_enable_clock_request(struct rtl8169_private *tp) in rtl_enable_clock_request()
2721 static void rtl_pcie_state_l2l3_disable(struct rtl8169_private *tp) in rtl_pcie_state_l2l3_disable()
2727 static void rtl_enable_exit_l1(struct rtl8169_private *tp) in rtl_enable_exit_l1()
2752 static void rtl_disable_exit_l1(struct rtl8169_private *tp) in rtl_disable_exit_l1()
2766 static void rtl_hw_aspm_clkreq_enable(struct rtl8169_private *tp, bool enable) in rtl_hw_aspm_clkreq_enable()
2809 static void rtl_set_fifo_size(struct rtl8169_private *tp, u16 rx_stat, in rtl_set_fifo_size()
2819 static void rtl8168g_set_pause_thresholds(struct rtl8169_private *tp, in rtl8168g_set_pause_thresholds()
2827 static void rtl_hw_start_8168b(struct rtl8169_private *tp) in rtl_hw_start_8168b()
2832 static void __rtl_hw_start_8168cp(struct rtl8169_private *tp) in __rtl_hw_start_8168cp()
2841 static void rtl_hw_start_8168cp_1(struct rtl8169_private *tp) in rtl_hw_start_8168cp_1()
2858 static void rtl_hw_start_8168cp_2(struct rtl8169_private *tp) in rtl_hw_start_8168cp_2()
2865 static void rtl_hw_start_8168cp_3(struct rtl8169_private *tp) in rtl_hw_start_8168cp_3()
2875 static void rtl_hw_start_8168c_1(struct rtl8169_private *tp) in rtl_hw_start_8168c_1()
2892 static void rtl_hw_start_8168c_2(struct rtl8169_private *tp) in rtl_hw_start_8168c_2()
2906 static void rtl_hw_start_8168c_4(struct rtl8169_private *tp) in rtl_hw_start_8168c_4()
2913 static void rtl_hw_start_8168d(struct rtl8169_private *tp) in rtl_hw_start_8168d()
2920 static void rtl_hw_start_8168d_4(struct rtl8169_private *tp) in rtl_hw_start_8168d_4()
2936 static void rtl_hw_start_8168e_1(struct rtl8169_private *tp) in rtl_hw_start_8168e_1()
2967 static void rtl_hw_start_8168e_2(struct rtl8169_private *tp) in rtl_hw_start_8168e_2()
3000 static void rtl_hw_start_8168f(struct rtl8169_private *tp) in rtl_hw_start_8168f()
3023 static void rtl_hw_start_8168f_1(struct rtl8169_private *tp) in rtl_hw_start_8168f_1()
3039 static void rtl_hw_start_8411(struct rtl8169_private *tp) in rtl_hw_start_8411()
3055 static void rtl_hw_start_8168g(struct rtl8169_private *tp) in rtl_hw_start_8168g()
3078 static void rtl_hw_start_8168g_1(struct rtl8169_private *tp) in rtl_hw_start_8168g_1()
3091 static void rtl_hw_start_8168g_2(struct rtl8169_private *tp) in rtl_hw_start_8168g_2()
3109 static void rtl_hw_start_8411_2(struct rtl8169_private *tp) in rtl_hw_start_8411_2()
3265 static void rtl_hw_start_8168h_1(struct rtl8169_private *tp) in rtl_hw_start_8168h_1()
3326 static void rtl_hw_start_8168ep(struct rtl8169_private *tp) in rtl_hw_start_8168ep()
3353 static void rtl_hw_start_8168ep_3(struct rtl8169_private *tp) in rtl_hw_start_8168ep_3()
3374 static void rtl_hw_start_8117(struct rtl8169_private *tp) in rtl_hw_start_8117()
3434 static void rtl_hw_start_8102e_1(struct rtl8169_private *tp) in rtl_hw_start_8102e_1()
3463 static void rtl_hw_start_8102e_2(struct rtl8169_private *tp) in rtl_hw_start_8102e_2()
3471 static void rtl_hw_start_8102e_3(struct rtl8169_private *tp) in rtl_hw_start_8102e_3()
3478 static void rtl_hw_start_8401(struct rtl8169_private *tp) in rtl_hw_start_8401()
3491 static void rtl_hw_start_8105e_1(struct rtl8169_private *tp) in rtl_hw_start_8105e_1()
3518 static void rtl_hw_start_8105e_2(struct rtl8169_private *tp) in rtl_hw_start_8105e_2()
3524 static void rtl_hw_start_8402(struct rtl8169_private *tp) in rtl_hw_start_8402()
3552 static void rtl_hw_start_8106(struct rtl8169_private *tp) in rtl_hw_start_8106()
3577 static void rtl_hw_start_8125_common(struct rtl8169_private *tp) in rtl_hw_start_8125_common()
3638 static void rtl_hw_start_8125a_2(struct rtl8169_private *tp) in rtl_hw_start_8125a_2()
3661 static void rtl_hw_start_8125b(struct rtl8169_private *tp) in rtl_hw_start_8125b()
3677 static void rtl_hw_config(struct rtl8169_private *tp) in rtl_hw_config()
3725 static void rtl_hw_start_8125(struct rtl8169_private *tp) in rtl_hw_start_8125()
3736 static void rtl_hw_start_8168(struct rtl8169_private *tp) in rtl_hw_start_8168()
3749 static void rtl_hw_start_8169(struct rtl8169_private *tp) in rtl_hw_start_8169()
3767 static void rtl_hw_start(struct rtl8169_private *tp) in rtl_hw_start()
3802 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_change_mtu() local
3830 static struct page *rtl8169_alloc_rx_data(struct rtl8169_private *tp, in rtl8169_alloc_rx_data()
3855 static void rtl8169_rx_clear(struct rtl8169_private *tp) in rtl8169_rx_clear()
3870 static int rtl8169_rx_fill(struct rtl8169_private *tp) in rtl8169_rx_fill()
3891 static int rtl8169_init_ring(struct rtl8169_private *tp) in rtl8169_init_ring()
3901 static void rtl8169_unmap_tx_skb(struct rtl8169_private *tp, unsigned int entry) in rtl8169_unmap_tx_skb()
3912 static void rtl8169_tx_clear_range(struct rtl8169_private *tp, u32 start, in rtl8169_tx_clear_range()
3932 static void rtl8169_tx_clear(struct rtl8169_private *tp) in rtl8169_tx_clear()
3938 static void rtl8169_cleanup(struct rtl8169_private *tp) in rtl8169_cleanup()
3975 static void rtl_reset_work(struct rtl8169_private *tp) in rtl_reset_work()
3992 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_tx_timeout() local
3997 static int rtl8169_tx_map(struct rtl8169_private *tp, const u32 *opts, u32 len, in rtl8169_tx_map()
4029 static int rtl8169_xmit_frags(struct rtl8169_private *tp, struct sk_buff *skb, in rtl8169_xmit_frags()
4074 static unsigned int rtl8125_quirk_udp_padto(struct rtl8169_private *tp, in rtl8125_quirk_udp_padto()
4101 static unsigned int rtl_quirk_packet_padto(struct rtl8169_private *tp, in rtl_quirk_packet_padto()
4140 static bool rtl8169_tso_csum_v2(struct rtl8169_private *tp, in rtl8169_tso_csum_v2()
4198 static unsigned int rtl_tx_slots_avail(struct rtl8169_private *tp) in rtl_tx_slots_avail()
4204 static bool rtl_chip_supports_csum_v2(struct rtl8169_private *tp) in rtl_chip_supports_csum_v2()
4215 static void rtl8169_doorbell(struct rtl8169_private *tp) in rtl8169_doorbell()
4227 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_start_xmit() local
4333 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_features_check() local
4360 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_pcierr_interrupt() local
4376 static void rtl_tx(struct net_device *dev, struct rtl8169_private *tp, in rtl_tx()
4438 static int rtl_rx(struct net_device *dev, struct rtl8169_private *tp, int budget) in rtl_rx()
4526 struct rtl8169_private *tp = dev_instance; in rtl8169_interrupt() local
4558 struct rtl8169_private *tp = in rtl_task() local
4600 struct rtl8169_private *tp = container_of(napi, struct rtl8169_private, napi); in rtl8169_poll() local
4616 struct rtl8169_private *tp = netdev_priv(ndev); in r8169_phylink_handler() local
4633 static int r8169_phy_connect(struct rtl8169_private *tp) in r8169_phy_connect()
4655 static void rtl8169_down(struct rtl8169_private *tp) in rtl8169_down()
4675 static void rtl8169_up(struct rtl8169_private *tp) in rtl8169_up()
4693 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_close() local
4723 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_netpoll() local
4731 struct rtl8169_private *tp = netdev_priv(dev); in rtl_open() local
4794 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_stats64() local
4826 static void rtl8169_net_suspend(struct rtl8169_private *tp) in rtl8169_net_suspend()
4836 struct rtl8169_private *tp = dev_get_drvdata(dev); in rtl8169_runtime_resume() local
4851 struct rtl8169_private *tp = dev_get_drvdata(device); in rtl8169_suspend() local
4864 struct rtl8169_private *tp = dev_get_drvdata(device); in rtl8169_resume() local
4878 struct rtl8169_private *tp = dev_get_drvdata(device); in rtl8169_runtime_suspend() local
4895 struct rtl8169_private *tp = dev_get_drvdata(device); in rtl8169_runtime_idle() local
4914 struct rtl8169_private *tp = pci_get_drvdata(pdev); in rtl_shutdown() local
4931 struct rtl8169_private *tp = pci_get_drvdata(pdev); in rtl_remove_one() local
4969 static void rtl_set_irq_mask(struct rtl8169_private *tp) in rtl_set_irq_mask()
4982 static int rtl_alloc_irq(struct rtl8169_private *tp) in rtl_alloc_irq()
5003 static void rtl_read_mac_address(struct rtl8169_private *tp, in rtl_read_mac_address()
5024 static void r8168g_wait_ll_share_fifo_ready(struct rtl8169_private *tp) in r8168g_wait_ll_share_fifo_ready()
5031 struct rtl8169_private *tp = mii_bus->priv; in r8169_mdio_read_reg() local
5042 struct rtl8169_private *tp = mii_bus->priv; in r8169_mdio_write_reg() local
5052 static int r8169_mdio_register(struct rtl8169_private *tp) in r8169_mdio_register()
5098 static void rtl_hw_init_8168g(struct rtl8169_private *tp) in rtl_hw_init_8168g()
5113 static void rtl_hw_init_8125(struct rtl8169_private *tp) in rtl_hw_init_8125()
5130 static void rtl_hw_initialize(struct rtl8169_private *tp) in rtl_hw_initialize()
5147 static int rtl_jumbo_max(struct rtl8169_private *tp) in rtl_jumbo_max()
5169 static void rtl_init_mac_address(struct rtl8169_private *tp) in rtl_init_mac_address()
5196 static bool rtl_aspm_is_safe(struct rtl8169_private *tp) in rtl_aspm_is_safe()
5207 struct rtl8169_private *tp; in rtl_init_one() local