Searched refs:pdvobj (Results 1 – 11 of 11) sorted by relevance
65 static unsigned int ffaddr2pipehdl(struct dvobj_priv *pdvobj, u32 addr) in ffaddr2pipehdl() argument68 struct usb_device *pusbd = pdvobj->pusbdev; in ffaddr2pipehdl()70 if (pdvobj->nr_endpoint == 11) { in ffaddr2pipehdl()103 } else if (pdvobj->nr_endpoint == 6) { in ffaddr2pipehdl()128 } else if (pdvobj->nr_endpoint == 4) { in ffaddr2pipehdl()175 struct dvobj_priv *pdvobj = (struct dvobj_priv *)pintfpriv->intf_dev; in r8712_usb_write_mem() local176 struct usb_device *pusbd = pdvobj->pusbdev; in r8712_usb_write_mem()183 pipe = ffaddr2pipehdl(pdvobj, addr); in r8712_usb_write_mem()264 struct dvobj_priv *pdvobj = (struct dvobj_priv *)pintfpriv->intf_dev; in r8712_usb_read_port() local265 struct _adapter *adapter = pdvobj->padapter; in r8712_usb_read_port()[all …]
99 struct dvobj_priv *pdvobj = &padapter->dvobjpriv; in get_ff_hwaddr() local105 } else if (pdvobj->nr_endpoint == 6) { in get_ff_hwaddr()133 } else if (pdvobj->nr_endpoint == 4) { in get_ff_hwaddr()240 struct dvobj_priv *pdvobj = &padapter->dvobjpriv; in r8712_do_queue_select() local242 if (pdvobj->nr_endpoint == 6) { in r8712_do_queue_select()244 } else if (pdvobj->nr_endpoint == 4) { in r8712_do_queue_select()380 struct dvobj_priv *pdvobj = &padapter->dvobjpriv; in r8712_dump_aggr_xframe() local399 if ((pdvobj->ishighspeed && ((total_length + TXDESC_SIZE) % 0x200) == in r8712_dump_aggr_xframe()400 0) || ((!pdvobj->ishighspeed && ((total_length + TXDESC_SIZE) % in r8712_dump_aggr_xframe()429 struct dvobj_priv *pdvobj = &padapter->dvobjpriv; in update_txdesc() local[all …]
91 struct dvobj_priv *pdvobj = &padapter->dvobjpriv; in fill_fwpriv() local97 pfwpriv->usb_ep_num = (u8)pdvobj->nr_endpoint; in fill_fwpriv()
336 struct dvobj_priv *pdvobj = &padapter->dvobjpriv; in r8712_cmd_thread() local344 if (pdvobj->ishighspeed) { in r8712_cmd_thread()
189 unsigned int ffaddr2pipehdl(struct dvobj_priv *pdvobj, u32 addr) in ffaddr2pipehdl() argument192 struct usb_device *pusbd = pdvobj->pusbdev; in ffaddr2pipehdl()195 pipe = usb_rcvbulkpipe(pusbd, pdvobj->RtInPipe[0]); in ffaddr2pipehdl()197 pipe = usb_rcvbulkpipe(pusbd, pdvobj->RtInPipe[1]); in ffaddr2pipehdl()199 ep_num = pdvobj->Queue2Pipe[addr]; in ffaddr2pipehdl()432 struct dvobj_priv *pdvobj = adapter_to_dvobj(adapter); in usb_read_port() local434 struct usb_device *pusbd = pdvobj->pusbdev; in usb_read_port()474 pipe = ffaddr2pipehdl(pdvobj, addr); in usb_read_port()668 struct dvobj_priv *pdvobj = adapter_to_dvobj(padapter); in usb_write_port() local671 struct usb_device *pusbd = pdvobj->pusbdev; in usb_write_port()[all …]
692 struct dvobj_priv *pdvobj = NULL; in devobj_init() local694 if ((pdvobj = (struct dvobj_priv*)rtw_zmalloc(sizeof(*pdvobj))) == NULL) in devobj_init()697 mutex_init(&pdvobj->hw_init_mutex); in devobj_init()698 mutex_init(&pdvobj->h2c_fwcmd_mutex); in devobj_init()699 mutex_init(&pdvobj->setch_mutex); in devobj_init()700 mutex_init(&pdvobj->setbw_mutex); in devobj_init()702 spin_lock_init(&pdvobj->lock); in devobj_init()704 pdvobj->macid[1] = true; /* macid = 1 for bc/mc stainfo */ in devobj_init()706 pdvobj->processing_dev_remove = false; in devobj_init()708 atomic_set(&pdvobj->disable_func, 0); in devobj_init()[all …]
18 #define ffaddr2deviceId(pdvobj, addr) (pdvobj->Queue2Pipe[addr]) argument
53 void devobj_deinit(struct dvobj_priv *pdvobj);
2073 struct dvobj_priv *pdvobj = adapter_to_dvobj(padapter); in rtw_alloc_macid() local2084 spin_lock_bh(&pdvobj->lock); in rtw_alloc_macid()2086 if (pdvobj->macid[i] == false) { in rtw_alloc_macid()2087 pdvobj->macid[i] = true; in rtw_alloc_macid()2091 spin_unlock_bh(&pdvobj->lock); in rtw_alloc_macid()2106 struct dvobj_priv *pdvobj = adapter_to_dvobj(padapter); in rtw_release_macid() local2115 spin_lock_bh(&pdvobj->lock); in rtw_release_macid()2117 if (pdvobj->macid[psta->mac_id] == true) { in rtw_release_macid()2119 pdvobj->macid[psta->mac_id] = false; in rtw_release_macid()2124 spin_unlock_bh(&pdvobj->lock); in rtw_release_macid()[all …]
5631 struct dvobj_priv *pdvobj = adapter_to_dvobj(padapter); in _linked_info_dump() local5662 if (pdvobj->macid[i] == true) { in _linked_info_dump()
50 unsigned int ffaddr2pipehdl(struct dvobj_priv *pdvobj, u32 addr);