Home
last modified time | relevance | path

Searched refs:pwork (Results 1 – 3 of 3) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
H A Dqdf_periodic_work.c48 static inline QDF_STATUS qdf_pwork_dbg_track(struct qdf_periodic_work *pwork, in qdf_pwork_dbg_track() argument
51 return qdf_tracker_track(&qdf_pwork_tracker, pwork, func, line); in qdf_pwork_dbg_track()
54 static inline void qdf_pwork_dbg_untrack(struct qdf_periodic_work *pwork, in qdf_pwork_dbg_untrack() argument
57 qdf_tracker_untrack(&qdf_pwork_tracker, pwork, func, line); in qdf_pwork_dbg_untrack()
60 static inline QDF_STATUS qdf_pwork_dbg_track(struct qdf_periodic_work *pwork, in qdf_pwork_dbg_track() argument
66 static inline void qdf_pwork_dbg_untrack(struct qdf_periodic_work *pwork, in qdf_pwork_dbg_untrack() argument
73 struct qdf_periodic_work *pwork = in __qdf_periodic_work_handler() local
77 pwork->callback(pwork->context); in __qdf_periodic_work_handler()
80 msec = pwork->msec; in __qdf_periodic_work_handler()
82 schedule_delayed_work(&pwork->dwork, msecs_to_jiffies(msec)); in __qdf_periodic_work_handler()
[all …]
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
H A Dqdf_periodic_work.h58 #define qdf_periodic_work_create(pwork, callback, context) \ argument
59 __qdf_periodic_work_create(pwork, callback, context, __func__, __LINE__)
62 __qdf_periodic_work_create(struct qdf_periodic_work *pwork,
72 #define qdf_periodic_work_destroy(pwork) \ argument
73 __qdf_periodic_work_destroy(pwork, __func__, __LINE__)
75 void __qdf_periodic_work_destroy(struct qdf_periodic_work *pwork,
85 bool qdf_periodic_work_start(struct qdf_periodic_work *pwork, uint32_t msec);
98 bool qdf_periodic_work_stop_async(struct qdf_periodic_work *pwork);
111 bool qdf_periodic_work_stop_sync(struct qdf_periodic_work *pwork);
/wlan-driver/qca-wifi-host-cmn/qdf/test/
H A Dqdf_periodic_work_test.c27 struct qdf_periodic_work pwork; member
37 qdf_periodic_work_stop_async(&ut_ctx->pwork); in __qdf_pwork_inside_cb()
47 status = qdf_periodic_work_create(&ut_ctx.pwork, in qdf_pwork_stop_inside_cb()
51 QDF_BUG(qdf_periodic_work_start(&ut_ctx.pwork, pwork_delay_ms)); in qdf_pwork_stop_inside_cb()
56 QDF_BUG(!qdf_periodic_work_stop_sync(&ut_ctx.pwork)); in qdf_pwork_stop_inside_cb()
59 qdf_periodic_work_destroy(&ut_ctx.pwork); in qdf_pwork_stop_inside_cb()
76 status = qdf_periodic_work_create(&ut_ctx.pwork, in qdf_pwork_stop_outside_cb()
80 QDF_BUG(qdf_periodic_work_start(&ut_ctx.pwork, pwork_delay_ms)); in qdf_pwork_stop_outside_cb()
85 QDF_BUG(qdf_periodic_work_stop_sync(&ut_ctx.pwork)); in qdf_pwork_stop_outside_cb()
88 qdf_periodic_work_destroy(&ut_ctx.pwork); in qdf_pwork_stop_outside_cb()