Home
last modified time | relevance | path

Searched defs:rproc (Results 1 – 25 of 32) sorted by relevance

12

/linux/drivers/remoteproc/
H A Dremoteproc_core.c84 struct rproc *rproc = token; in rproc_iommu_fault() local
97 static int rproc_enable_iommu(struct rproc *rproc) in rproc_enable_iommu()
131 static void rproc_disable_iommu(struct rproc *rproc) in rproc_disable_iommu()
189 void *rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in rproc_da_to_va()
248 rproc_find_carveout_by_name(struct rproc *rproc, const char *name, ...) in rproc_find_carveout_by_name()
286 static int rproc_check_carveout_da(struct rproc *rproc, in rproc_check_carveout_da()
323 struct rproc *rproc = rvdev->rproc; in rproc_alloc_vring() local
384 struct rproc *rproc = rvdev->rproc; in rproc_parse_vring() local
408 struct rproc *rproc = rvring->rvdev->rproc; in rproc_free_vring() local
432 void rproc_add_rvdev(struct rproc *rproc, struct rproc_vdev *rvdev) in rproc_add_rvdev()
[all …]
H A Dimx_rproc.c102 struct rproc *rproc; member
288 static int imx_rproc_arm_smc_start(struct rproc *rproc) in imx_rproc_arm_smc_start()
297 static int imx_rproc_mmio_start(struct rproc *rproc) in imx_rproc_mmio_start()
308 static int imx_rproc_scu_api_start(struct rproc *rproc) in imx_rproc_scu_api_start()
315 static int imx_rproc_start(struct rproc *rproc) in imx_rproc_start()
336 static int imx_rproc_arm_smc_stop(struct rproc *rproc) in imx_rproc_arm_smc_stop()
348 static int imx_rproc_mmio_stop(struct rproc *rproc) in imx_rproc_mmio_stop()
365 static int imx_rproc_scu_api_stop(struct rproc *rproc) in imx_rproc_scu_api_stop()
372 static int imx_rproc_stop(struct rproc *rproc) in imx_rproc_stop()
427 static void *imx_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in imx_rproc_da_to_va()
[all …]
H A Dimx_dsp_rproc.c130 struct rproc *rproc; member
264 static int imx_dsp_rproc_ready(struct rproc *rproc) in imx_dsp_rproc_ready()
295 static int imx_dsp_rproc_handle_rsc(struct rproc *rproc, u32 rsc_type, in imx_dsp_rproc_handle_rsc()
341 static int imx_dsp_rproc_mmio_start(struct rproc *rproc) in imx_dsp_rproc_mmio_start()
349 static int imx_dsp_rproc_reset_ctrl_start(struct rproc *rproc) in imx_dsp_rproc_reset_ctrl_start()
356 static int imx_dsp_rproc_scu_api_start(struct rproc *rproc) in imx_dsp_rproc_scu_api_start()
371 static int imx_dsp_rproc_start(struct rproc *rproc) in imx_dsp_rproc_start()
394 static int imx_dsp_rproc_mmio_stop(struct rproc *rproc) in imx_dsp_rproc_mmio_stop()
402 static int imx_dsp_rproc_reset_ctrl_stop(struct rproc *rproc) in imx_dsp_rproc_reset_ctrl_stop()
409 static int imx_dsp_rproc_scu_api_stop(struct rproc *rproc) in imx_dsp_rproc_scu_api_stop()
[all …]
H A Dstm32_rproc.c96 static int stm32_rproc_pa_to_da(struct rproc *rproc, phys_addr_t pa, u64 *da) in stm32_rproc_pa_to_da()
116 static int stm32_rproc_mem_alloc(struct rproc *rproc, in stm32_rproc_mem_alloc()
136 static int stm32_rproc_mem_release(struct rproc *rproc, in stm32_rproc_mem_release()
198 static int stm32_rproc_mbox_idx(struct rproc *rproc, const unsigned char *name) in stm32_rproc_mbox_idx()
212 static int stm32_rproc_prepare(struct rproc *rproc) in stm32_rproc_prepare()
264 static int stm32_rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in stm32_rproc_parse_fw()
275 struct rproc *rproc = platform_get_drvdata(pdev); in stm32_rproc_wdg() local
285 struct rproc *rproc = dev_get_drvdata(mb->client.dev); in stm32_rproc_mb_vq_work() local
301 struct rproc *rproc = dev_get_drvdata(cl->dev); in stm32_rproc_mb_callback() local
308 static void stm32_rproc_free_mbox(struct rproc *rproc) in stm32_rproc_free_mbox()
[all …]
H A Dti_k3_common.c56 struct rproc *rproc = kproc->rproc; in k3_rproc_mbox_callback() local
93 void k3_rproc_kick(struct rproc *rproc, int vqid) in k3_rproc_kick()
165 int k3_rproc_request_mbox(struct rproc *rproc) in k3_rproc_request_mbox()
200 int k3_rproc_prepare(struct rproc *rproc) in k3_rproc_prepare()
246 int k3_rproc_unprepare(struct rproc *rproc) in k3_rproc_unprepare()
274 int k3_rproc_start(struct rproc *rproc) in k3_rproc_start()
288 int k3_rproc_stop(struct rproc *rproc) in k3_rproc_stop()
305 int k3_rproc_attach(struct rproc *rproc) { return 0; } in k3_rproc_attach()
315 int k3_rproc_detach(struct rproc *rproc) { return 0; } in k3_rproc_detach()
328 struct resource_table *k3_get_loaded_rsc_table(struct rproc *rproc, in k3_get_loaded_rsc_table()
[all …]
H A Dremoteproc_debugfs.c45 struct rproc *rproc = filp->private_data; in rproc_coredump_read() local
75 struct rproc *rproc = filp->private_data; in rproc_coredump_write() local
158 struct rproc *rproc = filp->private_data; in rproc_name_read() local
178 struct rproc *rproc = filp->private_data; in rproc_recovery_read() local
212 struct rproc *rproc = filp->private_data; in rproc_recovery_write() local
255 struct rproc *rproc = filp->private_data; in rproc_crash_write() local
278 struct rproc *rproc = seq->private; in rproc_rsc_table_show() local
364 struct rproc *rproc = seq->private; in rproc_carveouts_show() local
386 struct dentry *rproc_create_trace_file(const char *name, struct rproc *rproc, in rproc_create_trace_file()
393 void rproc_delete_debug_dir(struct rproc *rproc) in rproc_delete_debug_dir()
[all …]
H A Dremoteproc_coredump.c17 struct rproc *rproc; member
26 void rproc_coredump_cleanup(struct rproc *rproc) in rproc_coredump_cleanup()
48 int rproc_coredump_add_segment(struct rproc *rproc, dma_addr_t da, size_t size) in rproc_coredump_add_segment()
79 int rproc_coredump_add_custom_segment(struct rproc *rproc, in rproc_coredump_add_custom_segment()
81 void (*dumpfn)(struct rproc *rproc, in rproc_coredump_add_custom_segment()
114 int rproc_coredump_set_elf_info(struct rproc *rproc, u8 class, u16 machine) in rproc_coredump_set_elf_info()
152 static void rproc_copy_segment(struct rproc *rproc, void *dest, in rproc_copy_segment()
184 struct rproc *rproc = dump_state->rproc; in rproc_coredump_read() local
235 void rproc_coredump(struct rproc *rproc) in rproc_coredump()
345 void rproc_coredump_using_sections(struct rproc *rproc) in rproc_coredump_using_sections()
H A Drcar_rproc.c22 static int rcar_rproc_mem_alloc(struct rproc *rproc, in rcar_rproc_mem_alloc()
42 static int rcar_rproc_mem_release(struct rproc *rproc, in rcar_rproc_mem_release()
51 static int rcar_rproc_prepare(struct rproc *rproc) in rcar_rproc_prepare()
87 static int rcar_rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in rcar_rproc_parse_fw()
98 static int rcar_rproc_start(struct rproc *rproc) in rcar_rproc_start()
119 static int rcar_rproc_stop(struct rproc *rproc) in rcar_rproc_stop()
148 struct rproc *rproc; in rcar_rproc_probe() local
H A Dst_remoteproc.c57 struct rproc *rproc = dev_get_drvdata(dev); in st_rproc_mbox_callback() local
75 static void st_rproc_kick(struct rproc *rproc, int vqid) in st_rproc_kick()
91 static int st_rproc_mem_alloc(struct rproc *rproc, in st_rproc_mem_alloc()
110 static int st_rproc_mem_release(struct rproc *rproc, in st_rproc_mem_release()
118 static int st_rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in st_rproc_parse_fw()
163 static int st_rproc_start(struct rproc *rproc) in st_rproc_start()
207 static int st_rproc_stop(struct rproc *rproc) in st_rproc_stop()
245 struct rproc *rproc = platform_get_drvdata(pdev); in st_rproc_state() local
283 struct rproc *rproc = platform_get_drvdata(pdev); in st_rproc_parse_dt() local
333 struct rproc *rproc; in st_rproc_probe() local
[all …]
H A Domap_remoteproc.c118 struct rproc *rproc; member
278 struct rproc *rproc = data; in omap_rproc_watchdog_isr() local
317 static int omap_rproc_enable_timers(struct rproc *rproc, bool configure) in omap_rproc_enable_timers()
457 static int omap_rproc_disable_timers(struct rproc *rproc, bool configure) in omap_rproc_disable_timers()
537 static void omap_rproc_kick(struct rproc *rproc, int vqid) in omap_rproc_kick()
569 static int omap_rproc_write_dsp_boot_addr(struct rproc *rproc) in omap_rproc_write_dsp_boot_addr()
597 static int omap_rproc_start(struct rproc *rproc) in omap_rproc_start()
670 static int omap_rproc_stop(struct rproc *rproc) in omap_rproc_stop()
734 static void *omap_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in omap_rproc_da_to_va()
774 static int _omap_rproc_suspend(struct rproc *rproc, bool auto_suspend) in _omap_rproc_suspend()
[all …]
H A Dqcom_common.c95 static void qcom_minidump_cleanup(struct rproc *rproc) in qcom_minidump_cleanup()
106 static int qcom_add_minidump_segments(struct rproc *rproc, struct minidump_subsystem *subsystem, in qcom_add_minidump_segments()
107 void (*rproc_dumpfn_t)(struct rproc *rproc, struct rproc_dump_segment *segment, in qcom_add_minidump_segments()
146 void qcom_minidump(struct rproc *rproc, unsigned int minidump_id, in qcom_minidump()
147 void (*rproc_dumpfn_t)(struct rproc *rproc, in qcom_minidump()
229 void qcom_add_glink_subdev(struct rproc *rproc, struct qcom_rproc_glink *glink, in qcom_add_glink_subdev()
256 void qcom_remove_glink_subdev(struct rproc *rproc, struct qcom_rproc_glink *glink) in qcom_remove_glink_subdev()
276 int qcom_register_dump_segments(struct rproc *rproc, in qcom_register_dump_segments()
332 void qcom_add_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd) in qcom_add_smd_subdev()
353 void qcom_remove_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd) in qcom_remove_smd_subdev()
[all …]
H A Dxlnx_r5_remoteproc.c153 struct rproc *rproc; member
187 struct rproc *rproc = data; in event_notified_idr_cb() local
204 struct rproc *rproc; in handle_event_notified() local
326 static void zynqmp_r5_rproc_kick(struct rproc *rproc, int vqid) in zynqmp_r5_rproc_kick()
354 static int zynqmp_r5_rproc_start(struct rproc *rproc) in zynqmp_r5_rproc_start()
411 static int zynqmp_r5_rproc_stop(struct rproc *rproc) in zynqmp_r5_rproc_stop()
453 static int zynqmp_r5_mem_region_map(struct rproc *rproc, in zynqmp_r5_mem_region_map()
476 static int zynqmp_r5_mem_region_unmap(struct rproc *rproc, in zynqmp_r5_mem_region_unmap()
491 static int add_mem_regions_carveout(struct rproc *rproc) in add_mem_regions_carveout()
537 static int add_sram_carveouts(struct rproc *rproc) in add_sram_carveouts()
[all …]
H A Dingenic_rproc.c69 static int ingenic_rproc_prepare(struct rproc *rproc) in ingenic_rproc_prepare()
82 static int ingenic_rproc_unprepare(struct rproc *rproc) in ingenic_rproc_unprepare()
91 static int ingenic_rproc_start(struct rproc *rproc) in ingenic_rproc_start()
105 static int ingenic_rproc_stop(struct rproc *rproc) in ingenic_rproc_stop()
117 static void ingenic_rproc_kick(struct rproc *rproc, int vqid) in ingenic_rproc_kick()
124 static void *ingenic_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in ingenic_rproc_da_to_va()
154 struct rproc *rproc = data; in vpu_interrupt() local
170 struct rproc *rproc; in ingenic_rproc_probe() local
H A Dremoteproc_cdev.c23 struct rproc *rproc = container_of(filp->f_inode->i_cdev, struct rproc, cdev); in rproc_cdev_write() local
50 struct rproc *rproc = container_of(filp->f_inode->i_cdev, struct rproc, cdev); in rproc_device_ioctl() local
77 struct rproc *rproc = container_of(inode->i_cdev, struct rproc, cdev); in rproc_cdev_release() local
98 int rproc_char_device_add(struct rproc *rproc) in rproc_char_device_add()
114 void rproc_char_device_remove(struct rproc *rproc) in rproc_char_device_remove()
H A Dremoteproc_elf_loader.c37 int rproc_elf_sanity_check(struct rproc *rproc, const struct firmware *fw)
128 u64 rproc_elf_get_boot_addr(struct rproc *rproc, const struct firmware *fw)
160 int rproc_elf_load_segments(struct rproc *rproc, const struct firmware *fw)
326 int rproc_elf_load_rsc_table(struct rproc *rproc, const struct firmware *fw)
372 struct resource_table *rproc_elf_find_loaded_rsc_table(struct rproc *rproc,
H A Dqcom_q6v5_adsp.c82 struct rproc *rproc; member
315 static int adsp_load(struct rproc *rproc, const struct firmware *fw) in adsp_load()
331 static void adsp_unmap_carveout(struct rproc *rproc) in adsp_unmap_carveout()
339 static int adsp_map_carveout(struct rproc *rproc) in adsp_map_carveout()
373 static int adsp_start(struct rproc *rproc) in adsp_start()
462 static int adsp_stop(struct rproc *rproc) in adsp_stop()
485 static void *adsp_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in adsp_da_to_va()
497 static int adsp_parse_firmware(struct rproc *rproc, const struct firmware *fw) in adsp_parse_firmware()
518 static unsigned long adsp_panic(struct rproc *rproc) in adsp_panic()
654 struct rproc *rproc; in adsp_probe() local
H A Dst_slim_rproc.c111 static int slim_rproc_start(struct rproc *rproc) in slim_rproc_start()
153 static int slim_rproc_stop(struct rproc *rproc) in slim_rproc_stop()
176 static void *slim_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in slim_rproc_da_to_va()
227 struct rproc *rproc; in st_slim_rproc_alloc() local
H A Dqcom_q6v5_pas.c66 struct rproc *rproc; member
124 static void qcom_pas_segment_dump(struct rproc *rproc, in qcom_pas_segment_dump()
143 static void qcom_pas_minidump(struct rproc *rproc) in qcom_pas_minidump()
204 static int qcom_pas_unprepare(struct rproc *rproc) in qcom_pas_unprepare()
221 static int qcom_pas_load(struct rproc *rproc, const struct firmware *fw) in qcom_pas_load()
266 static int qcom_pas_start(struct rproc *rproc) in qcom_pas_start()
382 static int qcom_pas_stop(struct rproc *rproc) in qcom_pas_stop()
415 static void *qcom_pas_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in qcom_pas_da_to_va()
430 static unsigned long qcom_pas_panic(struct rproc *rproc) in qcom_pas_panic()
664 struct rproc *rproc; in qcom_pas_probe() local
H A Dremoteproc_virtio.c68 struct rproc *rproc = rvring->rvdev->rproc; in rproc_virtio_notify() local
89 irqreturn_t rproc_vq_interrupt(struct rproc *rproc, int notifyid) in rproc_vq_interrupt()
109 struct rproc *rproc = vdev_to_rproc(vdev); in rp_find_vq() local
372 struct rproc *rproc = rvdev->rproc; in rproc_add_virtio_dev() local
499 struct rproc *rproc = container_of(dev->parent, struct rproc, dev); in rproc_virtio_probe() local
578 struct rproc *rproc = rvdev->rproc; in rproc_virtio_remove() local
H A Dqcom_wcnss.c68 struct rproc *rproc; member
155 static int wcnss_load(struct rproc *rproc, const struct firmware *fw) in wcnss_load()
228 static int wcnss_start(struct rproc *rproc) in wcnss_start()
294 static int wcnss_stop(struct rproc *rproc) in wcnss_stop()
321 static void *wcnss_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in wcnss_da_to_va()
554 struct rproc *rproc; in wcnss_probe() local
H A Dqcom_q6v5_wcss.c239 static int q6v5_wcss_start(struct rproc *rproc) in q6v5_wcss_start()
456 static int q6v5_qcs404_wcss_start(struct rproc *rproc) in q6v5_qcs404_wcss_start()
708 static int q6v5_wcss_stop(struct rproc *rproc) in q6v5_wcss_stop()
742 static void *q6v5_wcss_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in q6v5_wcss_da_to_va()
754 static int q6v5_wcss_load(struct rproc *rproc, const struct firmware *fw) in q6v5_wcss_load()
972 struct rproc *rproc; in q6v5_wcss_probe() local
1053 struct rproc *rproc = platform_get_drvdata(pdev); in q6v5_wcss_remove() local
H A Dqcom_q6v5_mss.c176 struct rproc *rproc; member
503 static int q6v5_load(struct rproc *rproc, const struct firmware *fw) in q6v5_load()
641 struct rproc *rproc = qproc->rproc; in q6v5_dump_mba_logs() local
1366 static int q6v5_reload_mba(struct rproc *rproc) in q6v5_reload_mba()
1587 static void qcom_q6v5_dump_segment(struct rproc *rproc, in qcom_q6v5_dump_segment()
1633 static int q6v5_start(struct rproc *rproc) in q6v5_start()
1675 static int q6v5_stop(struct rproc *rproc) in q6v5_stop()
1689 static int qcom_q6v5_register_dump_segments(struct rproc *rproc, in qcom_q6v5_register_dump_segments()
1733 static unsigned long q6v5_panic(struct rproc *rproc) in q6v5_panic()
2034 struct rproc *rproc; in q6v5_probe() local
[all …]
H A Dmtk_scp.c299 static int scp_elf_load_segments(struct rproc *rproc, const struct firmware *fw) in scp_elf_load_segments()
662 static int scp_load(struct rproc *rproc, const struct firmware *fw) in scp_load()
688 static int scp_parse_fw(struct rproc *rproc, const struct firmware *fw) in scp_parse_fw()
705 static int scp_start(struct rproc *rproc) in scp_start()
798 static void *scp_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in scp_da_to_va()
907 static int scp_stop(struct rproc *rproc) in scp_stop()
1151 struct rproc *rproc; in scp_rproc_init() local
/linux/include/linux/
H A Dremoteproc.h549 struct rproc { struct
555 struct rproc_ops *ops; argument
559 enum rproc_dump_mechanism dump_conf; argument
560 struct mutex lock;
561 struct dentry *dbg_dir;
562 struct list_head traces;
563 int num_traces;
564 struct list_head carveouts;
565 struct list_head mappings;
566 u64 bootaddr;
[all …]
/linux/include/linux/remoteproc/
H A Dpruss.h63 static inline void pru_rproc_put(struct rproc *rproc) { } in pru_rproc_put()
65 static inline int pru_rproc_set_ctable(struct rproc *rproc, in pru_rproc_set_ctable()

12