• Home
  • Raw
  • Download

Lines Matching defs:tp

779 int get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data)  in get_registers()
802 int set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) in set_registers()
820 static int generic_ocp_read(struct r8152 *tp, u16 index, u16 size, in generic_ocp_read()
863 static int generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, in generic_ocp_write()
934 int pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) in pla_ocp_read()
940 int pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) in pla_ocp_write()
946 int usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) in usb_ocp_write()
951 static u32 ocp_read_dword(struct r8152 *tp, u16 type, u16 index) in ocp_read_dword()
960 static void ocp_write_dword(struct r8152 *tp, u16 type, u16 index, u32 data) in ocp_write_dword()
967 static u16 ocp_read_word(struct r8152 *tp, u16 type, u16 index) in ocp_read_word()
986 static void ocp_write_word(struct r8152 *tp, u16 type, u16 index, u32 data) in ocp_write_word()
1007 static u8 ocp_read_byte(struct r8152 *tp, u16 type, u16 index) in ocp_read_byte()
1024 static void ocp_write_byte(struct r8152 *tp, u16 type, u16 index, u32 data) in ocp_write_byte()
1045 static u16 ocp_reg_read(struct r8152 *tp, u16 addr) in ocp_reg_read()
1059 static void ocp_reg_write(struct r8152 *tp, u16 addr, u16 data) in ocp_reg_write()
1073 static inline void r8152_mdio_write(struct r8152 *tp, u32 reg_addr, u32 value) in r8152_mdio_write()
1078 static inline int r8152_mdio_read(struct r8152 *tp, u32 reg_addr) in r8152_mdio_read()
1083 static void sram_write(struct r8152 *tp, u16 addr, u16 data) in sram_write()
1089 static u16 sram_read(struct r8152 *tp, u16 addr) in sram_read()
1097 struct r8152 *tp = netdev_priv(netdev); in read_mii_word() local
1114 struct r8152 *tp = netdev_priv(netdev); in write_mii_word() local
1130 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_mac_address() local
1160 static int vendor_mac_passthru_addr_read(struct r8152 *tp, struct sockaddr *sa) in vendor_mac_passthru_addr_read()
1214 static int set_ethernet_addr(struct r8152 *tp) in set_ethernet_addr()
1257 struct r8152 *tp; in read_bulk_callback() local
1317 struct r8152 *tp; in write_bulk_callback() local
1361 struct r8152 *tp; in intr_callback() local
1434 static void free_all_mem(struct r8152 *tp) in free_all_mem()
1463 static int alloc_all_mem(struct r8152 *tp) in alloc_all_mem()
1556 static struct tx_agg *r8152_get_tx_agg(struct r8152 *tp) in r8152_get_tx_agg()
1581 static void r8152_csum_workaround(struct r8152 *tp, struct sk_buff *skb, in r8152_csum_workaround()
1662 static int r8152_tx_csum(struct r8152 *tp, struct tx_desc *desc, in r8152_tx_csum()
1746 static int r8152_tx_agg_fill(struct r8152 *tp, struct tx_agg *agg) in r8152_tx_agg_fill()
1845 static u8 r8152_rx_csum(struct r8152 *tp, struct rx_desc *rx_desc) in r8152_rx_csum()
1874 static int rx_bottom(struct r8152 *tp, int budget) in rx_bottom()
1992 static void tx_bottom(struct r8152 *tp) in tx_bottom()
2029 static void bottom_half(struct r8152 *tp) in bottom_half()
2049 struct r8152 *tp = container_of(napi, struct r8152, napi); in r8152_poll() local
2070 int r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags) in r8152_submit_rx()
2105 static void rtl_drop_queued_tx(struct r8152 *tp) in rtl_drop_queued_tx()
2127 struct r8152 *tp = netdev_priv(netdev); in rtl8152_tx_timeout() local
2136 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_rx_mode() local
2146 struct r8152 *tp = netdev_priv(netdev); in _rtl8152_set_rx_mode() local
2208 struct r8152 *tp = netdev_priv(netdev); in rtl8152_start_xmit() local
2229 static void r8152b_reset_packet_filter(struct r8152 *tp) in r8152b_reset_packet_filter()
2240 static void rtl8152_nic_reset(struct r8152 *tp) in rtl8152_nic_reset()
2253 static void set_tx_qlen(struct r8152 *tp) in set_tx_qlen()
2261 static inline u8 rtl8152_get_speed(struct r8152 *tp) in rtl8152_get_speed()
2266 static void rtl_set_eee_plus(struct r8152 *tp) in rtl_set_eee_plus()
2283 static void rxdy_gated_en(struct r8152 *tp, bool enable) in rxdy_gated_en()
2295 static int rtl_start_rx(struct r8152 *tp) in rtl_start_rx()
2329 static int rtl_stop_rx(struct r8152 *tp) in rtl_stop_rx()
2342 static int rtl_enable(struct r8152 *tp) in rtl_enable()
2357 static int rtl8152_enable(struct r8152 *tp) in rtl8152_enable()
2368 static inline void r8153b_rx_agg_chg_indicate(struct r8152 *tp) in r8153b_rx_agg_chg_indicate()
2374 static void r8153_set_rx_early_timeout(struct r8152 *tp) in r8153_set_rx_early_timeout()
2404 static void r8153_set_rx_early_size(struct r8152 *tp) in r8153_set_rx_early_size()
2428 static int rtl8153_enable(struct r8152 *tp) in rtl8153_enable()
2441 static void rtl_disable(struct r8152 *tp) in rtl_disable()
2480 static void r8152_power_cut_en(struct r8152 *tp, bool enable) in r8152_power_cut_en()
2496 static void rtl_rx_vlan_en(struct r8152 *tp, bool enable) in rtl_rx_vlan_en()
2512 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_features() local
2538 static u32 __rtl_get_wol(struct r8152 *tp) in __rtl_get_wol()
2562 static void __rtl_set_wol(struct r8152 *tp, u32 wolopts) in __rtl_set_wol()
2598 static void r8153_mac_clk_spd(struct r8152 *tp, bool enable) in r8153_mac_clk_spd()
2621 static void r8153_u1u2en(struct r8152 *tp, bool enable) in r8153_u1u2en()
2633 static void r8153b_u1u2en(struct r8152 *tp, bool enable) in r8153b_u1u2en()
2646 static void r8153_u2p3en(struct r8152 *tp, bool enable) in r8153_u2p3en()
2658 static void r8153b_ups_flags_w1w0(struct r8152 *tp, u32 set, u32 clear) in r8153b_ups_flags_w1w0()
2668 static void r8153b_green_en(struct r8152 *tp, bool enable) in r8153b_green_en()
2689 static u16 r8153_phy_status(struct r8152 *tp, u16 desired) in r8153_phy_status()
2713 static void r8153b_ups_en(struct r8152 *tp, bool enable) in r8153b_ups_en()
2763 static void r8153_power_cut_en(struct r8152 *tp, bool enable) in r8153_power_cut_en()
2779 static void r8153b_power_cut_en(struct r8152 *tp, bool enable) in r8153b_power_cut_en()
2795 static void r8153b_queue_wake(struct r8152 *tp, bool enable) in r8153b_queue_wake()
2811 static bool rtl_can_wakeup(struct r8152 *tp) in rtl_can_wakeup()
2818 static void rtl_runtime_suspend_enable(struct r8152 *tp, bool enable) in rtl_runtime_suspend_enable()
2847 static void rtl8153_runtime_enable(struct r8152 *tp, bool enable) in rtl8153_runtime_enable()
2873 static void rtl8153b_runtime_enable(struct r8152 *tp, bool enable) in rtl8153b_runtime_enable()
2890 static void r8153_teredo_off(struct r8152 *tp) in r8153_teredo_off()
2925 static void rtl_reset_bmu(struct r8152 *tp) in rtl_reset_bmu()
2936 static void r8152_aldps_en(struct r8152 *tp, bool enable) in r8152_aldps_en()
2948 static inline void r8152_mmd_indirect(struct r8152 *tp, u16 dev, u16 reg) in r8152_mmd_indirect()
2955 static u16 r8152_mmd_read(struct r8152 *tp, u16 dev, u16 reg) in r8152_mmd_read()
2966 static void r8152_mmd_write(struct r8152 *tp, u16 dev, u16 reg, u16 data) in r8152_mmd_write()
2973 static void r8152_eee_en(struct r8152 *tp, bool enable) in r8152_eee_en()
3004 static void r8152b_enable_eee(struct r8152 *tp) in r8152b_enable_eee()
3010 static void r8152b_enable_fc(struct r8152 *tp) in r8152b_enable_fc()
3019 static void rtl8152_disable(struct r8152 *tp) in rtl8152_disable()
3026 static void r8152b_hw_phy_cfg(struct r8152 *tp) in r8152b_hw_phy_cfg()
3035 static void r8152b_exit_oob(struct r8152 *tp) in r8152b_exit_oob()
3112 static void r8152b_enter_oob(struct r8152 *tp) in r8152b_enter_oob()
3164 static int r8153_patch_request(struct r8152 *tp, bool request) in r8153_patch_request()
3191 static void r8153_aldps_en(struct r8152 *tp, bool enable) in r8153_aldps_en()
3212 static void r8153b_aldps_en(struct r8152 *tp, bool enable) in r8153b_aldps_en()
3222 static void r8153_eee_en(struct r8152 *tp, bool enable) in r8153_eee_en()
3242 static void r8153b_eee_en(struct r8152 *tp, bool enable) in r8153b_eee_en()
3252 static void r8153b_enable_fc(struct r8152 *tp) in r8153b_enable_fc()
3258 static void r8153_hw_phy_cfg(struct r8152 *tp) in r8153_hw_phy_cfg()
3319 static u32 r8152_efuse_read(struct r8152 *tp, u8 addr) in r8152_efuse_read()
3331 static void r8153b_hw_phy_cfg(struct r8152 *tp) in r8153b_hw_phy_cfg()
3413 static void r8153_first_init(struct r8152 *tp) in r8153_first_init()
3475 static void r8153_enter_oob(struct r8152 *tp) in r8153_enter_oob()
3550 static void rtl8153_disable(struct r8152 *tp) in rtl8153_disable()
3558 static void rtl8153b_disable(struct r8152 *tp) in rtl8153b_disable()
3566 static int rtl8152_set_speed(struct r8152 *tp, u8 autoneg, u16 speed, u8 duplex) in rtl8152_set_speed()
3677 static void rtl8152_up(struct r8152 *tp) in rtl8152_up()
3687 static void rtl8152_down(struct r8152 *tp) in rtl8152_down()
3700 static void rtl8153_up(struct r8152 *tp) in rtl8153_up()
3725 static void rtl8153_down(struct r8152 *tp) in rtl8153_down()
3740 static void rtl8153b_up(struct r8152 *tp) in rtl8153b_up()
3757 static void rtl8153b_down(struct r8152 *tp) in rtl8153b_down()
3772 static bool rtl8152_in_nway(struct r8152 *tp) in rtl8152_in_nway()
3788 static bool rtl8153_in_nway(struct r8152 *tp) in rtl8153_in_nway()
3798 static void set_carrier(struct r8152 *tp) in set_carrier()
3835 struct r8152 *tp = container_of(work, struct r8152, schedule.work); in rtl_work_func_t() local
3873 struct r8152 *tp = container_of(work, struct r8152, hw_phy_work.work); in rtl_hw_phy_work_func_t() local
3896 struct r8152 *tp = container_of(nb, struct r8152, pm_notifier); in rtl_notifier() local
3921 struct r8152 *tp = netdev_priv(netdev); in rtl8152_open() local
3970 struct r8152 *tp = netdev_priv(netdev); in rtl8152_close() local
4002 static void rtl_tally_reset(struct r8152 *tp) in rtl_tally_reset()
4011 static void r8152b_init(struct r8152 *tp) in r8152b_init()
4054 static void r8153_init(struct r8152 *tp) in r8153_init()
4175 static void r8153b_init(struct r8152 *tp) in r8153b_init()
4240 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_pre_reset() local
4266 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_post_reset() local
4295 static bool delay_autosuspend(struct r8152 *tp) in delay_autosuspend()
4318 static int rtl8152_runtime_resume(struct r8152 *tp) in rtl8152_runtime_resume()
4357 static int rtl8152_system_resume(struct r8152 *tp) in rtl8152_system_resume()
4373 static int rtl8152_runtime_suspend(struct r8152 *tp) in rtl8152_runtime_suspend()
4428 static int rtl8152_system_suspend(struct r8152 *tp) in rtl8152_system_suspend()
4450 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_suspend() local
4467 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_resume() local
4484 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_reset_resume() local
4495 struct r8152 *tp = netdev_priv(dev); in rtl8152_get_wol() local
4515 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_wol() local
4543 struct r8152 *tp = netdev_priv(dev); in rtl8152_get_msglevel() local
4550 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_msglevel() local
4558 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_drvinfo() local
4569 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_link_ksettings() local
4594 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_link_ksettings() local
4648 struct r8152 *tp = netdev_priv(dev); in rtl8152_get_ethtool_stats() local
4682 static int r8152_get_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8152_get_eee()
4708 static int r8152_set_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8152_set_eee()
4722 static int r8153_get_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8153_get_eee()
4748 static int r8153_set_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8153_set_eee()
4762 static int r8153b_set_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8153b_set_eee()
4779 struct r8152 *tp = netdev_priv(net); in rtl_ethtool_get_eee() local
4801 struct r8152 *tp = netdev_priv(net); in rtl_ethtool_set_eee() local
4824 struct r8152 *tp = netdev_priv(dev); in rtl8152_nway_reset() local
4846 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_coalesce() local
4865 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_coalesce() local
4921 struct r8152 *tp = netdev_priv(netdev); in rtl8152_ioctl() local
4965 struct r8152 *tp = netdev_priv(dev); in rtl8152_change_mtu() local
5016 static void rtl8152_unload(struct r8152 *tp) in rtl8152_unload()
5025 static void rtl8153_unload(struct r8152 *tp) in rtl8153_unload()
5033 static void rtl8153b_unload(struct r8152 *tp) in rtl8153b_unload()
5041 static int rtl_ops_init(struct r8152 *tp) in rtl_ops_init()
5168 struct r8152 *tp; in rtl8152_probe() local
5309 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_disconnect() local