Lines Matching defs:tp
643 int get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) in get_registers()
663 int set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) in set_registers()
681 static int generic_ocp_read(struct r8152 *tp, u16 index, u16 size, in generic_ocp_read()
724 static int generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, in generic_ocp_write()
795 int pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) in pla_ocp_read()
801 int pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) in pla_ocp_write()
807 int usb_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) in usb_ocp_read()
813 int usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) in usb_ocp_write()
818 static u32 ocp_read_dword(struct r8152 *tp, u16 type, u16 index) in ocp_read_dword()
827 static void ocp_write_dword(struct r8152 *tp, u16 type, u16 index, u32 data) in ocp_write_dword()
834 static u16 ocp_read_word(struct r8152 *tp, u16 type, u16 index) in ocp_read_word()
851 static void ocp_write_word(struct r8152 *tp, u16 type, u16 index, u32 data) in ocp_write_word()
872 static u8 ocp_read_byte(struct r8152 *tp, u16 type, u16 index) in ocp_read_byte()
889 static void ocp_write_byte(struct r8152 *tp, u16 type, u16 index, u32 data) in ocp_write_byte()
910 static u16 ocp_reg_read(struct r8152 *tp, u16 addr) in ocp_reg_read()
924 static void ocp_reg_write(struct r8152 *tp, u16 addr, u16 data) in ocp_reg_write()
938 static inline void r8152_mdio_write(struct r8152 *tp, u32 reg_addr, u32 value) in r8152_mdio_write()
943 static inline int r8152_mdio_read(struct r8152 *tp, u32 reg_addr) in r8152_mdio_read()
948 static void sram_write(struct r8152 *tp, u16 addr, u16 data) in sram_write()
956 struct r8152 *tp = netdev_priv(netdev); in read_mii_word() local
973 struct r8152 *tp = netdev_priv(netdev); in write_mii_word() local
989 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_mac_address() local
1015 static int set_ethernet_addr(struct r8152 *tp) in set_ethernet_addr()
1051 struct r8152 *tp; in read_bulk_callback() local
1110 struct r8152 *tp; in write_bulk_callback() local
1153 struct r8152 *tp; in intr_callback() local
1222 static void free_all_mem(struct r8152 *tp) in free_all_mem()
1251 static int alloc_all_mem(struct r8152 *tp) in alloc_all_mem()
1343 static struct tx_agg *r8152_get_tx_agg(struct r8152 *tp) in r8152_get_tx_agg()
1368 static void r8152_csum_workaround(struct r8152 *tp, struct sk_buff *skb, in r8152_csum_workaround()
1449 static int r8152_tx_csum(struct r8152 *tp, struct tx_desc *desc, in r8152_tx_csum()
1533 static int r8152_tx_agg_fill(struct r8152 *tp, struct tx_agg *agg) in r8152_tx_agg_fill()
1629 static u8 r8152_rx_csum(struct r8152 *tp, struct rx_desc *rx_desc) in r8152_rx_csum()
1660 static int rx_bottom(struct r8152 *tp, int budget) in rx_bottom()
1773 static void tx_bottom(struct r8152 *tp) in tx_bottom()
1810 static void bottom_half(struct r8152 *tp) in bottom_half()
1830 struct r8152 *tp = container_of(napi, struct r8152, napi); in r8152_poll() local
1846 int r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags) in r8152_submit_rx()
1881 static void rtl_drop_queued_tx(struct r8152 *tp) in rtl_drop_queued_tx()
1903 struct r8152 *tp = netdev_priv(netdev); in rtl8152_tx_timeout() local
1913 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_rx_mode() local
1923 struct r8152 *tp = netdev_priv(netdev); in _rtl8152_set_rx_mode() local
1986 struct r8152 *tp = netdev_priv(netdev); in rtl8152_start_xmit() local
2007 static void r8152b_reset_packet_filter(struct r8152 *tp) in r8152b_reset_packet_filter()
2018 static void rtl8152_nic_reset(struct r8152 *tp) in rtl8152_nic_reset()
2031 static void set_tx_qlen(struct r8152 *tp) in set_tx_qlen()
2039 static inline u8 rtl8152_get_speed(struct r8152 *tp) in rtl8152_get_speed()
2044 static void rtl_set_eee_plus(struct r8152 *tp) in rtl_set_eee_plus()
2061 static void rxdy_gated_en(struct r8152 *tp, bool enable) in rxdy_gated_en()
2073 static int rtl_start_rx(struct r8152 *tp) in rtl_start_rx()
2109 static int rtl_stop_rx(struct r8152 *tp) in rtl_stop_rx()
2122 static int rtl_enable(struct r8152 *tp) in rtl_enable()
2137 static int rtl8152_enable(struct r8152 *tp) in rtl8152_enable()
2148 static void r8153_set_rx_early_timeout(struct r8152 *tp) in r8153_set_rx_early_timeout()
2155 static void r8153_set_rx_early_size(struct r8152 *tp) in r8153_set_rx_early_size()
2163 static int rtl8153_enable(struct r8152 *tp) in rtl8153_enable()
2176 static void rtl_disable(struct r8152 *tp) in rtl_disable()
2215 static void r8152_power_cut_en(struct r8152 *tp, bool enable) in r8152_power_cut_en()
2231 static void rtl_rx_vlan_en(struct r8152 *tp, bool enable) in rtl_rx_vlan_en()
2247 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_features() local
2273 static u32 __rtl_get_wol(struct r8152 *tp) in __rtl_get_wol()
2301 static void __rtl_set_wol(struct r8152 *tp, u32 wolopts) in __rtl_set_wol()
2339 static void rtl_runtime_suspend_enable(struct r8152 *tp, bool enable) in rtl_runtime_suspend_enable()
2358 static void rtl_phy_reset(struct r8152 *tp) in rtl_phy_reset()
2381 static void r8153_teredo_off(struct r8152 *tp) in r8153_teredo_off()
2394 static void r8152b_disable_aldps(struct r8152 *tp) in r8152b_disable_aldps()
2400 static inline void r8152b_enable_aldps(struct r8152 *tp) in r8152b_enable_aldps()
2406 static void rtl8152_disable(struct r8152 *tp) in rtl8152_disable()
2413 static void r8152b_hw_phy_cfg(struct r8152 *tp) in r8152b_hw_phy_cfg()
2426 static void r8152b_exit_oob(struct r8152 *tp) in r8152b_exit_oob()
2505 static void r8152b_enter_oob(struct r8152 *tp) in r8152b_enter_oob()
2557 static void r8153_hw_phy_cfg(struct r8152 *tp) in r8153_hw_phy_cfg()
2601 static void r8153_u1u2en(struct r8152 *tp, bool enable) in r8153_u1u2en()
2613 static void r8153_u2p3en(struct r8152 *tp, bool enable) in r8153_u2p3en()
2625 static void r8153_power_cut_en(struct r8152 *tp, bool enable) in r8153_power_cut_en()
2641 static void r8153_first_init(struct r8152 *tp) in r8153_first_init()
2707 static void r8153_enter_oob(struct r8152 *tp) in r8153_enter_oob()
2759 static void r8153_disable_aldps(struct r8152 *tp) in r8153_disable_aldps()
2769 static void r8153_enable_aldps(struct r8152 *tp) in r8153_enable_aldps()
2778 static void rtl8153_disable(struct r8152 *tp) in rtl8153_disable()
2785 static int rtl8152_set_speed(struct r8152 *tp, u8 autoneg, u16 speed, u8 duplex) in rtl8152_set_speed()
2875 static void rtl8152_up(struct r8152 *tp) in rtl8152_up()
2885 static void rtl8152_down(struct r8152 *tp) in rtl8152_down()
2898 static void rtl8153_up(struct r8152 *tp) in rtl8153_up()
2908 static void rtl8153_down(struct r8152 *tp) in rtl8153_down()
2922 static void set_carrier(struct r8152 *tp) in set_carrier()
2949 struct r8152 *tp = container_of(work, struct r8152, schedule.work); in rtl_work_func_t() local
2992 struct r8152 *tp = netdev_priv(netdev); in rtl8152_open() local
3039 struct r8152 *tp = netdev_priv(netdev); in rtl8152_close() local
3067 static inline void r8152_mmd_indirect(struct r8152 *tp, u16 dev, u16 reg) in r8152_mmd_indirect()
3074 static u16 r8152_mmd_read(struct r8152 *tp, u16 dev, u16 reg) in r8152_mmd_read()
3085 static void r8152_mmd_write(struct r8152 *tp, u16 dev, u16 reg, u16 data) in r8152_mmd_write()
3092 static void r8152_eee_en(struct r8152 *tp, bool enable) in r8152_eee_en()
3123 static void r8152b_enable_eee(struct r8152 *tp) in r8152b_enable_eee()
3129 static void r8153_eee_en(struct r8152 *tp, bool enable) in r8153_eee_en()
3149 static void r8153_enable_eee(struct r8152 *tp) in r8153_enable_eee()
3155 static void r8152b_enable_fc(struct r8152 *tp) in r8152b_enable_fc()
3164 static void rtl_tally_reset(struct r8152 *tp) in rtl_tally_reset()
3173 static void r8152b_init(struct r8152 *tp) in r8152b_init()
3212 static void r8153_init(struct r8152 *tp) in r8153_init()
3308 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_suspend() local
3346 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_resume() local
3385 struct r8152 *tp = netdev_priv(dev); in rtl8152_get_wol() local
3402 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_wol() local
3424 struct r8152 *tp = netdev_priv(dev); in rtl8152_get_msglevel() local
3431 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_msglevel() local
3439 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_drvinfo() local
3449 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_settings() local
3473 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_settings() local
3521 struct r8152 *tp = netdev_priv(dev); in rtl8152_get_ethtool_stats() local
3555 static int r8152_get_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8152_get_eee()
3581 static int r8152_set_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8152_set_eee()
3595 static int r8153_get_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8153_get_eee()
3621 static int r8153_set_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8153_set_eee()
3638 struct r8152 *tp = netdev_priv(net); in rtl_ethtool_get_eee() local
3660 struct r8152 *tp = netdev_priv(net); in rtl_ethtool_set_eee() local
3683 struct r8152 *tp = netdev_priv(dev); in rtl8152_nway_reset() local
3705 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_coalesce() local
3723 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_coalesce() local
3778 struct r8152 *tp = netdev_priv(netdev); in rtl8152_ioctl() local
3822 struct r8152 *tp = netdev_priv(dev); in rtl8152_change_mtu() local
3868 static void r8152b_get_version(struct r8152 *tp) in r8152b_get_version()
3902 static void rtl8152_unload(struct r8152 *tp) in rtl8152_unload()
3911 static void rtl8153_unload(struct r8152 *tp) in rtl8153_unload()
3919 static int rtl_ops_init(struct r8152 *tp) in rtl_ops_init()
3963 struct r8152 *tp; in rtl8152_probe() local
4066 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_disconnect() local