Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/firmware/
Dqcom_scm-smc.c68 int scm_get_wq_ctx(u32 *wq_ctx, u32 *flags, u32 *more_pending) in scm_get_wq_ctx() argument
84 *wq_ctx = get_wq_res.a1; in scm_get_wq_ctx()
95 u32 wq_ctx, smc_call_ctx; in __scm_smc_do_quirk_handle_waitq() local
103 wq_ctx = res->a1; in __scm_smc_do_quirk_handle_waitq()
106 ret = qcom_scm_wait_for_wq_completion(wq_ctx); in __scm_smc_do_quirk_handle_waitq()
Dqcom_scm.h63 int qcom_scm_wait_for_wq_completion(u32 wq_ctx);
64 int scm_get_wq_ctx(u32 *wq_ctx, u32 *flags, u32 *more_pending);
Dqcom_scm.c1340 static int qcom_scm_assert_valid_wq_ctx(u32 wq_ctx) in qcom_scm_assert_valid_wq_ctx() argument
1346 if (wq_ctx != 0) { in qcom_scm_assert_valid_wq_ctx()
1354 int qcom_scm_wait_for_wq_completion(u32 wq_ctx) in qcom_scm_wait_for_wq_completion() argument
1358 ret = qcom_scm_assert_valid_wq_ctx(wq_ctx); in qcom_scm_wait_for_wq_completion()
1367 static int qcom_scm_waitq_wakeup(struct qcom_scm *scm, unsigned int wq_ctx) in qcom_scm_waitq_wakeup() argument
1371 ret = qcom_scm_assert_valid_wq_ctx(wq_ctx); in qcom_scm_waitq_wakeup()
1384 u32 wq_ctx, flags, more_pending = 0; in qcom_scm_irq_handler() local
1387 ret = scm_get_wq_ctx(&wq_ctx, &flags, &more_pending); in qcom_scm_irq_handler()
1399 ret = qcom_scm_waitq_wakeup(scm, wq_ctx); in qcom_scm_irq_handler()