Home
last modified time | relevance | path

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

/linux-6.15/drivers/firmware/qcom/
H A Dqcom_scm-smc.c70 int scm_get_wq_ctx(u32 *wq_ctx, u32 *flags, u32 *more_pending) in scm_get_wq_ctx() argument
86 *wq_ctx = get_wq_res.a1; in scm_get_wq_ctx()
97 u32 wq_ctx, smc_call_ctx; in __scm_smc_do_quirk_handle_waitq() local
105 wq_ctx = res->a1; in __scm_smc_do_quirk_handle_waitq()
108 ret = qcom_scm_wait_for_wq_completion(wq_ctx); in __scm_smc_do_quirk_handle_waitq()
H A Dqcom_scm.h66 int qcom_scm_wait_for_wq_completion(u32 wq_ctx);
67 int scm_get_wq_ctx(u32 *wq_ctx, u32 *flags, u32 *more_pending);
H A Dqcom_scm.c2097 static int qcom_scm_assert_valid_wq_ctx(u32 wq_ctx) in qcom_scm_assert_valid_wq_ctx() argument
2103 if (wq_ctx != 0) { in qcom_scm_assert_valid_wq_ctx()
2111 int qcom_scm_wait_for_wq_completion(u32 wq_ctx) in qcom_scm_wait_for_wq_completion() argument
2115 ret = qcom_scm_assert_valid_wq_ctx(wq_ctx); in qcom_scm_wait_for_wq_completion()
2124 static int qcom_scm_waitq_wakeup(unsigned int wq_ctx) in qcom_scm_waitq_wakeup() argument
2128 ret = qcom_scm_assert_valid_wq_ctx(wq_ctx); in qcom_scm_waitq_wakeup()
2141 u32 wq_ctx, flags, more_pending = 0; in qcom_scm_irq_handler() local
2144 ret = scm_get_wq_ctx(&wq_ctx, &flags, &more_pending); in qcom_scm_irq_handler()
2155 ret = qcom_scm_waitq_wakeup(wq_ctx); in qcom_scm_irq_handler()