Home
last modified time | relevance | path

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

/openbmc/linux/drivers/remoteproc/
H A Dqcom_q6v5.c24 static int q6v5_load_state_toggle(struct qcom_q6v5 *q6v5, bool enable) in q6v5_load_state_toggle() argument
28 if (!q6v5->qmp) in q6v5_load_state_toggle()
31 ret = qmp_send(q6v5->qmp, "{class: image, res: load_state, name: %s, val: %s}", in q6v5_load_state_toggle()
32 q6v5->load_state, enable ? "on" : "off"); in q6v5_load_state_toggle()
34 dev_err(q6v5->dev, "failed to toggle load state\n"); in q6v5_load_state_toggle()
45 int qcom_q6v5_prepare(struct qcom_q6v5 *q6v5) in qcom_q6v5_prepare() argument
49 ret = icc_set_bw(q6v5->path, 0, UINT_MAX); in qcom_q6v5_prepare()
51 dev_err(q6v5->dev, "failed to set bandwidth request\n"); in qcom_q6v5_prepare()
55 ret = q6v5_load_state_toggle(q6v5, true); in qcom_q6v5_prepare()
57 icc_set_bw(q6v5->path, 0, 0); in qcom_q6v5_prepare()
[all …]
H A 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);
H A Dqcom_q6v5_mss.c168 struct q6v5 { struct
196 struct qcom_q6v5 q6v5; argument
286 static int q6v5_regulator_enable(struct q6v5 *qproc, in q6v5_regulator_enable()
336 static void q6v5_regulator_disable(struct q6v5 *qproc, in q6v5_regulator_disable()
383 static int q6v5_pds_enable(struct q6v5 *qproc, struct device **pds, in q6v5_pds_enable()
410 static void q6v5_pds_disable(struct q6v5 *qproc, struct device **pds, in q6v5_pds_disable()
421 static int q6v5_xfer_mem_ownership(struct q6v5 *qproc, u64 *current_perm, in q6v5_xfer_mem_ownership()
451 static void q6v5_debug_policy_load(struct q6v5 *qproc, void *mba_region) in q6v5_debug_policy_load()
468 struct q6v5 *qproc = rproc->priv; in q6v5_load()
491 static int q6v5_reset_assert(struct q6v5 *qproc) in q6v5_reset_assert()
[all …]
H A Dqcom_q6v5_adsp.c85 struct qcom_q6v5 q6v5; member
386 ret = qcom_q6v5_prepare(&adsp->q6v5); in adsp_start()
440 ret = qcom_q6v5_wait_for_start(&adsp->q6v5, msecs_to_jiffies(5 * HZ)); in adsp_start()
457 qcom_q6v5_unprepare(&adsp->q6v5); in adsp_start()
462 static void qcom_adsp_pil_handover(struct qcom_q6v5 *q6v5) in qcom_adsp_pil_handover() argument
464 struct qcom_adsp *adsp = container_of(q6v5, struct qcom_adsp, q6v5); in qcom_adsp_pil_handover()
476 ret = qcom_q6v5_request_stop(&adsp->q6v5, adsp->sysmon); in adsp_stop()
486 handover = qcom_q6v5_unprepare(&adsp->q6v5); in adsp_stop()
488 qcom_adsp_pil_handover(&adsp->q6v5); in adsp_stop()
530 return qcom_q6v5_panic(&adsp->q6v5); in adsp_panic()
[all …]
H A Dqcom_q6v5_pas.c60 struct qcom_q6v5 q6v5; member
251 ret = qcom_q6v5_prepare(&adsp->q6v5); in adsp_start()
308 ret = qcom_q6v5_wait_for_start(&adsp->q6v5, msecs_to_jiffies(5000)); in adsp_start()
341 qcom_q6v5_unprepare(&adsp->q6v5); in adsp_start()
349 static void qcom_pas_handover(struct qcom_q6v5 *q6v5) in qcom_pas_handover() argument
351 struct qcom_adsp *adsp = container_of(q6v5, struct qcom_adsp, q6v5); in qcom_pas_handover()
368 ret = qcom_q6v5_request_stop(&adsp->q6v5, adsp->sysmon); in adsp_stop()
385 handover = qcom_q6v5_unprepare(&adsp->q6v5); in adsp_stop()
387 qcom_pas_handover(&adsp->q6v5); in adsp_stop()
411 return qcom_q6v5_panic(&adsp->q6v5); in adsp_panic()
[all …]
H A 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()
1050 ret = qcom_q6v5_init(&wcss->q6v5, pdev, rproc, desc->crash_reason_smem, NULL, NULL); in q6v5_wcss_probe()
1081 qcom_q6v5_deinit(&wcss->q6v5); in q6v5_wcss_remove()
/openbmc/linux/
H A Dopengrok0.0.log[all...]
H A Dopengrok2.0.log[all...]