• Home
  • Raw
  • Download

Lines Matching defs:tp

1215 static void rtl_set_inaccessible(struct r8152 *tp)  in rtl_set_inaccessible()
1221 static void rtl_set_accessible(struct r8152 *tp) in rtl_set_accessible()
1228 int r8152_control_msg(struct r8152 *tp, unsigned int pipe, __u8 request, in r8152_control_msg()
1300 int get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) in get_registers()
1324 int set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) in set_registers()
1342 static void rtl_set_unplug(struct r8152 *tp) in rtl_set_unplug()
1348 static int generic_ocp_read(struct r8152 *tp, u16 index, u16 size, in generic_ocp_read()
1391 static int generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, in generic_ocp_write()
1469 int pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) in pla_ocp_read()
1475 int pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) in pla_ocp_write()
1481 int usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) in usb_ocp_write()
1486 static u32 ocp_read_dword(struct r8152 *tp, u16 type, u16 index) in ocp_read_dword()
1495 static void ocp_write_dword(struct r8152 *tp, u16 type, u16 index, u32 data) in ocp_write_dword()
1502 static u16 ocp_read_word(struct r8152 *tp, u16 type, u16 index) in ocp_read_word()
1521 static void ocp_write_word(struct r8152 *tp, u16 type, u16 index, u32 data) in ocp_write_word()
1542 static u8 ocp_read_byte(struct r8152 *tp, u16 type, u16 index) in ocp_read_byte()
1559 static void ocp_write_byte(struct r8152 *tp, u16 type, u16 index, u32 data) in ocp_write_byte()
1580 static u16 ocp_reg_read(struct r8152 *tp, u16 addr) in ocp_reg_read()
1594 static void ocp_reg_write(struct r8152 *tp, u16 addr, u16 data) in ocp_reg_write()
1608 static inline void r8152_mdio_write(struct r8152 *tp, u32 reg_addr, u32 value) in r8152_mdio_write()
1613 static inline int r8152_mdio_read(struct r8152 *tp, u32 reg_addr) in r8152_mdio_read()
1618 static void sram_write(struct r8152 *tp, u16 addr, u16 data) in sram_write()
1624 static u16 sram_read(struct r8152 *tp, u16 addr) in sram_read()
1632 struct r8152 *tp = netdev_priv(netdev); in read_mii_word() local
1649 struct r8152 *tp = netdev_priv(netdev); in write_mii_word() local
1670 struct r8152 *tp = netdev_priv(netdev); in __rtl8152_set_mac_address() local
1708 static int vendor_mac_passthru_addr_read(struct r8152 *tp, struct sockaddr *sa) in vendor_mac_passthru_addr_read()
1785 static int determine_ethernet_addr(struct r8152 *tp, struct sockaddr *sa) in determine_ethernet_addr()
1822 static int set_ethernet_addr(struct r8152 *tp, bool in_resume) in set_ethernet_addr()
1845 struct r8152 *tp; in read_bulk_callback() local
1913 struct r8152 *tp; in write_bulk_callback() local
1957 struct r8152 *tp; in intr_callback() local
2030 static void free_rx_agg(struct r8152 *tp, struct rx_agg *agg) in free_rx_agg()
2041 static struct rx_agg *alloc_rx_agg(struct r8152 *tp, gfp_t mflags) in alloc_rx_agg()
2082 static void free_all_mem(struct r8152 *tp) in free_all_mem()
2113 static int alloc_all_mem(struct r8152 *tp) in alloc_all_mem()
2188 static struct tx_agg *r8152_get_tx_agg(struct r8152 *tp) in r8152_get_tx_agg()
2213 static void r8152_csum_workaround(struct r8152 *tp, struct sk_buff *skb, in r8152_csum_workaround()
2269 static int r8152_tx_csum(struct r8152 *tp, struct tx_desc *desc, in r8152_tx_csum()
2357 static int r8152_tx_agg_fill(struct r8152 *tp, struct tx_agg *agg) in r8152_tx_agg_fill()
2453 static u8 r8152_rx_csum(struct r8152 *tp, struct rx_desc *rx_desc) in r8152_rx_csum()
2482 static inline bool rx_count_exceed(struct r8152 *tp) in rx_count_exceed()
2492 static struct rx_agg *rtl_get_free_rx(struct r8152 *tp, gfp_t mflags) in rtl_get_free_rx()
2522 static int rx_bottom(struct r8152 *tp, int budget) in rx_bottom()
2680 static void tx_bottom(struct r8152 *tp) in tx_bottom()
2719 struct r8152 *tp = from_tasklet(tp, t, tx_tl); in bottom_half() local
2739 struct r8152 *tp = container_of(napi, struct r8152, napi); in r8152_poll() local
2759 int r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags) in r8152_submit_rx()
2794 static void rtl_drop_queued_tx(struct r8152 *tp) in rtl_drop_queued_tx()
2816 struct r8152 *tp = netdev_priv(netdev); in rtl8152_tx_timeout() local
2825 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_rx_mode() local
2835 struct r8152 *tp = netdev_priv(netdev); in _rtl8152_set_rx_mode() local
2901 struct r8152 *tp = netdev_priv(netdev); in rtl8152_start_xmit() local
2922 static void r8152b_reset_packet_filter(struct r8152 *tp) in r8152b_reset_packet_filter()
2933 static void rtl8152_nic_reset(struct r8152 *tp) in rtl8152_nic_reset()
2981 static void set_tx_qlen(struct r8152 *tp) in set_tx_qlen()
2986 static inline u16 rtl8152_get_speed(struct r8152 *tp) in rtl8152_get_speed()
2991 static void rtl_eee_plus_en(struct r8152 *tp, bool enable) in rtl_eee_plus_en()
3003 static void rtl_set_eee_plus(struct r8152 *tp) in rtl_set_eee_plus()
3011 static void rxdy_gated_en(struct r8152 *tp, bool enable) in rxdy_gated_en()
3023 static int rtl_start_rx(struct r8152 *tp) in rtl_start_rx()
3066 static int rtl_stop_rx(struct r8152 *tp) in rtl_stop_rx()
3106 static void rtl_set_ifg(struct r8152 *tp, u16 speed) in rtl_set_ifg()
3129 static inline void r8153b_rx_agg_chg_indicate(struct r8152 *tp) in r8153b_rx_agg_chg_indicate()
3135 static int rtl_enable(struct r8152 *tp) in rtl_enable()
3164 static int rtl8152_enable(struct r8152 *tp) in rtl8152_enable()
3175 static void r8153_set_rx_early_timeout(struct r8152 *tp) in r8153_set_rx_early_timeout()
3216 static void r8153_set_rx_early_size(struct r8152 *tp) in r8153_set_rx_early_size()
3249 static int rtl8153_enable(struct r8152 *tp) in rtl8153_enable()
3280 static void rtl_disable(struct r8152 *tp) in rtl_disable()
3323 static void r8152_power_cut_en(struct r8152 *tp, bool enable) in r8152_power_cut_en()
3339 static void rtl_rx_vlan_en(struct r8152 *tp, bool enable) in rtl_rx_vlan_en()
3383 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_features() local
3409 static u32 __rtl_get_wol(struct r8152 *tp) in __rtl_get_wol()
3433 static void __rtl_set_wol(struct r8152 *tp, u32 wolopts) in __rtl_set_wol()
3469 static void r8153_mac_clk_speed_down(struct r8152 *tp, bool enable) in r8153_mac_clk_speed_down()
3482 static void r8156_mac_clk_spd(struct r8152 *tp, bool enable) in r8156_mac_clk_spd()
3503 static void r8153_u1u2en(struct r8152 *tp, bool enable) in r8153_u1u2en()
3515 static void r8153b_u1u2en(struct r8152 *tp, bool enable) in r8153b_u1u2en()
3528 static void r8153_u2p3en(struct r8152 *tp, bool enable) in r8153_u2p3en()
3540 static void r8153b_ups_flags(struct r8152 *tp) in r8153b_ups_flags()
3615 static void r8156_ups_flags(struct r8152 *tp) in r8156_ups_flags()
3697 static void rtl_green_en(struct r8152 *tp, bool enable) in rtl_green_en()
3711 static void r8153b_green_en(struct r8152 *tp, bool enable) in r8153b_green_en()
3726 static u16 r8153_phy_status(struct r8152 *tp, u16 desired) in r8153_phy_status()
3750 static void r8153b_ups_en(struct r8152 *tp, bool enable) in r8153b_ups_en()
3791 static void r8153c_ups_en(struct r8152 *tp, bool enable) in r8153c_ups_en()
3841 static void r8156_ups_en(struct r8152 *tp, bool enable) in r8156_ups_en()
3882 static void r8153_power_cut_en(struct r8152 *tp, bool enable) in r8153_power_cut_en()
3898 static void r8153b_power_cut_en(struct r8152 *tp, bool enable) in r8153b_power_cut_en()
3914 static void r8153_queue_wake(struct r8152 *tp, bool enable) in r8153_queue_wake()
3934 static bool rtl_can_wakeup(struct r8152 *tp) in rtl_can_wakeup()
3941 static void rtl_runtime_suspend_enable(struct r8152 *tp, bool enable) in rtl_runtime_suspend_enable()
3970 static void rtl8153_runtime_enable(struct r8152 *tp, bool enable) in rtl8153_runtime_enable()
3994 static void rtl8153b_runtime_enable(struct r8152 *tp, bool enable) in rtl8153b_runtime_enable()
4011 static void rtl8153c_runtime_enable(struct r8152 *tp, bool enable) in rtl8153c_runtime_enable()
4027 static void rtl8156_runtime_enable(struct r8152 *tp, bool enable) in rtl8156_runtime_enable()
4043 static void r8153_teredo_off(struct r8152 *tp) in r8153_teredo_off()
4083 static void rtl_reset_bmu(struct r8152 *tp) in rtl_reset_bmu()
4095 static void rtl_clear_bp(struct r8152 *tp, u16 type) in rtl_clear_bp()
4139 static inline void rtl_reset_ocp_base(struct r8152 *tp) in rtl_reset_ocp_base()
4144 static int rtl_phy_patch_request(struct r8152 *tp, bool request, bool wait) in rtl_phy_patch_request()
4181 static void rtl_patch_key_set(struct r8152 *tp, u16 key_addr, u16 patch_key) in rtl_patch_key_set()
4202 rtl_pre_ram_code(struct r8152 *tp, u16 key_addr, u16 patch_key, bool wait) in rtl_pre_ram_code()
4212 static int rtl_post_ram_code(struct r8152 *tp, u16 key_addr, bool wait) in rtl_post_ram_code()
4221 static bool rtl8152_is_fw_phy_speed_up_ok(struct r8152 *tp, struct fw_phy_speed_up *phy) in rtl8152_is_fw_phy_speed_up_ok()
4271 static bool rtl8152_is_fw_phy_ver_ok(struct r8152 *tp, struct fw_phy_ver *ver) in rtl8152_is_fw_phy_ver_ok()
4301 static bool rtl8152_is_fw_phy_fixup_ok(struct r8152 *tp, struct fw_phy_fixup *fix) in rtl8152_is_fw_phy_fixup_ok()
4332 static bool rtl8152_is_fw_phy_union_ok(struct r8152 *tp, struct fw_phy_union *phy) in rtl8152_is_fw_phy_union_ok()
4377 static bool rtl8152_is_fw_phy_nc_ok(struct r8152 *tp, struct fw_phy_nc *phy) in rtl8152_is_fw_phy_nc_ok()
4453 static bool rtl8152_is_fw_mac_ok(struct r8152 *tp, struct fw_mac *mac) in rtl8152_is_fw_mac_ok()
4593 static long rtl8152_fw_verify_checksum(struct r8152 *tp, in rtl8152_fw_verify_checksum()
4640 static long rtl8152_check_firmware(struct r8152 *tp, struct rtl_fw *rtl_fw) in rtl8152_check_firmware()
4924 static void rtl_ram_code_speed_up(struct r8152 *tp, struct fw_phy_speed_up *phy, bool wait) in rtl_ram_code_speed_up()
4986 static int rtl8152_fw_phy_ver(struct r8152 *tp, struct fw_phy_ver *phy_ver) in rtl8152_fw_phy_ver()
5007 static void rtl8152_fw_phy_fixup(struct r8152 *tp, struct fw_phy_fixup *fix) in rtl8152_fw_phy_fixup()
5038 static void rtl8152_fw_phy_union_apply(struct r8152 *tp, struct fw_phy_union *phy) in rtl8152_fw_phy_union_apply()
5070 static void rtl8152_fw_phy_nc_apply(struct r8152 *tp, struct fw_phy_nc *phy) in rtl8152_fw_phy_nc_apply()
5107 static void rtl8152_fw_mac_apply(struct r8152 *tp, struct fw_mac *mac) in rtl8152_fw_mac_apply()
5177 static void rtl8152_apply_firmware(struct r8152 *tp, bool power_cut) in rtl8152_apply_firmware()
5256 static void rtl8152_release_firmware(struct r8152 *tp) in rtl8152_release_firmware()
5266 static int rtl8152_request_firmware(struct r8152 *tp) in rtl8152_request_firmware()
5297 static void r8152_aldps_en(struct r8152 *tp, bool enable) in r8152_aldps_en()
5309 static inline void r8152_mmd_indirect(struct r8152 *tp, u16 dev, u16 reg) in r8152_mmd_indirect()
5316 static u16 r8152_mmd_read(struct r8152 *tp, u16 dev, u16 reg) in r8152_mmd_read()
5327 static void r8152_mmd_write(struct r8152 *tp, u16 dev, u16 reg, u16 data) in r8152_mmd_write()
5334 static void r8152_eee_en(struct r8152 *tp, bool enable) in r8152_eee_en()
5365 static void r8153_eee_en(struct r8152 *tp, bool enable) in r8153_eee_en()
5387 static void r8156_eee_en(struct r8152 *tp, bool enable) in r8156_eee_en()
5403 static void rtl_eee_enable(struct r8152 *tp, bool enable) in rtl_eee_enable()
5451 static void r8152b_enable_fc(struct r8152 *tp) in r8152b_enable_fc()
5462 static void rtl8152_disable(struct r8152 *tp) in rtl8152_disable()
5469 static void r8152b_hw_phy_cfg(struct r8152 *tp) in r8152b_hw_phy_cfg()
5479 static void wait_oob_link_list_ready(struct r8152 *tp) in wait_oob_link_list_ready()
5494 static void r8156b_wait_loading_flash(struct r8152 *tp) in r8156b_wait_loading_flash()
5510 static void r8152b_exit_oob(struct r8152 *tp) in r8152b_exit_oob()
5576 static void r8152b_enter_oob(struct r8152 *tp) in r8152b_enter_oob()
5617 static int r8153_pre_firmware_1(struct r8152 *tp) in r8153_pre_firmware_1()
5635 static int r8153_post_firmware_1(struct r8152 *tp) in r8153_post_firmware_1()
5647 static int r8153_pre_firmware_2(struct r8152 *tp) in r8153_pre_firmware_2()
5660 static int r8153_post_firmware_2(struct r8152 *tp) in r8153_post_firmware_2()
5688 static int r8153_post_firmware_3(struct r8152 *tp) in r8153_post_firmware_3()
5703 static int r8153b_pre_firmware_1(struct r8152 *tp) in r8153b_pre_firmware_1()
5712 static int r8153b_post_firmware_1(struct r8152 *tp) in r8153b_post_firmware_1()
5739 static int r8153c_post_firmware_1(struct r8152 *tp) in r8153c_post_firmware_1()
5754 static int r8156a_post_firmware_1(struct r8152 *tp) in r8156a_post_firmware_1()
5769 static void r8153_aldps_en(struct r8152 *tp, bool enable) in r8153_aldps_en()
5794 static void r8153_hw_phy_cfg(struct r8152 *tp) in r8153_hw_phy_cfg()
5856 static u32 r8152_efuse_read(struct r8152 *tp, u8 addr) in r8152_efuse_read()
5868 static void r8153b_hw_phy_cfg(struct r8152 *tp) in r8153b_hw_phy_cfg()
5973 static void r8153c_hw_phy_cfg(struct r8152 *tp) in r8153c_hw_phy_cfg()
5980 static void rtl8153_change_mtu(struct r8152 *tp) in rtl8153_change_mtu()
5986 static void r8153_first_init(struct r8152 *tp) in r8153_first_init()
6034 static void r8153_enter_oob(struct r8152 *tp) in r8153_enter_oob()
6106 static void rtl8153_disable(struct r8152 *tp) in rtl8153_disable()
6114 static u32 fc_pause_on_auto(struct r8152 *tp) in fc_pause_on_auto()
6119 static u32 fc_pause_off_auto(struct r8152 *tp) in fc_pause_off_auto()
6124 static void r8156_fc_parameter(struct r8152 *tp) in r8156_fc_parameter()
6133 static int rtl8156_enable(struct r8152 *tp) in rtl8156_enable()
6183 static void rtl8156_disable(struct r8152 *tp) in rtl8156_disable()
6191 static int rtl8156b_enable(struct r8152 *tp) in rtl8156b_enable()
6239 static int rtl8152_set_speed(struct r8152 *tp, u8 autoneg, u32 speed, u8 duplex, in rtl8152_set_speed()
6380 static void rtl8152_up(struct r8152 *tp) in rtl8152_up()
6390 static void rtl8152_down(struct r8152 *tp) in rtl8152_down()
6403 static void rtl8153_up(struct r8152 *tp) in rtl8153_up()
6443 static void rtl8153_down(struct r8152 *tp) in rtl8153_down()
6464 static void rtl8153b_up(struct r8152 *tp) in rtl8153b_up()
6488 static void rtl8153b_down(struct r8152 *tp) in rtl8153b_down()
6509 static void rtl8153c_change_mtu(struct r8152 *tp) in rtl8153c_change_mtu()
6525 static void rtl8153c_up(struct r8152 *tp) in rtl8153c_up()
6592 static void rtl8156_change_mtu(struct r8152 *tp) in rtl8156_change_mtu()
6606 static void rtl8156_up(struct r8152 *tp) in rtl8156_up()
6679 static void rtl8156_down(struct r8152 *tp) in rtl8156_down()
6736 static bool rtl8152_in_nway(struct r8152 *tp) in rtl8152_in_nway()
6752 static bool rtl8153_in_nway(struct r8152 *tp) in rtl8153_in_nway()
6762 static void r8156_mdio_force_mode(struct r8152 *tp) in r8156_mdio_force_mode()
6777 static void set_carrier(struct r8152 *tp) in set_carrier()
6816 struct r8152 *tp = container_of(work, struct r8152, schedule.work); in rtl_work_func_t() local
6858 struct r8152 *tp = container_of(work, struct r8152, hw_phy_work.work); in rtl_hw_phy_work_func_t() local
6893 struct r8152 *tp = container_of(nb, struct r8152, pm_notifier); in rtl_notifier() local
6918 struct r8152 *tp = netdev_priv(netdev); in rtl8152_open() local
6973 struct r8152 *tp = netdev_priv(netdev); in rtl8152_close() local
7006 static void rtl_tally_reset(struct r8152 *tp) in rtl_tally_reset()
7015 static void r8152b_init(struct r8152 *tp) in r8152b_init()
7058 static void r8153_init(struct r8152 *tp) in r8153_init()
7198 static void r8153b_init(struct r8152 *tp) in r8153b_init()
7280 static void r8153c_init(struct r8152 *tp) in r8153c_init()
7362 static void r8156_hw_phy_cfg(struct r8152 *tp) in r8156_hw_phy_cfg()
7712 static void r8156b_hw_phy_cfg(struct r8152 *tp) in r8156b_hw_phy_cfg()
8129 static void r8156_init(struct r8152 *tp) in r8156_init()
8225 static void r8156b_init(struct r8152 *tp) in r8156b_init()
8388 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_pre_reset() local
8419 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_post_reset() local
8458 static bool delay_autosuspend(struct r8152 *tp) in delay_autosuspend()
8481 static int rtl8152_runtime_resume(struct r8152 *tp) in rtl8152_runtime_resume()
8520 static int rtl8152_system_resume(struct r8152 *tp) in rtl8152_system_resume()
8536 static int rtl8152_runtime_suspend(struct r8152 *tp) in rtl8152_runtime_suspend()
8594 static int rtl8152_system_suspend(struct r8152 *tp) in rtl8152_system_suspend()
8618 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_suspend() local
8635 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_resume() local
8654 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_reset_resume() local
8666 struct r8152 *tp = netdev_priv(dev); in rtl8152_get_wol() local
8686 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_wol() local
8714 struct r8152 *tp = netdev_priv(dev); in rtl8152_get_msglevel() local
8721 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_msglevel() local
8729 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_drvinfo() local
8743 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_link_ksettings() local
8784 struct r8152 *tp = netdev_priv(dev); in rtl8152_set_link_ksettings() local
8868 struct r8152 *tp = netdev_priv(dev); in rtl8152_get_ethtool_stats() local
8902 static int r8152_get_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8152_get_eee()
8925 static int r8152_set_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8152_set_eee()
8937 static int r8153_get_eee(struct r8152 *tp, struct ethtool_eee *eee) in r8153_get_eee()
8963 struct r8152 *tp = netdev_priv(net); in rtl_ethtool_get_eee() local
8990 struct r8152 *tp = netdev_priv(net); in rtl_ethtool_set_eee() local
9018 struct r8152 *tp = netdev_priv(dev); in rtl8152_nway_reset() local
9042 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_coalesce() local
9063 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_coalesce() local
9110 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_tunable() local
9127 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_tunable() local
9163 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_ringparam() local
9174 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_ringparam() local
9196 struct r8152 *tp = netdev_priv(netdev); in rtl8152_get_pauseparam() local
9233 struct r8152 *tp = netdev_priv(netdev); in rtl8152_set_pauseparam() local
9295 struct r8152 *tp = netdev_priv(netdev); in rtl8152_ioctl() local
9339 struct r8152 *tp = netdev_priv(dev); in rtl8152_change_mtu() local
9399 static void rtl8152_unload(struct r8152 *tp) in rtl8152_unload()
9408 static void rtl8153_unload(struct r8152 *tp) in rtl8153_unload()
9416 static void rtl8153b_unload(struct r8152 *tp) in rtl8153b_unload()
9424 static int rtl_ops_init(struct r8152 *tp) in rtl_ops_init()
9578 static int rtl_fw_init(struct r8152 *tp) in rtl_fw_init()
9754 struct r8152 *tp; in rtl8152_probe_once() local
9984 struct r8152 *tp = usb_get_intfdata(intf); in rtl8152_disconnect() local