Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dusb.c237 struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw)); in _rtl_usb_init_tx() local
239 rtlusb->max_bulk_out_size = IS_HIGH_SPEED_USB(rtlusb->udev) in _rtl_usb_init_tx()
244 rtlusb->max_bulk_out_size); in _rtl_usb_init_tx()
247 u32 ep_num = rtlusb->ep_map.ep_mapping[i]; in _rtl_usb_init_tx()
256 rtlusb->usb_tx_post_hdl = in _rtl_usb_init_tx()
258 rtlusb->usb_tx_cleanup = in _rtl_usb_init_tx()
260 rtlusb->usb_tx_aggregate_hdl = in _rtl_usb_init_tx()
265 init_usb_anchor(&rtlusb->tx_submitted); in _rtl_usb_init_tx()
267 skb_queue_head_init(&rtlusb->tx_skb_queue[i]); in _rtl_usb_init_tx()
268 init_usb_anchor(&rtlusb->tx_pending[i]); in _rtl_usb_init_tx()
[all …]
H A 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A 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 …]
H A 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 …]
H A Dmac.c334 struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw)); in rtl92c_enable_interrupt() local
342 rtl_write_dword(rtlpriv, REG_HIMR, rtlusb->irq_mask[0] & in rtl92c_enable_interrupt()
344 rtl_write_dword(rtlpriv, REG_HIMRE, rtlusb->irq_mask[1] & in rtl92c_enable_interrupt()