Home
last modified time | relevance | path

Searched refs:dvobj (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Dsdio_intf.c75 static int sdio_alloc_irq(struct dvobj_priv *dvobj) in sdio_alloc_irq() argument
81 psdio_data = &dvobj->intf_data; in sdio_alloc_irq()
89 dvobj->drv_dbg.dbg_sdio_alloc_irq_error_cnt++; in sdio_alloc_irq()
94 dvobj->drv_dbg.dbg_sdio_alloc_irq_cnt++; in sdio_alloc_irq()
95 dvobj->irq_alloc = 1; in sdio_alloc_irq()
103 static void sdio_free_irq(struct dvobj_priv *dvobj) in sdio_free_irq() argument
109 if (dvobj->irq_alloc) { in sdio_free_irq()
110 psdio_data = &dvobj->intf_data; in sdio_free_irq()
118 dvobj->drv_dbg.dbg_sdio_free_irq_error_cnt++; in sdio_free_irq()
122 dvobj->drv_dbg.dbg_sdio_free_irq_cnt++; in sdio_free_irq()
[all …]
Drtw_proc.c244 struct dvobj_priv *psdpriv = padapter->dvobj; in proc_get_rx_info()
263 struct dvobj_priv *psdpriv = padapter->dvobj; in proc_reset_rx_info()
324 struct dvobj_priv *dvobj = adapter_to_dvobj(adapter); in proc_get_cam_cache() local
327 DBG_871X_SEL_NL(m, "cam bitmap:0x%016llx\n", dvobj->cam_ctl.bitmap); in proc_get_cam_cache()
337 if (dvobj->cam_cache[i].ctrl != 0) in proc_get_cam_cache()
341 , dvobj->cam_cache[i].ctrl in proc_get_cam_cache()
342 , MAC_ARG(dvobj->cam_cache[i].mac) in proc_get_cam_cache()
343 , KEY_ARG(dvobj->cam_cache[i].key) in proc_get_cam_cache()
344 , (dvobj->cam_cache[i].ctrl)&0x03 in proc_get_cam_cache()
345 , security_type_str(((dvobj->cam_cache[i].ctrl)>>2)&0x07) in proc_get_cam_cache()
Dsdio_ops_linux.c14 struct dvobj_priv *dvobj = sdio_get_drvdata(func); in rtw_sdio_claim_host_needed() local
15 PSDIO_DATA sdio_data = &dvobj->intf_data; in rtw_sdio_claim_host_needed()
22 inline void rtw_sdio_set_irq_thd(struct dvobj_priv *dvobj, void *thd_hdl) in rtw_sdio_set_irq_thd() argument
24 PSDIO_DATA sdio_data = &dvobj->intf_data; in rtw_sdio_set_irq_thd()
Dos_intfs.c558 void rtw_unregister_netdevs(struct dvobj_priv *dvobj) in rtw_unregister_netdevs() argument
563 padapter = dvobj->padapters; in rtw_unregister_netdevs()
939 struct dvobj_priv *dvobj = if1->dvobj; in rtw_drv_register_netdev() local
940 struct adapter *padapter = dvobj->padapters; in rtw_drv_register_netdev()
1188 struct dvobj_priv *pobjpriv = padapter->dvobj; in rtw_dev_unload()
1471 struct dvobj_priv *psdpriv = padapter->dvobj; in rtw_suspend_common()
1556 struct dvobj_priv *psdpriv = padapter->dvobj; in rtw_resume_process_wow()
1681 struct dvobj_priv *psdpriv = padapter->dvobj; in rtw_resume_process_ap_wow()
1769 psdpriv = padapter->dvobj; in rtw_resume_process_normal()
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/
Dusb_intf.c111 struct dvobj_priv *dvobj = usb_get_intfdata(usb_intf); in usb_dvobj_deinit() local
114 if (dvobj) { in usb_dvobj_deinit()
116 if ((dvobj->NumInterfaces != 2 && in usb_dvobj_deinit()
117 dvobj->NumInterfaces != 3) || in usb_dvobj_deinit()
118 (dvobj->InterfaceNumber == 1)) { in usb_dvobj_deinit()
131 mutex_destroy(&dvobj->usb_vendor_req_mutex); in usb_dvobj_deinit()
132 kfree(dvobj); in usb_dvobj_deinit()
195 struct dvobj_priv *dvobj = usb_get_intfdata(pusb_intf); in rtw_suspend() local
196 struct adapter *padapter = dvobj->if1; in rtw_suspend()
305 struct dvobj_priv *dvobj = usb_get_intfdata(pusb_intf); in rtw_resume() local
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Ddrv_types.h228 #define GET_PRIMARY_ADAPTER(padapter) (((struct adapter *)padapter)->dvobj->if1)
229 #define GET_IFACE_NUMS(padapter) (((struct adapter *)padapter)->dvobj->iface_nums)
230 #define GET_ADAPTER(padapter, iface_id) (((struct adapter *)padapter)->dvobj->padapters[iface_id])
485 #define dvobj_to_pwrctl(dvobj) (&(dvobj->pwrctl_priv)) argument
488 __inline static struct device *dvobj_to_dev(struct dvobj_priv *dvobj) in dvobj_to_dev() argument
494 return &dvobj->intf_data.func->dev; in dvobj_to_dev()
497 struct adapter *dvobj_get_port0_adapter(struct dvobj_priv *dvobj);
522 struct dvobj_priv *dvobj; member
563 u32 (*intf_init)(struct dvobj_priv *dvobj);
564 void (*intf_deinit)(struct dvobj_priv *dvobj);
[all …]
Dosdep_intf.h60 void rtw_unregister_netdevs(struct dvobj_priv *dvobj);
Dsdio_ops_linux.h31 void rtw_sdio_set_irq_thd(struct dvobj_priv *dvobj, void *thd_hdl);
Drtw_io.h245 int rtw_inc_and_chk_continual_io_error(struct dvobj_priv *dvobj);
246 void rtw_reset_continual_io_error(struct dvobj_priv *dvobj);
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Ddrv_types.h120 static inline struct device *dvobj_to_dev(struct dvobj_priv *dvobj) in dvobj_to_dev() argument
125 return &dvobj->pusbintf->dev; in dvobj_to_dev()
129 struct dvobj_priv *dvobj; member
166 #define adapter_to_dvobj(adapter) (adapter->dvobj)
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_io.c176 int rtw_inc_and_chk_continual_io_error(struct dvobj_priv *dvobj) in rtw_inc_and_chk_continual_io_error() argument
179 int value = atomic_inc_return(&dvobj->continual_io_error); in rtw_inc_and_chk_continual_io_error()
181 DBG_871X("[dvobj:%p][ERROR] continual_io_error:%d > %d\n", dvobj, value, MAX_CONTINUAL_IO_ERR); in rtw_inc_and_chk_continual_io_error()
192 void rtw_reset_continual_io_error(struct dvobj_priv *dvobj) in rtw_reset_continual_io_error() argument
194 atomic_set(&dvobj->continual_io_error, 0); in rtw_reset_continual_io_error()
Drtw_wlan_util.c328 struct dvobj_priv *dvobj = adapter_to_dvobj(adapter); in rtw_set_oper_ch() local
330 if (dvobj->oper_channel != ch) { in rtw_set_oper_ch()
331 dvobj->on_oper_ch_time = jiffies; in rtw_set_oper_ch()
336 for (i = 0; i < dvobj->iface_nums; i++) { in rtw_set_oper_ch()
337 struct adapter *iface = dvobj->padapters[i]; in rtw_set_oper_ch()
354 dvobj->oper_channel = ch; in rtw_set_oper_ch()
526 struct dvobj_priv *dvobj = adapter_to_dvobj(padapter); in invalidate_cam_all() local
527 struct cam_ctl_t *cam_ctl = &dvobj->cam_ctl; in invalidate_cam_all()
533 memset(dvobj->cam_cache, 0, sizeof(struct cam_entry_cache)*TOTAL_CAM_ENTRY); in invalidate_cam_all()
616 struct dvobj_priv *dvobj = adapter_to_dvobj(adapter); in write_cam_from_cache() local
[all …]
Drtw_pwrctrl.c157 struct dvobj_priv *psdpriv = padapter->dvobj; in rtw_ps_processor()
399 struct debug_priv *pdbgpriv = &padapter->dvobj->drv_dbg; in rtw_set_ps_mode()
542 struct dvobj_priv *dvobj = adapter_to_dvobj(padapter); in LPS_Enter() local
543 struct pwrctrl_priv *pwrpriv = dvobj_to_pwrctl(dvobj); in LPS_Enter()
551 if (check_fwstate(&(dvobj->padapters->mlmepriv), WIFI_ASOC_STATE)) in LPS_Enter()
560 if (PS_RDY_CHECK(dvobj->padapters) == false) in LPS_Enter()
586 struct dvobj_priv *dvobj = adapter_to_dvobj(padapter); in LPS_Leave() local
587 struct pwrctrl_priv *pwrpriv = dvobj_to_pwrctl(dvobj); in LPS_Leave()
651 struct dvobj_priv *dvobj = adapter_to_dvobj(Adapter); in LeaveAllPowerSaveMode() local
667 if (check_fwstate(&(dvobj->padapters->mlmepriv), WIFI_ASOC_STATE)) in LeaveAllPowerSaveMode()
[all …]
Drtw_debug.c632 struct dvobj_priv *dvobj = padapter->dvobj; in proc_get_suspend_resume_info() local
633 struct debug_priv *pdbgpriv = &dvobj->drv_dbg; in proc_get_suspend_resume_info()
951 struct dvobj_priv *dvobj = padapter->dvobj; in proc_get_hw_status() local
952 struct debug_priv *pdbgpriv = &dvobj->drv_dbg; in proc_get_hw_status()
Drtw_recv.c1979 struct dvobj_priv *psdpriv = padapter->dvobj; in check_indicate_seq()
2116 struct dvobj_priv *psdpriv = padapter->dvobj; in recv_indicatepkts_in_order()
2223 struct dvobj_priv *psdpriv = padapter->dvobj; in recv_indicatepkt_reorder()
Drtw_cmd.c1418 struct dvobj_priv *dvobj = adapter_to_dvobj(padapter); in traffic_status_watchdog() local
1421 if (check_fwstate(&(dvobj->padapters->mlmepriv), WIFI_ASOC_STATE)) in traffic_status_watchdog()
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Dhal_intf.c87 struct dvobj_priv *dvobj = adapter_to_dvobj(padapter); in rtw_hal_init() local
94 dvobj->padapters->hw_init_completed = true; in rtw_hal_init()
101 rtw_sec_restore_wep_key(dvobj->padapters); in rtw_hal_init()
107 dvobj->padapters->hw_init_completed = false; in rtw_hal_init()
120 struct dvobj_priv *dvobj = adapter_to_dvobj(padapter); in rtw_hal_deinit() local
125 padapter = dvobj->padapters; in rtw_hal_deinit()
Drtl8723b_dm.c74 struct dvobj_priv *dvobj = adapter_to_dvobj(Adapter); in Update_ODM_ComInfo_8723b() local
107 ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_TX_UNI, &(dvobj->traffic_stat.tx_bytes)); in Update_ODM_ComInfo_8723b()
108 ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_RX_UNI, &(dvobj->traffic_stat.rx_bytes)); in Update_ODM_ComInfo_8723b()
Dsdio_ops.c1013 struct dvobj_priv *dvobj; in sd_int_dpc() local
1019 dvobj = adapter_to_dvobj(adapter); in sd_int_dpc()
1020 pwrctl = dvobj_to_pwrctl(dvobj); in sd_int_dpc()
Dhal_com.c1563 struct dvobj_priv *psdpriv = adapter->dvobj; in rtw_hal_check_rxfifo_full()
Dhal_btcoex.c555 *pU1Tmp = padapter->dvobj->pwrctl_priv.pwr_mode; in halbtcoutsrc_Get()
Dsdio_halinit.c1091 struct dvobj_priv *psdpriv = padapter->dvobj; in rtl8723bs_hal_deinit()
Drtl8723b_hal_init.c365 struct device *device = dvobj_to_dev(padapter->dvobj); in rtl8723b_FirmwareDownload()
367 struct dvobj_priv *psdpriv = padapter->dvobj; in rtl8723b_FirmwareDownload()
/Linux-v4.19/drivers/staging/rtlwifi/halmac/
Drtl_halmac.h75 int rtl_halmac_get_rsvd_drv_pg_bndy(struct rtl_priv *dvobj, u16 *drv_pg);
76 int rtl_halmac_download_rsvd_page(struct rtl_priv *dvobj, u8 pg_offset,
/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Dfw.c146 struct dvobj_priv *dvobj = adapter_to_dvobj(adapt); in rtl88eu_download_fw() local
147 struct device *device = dvobj_to_dev(dvobj); in rtl88eu_download_fw()

12