• Home
  • Raw
  • Download

Lines Matching defs:tp

1034 int get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data)  in get_registers()
1057 int set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) in set_registers()
1075 static void rtl_set_unplug(struct r8152 *tp) in rtl_set_unplug()
1083 static int generic_ocp_read(struct r8152 *tp, u16 index, u16 size, in generic_ocp_read()
1126 static int generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, in generic_ocp_write()
1197 int pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) in pla_ocp_read()
1203 int pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) in pla_ocp_write()
1209 int usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) in usb_ocp_write()
1214 static u32 ocp_read_dword(struct r8152 *tp, u16 type, u16 index) in ocp_read_dword()
1223 static void ocp_write_dword(struct r8152 *tp, u16 type, u16 index, u32 data) in ocp_write_dword()
1230 static u16 ocp_read_word(struct r8152 *tp, u16 type, u16 index) in ocp_read_word()
1249 static void ocp_write_word(struct r8152 *tp, u16 type, u16 index, u32 data) in ocp_write_word()
1270 static u8 ocp_read_byte(struct r8152 *tp, u16 type, u16 index) in ocp_read_byte()
1287 static void ocp_write_byte(struct r8152 *tp, u16 type, u16 index, u32 data) in ocp_write_byte()
1308 static u16 ocp_reg_read(struct r8152 *tp, u16 addr) in ocp_reg_read()
1322 static void ocp_reg_write(struct r8152 *tp, u16 addr, u16 data) in ocp_reg_write()
1336 static inline void r8152_mdio_write(struct r8152 *tp, u32 reg_addr, u32 value) in r8152_mdio_write()
1341 static inline int r8152_mdio_read(struct r8152 *tp, u32 reg_addr) in r8152_mdio_read()
1346 static void sram_write(struct r8152 *tp, u16 addr, u16 data) in sram_write()
1352 static u16 sram_read(struct r8152 *tp, u16 addr) in sram_read()
1360 struct r8152 *tp = netdev_priv(netdev); in read_mii_word() local
1377 struct r8152 *tp = netdev_priv(netdev); in write_mii_word() local
1393 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_mac_address() local
1423 static int vendor_mac_passthru_addr_read(struct r8152 *tp, struct sockaddr *sa) in vendor_mac_passthru_addr_read()
1500 static int determine_ethernet_addr(struct r8152 *tp, struct sockaddr *sa) in determine_ethernet_addr()
1537 static int set_ethernet_addr(struct r8152 *tp) in set_ethernet_addr()
1560 struct r8152 *tp; in read_bulk_callback() local
1620 struct r8152 *tp; in write_bulk_callback() local
1664 struct r8152 *tp; in intr_callback() local
1737 static void free_rx_agg(struct r8152 *tp, struct rx_agg *agg) in free_rx_agg()
1748 static struct rx_agg *alloc_rx_agg(struct r8152 *tp, gfp_t mflags) in alloc_rx_agg()
1789 static void free_all_mem(struct r8152 *tp) in free_all_mem()
1820 static int alloc_all_mem(struct r8152 *tp) in alloc_all_mem()
1895 static struct tx_agg *r8152_get_tx_agg(struct r8152 *tp) in r8152_get_tx_agg()
1920 static void r8152_csum_workaround(struct r8152 *tp, struct sk_buff *skb, in r8152_csum_workaround()
1976 static int r8152_tx_csum(struct r8152 *tp, struct tx_desc *desc, in r8152_tx_csum()
2061 static int r8152_tx_agg_fill(struct r8152 *tp, struct tx_agg *agg) in r8152_tx_agg_fill()
2160 static u8 r8152_rx_csum(struct r8152 *tp, struct rx_desc *rx_desc) in r8152_rx_csum()
2189 static inline bool rx_count_exceed(struct r8152 *tp) in rx_count_exceed()
2199 static struct rx_agg *rtl_get_free_rx(struct r8152 *tp, gfp_t mflags) in rtl_get_free_rx()
2229 static int rx_bottom(struct r8152 *tp, int budget) in rx_bottom()
2378 static void tx_bottom(struct r8152 *tp) in tx_bottom()
2417 struct r8152 *tp; in bottom_half() local
2439 struct r8152 *tp = container_of(napi, struct r8152, napi); in r8152_poll() local
2456 int r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags) in r8152_submit_rx()
2491 static void rtl_drop_queued_tx(struct r8152 *tp) in rtl_drop_queued_tx()
2513 struct r8152 *tp = netdev_priv(netdev); in rtl8152_tx_timeout() local
2522 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_rx_mode() local
2532 struct r8152 *tp = netdev_priv(netdev); in _rtl8152_set_rx_mode() local
2594 struct r8152 *tp = netdev_priv(netdev); in rtl8152_start_xmit() local
2615 static void r8152b_reset_packet_filter(struct r8152 *tp) in r8152b_reset_packet_filter()
2626 static void rtl8152_nic_reset(struct r8152 *tp) in rtl8152_nic_reset()
2639 static void set_tx_qlen(struct r8152 *tp) in set_tx_qlen()
2647 static inline u8 rtl8152_get_speed(struct r8152 *tp) in rtl8152_get_speed()
2652 static void rtl_set_eee_plus(struct r8152 *tp) in rtl_set_eee_plus()
2669 static void rxdy_gated_en(struct r8152 *tp, bool enable) in rxdy_gated_en()
2681 static int rtl_start_rx(struct r8152 *tp) in rtl_start_rx()
2724 static int rtl_stop_rx(struct r8152 *tp) in rtl_stop_rx()
2764 static inline void r8153b_rx_agg_chg_indicate(struct r8152 *tp) in r8153b_rx_agg_chg_indicate()
2770 static int rtl_enable(struct r8152 *tp) in rtl_enable()
2794 static int rtl8152_enable(struct r8152 *tp) in rtl8152_enable()
2805 static void r8153_set_rx_early_timeout(struct r8152 *tp) in r8153_set_rx_early_timeout()
2834 static void r8153_set_rx_early_size(struct r8152 *tp) in r8153_set_rx_early_size()
2857 static int rtl8153_enable(struct r8152 *tp) in rtl8153_enable()
2881 static void rtl_disable(struct r8152 *tp) in rtl_disable()
2920 static void r8152_power_cut_en(struct r8152 *tp, bool enable) in r8152_power_cut_en()
2936 static void rtl_rx_vlan_en(struct r8152 *tp, bool enable) in rtl_rx_vlan_en()
2952 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_features() local
2978 static u32 __rtl_get_wol(struct r8152 *tp) in __rtl_get_wol()
3002 static void __rtl_set_wol(struct r8152 *tp, u32 wolopts) in __rtl_set_wol()
3038 static void r8153_u1u2en(struct r8152 *tp, bool enable) in r8153_u1u2en()
3050 static void r8153b_u1u2en(struct r8152 *tp, bool enable) in r8153b_u1u2en()
3063 static void r8153_u2p3en(struct r8152 *tp, bool enable) in r8153_u2p3en()
3075 static void r8153b_ups_flags(struct r8152 *tp) in r8153b_ups_flags()
3147 static void r8153b_green_en(struct r8152 *tp, bool enable) in r8153b_green_en()
3168 static u16 r8153_phy_status(struct r8152 *tp, u16 desired) in r8153_phy_status()
3192 static void r8153b_ups_en(struct r8152 *tp, bool enable) in r8153b_ups_en()
3244 static void r8153_power_cut_en(struct r8152 *tp, bool enable) in r8153_power_cut_en()
3260 static void r8153b_power_cut_en(struct r8152 *tp, bool enable) in r8153b_power_cut_en()
3276 static void r8153_queue_wake(struct r8152 *tp, bool enable) in r8153_queue_wake()
3296 static bool rtl_can_wakeup(struct r8152 *tp) in rtl_can_wakeup()
3303 static void rtl_runtime_suspend_enable(struct r8152 *tp, bool enable) in rtl_runtime_suspend_enable()
3332 static void rtl8153_runtime_enable(struct r8152 *tp, bool enable) in rtl8153_runtime_enable()
3356 static void rtl8153b_runtime_enable(struct r8152 *tp, bool enable) in rtl8153b_runtime_enable()
3373 static void r8153_teredo_off(struct r8152 *tp) in r8153_teredo_off()
3408 static void rtl_reset_bmu(struct r8152 *tp) in rtl_reset_bmu()
3420 static void rtl_clear_bp(struct r8152 *tp, u16 type) in rtl_clear_bp()
3467 static int r8153_patch_request(struct r8152 *tp, bool request) in r8153_patch_request()
3494 static int r8153_pre_ram_code(struct r8152 *tp, u16 key_addr, u16 patch_key) in r8153_pre_ram_code()
3507 static int r8153_post_ram_code(struct r8152 *tp, u16 key_addr) in r8153_post_ram_code()
3526 static bool rtl8152_is_fw_phy_nc_ok(struct r8152 *tp, struct fw_phy_nc *phy) in rtl8152_is_fw_phy_nc_ok()
3602 static bool rtl8152_is_fw_mac_ok(struct r8152 *tp, struct fw_mac *mac) in rtl8152_is_fw_mac_ok()
3726 static long rtl8152_fw_verify_checksum(struct r8152 *tp, in rtl8152_fw_verify_checksum()
3773 static long rtl8152_check_firmware(struct r8152 *tp, struct rtl_fw *rtl_fw) in rtl8152_check_firmware()
3908 static void rtl8152_fw_phy_nc_apply(struct r8152 *tp, struct fw_phy_nc *phy) in rtl8152_fw_phy_nc_apply()
3943 static void rtl8152_fw_mac_apply(struct r8152 *tp, struct fw_mac *mac) in rtl8152_fw_mac_apply()
4004 static void rtl8152_apply_firmware(struct r8152 *tp) in rtl8152_apply_firmware()
4060 static void rtl8152_release_firmware(struct r8152 *tp) in rtl8152_release_firmware()
4070 static int rtl8152_request_firmware(struct r8152 *tp) in rtl8152_request_firmware()
4101 static void r8152_aldps_en(struct r8152 *tp, bool enable) in r8152_aldps_en()
4113 static inline void r8152_mmd_indirect(struct r8152 *tp, u16 dev, u16 reg) in r8152_mmd_indirect()
4120 static u16 r8152_mmd_read(struct r8152 *tp, u16 dev, u16 reg) in r8152_mmd_read()
4131 static void r8152_mmd_write(struct r8152 *tp, u16 dev, u16 reg, u16 data) in r8152_mmd_write()
4138 static void r8152_eee_en(struct r8152 *tp, bool enable) in r8152_eee_en()
4169 static void r8153_eee_en(struct r8152 *tp, bool enable) in r8153_eee_en()
4191 static void rtl_eee_enable(struct r8152 *tp, bool enable) in rtl_eee_enable()
4225 static void r8152b_enable_fc(struct r8152 *tp) in r8152b_enable_fc()
4236 static void rtl8152_disable(struct r8152 *tp) in rtl8152_disable()
4243 static void r8152b_hw_phy_cfg(struct r8152 *tp) in r8152b_hw_phy_cfg()
4253 static void wait_oob_link_list_ready(struct r8152 *tp) in wait_oob_link_list_ready()
4266 static void r8152b_exit_oob(struct r8152 *tp) in r8152b_exit_oob()
4332 static void r8152b_enter_oob(struct r8152 *tp) in r8152b_enter_oob()
4373 static int r8153_pre_firmware_1(struct r8152 *tp) in r8153_pre_firmware_1()
4389 static int r8153_post_firmware_1(struct r8152 *tp) in r8153_post_firmware_1()
4401 static int r8153_pre_firmware_2(struct r8152 *tp) in r8153_pre_firmware_2()
4414 static int r8153_post_firmware_2(struct r8152 *tp) in r8153_post_firmware_2()
4442 static int r8153_post_firmware_3(struct r8152 *tp) in r8153_post_firmware_3()
4457 static int r8153b_pre_firmware_1(struct r8152 *tp) in r8153b_pre_firmware_1()
4466 static int r8153b_post_firmware_1(struct r8152 *tp) in r8153b_post_firmware_1()
4493 static void r8153_aldps_en(struct r8152 *tp, bool enable) in r8153_aldps_en()
4516 static void r8153_hw_phy_cfg(struct r8152 *tp) in r8153_hw_phy_cfg()
4578 static u32 r8152_efuse_read(struct r8152 *tp, u8 addr) in r8152_efuse_read()
4590 static void r8153b_hw_phy_cfg(struct r8152 *tp) in r8153b_hw_phy_cfg()
4671 static void r8153_first_init(struct r8152 *tp) in r8153_first_init()
4721 static void r8153_enter_oob(struct r8152 *tp) in r8153_enter_oob()
4783 static void rtl8153_disable(struct r8152 *tp) in rtl8153_disable()
4791 static int rtl8152_set_speed(struct r8152 *tp, u8 autoneg, u32 speed, u8 duplex, in rtl8152_set_speed()
4917 static void rtl8152_up(struct r8152 *tp) in rtl8152_up()
4927 static void rtl8152_down(struct r8152 *tp) in rtl8152_down()
4940 static void rtl8153_up(struct r8152 *tp) in rtl8153_up()
4980 static void rtl8153_down(struct r8152 *tp) in rtl8153_down()
5001 static void rtl8153b_up(struct r8152 *tp) in rtl8153b_up()
5025 static void rtl8153b_down(struct r8152 *tp) in rtl8153b_down()
5046 static bool rtl8152_in_nway(struct r8152 *tp) in rtl8152_in_nway()
5062 static bool rtl8153_in_nway(struct r8152 *tp) in rtl8153_in_nway()
5072 static void set_carrier(struct r8152 *tp) in set_carrier()
5111 struct r8152 *tp = container_of(work, struct r8152, schedule.work); in rtl_work_func_t() local
5149 struct r8152 *tp = container_of(work, struct r8152, hw_phy_work.work); in rtl_hw_phy_work_func_t() local
5184 struct r8152 *tp = container_of(nb, struct r8152, pm_notifier); in rtl_notifier() local
5209 struct r8152 *tp = netdev_priv(netdev); in rtl8152_open() local
5264 struct r8152 *tp = netdev_priv(netdev); in rtl8152_close() local
5297 static void rtl_tally_reset(struct r8152 *tp) in rtl_tally_reset()
5306 static void r8152b_init(struct r8152 *tp) in r8152b_init()
5349 static void r8153_init(struct r8152 *tp) in r8153_init()
5494 static void r8153b_init(struct r8152 *tp) in r8153b_init()
5582 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_pre_reset() local
5609 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_post_reset() local
5647 static bool delay_autosuspend(struct r8152 *tp) in delay_autosuspend()
5670 static int rtl8152_runtime_resume(struct r8152 *tp) in rtl8152_runtime_resume()
5709 static int rtl8152_system_resume(struct r8152 *tp) in rtl8152_system_resume()
5725 static int rtl8152_runtime_suspend(struct r8152 *tp) in rtl8152_runtime_suspend()
5780 static int rtl8152_system_suspend(struct r8152 *tp) in rtl8152_system_suspend()
5804 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_suspend() local
5821 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_resume() local
5838 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_reset_resume() local
5849 struct r8152 *tp = netdev_priv(dev); in rtl8152_get_wol() local
5869 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_wol() local
5897 struct r8152 *tp = netdev_priv(dev); in rtl8152_get_msglevel() local
5904 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_msglevel() local
5912 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_drvinfo() local
5926 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_link_ksettings() local
5951 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_link_ksettings() local
6031 struct r8152 *tp = netdev_priv(dev); in rtl8152_get_ethtool_stats() local
6065 static int r8152_get_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8152_get_eee()
6088 static int r8152_set_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8152_set_eee()
6100 static int r8153_get_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8153_get_eee()
6126 struct r8152 *tp = netdev_priv(net); in rtl_ethtool_get_eee() local
6148 struct r8152 *tp = netdev_priv(net); in rtl_ethtool_set_eee() local
6171 struct r8152 *tp = netdev_priv(dev); in rtl8152_nway_reset() local
6193 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_coalesce() local
6212 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_coalesce() local
6259 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_tunable() local
6276 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_tunable() local
6310 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_ringparam() local
6319 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_ringparam() local
6365 struct r8152 *tp = netdev_priv(netdev); in rtl8152_ioctl() local
6409 struct r8152 *tp = netdev_priv(dev); in rtl8152_change_mtu() local
6460 static void rtl8152_unload(struct r8152 *tp) in rtl8152_unload()
6469 static void rtl8153_unload(struct r8152 *tp) in rtl8153_unload()
6477 static void rtl8153b_unload(struct r8152 *tp) in rtl8153b_unload()
6485 static int rtl_ops_init(struct r8152 *tp) in rtl_ops_init()
6570 static int rtl_fw_init(struct r8152 *tp) in rtl_fw_init()
6665 struct r8152 *tp; in rtl8152_probe() local
6832 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_disconnect() local