Searched refs:rtlusb (Results 1 – 5 of 5) sorted by relevance
277 struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw)); in _rtl_usb_init_tx() local279 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 …]
71 struct rtl_usb *rtlusb; member75 static inline void _rtl_install_trx_info(struct rtl_usb *rtlusb, in _rtl_install_trx_info() argument80 info->rate_driver_data[0] = rtlusb; in _rtl_install_trx_info()
49 struct rtl_usb *rtlusb = rtl_usbdev(usb_priv); in _ConfigVerTOutEP() local51 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() local84 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 …]
845 struct rtl_usb *rtlusb = rtl_usbdev(usb_priv); in _rtl92cu_init_mac() local849 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() local936 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() local1246 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 …]
359 struct rtl_usb *rtlusb = rtl_usbdev(rtl_usbpriv(hw)); in rtl92c_enable_interrupt() local367 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()