Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
Dusb.c256 struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw)); in _rtl_usb_init_tx() local
258 rtlusb->max_bulk_out_size = IS_HIGH_SPEED_USB(rtlusb->udev) in _rtl_usb_init_tx()
263 rtlusb->max_bulk_out_size); in _rtl_usb_init_tx()
266 u32 ep_num = rtlusb->ep_map.ep_mapping[i]; in _rtl_usb_init_tx()
275 rtlusb->usb_tx_post_hdl = in _rtl_usb_init_tx()
277 rtlusb->usb_tx_cleanup = in _rtl_usb_init_tx()
279 rtlusb->usb_tx_aggregate_hdl = in _rtl_usb_init_tx()
284 init_usb_anchor(&rtlusb->tx_submitted); in _rtl_usb_init_tx()
286 skb_queue_head_init(&rtlusb->tx_skb_queue[i]); in _rtl_usb_init_tx()
287 init_usb_anchor(&rtlusb->tx_pending[i]); in _rtl_usb_init_tx()
[all …]
Dusb.h46 struct rtl_usb *rtlusb; member
50 static inline void _rtl_install_trx_info(struct rtl_usb *rtlusb, in _rtl_install_trx_info() argument
56 info->rate_driver_data[0] = rtlusb; in _rtl_install_trx_info()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dtrx.c24 struct rtl_usb *rtlusb = rtl_usbdev(usb_priv); in configvertoutep() local
26 rtlusb->out_queue_sel = 0; in configvertoutep()
32 rtlusb->out_queue_sel = TX_SELE_HQ | TX_SELE_LQ; in configvertoutep()
39 rtlusb->out_queue_sel = TX_SELE_HQ; in configvertoutep()
41 rtlusb->out_queue_sel = TX_SELE_LQ; in configvertoutep()
47 return (rtlusb->out_ep_nums == ep_nums) ? 0 : -EINVAL; in configvertoutep()
57 struct rtl_usb *rtlusb = rtl_usbdev(usb_priv); in configvernoutep() local
59 rtlusb->out_queue_sel = 0; in configvernoutep()
63 rtlusb->out_queue_sel |= TX_SELE_HQ; in configvernoutep()
67 rtlusb->out_queue_sel |= TX_SELE_NQ; in configvernoutep()
[all …]
Dhw.c811 struct rtl_usb *rtlusb = rtl_usbdev(usb_priv); in _rtl92cu_init_mac() local
815 u8 out_ep_nums = rtlusb->out_ep_nums; in _rtl92cu_init_mac()
816 u8 queue_sel = rtlusb->out_queue_sel; in _rtl92cu_init_mac()
888 struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw)); in _rtl92cu_hw_configure() local
900 rtlusb->reg_bcn_ctrl_val = 0x18; in _rtl92cu_hw_configure()
901 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlusb->reg_bcn_ctrl_val); in _rtl92cu_hw_configure()
1199 struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw)); in _rtl92cu_set_bcn_ctrl_reg() local
1201 rtlusb->reg_bcn_ctrl_val |= set_bits; in _rtl92cu_set_bcn_ctrl_reg()
1202 rtlusb->reg_bcn_ctrl_val &= ~clear_bits; in _rtl92cu_set_bcn_ctrl_reg()
1203 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlusb->reg_bcn_ctrl_val); in _rtl92cu_set_bcn_ctrl_reg()
[all …]
Dmac.c335 struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw)); in rtl92c_enable_interrupt() local
343 rtl_write_dword(rtlpriv, REG_HIMR, rtlusb->irq_mask[0] & in rtl92c_enable_interrupt()
345 rtl_write_dword(rtlpriv, REG_HIMRE, rtlusb->irq_mask[1] & in rtl92c_enable_interrupt()