Lines Matching defs:tp
79 #define RTL_W8(tp, reg, val8) writeb((val8), tp->mmio_addr + (reg)) argument
80 #define RTL_W16(tp, reg, val16) writew((val16), tp->mmio_addr + (reg)) argument
81 #define RTL_W32(tp, reg, val32) writel((val32), tp->mmio_addr + (reg)) argument
82 #define RTL_R8(tp, reg) readb(tp->mmio_addr + (reg)) argument
83 #define RTL_R16(tp, reg) readw(tp->mmio_addr + (reg)) argument
84 #define RTL_R32(tp, reg) readl(tp->mmio_addr + (reg)) argument
668 static inline struct device *tp_to_dev(struct rtl8169_private *tp) in tp_to_dev()
673 static void rtl_lock_config_regs(struct rtl8169_private *tp) in rtl_lock_config_regs()
678 static void rtl_unlock_config_regs(struct rtl8169_private *tp) in rtl_unlock_config_regs()
683 static void rtl_pci_commit(struct rtl8169_private *tp) in rtl_pci_commit()
689 static bool rtl_is_8125(struct rtl8169_private *tp) in rtl_is_8125()
694 static bool rtl_is_8168evl_up(struct rtl8169_private *tp) in rtl_is_8168evl_up()
701 static bool rtl_supports_eee(struct rtl8169_private *tp) in rtl_supports_eee()
708 static void rtl_read_mac_from_reg(struct rtl8169_private *tp, u8 *mac, int reg) in rtl_read_mac_from_reg()
721 static bool rtl_loop_wait(struct rtl8169_private *tp, const struct rtl_cond *c, in rtl_loop_wait()
738 static bool rtl_loop_wait_high(struct rtl8169_private *tp, in rtl_loop_wait_high()
745 static bool rtl_loop_wait_low(struct rtl8169_private *tp, in rtl_loop_wait_low()
762 static void r8168fp_adjust_ocp_cmd(struct rtl8169_private *tp, u32 *cmd, int type) in r8168fp_adjust_ocp_cmd()
776 static void _rtl_eri_write(struct rtl8169_private *tp, int addr, u32 mask, in _rtl_eri_write()
791 static void rtl_eri_write(struct rtl8169_private *tp, int addr, u32 mask, in rtl_eri_write()
797 static u32 _rtl_eri_read(struct rtl8169_private *tp, int addr, int type) in _rtl_eri_read()
808 static u32 rtl_eri_read(struct rtl8169_private *tp, int addr) in rtl_eri_read()
813 static void rtl_w0w1_eri(struct rtl8169_private *tp, int addr, u32 p, u32 m) in rtl_w0w1_eri()
820 static void rtl_eri_set_bits(struct rtl8169_private *tp, int addr, u32 p) in rtl_eri_set_bits()
825 static void rtl_eri_clear_bits(struct rtl8169_private *tp, int addr, u32 m) in rtl_eri_clear_bits()
840 static void r8168_phy_ocp_write(struct rtl8169_private *tp, u32 reg, u32 data) in r8168_phy_ocp_write()
850 static int r8168_phy_ocp_read(struct rtl8169_private *tp, u32 reg) in r8168_phy_ocp_read()
861 static void r8168_mac_ocp_write(struct rtl8169_private *tp, u32 reg, u32 data) in r8168_mac_ocp_write()
869 static u16 r8168_mac_ocp_read(struct rtl8169_private *tp, u32 reg) in r8168_mac_ocp_read()
879 static void r8168_mac_ocp_modify(struct rtl8169_private *tp, u32 reg, u16 mask, in r8168_mac_ocp_modify()
890 static void rtl8168g_phy_suspend_quirk(struct rtl8169_private *tp, int value) in rtl8168g_phy_suspend_quirk()
906 static void r8168g_mdio_write(struct rtl8169_private *tp, int reg, int value) in r8168g_mdio_write()
922 static int r8168g_mdio_read(struct rtl8169_private *tp, int reg) in r8168g_mdio_read()
933 static void mac_mcu_write(struct rtl8169_private *tp, int reg, int value) in mac_mcu_write()
943 static int mac_mcu_read(struct rtl8169_private *tp, int reg) in mac_mcu_read()
953 static void r8169_mdio_write(struct rtl8169_private *tp, int reg, int value) in r8169_mdio_write()
965 static int r8169_mdio_read(struct rtl8169_private *tp, int reg) in r8169_mdio_read()
990 static void r8168dp_2_mdio_start(struct rtl8169_private *tp) in r8168dp_2_mdio_start()
995 static void r8168dp_2_mdio_stop(struct rtl8169_private *tp) in r8168dp_2_mdio_stop()
1000 static void r8168dp_2_mdio_write(struct rtl8169_private *tp, int reg, int value) in r8168dp_2_mdio_write()
1009 static int r8168dp_2_mdio_read(struct rtl8169_private *tp, int reg) in r8168dp_2_mdio_read()
1026 static void rtl_writephy(struct rtl8169_private *tp, int location, int val) in rtl_writephy()
1042 static int rtl_readphy(struct rtl8169_private *tp, int location) in rtl_readphy()
1060 static void rtl_ephy_write(struct rtl8169_private *tp, int reg_addr, int value) in rtl_ephy_write()
1070 static u16 rtl_ephy_read(struct rtl8169_private *tp, int reg_addr) in rtl_ephy_read()
1078 static u32 r8168dp_ocp_read(struct rtl8169_private *tp, u16 reg) in r8168dp_ocp_read()
1085 static u32 r8168ep_ocp_read(struct rtl8169_private *tp, u16 reg) in r8168ep_ocp_read()
1090 static void r8168dp_ocp_write(struct rtl8169_private *tp, u8 mask, u16 reg, in r8168dp_ocp_write()
1098 static void r8168ep_ocp_write(struct rtl8169_private *tp, u8 mask, u16 reg, in r8168ep_ocp_write()
1105 static void r8168dp_oob_notify(struct rtl8169_private *tp, u8 cmd) in r8168dp_oob_notify()
1116 static u16 rtl8168_get_ocp_reg(struct rtl8169_private *tp) in rtl8168_get_ocp_reg()
1140 static void rtl8168ep_stop_cmac(struct rtl8169_private *tp) in rtl8168ep_stop_cmac()
1148 static void rtl8168dp_driver_start(struct rtl8169_private *tp) in rtl8168dp_driver_start()
1154 static void rtl8168ep_driver_start(struct rtl8169_private *tp) in rtl8168ep_driver_start()
1161 static void rtl8168_driver_start(struct rtl8169_private *tp) in rtl8168_driver_start()
1169 static void rtl8168dp_driver_stop(struct rtl8169_private *tp) in rtl8168dp_driver_stop()
1175 static void rtl8168ep_driver_stop(struct rtl8169_private *tp) in rtl8168ep_driver_stop()
1183 static void rtl8168_driver_stop(struct rtl8169_private *tp) in rtl8168_driver_stop()
1191 static bool r8168dp_check_dash(struct rtl8169_private *tp) in r8168dp_check_dash()
1198 static bool r8168ep_check_dash(struct rtl8169_private *tp) in r8168ep_check_dash()
1203 static enum rtl_dash_type rtl_check_dash(struct rtl8169_private *tp) in rtl_check_dash()
1216 static void rtl_set_d3_pll_down(struct rtl8169_private *tp, bool enable) in rtl_set_d3_pll_down()
1233 static void rtl_reset_packet_filter(struct rtl8169_private *tp) in rtl_reset_packet_filter()
1244 u8 rtl8168d_efuse_read(struct rtl8169_private *tp, int reg_addr) in rtl8168d_efuse_read()
1252 static u32 rtl_get_events(struct rtl8169_private *tp) in rtl_get_events()
1260 static void rtl_ack_events(struct rtl8169_private *tp, u32 bits) in rtl_ack_events()
1268 static void rtl_irq_disable(struct rtl8169_private *tp) in rtl_irq_disable()
1276 static void rtl_irq_enable(struct rtl8169_private *tp) in rtl_irq_enable()
1284 static void rtl8169_irq_mask_and_ack(struct rtl8169_private *tp) in rtl8169_irq_mask_and_ack()
1291 static void rtl_link_chg_patch(struct rtl8169_private *tp) in rtl_link_chg_patch()
1331 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_wol() local
1337 static void __rtl8169_set_wol(struct rtl8169_private *tp, u32 wolopts) in __rtl8169_set_wol()
1405 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_set_wol() local
1419 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_drvinfo() local
1438 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_fix_features() local
1450 static void rtl_set_rx_config_features(struct rtl8169_private *tp, in rtl_set_rx_config_features()
1473 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_set_features() local
1512 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_regs() local
1552 static void rtl8169_do_counters(struct rtl8169_private *tp, u32 counter_cmd) in rtl8169_do_counters()
1564 static void rtl8169_update_counters(struct rtl8169_private *tp) in rtl8169_update_counters()
1576 static void rtl8169_init_counter_offsets(struct rtl8169_private *tp) in rtl8169_init_counter_offsets()
1614 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_ethtool_stats() local
1698 rtl_coalesce_info(struct rtl8169_private *tp) in rtl_coalesce_info()
1724 struct rtl8169_private *tp = netdev_priv(dev); in rtl_get_coalesce() local
1760 static int rtl_coalesce_choose_scale(struct rtl8169_private *tp, u32 usec, in rtl_coalesce_choose_scale()
1785 struct rtl8169_private *tp = netdev_priv(dev); in rtl_set_coalesce() local
1851 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_eee() local
1861 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_set_eee() local
1887 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_pauseparam() local
1900 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_set_pauseparam() local
1935 static void rtl_enable_eee(struct rtl8169_private *tp) in rtl_enable_eee()
2082 static void rtl_release_firmware(struct rtl8169_private *tp) in rtl_release_firmware()
2091 void r8169_apply_firmware(struct rtl8169_private *tp) in r8169_apply_firmware()
2108 static void rtl8168_config_eee_mac(struct rtl8169_private *tp) in rtl8168_config_eee_mac()
2117 static void rtl8125a_config_eee_mac(struct rtl8169_private *tp) in rtl8125a_config_eee_mac()
2123 static void rtl8125_set_eee_txidle_timer(struct rtl8169_private *tp) in rtl8125_set_eee_txidle_timer()
2128 static void rtl8125b_config_eee_mac(struct rtl8169_private *tp) in rtl8125b_config_eee_mac()
2134 static void rtl_rar_exgmac_set(struct rtl8169_private *tp, const u8 *addr) in rtl_rar_exgmac_set()
2142 u16 rtl8168h_2_get_adc_bias_ioffset(struct rtl8169_private *tp) in rtl8168h_2_get_adc_bias_ioffset()
2158 static void rtl_schedule_task(struct rtl8169_private *tp, enum rtl_flag flag) in rtl_schedule_task()
2164 static void rtl8169_init_phy(struct rtl8169_private *tp) in rtl8169_init_phy()
2189 static void rtl_rar_set(struct rtl8169_private *tp, const u8 *addr) in rtl_rar_set()
2207 struct rtl8169_private *tp = netdev_priv(dev); in rtl_set_mac_address() local
2219 static void rtl_wol_enable_rx(struct rtl8169_private *tp) in rtl_wol_enable_rx()
2226 static void rtl_prepare_power_down(struct rtl8169_private *tp) in rtl_prepare_power_down()
2241 static void rtl_init_rxcfg(struct rtl8169_private *tp) in rtl_init_rxcfg()
2265 static void rtl8169_init_ring_indexes(struct rtl8169_private *tp) in rtl8169_init_ring_indexes()
2270 static void r8168c_hw_jumbo_enable(struct rtl8169_private *tp) in r8168c_hw_jumbo_enable()
2276 static void r8168c_hw_jumbo_disable(struct rtl8169_private *tp) in r8168c_hw_jumbo_disable()
2282 static void r8168dp_hw_jumbo_enable(struct rtl8169_private *tp) in r8168dp_hw_jumbo_enable()
2287 static void r8168dp_hw_jumbo_disable(struct rtl8169_private *tp) in r8168dp_hw_jumbo_disable()
2292 static void r8168e_hw_jumbo_enable(struct rtl8169_private *tp) in r8168e_hw_jumbo_enable()
2299 static void r8168e_hw_jumbo_disable(struct rtl8169_private *tp) in r8168e_hw_jumbo_disable()
2306 static void r8168b_1_hw_jumbo_enable(struct rtl8169_private *tp) in r8168b_1_hw_jumbo_enable()
2311 static void r8168b_1_hw_jumbo_disable(struct rtl8169_private *tp) in r8168b_1_hw_jumbo_disable()
2316 static void rtl_jumbo_config(struct rtl8169_private *tp) in rtl_jumbo_config()
2375 static void rtl_hw_reset(struct rtl8169_private *tp) in rtl_hw_reset()
2382 static void rtl_request_firmware(struct rtl8169_private *tp) in rtl_request_firmware()
2407 static void rtl_rx_close(struct rtl8169_private *tp) in rtl_rx_close()
2433 static void rtl_wait_txrx_fifo_empty(struct rtl8169_private *tp) in rtl_wait_txrx_fifo_empty()
2453 static void rtl_enable_rxdvgate(struct rtl8169_private *tp) in rtl_enable_rxdvgate()
2460 static void rtl_set_tx_config_registers(struct rtl8169_private *tp) in rtl_set_tx_config_registers()
2471 static void rtl_set_rx_max_size(struct rtl8169_private *tp) in rtl_set_rx_max_size()
2477 static void rtl_set_rx_tx_desc_registers(struct rtl8169_private *tp) in rtl_set_rx_tx_desc_registers()
2490 static void rtl8169_set_magic_reg(struct rtl8169_private *tp) in rtl8169_set_magic_reg()
2512 struct rtl8169_private *tp = netdev_priv(dev); in rtl_set_rx_mode() local
2551 static void rtl_csi_write(struct rtl8169_private *tp, int addr, int value) in rtl_csi_write()
2562 static u32 rtl_csi_read(struct rtl8169_private *tp, int addr) in rtl_csi_read()
2573 static void rtl_set_aspm_entry_latency(struct rtl8169_private *tp, u8 val) in rtl_set_aspm_entry_latency()
2594 static void rtl_set_def_aspm_entry_latency(struct rtl8169_private *tp) in rtl_set_def_aspm_entry_latency()
2606 static void __rtl_ephy_init(struct rtl8169_private *tp, in __rtl_ephy_init()
2618 #define rtl_ephy_init(tp, a) __rtl_ephy_init(tp, a, ARRAY_SIZE(a)) argument
2620 static void rtl_disable_clock_request(struct rtl8169_private *tp) in rtl_disable_clock_request()
2626 static void rtl_enable_clock_request(struct rtl8169_private *tp) in rtl_enable_clock_request()
2632 static void rtl_pcie_state_l2l3_disable(struct rtl8169_private *tp) in rtl_pcie_state_l2l3_disable()
2638 static void rtl_enable_exit_l1(struct rtl8169_private *tp) in rtl_enable_exit_l1()
2666 static void rtl_hw_aspm_clkreq_enable(struct rtl8169_private *tp, bool enable) in rtl_hw_aspm_clkreq_enable()
2680 static void rtl_set_fifo_size(struct rtl8169_private *tp, u16 rx_stat, in rtl_set_fifo_size()
2690 static void rtl8168g_set_pause_thresholds(struct rtl8169_private *tp, in rtl8168g_set_pause_thresholds()
2698 static void rtl_hw_start_8168b(struct rtl8169_private *tp) in rtl_hw_start_8168b()
2703 static void __rtl_hw_start_8168cp(struct rtl8169_private *tp) in __rtl_hw_start_8168cp()
2712 static void rtl_hw_start_8168cp_1(struct rtl8169_private *tp) in rtl_hw_start_8168cp_1()
2729 static void rtl_hw_start_8168cp_2(struct rtl8169_private *tp) in rtl_hw_start_8168cp_2()
2736 static void rtl_hw_start_8168cp_3(struct rtl8169_private *tp) in rtl_hw_start_8168cp_3()
2746 static void rtl_hw_start_8168c_1(struct rtl8169_private *tp) in rtl_hw_start_8168c_1()
2763 static void rtl_hw_start_8168c_2(struct rtl8169_private *tp) in rtl_hw_start_8168c_2()
2777 static void rtl_hw_start_8168c_4(struct rtl8169_private *tp) in rtl_hw_start_8168c_4()
2784 static void rtl_hw_start_8168d(struct rtl8169_private *tp) in rtl_hw_start_8168d()
2791 static void rtl_hw_start_8168d_4(struct rtl8169_private *tp) in rtl_hw_start_8168d_4()
2807 static void rtl_hw_start_8168e_1(struct rtl8169_private *tp) in rtl_hw_start_8168e_1()
2838 static void rtl_hw_start_8168e_2(struct rtl8169_private *tp) in rtl_hw_start_8168e_2()
2873 static void rtl_hw_start_8168f(struct rtl8169_private *tp) in rtl_hw_start_8168f()
2896 static void rtl_hw_start_8168f_1(struct rtl8169_private *tp) in rtl_hw_start_8168f_1()
2912 static void rtl_hw_start_8411(struct rtl8169_private *tp) in rtl_hw_start_8411()
2928 static void rtl_hw_start_8168g(struct rtl8169_private *tp) in rtl_hw_start_8168g()
2951 static void rtl_hw_start_8168g_1(struct rtl8169_private *tp) in rtl_hw_start_8168g_1()
2968 static void rtl_hw_start_8168g_2(struct rtl8169_private *tp) in rtl_hw_start_8168g_2()
2989 static void rtl_hw_start_8411_2(struct rtl8169_private *tp) in rtl_hw_start_8411_2()
3149 static void rtl_hw_start_8168h_1(struct rtl8169_private *tp) in rtl_hw_start_8168h_1()
3214 static void rtl_hw_start_8168ep(struct rtl8169_private *tp) in rtl_hw_start_8168ep()
3241 static void rtl_hw_start_8168ep_1(struct rtl8169_private *tp) in rtl_hw_start_8168ep_1()
3260 static void rtl_hw_start_8168ep_2(struct rtl8169_private *tp) in rtl_hw_start_8168ep_2()
3280 static void rtl_hw_start_8168ep_3(struct rtl8169_private *tp) in rtl_hw_start_8168ep_3()
3305 static void rtl_hw_start_8117(struct rtl8169_private *tp) in rtl_hw_start_8117()
3370 static void rtl_hw_start_8102e_1(struct rtl8169_private *tp) in rtl_hw_start_8102e_1()
3399 static void rtl_hw_start_8102e_2(struct rtl8169_private *tp) in rtl_hw_start_8102e_2()
3407 static void rtl_hw_start_8102e_3(struct rtl8169_private *tp) in rtl_hw_start_8102e_3()
3414 static void rtl_hw_start_8401(struct rtl8169_private *tp) in rtl_hw_start_8401()
3427 static void rtl_hw_start_8105e_1(struct rtl8169_private *tp) in rtl_hw_start_8105e_1()
3454 static void rtl_hw_start_8105e_2(struct rtl8169_private *tp) in rtl_hw_start_8105e_2()
3460 static void rtl_hw_start_8402(struct rtl8169_private *tp) in rtl_hw_start_8402()
3488 static void rtl_hw_start_8106(struct rtl8169_private *tp) in rtl_hw_start_8106()
3516 static void rtl_hw_start_8125_common(struct rtl8169_private *tp) in rtl_hw_start_8125_common()
3578 static void rtl_hw_start_8125a_1(struct rtl8169_private *tp) in rtl_hw_start_8125a_1()
3618 static void rtl_hw_start_8125a_2(struct rtl8169_private *tp) in rtl_hw_start_8125a_2()
3646 static void rtl_hw_start_8125b(struct rtl8169_private *tp) in rtl_hw_start_8125b()
3666 static void rtl_hw_config(struct rtl8169_private *tp) in rtl_hw_config()
3723 static void rtl_hw_start_8125(struct rtl8169_private *tp) in rtl_hw_start_8125()
3734 static void rtl_hw_start_8168(struct rtl8169_private *tp) in rtl_hw_start_8168()
3747 static void rtl_hw_start_8169(struct rtl8169_private *tp) in rtl_hw_start_8169()
3765 static void rtl_hw_start(struct rtl8169_private *tp) in rtl_hw_start()
3798 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_change_mtu() local
3826 static struct page *rtl8169_alloc_rx_data(struct rtl8169_private *tp, in rtl8169_alloc_rx_data()
3851 static void rtl8169_rx_clear(struct rtl8169_private *tp) in rtl8169_rx_clear()
3866 static int rtl8169_rx_fill(struct rtl8169_private *tp) in rtl8169_rx_fill()
3887 static int rtl8169_init_ring(struct rtl8169_private *tp) in rtl8169_init_ring()
3897 static void rtl8169_unmap_tx_skb(struct rtl8169_private *tp, unsigned int entry) in rtl8169_unmap_tx_skb()
3908 static void rtl8169_tx_clear_range(struct rtl8169_private *tp, u32 start, in rtl8169_tx_clear_range()
3928 static void rtl8169_tx_clear(struct rtl8169_private *tp) in rtl8169_tx_clear()
3934 static void rtl8169_cleanup(struct rtl8169_private *tp, bool going_down) in rtl8169_cleanup()
3974 static void rtl_reset_work(struct rtl8169_private *tp) in rtl_reset_work()
3991 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_tx_timeout() local
3996 static int rtl8169_tx_map(struct rtl8169_private *tp, const u32 *opts, u32 len, in rtl8169_tx_map()
4028 static int rtl8169_xmit_frags(struct rtl8169_private *tp, struct sk_buff *skb, in rtl8169_xmit_frags()
4073 static unsigned int rtl8125_quirk_udp_padto(struct rtl8169_private *tp, in rtl8125_quirk_udp_padto()
4100 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()
4199 static bool rtl_tx_slots_avail(struct rtl8169_private *tp) in rtl_tx_slots_avail()
4209 static bool rtl_chip_supports_csum_v2(struct rtl8169_private *tp) in rtl_chip_supports_csum_v2()
4220 static void rtl8169_doorbell(struct rtl8169_private *tp) in rtl8169_doorbell()
4232 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_start_xmit() local
4356 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_features_check() local
4383 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_pcierr_interrupt() local
4399 static void rtl_tx(struct net_device *dev, struct rtl8169_private *tp, in rtl_tx()
4468 static int rtl_rx(struct net_device *dev, struct rtl8169_private *tp, int budget) in rtl_rx()
4556 struct rtl8169_private *tp = dev_instance; in rtl8169_interrupt() local
4588 struct rtl8169_private *tp = in rtl_task() local
4607 struct rtl8169_private *tp = container_of(napi, struct rtl8169_private, napi); in rtl8169_poll() local
4623 struct rtl8169_private *tp = netdev_priv(ndev); in r8169_phylink_handler() local
4636 static int r8169_phy_connect(struct rtl8169_private *tp) in r8169_phy_connect()
4658 static void rtl8169_down(struct rtl8169_private *tp) in rtl8169_down()
4675 static void rtl8169_up(struct rtl8169_private *tp) in rtl8169_up()
4690 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_close() local
4720 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_netpoll() local
4728 struct rtl8169_private *tp = netdev_priv(dev); in rtl_open() local
4792 struct rtl8169_private *tp = netdev_priv(dev); in rtl8169_get_stats64() local
4824 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
4911 static void rtl_wol_shutdown_quirk(struct rtl8169_private *tp) in rtl_wol_shutdown_quirk()
4930 struct rtl8169_private *tp = pci_get_drvdata(pdev); in rtl_shutdown() local
4950 struct rtl8169_private *tp = pci_get_drvdata(pdev); in rtl_remove_one() local
4986 static void rtl_set_irq_mask(struct rtl8169_private *tp) in rtl_set_irq_mask()
4999 static int rtl_alloc_irq(struct rtl8169_private *tp) in rtl_alloc_irq()
5020 static void rtl_read_mac_address(struct rtl8169_private *tp, in rtl_read_mac_address()
5041 static void r8168g_wait_ll_share_fifo_ready(struct rtl8169_private *tp) in r8168g_wait_ll_share_fifo_ready()
5048 struct rtl8169_private *tp = mii_bus->priv; in r8169_mdio_read_reg() local
5059 struct rtl8169_private *tp = mii_bus->priv; in r8169_mdio_write_reg() local
5069 static int r8169_mdio_register(struct rtl8169_private *tp) in r8169_mdio_register()
5115 static void rtl_hw_init_8168g(struct rtl8169_private *tp) in rtl_hw_init_8168g()
5130 static void rtl_hw_init_8125(struct rtl8169_private *tp) in rtl_hw_init_8125()
5147 static void rtl_hw_initialize(struct rtl8169_private *tp) in rtl_hw_initialize()
5164 static int rtl_jumbo_max(struct rtl8169_private *tp) in rtl_jumbo_max()
5192 static int rtl_get_ether_clk(struct rtl8169_private *tp) in rtl_get_ether_clk()
5218 static void rtl_init_mac_address(struct rtl8169_private *tp) in rtl_init_mac_address()
5246 struct rtl8169_private *tp; in rtl_init_one() local