Lines Matching defs:tp
657 int get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) in get_registers()
677 int set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) in set_registers()
695 static int generic_ocp_read(struct r8152 *tp, u16 index, u16 size, in generic_ocp_read()
738 static int generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, in generic_ocp_write()
809 int pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) in pla_ocp_read()
815 int pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) in pla_ocp_write()
821 int usb_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) in usb_ocp_read()
827 int usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) in usb_ocp_write()
832 static u32 ocp_read_dword(struct r8152 *tp, u16 type, u16 index) in ocp_read_dword()
841 static void ocp_write_dword(struct r8152 *tp, u16 type, u16 index, u32 data) in ocp_write_dword()
848 static u16 ocp_read_word(struct r8152 *tp, u16 type, u16 index) in ocp_read_word()
865 static void ocp_write_word(struct r8152 *tp, u16 type, u16 index, u32 data) in ocp_write_word()
886 static u8 ocp_read_byte(struct r8152 *tp, u16 type, u16 index) in ocp_read_byte()
903 static void ocp_write_byte(struct r8152 *tp, u16 type, u16 index, u32 data) in ocp_write_byte()
924 static u16 ocp_reg_read(struct r8152 *tp, u16 addr) in ocp_reg_read()
938 static void ocp_reg_write(struct r8152 *tp, u16 addr, u16 data) in ocp_reg_write()
952 static inline void r8152_mdio_write(struct r8152 *tp, u32 reg_addr, u32 value) in r8152_mdio_write()
957 static inline int r8152_mdio_read(struct r8152 *tp, u32 reg_addr) in r8152_mdio_read()
962 static void sram_write(struct r8152 *tp, u16 addr, u16 data) in sram_write()
970 struct r8152 *tp = netdev_priv(netdev); in read_mii_word() local
987 struct r8152 *tp = netdev_priv(netdev); in write_mii_word() local
1003 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_mac_address() local
1029 static int set_ethernet_addr(struct r8152 *tp) in set_ethernet_addr()
1065 struct r8152 *tp; in read_bulk_callback() local
1124 struct r8152 *tp; in write_bulk_callback() local
1167 struct r8152 *tp; in intr_callback() local
1236 static void free_all_mem(struct r8152 *tp) in free_all_mem()
1265 static int alloc_all_mem(struct r8152 *tp) in alloc_all_mem()
1357 static struct tx_agg *r8152_get_tx_agg(struct r8152 *tp) in r8152_get_tx_agg()
1382 static void r8152_csum_workaround(struct r8152 *tp, struct sk_buff *skb, in r8152_csum_workaround()
1463 static int r8152_tx_csum(struct r8152 *tp, struct tx_desc *desc, in r8152_tx_csum()
1547 static int r8152_tx_agg_fill(struct r8152 *tp, struct tx_agg *agg) in r8152_tx_agg_fill()
1643 static u8 r8152_rx_csum(struct r8152 *tp, struct rx_desc *rx_desc) in r8152_rx_csum()
1674 static int rx_bottom(struct r8152 *tp, int budget) in rx_bottom()
1787 static void tx_bottom(struct r8152 *tp) in tx_bottom()
1824 static void bottom_half(struct r8152 *tp) in bottom_half()
1844 struct r8152 *tp = container_of(napi, struct r8152, napi); in r8152_poll() local
1860 int r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags) in r8152_submit_rx()
1895 static void rtl_drop_queued_tx(struct r8152 *tp) in rtl_drop_queued_tx()
1917 struct r8152 *tp = netdev_priv(netdev); in rtl8152_tx_timeout() local
1926 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_rx_mode() local
1936 struct r8152 *tp = netdev_priv(netdev); in _rtl8152_set_rx_mode() local
1999 struct r8152 *tp = netdev_priv(netdev); in rtl8152_start_xmit() local
2020 static void r8152b_reset_packet_filter(struct r8152 *tp) in r8152b_reset_packet_filter()
2031 static void rtl8152_nic_reset(struct r8152 *tp) in rtl8152_nic_reset()
2044 static void set_tx_qlen(struct r8152 *tp) in set_tx_qlen()
2052 static inline u8 rtl8152_get_speed(struct r8152 *tp) in rtl8152_get_speed()
2057 static void rtl_set_eee_plus(struct r8152 *tp) in rtl_set_eee_plus()
2074 static void rxdy_gated_en(struct r8152 *tp, bool enable) in rxdy_gated_en()
2086 static int rtl_start_rx(struct r8152 *tp) in rtl_start_rx()
2120 static int rtl_stop_rx(struct r8152 *tp) in rtl_stop_rx()
2133 static int rtl_enable(struct r8152 *tp) in rtl_enable()
2148 static int rtl8152_enable(struct r8152 *tp) in rtl8152_enable()
2159 static void r8153_set_rx_early_timeout(struct r8152 *tp) in r8153_set_rx_early_timeout()
2166 static void r8153_set_rx_early_size(struct r8152 *tp) in r8153_set_rx_early_size()
2174 static int rtl8153_enable(struct r8152 *tp) in rtl8153_enable()
2188 static void rtl_disable(struct r8152 *tp) in rtl_disable()
2227 static void r8152_power_cut_en(struct r8152 *tp, bool enable) in r8152_power_cut_en()
2243 static void rtl_rx_vlan_en(struct r8152 *tp, bool enable) in rtl_rx_vlan_en()
2259 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_features() local
2285 static u32 __rtl_get_wol(struct r8152 *tp) in __rtl_get_wol()
2313 static void __rtl_set_wol(struct r8152 *tp, u32 wolopts) in __rtl_set_wol()
2351 static void r8153_u1u2en(struct r8152 *tp, bool enable) in r8153_u1u2en()
2363 static void r8153_u2p3en(struct r8152 *tp, bool enable) in r8153_u2p3en()
2375 static void r8153_power_cut_en(struct r8152 *tp, bool enable) in r8153_power_cut_en()
2391 static bool rtl_can_wakeup(struct r8152 *tp) in rtl_can_wakeup()
2398 static void rtl_runtime_suspend_enable(struct r8152 *tp, bool enable) in rtl_runtime_suspend_enable()
2422 static void rtl_phy_reset(struct r8152 *tp) in rtl_phy_reset()
2445 static void r8153_teredo_off(struct r8152 *tp) in r8153_teredo_off()
2458 static void r8152b_disable_aldps(struct r8152 *tp) in r8152b_disable_aldps()
2464 static inline void r8152b_enable_aldps(struct r8152 *tp) in r8152b_enable_aldps()
2470 static void rtl8152_disable(struct r8152 *tp) in rtl8152_disable()
2477 static void r8152b_hw_phy_cfg(struct r8152 *tp) in r8152b_hw_phy_cfg()
2490 static void r8152b_exit_oob(struct r8152 *tp) in r8152b_exit_oob()
2569 static void r8152b_enter_oob(struct r8152 *tp) in r8152b_enter_oob()
2621 static void r8153_hw_phy_cfg(struct r8152 *tp) in r8153_hw_phy_cfg()
2668 static void r8153_first_init(struct r8152 *tp) in r8153_first_init()
2734 static void r8153_enter_oob(struct r8152 *tp) in r8153_enter_oob()
2786 static void r8153_disable_aldps(struct r8152 *tp) in r8153_disable_aldps()
2796 static void r8153_enable_aldps(struct r8152 *tp) in r8153_enable_aldps()
2805 static void rtl8153_disable(struct r8152 *tp) in rtl8153_disable()
2813 static int rtl8152_set_speed(struct r8152 *tp, u8 autoneg, u16 speed, u8 duplex) in rtl8152_set_speed()
2903 static void rtl8152_up(struct r8152 *tp) in rtl8152_up()
2913 static void rtl8152_down(struct r8152 *tp) in rtl8152_down()
2926 static void rtl8153_up(struct r8152 *tp) in rtl8153_up()
2940 static void rtl8153_down(struct r8152 *tp) in rtl8153_down()
2955 static bool rtl8152_in_nway(struct r8152 *tp) in rtl8152_in_nway()
2971 static bool rtl8153_in_nway(struct r8152 *tp) in rtl8153_in_nway()
2981 static void set_carrier(struct r8152 *tp) in set_carrier()
3010 struct r8152 *tp = container_of(work, struct r8152, schedule.work); in rtl_work_func_t() local
3053 struct r8152 *tp = netdev_priv(netdev); in rtl8152_open() local
3100 struct r8152 *tp = netdev_priv(netdev); in rtl8152_close() local
3128 static inline void r8152_mmd_indirect(struct r8152 *tp, u16 dev, u16 reg) in r8152_mmd_indirect()
3135 static u16 r8152_mmd_read(struct r8152 *tp, u16 dev, u16 reg) in r8152_mmd_read()
3146 static void r8152_mmd_write(struct r8152 *tp, u16 dev, u16 reg, u16 data) in r8152_mmd_write()
3153 static void r8152_eee_en(struct r8152 *tp, bool enable) in r8152_eee_en()
3184 static void r8152b_enable_eee(struct r8152 *tp) in r8152b_enable_eee()
3190 static void r8153_eee_en(struct r8152 *tp, bool enable) in r8153_eee_en()
3210 static void r8153_enable_eee(struct r8152 *tp) in r8153_enable_eee()
3216 static void r8152b_enable_fc(struct r8152 *tp) in r8152b_enable_fc()
3225 static void rtl_tally_reset(struct r8152 *tp) in rtl_tally_reset()
3234 static void r8152b_init(struct r8152 *tp) in r8152b_init()
3273 static void r8153_init(struct r8152 *tp) in r8153_init()
3378 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_pre_reset() local
3404 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_post_reset() local
3428 static bool delay_autosuspend(struct r8152 *tp) in delay_autosuspend()
3451 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_suspend() local
3489 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_resume() local
3530 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_reset_resume() local
3538 struct r8152 *tp = netdev_priv(dev); in rtl8152_get_wol() local
3558 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_wol() local
3583 struct r8152 *tp = netdev_priv(dev); in rtl8152_get_msglevel() local
3590 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_msglevel() local
3598 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_drvinfo() local
3608 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_settings() local
3632 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_settings() local
3680 struct r8152 *tp = netdev_priv(dev); in rtl8152_get_ethtool_stats() local
3714 static int r8152_get_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8152_get_eee()
3740 static int r8152_set_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8152_set_eee()
3754 static int r8153_get_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8153_get_eee()
3780 static int r8153_set_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8153_set_eee()
3797 struct r8152 *tp = netdev_priv(net); in rtl_ethtool_get_eee() local
3819 struct r8152 *tp = netdev_priv(net); in rtl_ethtool_set_eee() local
3842 struct r8152 *tp = netdev_priv(dev); in rtl8152_nway_reset() local
3864 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_coalesce() local
3882 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_coalesce() local
3937 struct r8152 *tp = netdev_priv(netdev); in rtl8152_ioctl() local
3981 struct r8152 *tp = netdev_priv(dev); in rtl8152_change_mtu() local
4027 static void r8152b_get_version(struct r8152 *tp) in r8152b_get_version()
4065 static void rtl8152_unload(struct r8152 *tp) in rtl8152_unload()
4074 static void rtl8153_unload(struct r8152 *tp) in rtl8153_unload()
4082 static int rtl_ops_init(struct r8152 *tp) in rtl_ops_init()
4129 struct r8152 *tp; in rtl8152_probe() local
4235 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_disconnect() local