Searched refs:trans (Results 1 – 6 of 6) sorted by relevance
/wlan-driver/qcacld-3.0/components/dsc/src/ |
H A D | __wlan_dsc.c | 181 struct dsc_trans *trans = opaque_trans; in __dsc_dbg_trans_timeout() local 183 qdf_print_thread_trace(trans->thread); in __dsc_dbg_trans_timeout() 186 !qdf_str_eq(trans->active_desc, "hdd_soc_recovery_shutdown")) in __dsc_dbg_trans_timeout() 190 trans->active_desc, DSC_TRANS_TIMEOUT_MS); in __dsc_dbg_trans_timeout() 199 static QDF_STATUS __dsc_dbg_trans_timeout_start(struct dsc_trans *trans) in __dsc_dbg_trans_timeout_start() argument 203 trans->thread = qdf_get_current_task(); in __dsc_dbg_trans_timeout_start() 204 status = qdf_timer_init(NULL, &trans->timeout_timer, in __dsc_dbg_trans_timeout_start() 205 __dsc_dbg_trans_timeout, trans, in __dsc_dbg_trans_timeout_start() 210 qdf_timer_start(&trans->timeout_timer, DSC_TRANS_TIMEOUT_MS); in __dsc_dbg_trans_timeout_start() 221 static void __dsc_dbg_trans_timeout_stop(struct dsc_trans *trans) in __dsc_dbg_trans_timeout_stop() argument [all …]
|
H A D | __wlan_dsc.h | 150 struct dsc_trans trans; member 166 struct dsc_trans trans; member 181 struct dsc_trans trans; member 248 void __dsc_trans_init(struct dsc_trans *trans); 256 void __dsc_trans_deinit(struct dsc_trans *trans); 265 QDF_STATUS __dsc_trans_start(struct dsc_trans *trans, const char *desc); 273 void __dsc_trans_stop(struct dsc_trans *trans); 283 QDF_STATUS __dsc_trans_queue(struct dsc_trans *trans, struct dsc_tran *tran, 300 bool __dsc_trans_abort(struct dsc_trans *trans); 308 bool __dsc_trans_trigger(struct dsc_trans *trans); [all …]
|
H A D | wlan_dsc_psoc.c | 50 __dsc_trans_init(&psoc->trans); in __dsc_psoc_create() 88 while (__dsc_trans_abort(&psoc->trans)) in __dsc_psoc_destroy() 98 __dsc_trans_deinit(&psoc->trans); in __dsc_psoc_destroy() 117 if (__dsc_trans_active(&vdev->trans)) in __dsc_psoc_trans_active_down_tree() 146 if (__dsc_trans_active_or_queued(&psoc->driver->trans)) in __dsc_psoc_can_trans() 149 if (__dsc_trans_active_or_queued(&psoc->trans) || in __dsc_psoc_can_trans() 158 return !__dsc_trans_active_or_queued(&psoc->driver->trans) && in __dsc_psoc_can_trigger() 159 !__dsc_trans_active(&psoc->trans) && in __dsc_psoc_can_trigger() 172 return __dsc_trans_start(&psoc->trans, desc); in __dsc_psoc_trans_start_nolock() 224 status = __dsc_trans_queue(&psoc->trans, &tran, desc); in __dsc_psoc_trans_start_wait() [all …]
|
H A D | wlan_dsc_driver.c | 53 __dsc_trans_init(&driver->trans); in __dsc_driver_create() 87 while (__dsc_trans_abort(&driver->trans)) in __dsc_driver_destroy() 92 __dsc_trans_deinit(&driver->trans); in __dsc_driver_destroy() 110 if (__dsc_trans_active(&psoc->trans)) in __dsc_driver_trans_active_down_tree() 114 if (__dsc_trans_active(&vdev->trans)) in __dsc_driver_trans_active_down_tree() 126 return !__dsc_trans_active_or_queued(&driver->trans) && in __dsc_driver_can_trans() 132 return !__dsc_trans_active(&driver->trans) && in __dsc_driver_can_trigger() 142 return __dsc_trans_start(&driver->trans, desc); in __dsc_driver_trans_start_nolock() 194 status = __dsc_trans_queue(&driver->trans, &tran, desc); in __dsc_driver_trans_start_wait() 223 if (!__dsc_trans_queued(&driver->trans)) in __dsc_driver_trans_trigger_checked() [all …]
|
H A D | wlan_dsc_vdev.c | 50 __dsc_trans_init(&vdev->trans); in __dsc_vdev_create() 86 while (__dsc_trans_abort(&vdev->trans)) in __dsc_vdev_destroy() 96 __dsc_trans_deinit(&vdev->trans); in __dsc_vdev_destroy() 170 if (__dsc_trans_active_or_queued(&vdev->psoc->driver->trans)) in __dsc_vdev_can_trans() 176 if (__dsc_trans_active_or_queued(&vdev->psoc->trans)) { in __dsc_vdev_can_trans() 189 if (__dsc_trans_active_or_queued(&vdev->trans)) in __dsc_vdev_can_trans() 204 return __dsc_trans_start(&vdev->trans, desc); in __dsc_vdev_trans_start_nolock() 256 status = __dsc_trans_queue(&vdev->trans, &tran, desc); in __dsc_vdev_trans_start_wait() 290 __dsc_trans_trigger(&vdev->trans); in __dsc_vdev_trigger_trans() 300 __dsc_trans_stop(&vdev->trans); in __dsc_vdev_trans_stop() [all …]
|
/wlan-driver/qcacld-3.0/components/dsc/test/ |
H A D | wlan_dsc_test.c | 206 action_expect(driver, trans, QDF_STATUS_SUCCESS, errors); in dsc_test_driver_trans_blocks() 209 action_expect(driver, trans, QDF_STATUS_E_AGAIN, errors); in dsc_test_driver_trans_blocks() 214 action_expect(psoc, trans, QDF_STATUS_E_INVAL, errors); in dsc_test_driver_trans_blocks() 219 action_expect(vdev, trans, QDF_STATUS_E_INVAL, errors); in dsc_test_driver_trans_blocks() 257 action_expect(psoc, trans, QDF_STATUS_SUCCESS, errors); in dsc_test_psoc_trans_blocks() 260 action_expect(driver, trans, QDF_STATUS_E_AGAIN, errors); in dsc_test_psoc_trans_blocks() 264 action_expect(psoc, trans, QDF_STATUS_E_AGAIN, errors); in dsc_test_psoc_trans_blocks() 269 action_expect(vdev, trans, QDF_STATUS_E_BUSY, errors); in dsc_test_psoc_trans_blocks() 278 action_expect(vdev, trans, QDF_STATUS_E_INVAL, errors); in dsc_test_psoc_trans_blocks() 288 action_expect(vdev, trans, QDF_STATUS_E_INVAL, errors); in dsc_test_psoc_trans_blocks() [all …]
|