/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/ |
H A D | qdf_delayed_work.c | 48 static inline QDF_STATUS qdf_dwork_dbg_track(struct qdf_delayed_work *dwork, in qdf_dwork_dbg_track() argument 51 return qdf_tracker_track(&qdf_dwork_tracker, dwork, func, line); in qdf_dwork_dbg_track() 54 static inline void qdf_dwork_dbg_untrack(struct qdf_delayed_work *dwork, in qdf_dwork_dbg_untrack() argument 57 qdf_tracker_untrack(&qdf_dwork_tracker, dwork, func, line); in qdf_dwork_dbg_untrack() 60 static inline QDF_STATUS qdf_dwork_dbg_track(struct qdf_delayed_work *dwork, in qdf_dwork_dbg_track() argument 66 static inline void qdf_dwork_dbg_untrack(struct qdf_delayed_work *dwork, in qdf_dwork_dbg_untrack() argument 73 struct qdf_delayed_work *dwork = in __qdf_delayed_work_handler() local 74 container_of(work, struct qdf_delayed_work, dwork.work); in __qdf_delayed_work_handler() 76 dwork->callback(dwork->context); in __qdf_delayed_work_handler() 79 QDF_STATUS __qdf_delayed_work_create(struct qdf_delayed_work *dwork, in __qdf_delayed_work_create() argument [all …]
|
H A D | qdf_periodic_work.c | 74 container_of(work, struct qdf_periodic_work, dwork.work); in __qdf_periodic_work_handler() 82 schedule_delayed_work(&pwork->dwork, msecs_to_jiffies(msec)); in __qdf_periodic_work_handler() 101 INIT_DEFERRABLE_WORK(&pwork->dwork, __qdf_periodic_work_handler); in __qdf_periodic_work_create() 124 return schedule_delayed_work(&pwork->dwork, msecs_to_jiffies(msec)); in qdf_periodic_work_start() 132 cancel_delayed_work(&pwork->dwork); in qdf_periodic_work_stop_async() 146 while (cancel_delayed_work_sync(&pwork->dwork)) in qdf_periodic_work_stop_sync()
|
/wlan-driver/qca-wifi-host-cmn/qdf/inc/ |
H A D | qdf_delayed_work.h | 42 struct __qdf_opaque_delayed_work dwork; member 55 #define qdf_delayed_work_create(dwork, callback, context) \ argument 56 __qdf_delayed_work_create(dwork, callback, context, __func__, __LINE__) 59 __qdf_delayed_work_create(struct qdf_delayed_work *dwork, 69 #define qdf_delayed_work_destroy(dwork) \ argument 70 __qdf_delayed_work_destroy(dwork, __func__, __LINE__) 72 void __qdf_delayed_work_destroy(struct qdf_delayed_work *dwork, 82 #define qdf_delayed_work_start(dwork, msec) \ argument 83 __qdf_delayed_work_start(dwork, msec) 85 bool __qdf_delayed_work_start(struct qdf_delayed_work *dwork, uint32_t msec); [all …]
|
H A D | qdf_periodic_work.h | 44 struct __qdf_opaque_delayed_work dwork; member
|
/wlan-driver/qca-wifi-host-cmn/qdf/test/ |
H A D | qdf_delayed_work_test.c | 34 struct qdf_delayed_work dwork; in qdf_delayed_work_unit_test() local 38 status = qdf_delayed_work_create(&dwork, __qdf_dwork_cb, &work_ran); in qdf_delayed_work_unit_test() 41 QDF_BUG(qdf_delayed_work_start(&dwork, dwork_delay_ms)); in qdf_delayed_work_unit_test() 47 qdf_delayed_work_stop_sync(&dwork); in qdf_delayed_work_unit_test() 48 QDF_BUG(!qdf_delayed_work_stop_sync(&dwork)); in qdf_delayed_work_unit_test() 50 qdf_delayed_work_destroy(&dwork); in qdf_delayed_work_unit_test()
|
/wlan-driver/qca-wifi-host-cmn/iot_sim/core/ |
H A D | iot_sim_common.c | 788 if (!qdf_delayed_work_stop((*f_e)->dwork)) { in iot_sim_del_rule() 798 qdf_delayed_work_stop_sync((*f_e)->dwork); in iot_sim_del_rule() 802 qdf_delayed_work_destroy((*f_e)->dwork); in iot_sim_del_rule() 804 qdf_mem_free((*f_e)->dwork->context); in iot_sim_del_rule() 805 qdf_mem_free((*f_e)->dwork); in iot_sim_del_rule() 959 if (!qdf_delayed_work_start(context->piot_sim_rule->dwork, in iot_sim_delay_cb() 1028 (*f_e)->dwork = qdf_mem_malloc(sizeof(struct qdf_delayed_work)); in iot_sim_add_rule() 1029 if (!(*f_e)->dwork) { in iot_sim_add_rule() 1037 qdf_mem_free((*f_e)->dwork); in iot_sim_add_rule() 1044 qdf_delayed_work_create((*f_e)->dwork, iot_sim_delay_cb, in iot_sim_add_rule() [all …]
|
H A D | iot_sim_utils.c | 242 dwork)) { in iot_sim_apply_delay_drop_rule() 280 if (!qdf_delayed_work_start(piot_sim_rule->dwork, in iot_sim_apply_delay_drop_rule()
|
H A D | iot_sim_defs_i.h | 141 struct qdf_delayed_work *dwork; member
|
/wlan-driver/qcacld-3.0/core/cds/inc/ |
H A D | cds_api.h | 435 void cds_flush_delayed_work(void *dwork);
|
/wlan-driver/qcacld-3.0/core/cds/src/ |
H A D | cds_api.c | 1879 void cds_flush_delayed_work(void *dwork) in cds_flush_delayed_work() argument 1881 cancel_delayed_work_sync(dwork); in cds_flush_delayed_work()
|