Home
last modified time | relevance | path

Searched refs:rtlusb (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/drivers/net/wireless/rtlwifi/
Dusb.c277 struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw)); in _rtl_usb_init_tx() local
279 rtlusb->max_bulk_out_size = IS_HIGH_SPEED_USB(rtlusb->udev) in _rtl_usb_init_tx()
284 rtlusb->max_bulk_out_size); in _rtl_usb_init_tx()
287 u32 ep_num = rtlusb->ep_map.ep_mapping[i]; in _rtl_usb_init_tx()
295 rtlusb->usb_tx_post_hdl = in _rtl_usb_init_tx()
297 rtlusb->usb_tx_cleanup = in _rtl_usb_init_tx()
299 rtlusb->usb_tx_aggregate_hdl = in _rtl_usb_init_tx()
304 init_usb_anchor(&rtlusb->tx_submitted); in _rtl_usb_init_tx()
306 skb_queue_head_init(&rtlusb->tx_skb_queue[i]); in _rtl_usb_init_tx()
307 init_usb_anchor(&rtlusb->tx_pending[i]); in _rtl_usb_init_tx()
[all …]
Dusb.h71 struct rtl_usb *rtlusb; member
75 static inline void _rtl_install_trx_info(struct rtl_usb *rtlusb, in _rtl_install_trx_info() argument
80 info->rate_driver_data[0] = rtlusb; in _rtl_install_trx_info()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192cu/
Dtrx.c49 struct rtl_usb *rtlusb = rtl_usbdev(usb_priv); in _ConfigVerTOutEP() local
51 rtlusb->out_queue_sel = 0; in _ConfigVerTOutEP()
57 rtlusb->out_queue_sel = TX_SELE_HQ | TX_SELE_LQ; in _ConfigVerTOutEP()
64 rtlusb->out_queue_sel = TX_SELE_HQ; in _ConfigVerTOutEP()
66 rtlusb->out_queue_sel = TX_SELE_LQ; in _ConfigVerTOutEP()
72 return (rtlusb->out_ep_nums == ep_nums) ? 0 : -EINVAL; in _ConfigVerTOutEP()
82 struct rtl_usb *rtlusb = rtl_usbdev(usb_priv); in _ConfigVerNOutEP() local
84 rtlusb->out_queue_sel = 0; in _ConfigVerNOutEP()
88 rtlusb->out_queue_sel |= TX_SELE_HQ; in _ConfigVerNOutEP()
92 rtlusb->out_queue_sel |= TX_SELE_NQ; in _ConfigVerNOutEP()
[all …]
Dhw.c845 struct rtl_usb *rtlusb = rtl_usbdev(usb_priv); in _rtl92cu_init_mac() local
849 u8 out_ep_nums = rtlusb->out_ep_nums; in _rtl92cu_init_mac()
850 u8 queue_sel = rtlusb->out_queue_sel; in _rtl92cu_init_mac()
924 struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw)); in _rtl92cu_hw_configure() local
936 rtlusb->reg_bcn_ctrl_val = 0x18; in _rtl92cu_hw_configure()
937 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlusb->reg_bcn_ctrl_val); in _rtl92cu_hw_configure()
1244 struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw)); in _rtl92cu_set_bcn_ctrl_reg() local
1246 rtlusb->reg_bcn_ctrl_val |= set_bits; in _rtl92cu_set_bcn_ctrl_reg()
1247 rtlusb->reg_bcn_ctrl_val &= ~clear_bits; in _rtl92cu_set_bcn_ctrl_reg()
1248 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8) rtlusb->reg_bcn_ctrl_val); in _rtl92cu_set_bcn_ctrl_reg()
[all …]
Dmac.c359 struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw)); in rtl92c_enable_interrupt() local
367 rtl_write_dword(rtlpriv, REG_HIMR, rtlusb->irq_mask[0] & in rtl92c_enable_interrupt()
369 rtl_write_dword(rtlpriv, REG_HIMRE, rtlusb->irq_mask[1] & in rtl92c_enable_interrupt()