Searched refs:pdvobj (Results 1 – 10 of 10) sorted by relevance
53 static unsigned int ffaddr2pipehdl(struct dvobj_priv *pdvobj, u32 addr) in ffaddr2pipehdl() argument56 struct usb_device *pusbd = pdvobj->pusbdev; in ffaddr2pipehdl()58 if (pdvobj->nr_endpoint == 11) { in ffaddr2pipehdl()91 } else if (pdvobj->nr_endpoint == 6) { in ffaddr2pipehdl()116 } else if (pdvobj->nr_endpoint == 4) { in ffaddr2pipehdl()163 struct dvobj_priv *pdvobj = (struct dvobj_priv *)pintfpriv->intf_dev; in r8712_usb_write_mem() local164 struct usb_device *pusbd = pdvobj->pusbdev; in r8712_usb_write_mem()171 pipe = ffaddr2pipehdl(pdvobj, addr); in r8712_usb_write_mem()252 struct dvobj_priv *pdvobj = (struct dvobj_priv *)pintfpriv->intf_dev; in r8712_usb_read_port() local253 struct _adapter *adapter = pdvobj->padapter; in r8712_usb_read_port()[all …]
87 struct dvobj_priv *pdvobj = &padapter->dvobjpriv; in get_ff_hwaddr() local93 } else if (pdvobj->nr_endpoint == 6) { in get_ff_hwaddr()121 } else if (pdvobj->nr_endpoint == 4) { in get_ff_hwaddr()228 struct dvobj_priv *pdvobj = &padapter->dvobjpriv; in r8712_do_queue_select() local230 if (pdvobj->nr_endpoint == 6) { in r8712_do_queue_select()232 } else if (pdvobj->nr_endpoint == 4) { in r8712_do_queue_select()358 struct dvobj_priv *pdvobj = &padapter->dvobjpriv; in r8712_dump_aggr_xframe() local377 if ((pdvobj->ishighspeed && ((total_length + TXDESC_SIZE) % 0x200) == in r8712_dump_aggr_xframe()378 0) || ((!pdvobj->ishighspeed && ((total_length + TXDESC_SIZE) % in r8712_dump_aggr_xframe()405 struct dvobj_priv *pdvobj = &padapter->dvobjpriv; in update_txdesc() local[all …]
286 struct dvobj_priv *pdvobj = &padapter->dvobjpriv; in r8712_cmd_thread() local295 if (pdvobj->ishighspeed) { in r8712_cmd_thread()
10 static unsigned int ffaddr2pipehdl(struct dvobj_priv *pdvobj, u32 addr) in ffaddr2pipehdl() argument13 struct usb_device *pusbd = pdvobj->pusbdev; in ffaddr2pipehdl()16 ep_num = pdvobj->Queue2Pipe[addr]; in ffaddr2pipehdl()103 struct dvobj_priv *pdvobj = adapter_to_dvobj(padapter); in rtw_write_port() local107 struct usb_device *pusbd = pdvobj->pusbdev; in rtw_write_port()146 pipe = ffaddr2pipehdl(pdvobj, addr); in rtw_write_port()
594 struct dvobj_priv *pdvobj = NULL; in devobj_init() local596 pdvobj = rtw_zmalloc(sizeof(*pdvobj)); in devobj_init()597 if (!pdvobj) in devobj_init()600 mutex_init(&pdvobj->hw_init_mutex); in devobj_init()601 mutex_init(&pdvobj->h2c_fwcmd_mutex); in devobj_init()602 mutex_init(&pdvobj->setch_mutex); in devobj_init()603 mutex_init(&pdvobj->setbw_mutex); in devobj_init()605 spin_lock_init(&pdvobj->lock); in devobj_init()607 pdvobj->macid[1] = true; /* macid = 1 for bc/mc stainfo */ in devobj_init()609 pdvobj->processing_dev_remove = false; in devobj_init()[all …]
10 #define ffaddr2deviceId(pdvobj, addr) (pdvobj->Queue2Pipe[addr]) argument
39 void devobj_deinit(struct dvobj_priv *pdvobj);
1787 struct dvobj_priv *pdvobj = adapter_to_dvobj(padapter); in rtw_alloc_macid() local1797 spin_lock_bh(&pdvobj->lock); in rtw_alloc_macid()1799 if (pdvobj->macid[i] == false) { in rtw_alloc_macid()1800 pdvobj->macid[i] = true; in rtw_alloc_macid()1804 spin_unlock_bh(&pdvobj->lock); in rtw_alloc_macid()1815 struct dvobj_priv *pdvobj = adapter_to_dvobj(padapter); in rtw_release_macid() local1823 spin_lock_bh(&pdvobj->lock); in rtw_release_macid()1825 if (pdvobj->macid[psta->mac_id] == true) { in rtw_release_macid()1826 pdvobj->macid[psta->mac_id] = false; in rtw_release_macid()1830 spin_unlock_bh(&pdvobj->lock); in rtw_release_macid()[all …]
4952 struct dvobj_priv *pdvobj = adapter_to_dvobj(padapter); in _linked_info_dump() local4960 if (pdvobj->macid[i]) { in _linked_info_dump()
428 struct dvobj_priv *pdvobj = adapter_to_dvobj(adapter); in rtw_read_port() local430 struct usb_device *pusbd = pdvobj->pusbdev; in rtw_read_port()467 pipe = usb_rcvbulkpipe(pusbd, pdvobj->RtInPipe); in rtw_read_port()