r8152             712 drivers/net/usb/r8152.c struct r8152;
r8152             717 drivers/net/usb/r8152.c 	struct r8152 *context;
r8152             725 drivers/net/usb/r8152.c 	struct r8152 *context;
r8152             753 drivers/net/usb/r8152.c 		void (*init)(struct r8152 *);
r8152             754 drivers/net/usb/r8152.c 		int (*enable)(struct r8152 *);
r8152             755 drivers/net/usb/r8152.c 		void (*disable)(struct r8152 *);
r8152             756 drivers/net/usb/r8152.c 		void (*up)(struct r8152 *);
r8152             757 drivers/net/usb/r8152.c 		void (*down)(struct r8152 *);
r8152             758 drivers/net/usb/r8152.c 		void (*unload)(struct r8152 *);
r8152             759 drivers/net/usb/r8152.c 		int (*eee_get)(struct r8152 *, struct ethtool_eee *);
r8152             760 drivers/net/usb/r8152.c 		int (*eee_set)(struct r8152 *, struct ethtool_eee *);
r8152             761 drivers/net/usb/r8152.c 		bool (*in_nway)(struct r8152 *);
r8152             762 drivers/net/usb/r8152.c 		void (*hw_phy_cfg)(struct r8152 *);
r8152             763 drivers/net/usb/r8152.c 		void (*autosuspend_en)(struct r8152 *tp, bool enable);
r8152             842 drivers/net/usb/r8152.c int get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data)
r8152             865 drivers/net/usb/r8152.c int set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data)
r8152             883 drivers/net/usb/r8152.c static void rtl_set_unplug(struct r8152 *tp)
r8152             891 drivers/net/usb/r8152.c static int generic_ocp_read(struct r8152 *tp, u16 index, u16 size,
r8152             934 drivers/net/usb/r8152.c static int generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen,
r8152            1005 drivers/net/usb/r8152.c int pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data)
r8152            1011 drivers/net/usb/r8152.c int pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data)
r8152            1017 drivers/net/usb/r8152.c int usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data)
r8152            1022 drivers/net/usb/r8152.c static u32 ocp_read_dword(struct r8152 *tp, u16 type, u16 index)
r8152            1031 drivers/net/usb/r8152.c static void ocp_write_dword(struct r8152 *tp, u16 type, u16 index, u32 data)
r8152            1038 drivers/net/usb/r8152.c static u16 ocp_read_word(struct r8152 *tp, u16 type, u16 index)
r8152            1057 drivers/net/usb/r8152.c static void ocp_write_word(struct r8152 *tp, u16 type, u16 index, u32 data)
r8152            1078 drivers/net/usb/r8152.c static u8 ocp_read_byte(struct r8152 *tp, u16 type, u16 index)
r8152            1095 drivers/net/usb/r8152.c static void ocp_write_byte(struct r8152 *tp, u16 type, u16 index, u32 data)
r8152            1116 drivers/net/usb/r8152.c static u16 ocp_reg_read(struct r8152 *tp, u16 addr)
r8152            1130 drivers/net/usb/r8152.c static void ocp_reg_write(struct r8152 *tp, u16 addr, u16 data)
r8152            1144 drivers/net/usb/r8152.c static inline void r8152_mdio_write(struct r8152 *tp, u32 reg_addr, u32 value)
r8152            1149 drivers/net/usb/r8152.c static inline int r8152_mdio_read(struct r8152 *tp, u32 reg_addr)
r8152            1154 drivers/net/usb/r8152.c static void sram_write(struct r8152 *tp, u16 addr, u16 data)
r8152            1160 drivers/net/usb/r8152.c static u16 sram_read(struct r8152 *tp, u16 addr)
r8152            1168 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            1185 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            1197 drivers/net/usb/r8152.c r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags);
r8152            1201 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            1231 drivers/net/usb/r8152.c static int vendor_mac_passthru_addr_read(struct r8152 *tp, struct sockaddr *sa)
r8152            1294 drivers/net/usb/r8152.c static int determine_ethernet_addr(struct r8152 *tp, struct sockaddr *sa)
r8152            1327 drivers/net/usb/r8152.c static int set_ethernet_addr(struct r8152 *tp)
r8152            1350 drivers/net/usb/r8152.c 	struct r8152 *tp;
r8152            1410 drivers/net/usb/r8152.c 	struct r8152 *tp;
r8152            1454 drivers/net/usb/r8152.c 	struct r8152 *tp;
r8152            1525 drivers/net/usb/r8152.c static void free_rx_agg(struct r8152 *tp, struct rx_agg *agg)
r8152            1536 drivers/net/usb/r8152.c static struct rx_agg *alloc_rx_agg(struct r8152 *tp, gfp_t mflags)
r8152            1577 drivers/net/usb/r8152.c static void free_all_mem(struct r8152 *tp)
r8152            1608 drivers/net/usb/r8152.c static int alloc_all_mem(struct r8152 *tp)
r8152            1683 drivers/net/usb/r8152.c static struct tx_agg *r8152_get_tx_agg(struct r8152 *tp)
r8152            1708 drivers/net/usb/r8152.c static void r8152_csum_workaround(struct r8152 *tp, struct sk_buff *skb,
r8152            1789 drivers/net/usb/r8152.c static int r8152_tx_csum(struct r8152 *tp, struct tx_desc *desc,
r8152            1873 drivers/net/usb/r8152.c static int r8152_tx_agg_fill(struct r8152 *tp, struct tx_agg *agg)
r8152            1972 drivers/net/usb/r8152.c static u8 r8152_rx_csum(struct r8152 *tp, struct rx_desc *rx_desc)
r8152            2001 drivers/net/usb/r8152.c static inline bool rx_count_exceed(struct r8152 *tp)
r8152            2011 drivers/net/usb/r8152.c static struct rx_agg *rtl_get_free_rx(struct r8152 *tp, gfp_t mflags)
r8152            2041 drivers/net/usb/r8152.c static int rx_bottom(struct r8152 *tp, int budget)
r8152            2190 drivers/net/usb/r8152.c static void tx_bottom(struct r8152 *tp)
r8152            2229 drivers/net/usb/r8152.c 	struct r8152 *tp;
r8152            2231 drivers/net/usb/r8152.c 	tp = (struct r8152 *)data;
r8152            2251 drivers/net/usb/r8152.c 	struct r8152 *tp = container_of(napi, struct r8152, napi);
r8152            2268 drivers/net/usb/r8152.c int r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags)
r8152            2303 drivers/net/usb/r8152.c static void rtl_drop_queued_tx(struct r8152 *tp)
r8152            2325 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            2334 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            2344 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            2406 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            2427 drivers/net/usb/r8152.c static void r8152b_reset_packet_filter(struct r8152 *tp)
r8152            2438 drivers/net/usb/r8152.c static void rtl8152_nic_reset(struct r8152 *tp)
r8152            2451 drivers/net/usb/r8152.c static void set_tx_qlen(struct r8152 *tp)
r8152            2459 drivers/net/usb/r8152.c static inline u8 rtl8152_get_speed(struct r8152 *tp)
r8152            2464 drivers/net/usb/r8152.c static void rtl_set_eee_plus(struct r8152 *tp)
r8152            2481 drivers/net/usb/r8152.c static void rxdy_gated_en(struct r8152 *tp, bool enable)
r8152            2493 drivers/net/usb/r8152.c static int rtl_start_rx(struct r8152 *tp)
r8152            2536 drivers/net/usb/r8152.c static int rtl_stop_rx(struct r8152 *tp)
r8152            2576 drivers/net/usb/r8152.c static inline void r8153b_rx_agg_chg_indicate(struct r8152 *tp)
r8152            2582 drivers/net/usb/r8152.c static int rtl_enable(struct r8152 *tp)
r8152            2606 drivers/net/usb/r8152.c static int rtl8152_enable(struct r8152 *tp)
r8152            2617 drivers/net/usb/r8152.c static void r8153_set_rx_early_timeout(struct r8152 *tp)
r8152            2646 drivers/net/usb/r8152.c static void r8153_set_rx_early_size(struct r8152 *tp)
r8152            2669 drivers/net/usb/r8152.c static int rtl8153_enable(struct r8152 *tp)
r8152            2682 drivers/net/usb/r8152.c static void rtl_disable(struct r8152 *tp)
r8152            2721 drivers/net/usb/r8152.c static void r8152_power_cut_en(struct r8152 *tp, bool enable)
r8152            2737 drivers/net/usb/r8152.c static void rtl_rx_vlan_en(struct r8152 *tp, bool enable)
r8152            2753 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(dev);
r8152            2779 drivers/net/usb/r8152.c static u32 __rtl_get_wol(struct r8152 *tp)
r8152            2803 drivers/net/usb/r8152.c static void __rtl_set_wol(struct r8152 *tp, u32 wolopts)
r8152            2839 drivers/net/usb/r8152.c static void r8153_mac_clk_spd(struct r8152 *tp, bool enable)
r8152            2862 drivers/net/usb/r8152.c static void r8153_u1u2en(struct r8152 *tp, bool enable)
r8152            2874 drivers/net/usb/r8152.c static void r8153b_u1u2en(struct r8152 *tp, bool enable)
r8152            2887 drivers/net/usb/r8152.c static void r8153_u2p3en(struct r8152 *tp, bool enable)
r8152            2899 drivers/net/usb/r8152.c static void r8153b_ups_flags(struct r8152 *tp)
r8152            2971 drivers/net/usb/r8152.c static void r8153b_green_en(struct r8152 *tp, bool enable)
r8152            2992 drivers/net/usb/r8152.c static u16 r8153_phy_status(struct r8152 *tp, u16 desired)
r8152            3016 drivers/net/usb/r8152.c static void r8153b_ups_en(struct r8152 *tp, bool enable)
r8152            3068 drivers/net/usb/r8152.c static void r8153_power_cut_en(struct r8152 *tp, bool enable)
r8152            3084 drivers/net/usb/r8152.c static void r8153b_power_cut_en(struct r8152 *tp, bool enable)
r8152            3100 drivers/net/usb/r8152.c static void r8153_queue_wake(struct r8152 *tp, bool enable)
r8152            3120 drivers/net/usb/r8152.c static bool rtl_can_wakeup(struct r8152 *tp)
r8152            3127 drivers/net/usb/r8152.c static void rtl_runtime_suspend_enable(struct r8152 *tp, bool enable)
r8152            3156 drivers/net/usb/r8152.c static void rtl8153_runtime_enable(struct r8152 *tp, bool enable)
r8152            3182 drivers/net/usb/r8152.c static void rtl8153b_runtime_enable(struct r8152 *tp, bool enable)
r8152            3198 drivers/net/usb/r8152.c static void r8153_teredo_off(struct r8152 *tp)
r8152            3233 drivers/net/usb/r8152.c static void rtl_reset_bmu(struct r8152 *tp)
r8152            3244 drivers/net/usb/r8152.c static void r8152_aldps_en(struct r8152 *tp, bool enable)
r8152            3256 drivers/net/usb/r8152.c static inline void r8152_mmd_indirect(struct r8152 *tp, u16 dev, u16 reg)
r8152            3263 drivers/net/usb/r8152.c static u16 r8152_mmd_read(struct r8152 *tp, u16 dev, u16 reg)
r8152            3274 drivers/net/usb/r8152.c static void r8152_mmd_write(struct r8152 *tp, u16 dev, u16 reg, u16 data)
r8152            3281 drivers/net/usb/r8152.c static void r8152_eee_en(struct r8152 *tp, bool enable)
r8152            3312 drivers/net/usb/r8152.c static void r8153_eee_en(struct r8152 *tp, bool enable)
r8152            3334 drivers/net/usb/r8152.c static void rtl_eee_enable(struct r8152 *tp, bool enable)
r8152            3368 drivers/net/usb/r8152.c static void r8152b_enable_fc(struct r8152 *tp)
r8152            3379 drivers/net/usb/r8152.c static void rtl8152_disable(struct r8152 *tp)
r8152            3386 drivers/net/usb/r8152.c static void r8152b_hw_phy_cfg(struct r8152 *tp)
r8152            3395 drivers/net/usb/r8152.c static void r8152b_exit_oob(struct r8152 *tp)
r8152            3472 drivers/net/usb/r8152.c static void r8152b_enter_oob(struct r8152 *tp)
r8152            3524 drivers/net/usb/r8152.c static int r8153_patch_request(struct r8152 *tp, bool request)
r8152            3551 drivers/net/usb/r8152.c static void r8153_aldps_en(struct r8152 *tp, bool enable)
r8152            3574 drivers/net/usb/r8152.c static void r8153_hw_phy_cfg(struct r8152 *tp)
r8152            3634 drivers/net/usb/r8152.c static u32 r8152_efuse_read(struct r8152 *tp, u8 addr)
r8152            3646 drivers/net/usb/r8152.c static void r8153b_hw_phy_cfg(struct r8152 *tp)
r8152            3725 drivers/net/usb/r8152.c static void r8153_first_init(struct r8152 *tp)
r8152            3787 drivers/net/usb/r8152.c static void r8153_enter_oob(struct r8152 *tp)
r8152            3862 drivers/net/usb/r8152.c static void rtl8153_disable(struct r8152 *tp)
r8152            3870 drivers/net/usb/r8152.c static int rtl8152_set_speed(struct r8152 *tp, u8 autoneg, u32 speed, u8 duplex,
r8152            3996 drivers/net/usb/r8152.c static void rtl8152_up(struct r8152 *tp)
r8152            4006 drivers/net/usb/r8152.c static void rtl8152_down(struct r8152 *tp)
r8152            4019 drivers/net/usb/r8152.c static void rtl8153_up(struct r8152 *tp)
r8152            4059 drivers/net/usb/r8152.c static void rtl8153_down(struct r8152 *tp)
r8152            4080 drivers/net/usb/r8152.c static void rtl8153b_up(struct r8152 *tp)
r8152            4102 drivers/net/usb/r8152.c static void rtl8153b_down(struct r8152 *tp)
r8152            4123 drivers/net/usb/r8152.c static bool rtl8152_in_nway(struct r8152 *tp)
r8152            4139 drivers/net/usb/r8152.c static bool rtl8153_in_nway(struct r8152 *tp)
r8152            4149 drivers/net/usb/r8152.c static void set_carrier(struct r8152 *tp)
r8152            4188 drivers/net/usb/r8152.c 	struct r8152 *tp = container_of(work, struct r8152, schedule.work);
r8152            4226 drivers/net/usb/r8152.c 	struct r8152 *tp = container_of(work, struct r8152, hw_phy_work.work);
r8152            4250 drivers/net/usb/r8152.c 	struct r8152 *tp = container_of(nb, struct r8152, pm_notifier);
r8152            4275 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            4325 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            4357 drivers/net/usb/r8152.c static void rtl_tally_reset(struct r8152 *tp)
r8152            4366 drivers/net/usb/r8152.c static void r8152b_init(struct r8152 *tp)
r8152            4409 drivers/net/usb/r8152.c static void r8153_init(struct r8152 *tp)
r8152            4538 drivers/net/usb/r8152.c static void r8153b_init(struct r8152 *tp)
r8152            4616 drivers/net/usb/r8152.c 	struct r8152 *tp = usb_get_intfdata(intf);
r8152            4643 drivers/net/usb/r8152.c 	struct r8152 *tp = usb_get_intfdata(intf);
r8152            4681 drivers/net/usb/r8152.c static bool delay_autosuspend(struct r8152 *tp)
r8152            4704 drivers/net/usb/r8152.c static int rtl8152_runtime_resume(struct r8152 *tp)
r8152            4743 drivers/net/usb/r8152.c static int rtl8152_system_resume(struct r8152 *tp)
r8152            4759 drivers/net/usb/r8152.c static int rtl8152_runtime_suspend(struct r8152 *tp)
r8152            4814 drivers/net/usb/r8152.c static int rtl8152_system_suspend(struct r8152 *tp)
r8152            4838 drivers/net/usb/r8152.c 	struct r8152 *tp = usb_get_intfdata(intf);
r8152            4855 drivers/net/usb/r8152.c 	struct r8152 *tp = usb_get_intfdata(intf);
r8152            4872 drivers/net/usb/r8152.c 	struct r8152 *tp = usb_get_intfdata(intf);
r8152            4883 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(dev);
r8152            4903 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(dev);
r8152            4931 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(dev);
r8152            4938 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(dev);
r8152            4946 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            4957 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            4982 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(dev);
r8152            5062 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(dev);
r8152            5096 drivers/net/usb/r8152.c static int r8152_get_eee(struct r8152 *tp, struct ethtool_eee *eee)
r8152            5119 drivers/net/usb/r8152.c static int r8152_set_eee(struct r8152 *tp, struct ethtool_eee *eee)
r8152            5131 drivers/net/usb/r8152.c static int r8153_get_eee(struct r8152 *tp, struct ethtool_eee *eee)
r8152            5157 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(net);
r8152            5179 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(net);
r8152            5202 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(dev);
r8152            5224 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            5243 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            5290 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            5307 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            5341 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            5350 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            5395 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(netdev);
r8152            5439 drivers/net/usb/r8152.c 	struct r8152 *tp = netdev_priv(dev);
r8152            5490 drivers/net/usb/r8152.c static void rtl8152_unload(struct r8152 *tp)
r8152            5499 drivers/net/usb/r8152.c static void rtl8153_unload(struct r8152 *tp)
r8152            5507 drivers/net/usb/r8152.c static void rtl8153b_unload(struct r8152 *tp)
r8152            5515 drivers/net/usb/r8152.c static int rtl_ops_init(struct r8152 *tp)
r8152            5651 drivers/net/usb/r8152.c 	struct r8152 *tp;
r8152            5667 drivers/net/usb/r8152.c 	netdev = alloc_etherdev(sizeof(struct r8152));
r8152            5803 drivers/net/usb/r8152.c 	struct r8152 *tp = usb_get_intfdata(intf);