Home
last modified time | relevance | path

Searched refs:q6v5 (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/remoteproc/
Dqcom_q6v5.c24 static int q6v5_load_state_toggle(struct qcom_q6v5 *q6v5, bool enable) in q6v5_load_state_toggle() argument
29 if (!q6v5->qmp) in q6v5_load_state_toggle()
34 q6v5->load_state, enable ? "on" : "off"); in q6v5_load_state_toggle()
38 ret = qmp_send(q6v5->qmp, buf, sizeof(buf)); in q6v5_load_state_toggle()
40 dev_err(q6v5->dev, "failed to toggle load state\n"); in q6v5_load_state_toggle()
51 int qcom_q6v5_prepare(struct qcom_q6v5 *q6v5) in qcom_q6v5_prepare() argument
55 ret = icc_set_bw(q6v5->path, 0, UINT_MAX); in qcom_q6v5_prepare()
57 dev_err(q6v5->dev, "failed to set bandwidth request\n"); in qcom_q6v5_prepare()
61 ret = q6v5_load_state_toggle(q6v5, true); in qcom_q6v5_prepare()
63 icc_set_bw(q6v5->path, 0, 0); in qcom_q6v5_prepare()
[all …]
Dqcom_q6v5.h42 void (*handover)(struct qcom_q6v5 *q6v5);
45 int qcom_q6v5_init(struct qcom_q6v5 *q6v5, struct platform_device *pdev,
47 void (*handover)(struct qcom_q6v5 *q6v5));
48 void qcom_q6v5_deinit(struct qcom_q6v5 *q6v5);
50 int qcom_q6v5_prepare(struct qcom_q6v5 *q6v5);
51 int qcom_q6v5_unprepare(struct qcom_q6v5 *q6v5);
52 int qcom_q6v5_request_stop(struct qcom_q6v5 *q6v5, struct qcom_sysmon *sysmon);
53 int qcom_q6v5_wait_for_start(struct qcom_q6v5 *q6v5, int timeout);
54 unsigned long qcom_q6v5_panic(struct qcom_q6v5 *q6v5);
Dqcom_q6v5_mss.c160 struct q6v5 { struct
188 struct qcom_q6v5 q6v5; argument
272 static int q6v5_regulator_enable(struct q6v5 *qproc, in q6v5_regulator_enable()
322 static void q6v5_regulator_disable(struct q6v5 *qproc, in q6v5_regulator_disable()
369 static int q6v5_pds_enable(struct q6v5 *qproc, struct device **pds, in q6v5_pds_enable()
396 static void q6v5_pds_disable(struct q6v5 *qproc, struct device **pds, in q6v5_pds_disable()
407 static int q6v5_xfer_mem_ownership(struct q6v5 *qproc, int *current_perm, in q6v5_xfer_mem_ownership()
437 static void q6v5_debug_policy_load(struct q6v5 *qproc, void *mba_region) in q6v5_debug_policy_load()
454 struct q6v5 *qproc = rproc->priv; in q6v5_load()
477 static int q6v5_reset_assert(struct q6v5 *qproc) in q6v5_reset_assert()
[all …]
Dqcom_q6v5_adsp.c77 struct qcom_q6v5 q6v5; member
334 ret = qcom_q6v5_prepare(&adsp->q6v5); in adsp_start()
379 ret = qcom_q6v5_wait_for_start(&adsp->q6v5, msecs_to_jiffies(5 * HZ)); in adsp_start()
394 qcom_q6v5_unprepare(&adsp->q6v5); in adsp_start()
399 static void qcom_adsp_pil_handover(struct qcom_q6v5 *q6v5) in qcom_adsp_pil_handover() argument
401 struct qcom_adsp *adsp = container_of(q6v5, struct qcom_adsp, q6v5); in qcom_adsp_pil_handover()
413 ret = qcom_q6v5_request_stop(&adsp->q6v5, adsp->sysmon); in adsp_stop()
421 handover = qcom_q6v5_unprepare(&adsp->q6v5); in adsp_stop()
423 qcom_adsp_pil_handover(&adsp->q6v5); in adsp_stop()
444 return qcom_q6v5_panic(&adsp->q6v5); in adsp_panic()
[all …]
Dqcom_q6v5_pas.c56 struct qcom_q6v5 q6v5; member
193 ret = qcom_q6v5_prepare(&adsp->q6v5); in adsp_start()
228 ret = qcom_q6v5_wait_for_start(&adsp->q6v5, msecs_to_jiffies(5000)); in adsp_start()
252 qcom_q6v5_unprepare(&adsp->q6v5); in adsp_start()
257 static void qcom_pas_handover(struct qcom_q6v5 *q6v5) in qcom_pas_handover() argument
259 struct qcom_adsp *adsp = container_of(q6v5, struct qcom_adsp, q6v5); in qcom_pas_handover()
276 ret = qcom_q6v5_request_stop(&adsp->q6v5, adsp->sysmon); in adsp_stop()
287 handover = qcom_q6v5_unprepare(&adsp->q6v5); in adsp_stop()
289 qcom_pas_handover(&adsp->q6v5); in adsp_stop()
313 return qcom_q6v5_panic(&adsp->q6v5); in adsp_panic()
[all …]
Dqcom_q6v5_wcss.c139 struct qcom_q6v5 q6v5; member
243 qcom_q6v5_prepare(&wcss->q6v5); in q6v5_wcss_start()
279 ret = qcom_q6v5_wait_for_start(&wcss->q6v5, 5 * HZ); in q6v5_wcss_start()
468 qcom_q6v5_prepare(&wcss->q6v5); in q6v5_qcs404_wcss_start()
480 ret = qcom_q6v5_wait_for_start(&wcss->q6v5, 5 * HZ); in q6v5_qcs404_wcss_start()
714 ret = qcom_q6v5_request_stop(&wcss->q6v5, NULL); in q6v5_wcss_stop()
736 qcom_q6v5_unprepare(&wcss->q6v5); in q6v5_wcss_stop()
1051 ret = qcom_q6v5_init(&wcss->q6v5, pdev, rproc, desc->crash_reason_smem, NULL, NULL); in q6v5_wcss_probe()
1082 qcom_q6v5_deinit(&wcss->q6v5); in q6v5_wcss_remove()
/linux-6.1.9/Documentation/devicetree/bindings/remoteproc/
Dqcom,q6v5.txt10 "qcom,q6v5-pil",
40 qcom,q6v5-pil:
75 qcom,q6v5-pil:
116 "qcom,q6v5-pil"
164 qcom,q6v5-pil:
/linux-6.1.9/Documentation/devicetree/bindings/net/wireless/
Dqcom,ath11k.yaml38 DT entry of q6v5-wcss remoteproc driver.