rtlusb            811 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	struct rtl_usb *rtlusb = rtl_usbdev(usb_priv);
rtlusb            815 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	u8 out_ep_nums = rtlusb->out_ep_nums;
rtlusb            816 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	u8 queue_sel = rtlusb->out_queue_sel;
rtlusb            888 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb            900 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	rtlusb->reg_bcn_ctrl_val = 0x18;
rtlusb            901 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlusb->reg_bcn_ctrl_val);
rtlusb           1198 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb           1200 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	rtlusb->reg_bcn_ctrl_val |= set_bits;
rtlusb           1201 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	rtlusb->reg_bcn_ctrl_val &= ~clear_bits;
rtlusb           1202 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlusb->reg_bcn_ctrl_val);
rtlusb           1329 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb           1338 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	if (rtlusb->disablehwsm)
rtlusb            335 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb            343 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 		rtl_write_dword(rtlpriv, REG_HIMR, rtlusb->irq_mask[0] &
rtlusb            345 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 		rtl_write_dword(rtlpriv, REG_HIMRE, rtlusb->irq_mask[1] &
rtlusb             24 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 	struct rtl_usb *rtlusb = rtl_usbdev(usb_priv);
rtlusb             26 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 	rtlusb->out_queue_sel = 0;
rtlusb             32 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 		rtlusb->out_queue_sel  = TX_SELE_HQ | TX_SELE_LQ;
rtlusb             39 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 			rtlusb->out_queue_sel =  TX_SELE_HQ;
rtlusb             41 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 			rtlusb->out_queue_sel =  TX_SELE_LQ;
rtlusb             47 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 	return (rtlusb->out_ep_nums == ep_nums) ? 0 : -EINVAL;
rtlusb             57 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 	struct rtl_usb *rtlusb = rtl_usbdev(usb_priv);
rtlusb             59 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 	rtlusb->out_queue_sel = 0;
rtlusb             63 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 		rtlusb->out_queue_sel |= TX_SELE_HQ;
rtlusb             67 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 		rtlusb->out_queue_sel |= TX_SELE_NQ;
rtlusb             73 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 		rtlusb->out_queue_sel |= TX_SELE_LQ;
rtlusb             76 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 	return (rtlusb->out_ep_nums == ep_nums) ? 0 : -EINVAL;
rtlusb            152 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 	struct rtl_usb *rtlusb = rtl_usbdev(usb_priv);
rtlusb            153 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 	struct rtl_ep_map *ep_map = &(rtlusb->ep_map);
rtlusb            156 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 	switch (rtlusb->out_ep_nums) {
rtlusb            256 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb            258 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->max_bulk_out_size = IS_HIGH_SPEED_USB(rtlusb->udev)
rtlusb            263 drivers/net/wireless/realtek/rtlwifi/usb.c 		 rtlusb->max_bulk_out_size);
rtlusb            266 drivers/net/wireless/realtek/rtlwifi/usb.c 		u32 ep_num = rtlusb->ep_map.ep_mapping[i];
rtlusb            275 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->usb_tx_post_hdl =
rtlusb            277 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->usb_tx_cleanup	=
rtlusb            279 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->usb_tx_aggregate_hdl =
rtlusb            284 drivers/net/wireless/realtek/rtlwifi/usb.c 	init_usb_anchor(&rtlusb->tx_submitted);
rtlusb            286 drivers/net/wireless/realtek/rtlwifi/usb.c 		skb_queue_head_init(&rtlusb->tx_skb_queue[i]);
rtlusb            287 drivers/net/wireless/realtek/rtlwifi/usb.c 		init_usb_anchor(&rtlusb->tx_pending[i]);
rtlusb            298 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = rtl_usbdev(usb_priv);
rtlusb            300 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->rx_max_size = rtlpriv->cfg->usb_interface_cfg->rx_max_size;
rtlusb            301 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->rx_urb_num = rtlpriv->cfg->usb_interface_cfg->rx_urb_num;
rtlusb            302 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->in_ep = rtlpriv->cfg->usb_interface_cfg->in_ep_num;
rtlusb            303 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->usb_rx_hdl = rtlpriv->cfg->usb_interface_cfg->usb_rx_hdl;
rtlusb            304 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->usb_rx_segregate_hdl =
rtlusb            308 drivers/net/wireless/realtek/rtlwifi/usb.c 		rtlusb->rx_max_size, rtlusb->rx_urb_num, rtlusb->in_ep);
rtlusb            309 drivers/net/wireless/realtek/rtlwifi/usb.c 	init_usb_anchor(&rtlusb->rx_submitted);
rtlusb            310 drivers/net/wireless/realtek/rtlwifi/usb.c 	init_usb_anchor(&rtlusb->rx_cleanup_urbs);
rtlusb            312 drivers/net/wireless/realtek/rtlwifi/usb.c 	skb_queue_head_init(&rtlusb->rx_queue);
rtlusb            313 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->rx_work_tasklet.func = _rtl_rx_work;
rtlusb            314 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->rx_work_tasklet.data = (unsigned long)rtlusb;
rtlusb            323 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = rtl_usbdev(usb_priv);
rtlusb            326 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct usb_interface	*usb_intf = rtlusb->intf;
rtlusb            329 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->out_ep_nums = rtlusb->in_ep_nums = 0;
rtlusb            336 drivers/net/wireless/realtek/rtlwifi/usb.c 			rtlusb->in_ep_nums++;
rtlusb            338 drivers/net/wireless/realtek/rtlwifi/usb.c 			rtlusb->out_ep_nums++;
rtlusb            345 drivers/net/wireless/realtek/rtlwifi/usb.c 	if (rtlusb->in_ep_nums <  rtlpriv->cfg->usb_interface_cfg->in_ep_num) {
rtlusb            349 drivers/net/wireless/realtek/rtlwifi/usb.c 	if (rtlusb->out_ep_nums == 0) {
rtlusb            355 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->usb_mq_to_hwq =  rtlpriv->cfg->usb_interface_cfg->usb_mq_to_hwq;
rtlusb            366 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb            388 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->acm_method = EACMWAY2_SW;
rtlusb            392 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->irq_mask[0] = 0xFFFFFFFF;
rtlusb            394 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->irq_mask[1] = 0xFFFFFFFF;
rtlusb            395 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->disablehwsm =  true;
rtlusb            400 drivers/net/wireless/realtek/rtlwifi/usb.c static int _rtl_prep_rx_urb(struct ieee80211_hw *hw, struct rtl_usb *rtlusb,
rtlusb            405 drivers/net/wireless/realtek/rtlwifi/usb.c 	buf = usb_alloc_coherent(rtlusb->udev, rtlusb->rx_max_size, gfp_mask,
rtlusb            412 drivers/net/wireless/realtek/rtlwifi/usb.c 	usb_fill_bulk_urb(urb, rtlusb->udev,
rtlusb            413 drivers/net/wireless/realtek/rtlwifi/usb.c 			  usb_rcvbulkpipe(rtlusb->udev, rtlusb->in_ep),
rtlusb            414 drivers/net/wireless/realtek/rtlwifi/usb.c 			  buf, rtlusb->rx_max_size, _rtl_rx_completed, rtlusb);
rtlusb            516 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb            519 drivers/net/wireless/realtek/rtlwifi/usb.c 	if (rtlusb->usb_rx_segregate_hdl)
rtlusb            520 drivers/net/wireless/realtek/rtlwifi/usb.c 		rtlusb->usb_rx_segregate_hdl(hw, skb, &rx_queue);
rtlusb            533 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = (struct rtl_usb *)param;
rtlusb            534 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct ieee80211_hw *hw = usb_get_intfdata(rtlusb->intf);
rtlusb            537 drivers/net/wireless/realtek/rtlwifi/usb.c 	while ((skb = skb_dequeue(&rtlusb->rx_queue))) {
rtlusb            538 drivers/net/wireless/realtek/rtlwifi/usb.c 		if (unlikely(IS_USB_STOP(rtlusb))) {
rtlusb            543 drivers/net/wireless/realtek/rtlwifi/usb.c 		if (likely(!rtlusb->usb_rx_segregate_hdl)) {
rtlusb            592 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = (struct rtl_usb *)_urb->context;
rtlusb            595 drivers/net/wireless/realtek/rtlwifi/usb.c 	if (unlikely(IS_USB_STOP(rtlusb)))
rtlusb            611 drivers/net/wireless/realtek/rtlwifi/usb.c 		qlen = skb_queue_len(&rtlusb->rx_queue);
rtlusb            627 drivers/net/wireless/realtek/rtlwifi/usb.c 		_rtl_install_trx_info(rtlusb, skb, rtlusb->in_ep);
rtlusb            637 drivers/net/wireless/realtek/rtlwifi/usb.c 		skb_queue_tail(&rtlusb->rx_queue, skb);
rtlusb            638 drivers/net/wireless/realtek/rtlwifi/usb.c 		tasklet_schedule(&rtlusb->rx_work_tasklet);
rtlusb            655 drivers/net/wireless/realtek/rtlwifi/usb.c 	usb_anchor_urb(_urb, &rtlusb->rx_submitted);
rtlusb            667 drivers/net/wireless/realtek/rtlwifi/usb.c 	usb_anchor_urb(_urb, &rtlusb->rx_cleanup_urbs);
rtlusb            675 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb            678 drivers/net/wireless/realtek/rtlwifi/usb.c 	usb_kill_anchored_urbs(&rtlusb->rx_submitted);
rtlusb            680 drivers/net/wireless/realtek/rtlwifi/usb.c 	tasklet_kill(&rtlusb->rx_work_tasklet);
rtlusb            686 drivers/net/wireless/realtek/rtlwifi/usb.c 	skb_queue_purge(&rtlusb->rx_queue);
rtlusb            688 drivers/net/wireless/realtek/rtlwifi/usb.c 	while ((urb = usb_get_from_anchor(&rtlusb->rx_cleanup_urbs))) {
rtlusb            700 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb            702 drivers/net/wireless/realtek/rtlwifi/usb.c 	WARN_ON(0 == rtlusb->rx_urb_num);
rtlusb            704 drivers/net/wireless/realtek/rtlwifi/usb.c 	WARN_ON(rtlusb->rx_max_size < 1600);
rtlusb            706 drivers/net/wireless/realtek/rtlwifi/usb.c 	for (i = 0; i < rtlusb->rx_urb_num; i++) {
rtlusb            712 drivers/net/wireless/realtek/rtlwifi/usb.c 		err = _rtl_prep_rx_urb(hw, rtlusb, urb, GFP_KERNEL);
rtlusb            719 drivers/net/wireless/realtek/rtlwifi/usb.c 		usb_anchor_urb(urb, &rtlusb->rx_submitted);
rtlusb            728 drivers/net/wireless/realtek/rtlwifi/usb.c 	usb_kill_anchored_urbs(&rtlusb->rx_submitted);
rtlusb            738 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb            745 drivers/net/wireless/realtek/rtlwifi/usb.c 		SET_USB_START(rtlusb);
rtlusb            761 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb            769 drivers/net/wireless/realtek/rtlwifi/usb.c 		while ((_skb = skb_dequeue(&rtlusb->tx_skb_queue[i]))) {
rtlusb            770 drivers/net/wireless/realtek/rtlwifi/usb.c 			rtlusb->usb_tx_cleanup(hw, _skb);
rtlusb            776 drivers/net/wireless/realtek/rtlwifi/usb.c 		usb_kill_anchored_urbs(&rtlusb->tx_pending[i]);
rtlusb            778 drivers/net/wireless/realtek/rtlwifi/usb.c 	usb_kill_anchored_urbs(&rtlusb->tx_submitted);
rtlusb            791 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb            798 drivers/net/wireless/realtek/rtlwifi/usb.c 	SET_USB_STOP(rtlusb);
rtlusb            801 drivers/net/wireless/realtek/rtlwifi/usb.c 	usb_kill_anchored_urbs(&rtlusb->rx_submitted);
rtlusb            803 drivers/net/wireless/realtek/rtlwifi/usb.c 	tasklet_kill(&rtlusb->rx_work_tasklet);
rtlusb            808 drivers/net/wireless/realtek/rtlwifi/usb.c 	skb_queue_purge(&rtlusb->rx_queue);
rtlusb            810 drivers/net/wireless/realtek/rtlwifi/usb.c 	while ((urb = usb_get_from_anchor(&rtlusb->rx_cleanup_urbs))) {
rtlusb            822 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb            824 drivers/net/wireless/realtek/rtlwifi/usb.c 	usb_anchor_urb(_urb, &rtlusb->tx_submitted);
rtlusb            840 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb            843 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlusb->usb_tx_post_hdl(hw, urb, skb);
rtlusb            863 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = (struct rtl_usb *)info->rate_driver_data[0];
rtlusb            864 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct ieee80211_hw *hw = usb_get_intfdata(rtlusb->intf);
rtlusb            867 drivers/net/wireless/realtek/rtlwifi/usb.c 	if (unlikely(IS_USB_STOP(rtlusb)))
rtlusb            879 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb            888 drivers/net/wireless/realtek/rtlwifi/usb.c 	_rtl_install_trx_info(rtlusb, skb, ep_num);
rtlusb            889 drivers/net/wireless/realtek/rtlwifi/usb.c 	usb_fill_bulk_urb(_urb, rtlusb->udev, usb_sndbulkpipe(rtlusb->udev,
rtlusb            898 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb            903 drivers/net/wireless/realtek/rtlwifi/usb.c 	WARN_ON(NULL == rtlusb->usb_tx_aggregate_hdl);
rtlusb            904 drivers/net/wireless/realtek/rtlwifi/usb.c 	if (unlikely(IS_USB_STOP(rtlusb))) {
rtlusb            909 drivers/net/wireless/realtek/rtlwifi/usb.c 	ep_num = rtlusb->ep_map.ep_mapping[qnum];
rtlusb            962 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb            970 drivers/net/wireless/realtek/rtlwifi/usb.c 	hw_queue = rtlusb->usb_mq_to_hwq(fc, skb_get_queue_mapping(skb));
rtlusb           1098 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw));
rtlusb           1121 drivers/net/wireless/realtek/rtlwifi/usb.c 	usb_put_dev(rtlusb->udev);
rtlusb             46 drivers/net/wireless/realtek/rtlwifi/usb.h 	struct rtl_usb *rtlusb;
rtlusb             50 drivers/net/wireless/realtek/rtlwifi/usb.h static inline void _rtl_install_trx_info(struct rtl_usb *rtlusb,
rtlusb             56 drivers/net/wireless/realtek/rtlwifi/usb.h 	info->rate_driver_data[0] = rtlusb;