Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/remoteproc/
Dremoteproc_core.c87 struct rproc *rproc = token; in rproc_iommu_fault() local
100 static int rproc_enable_iommu(struct rproc *rproc) in rproc_enable_iommu()
134 static void rproc_disable_iommu(struct rproc *rproc) in rproc_disable_iommu()
192 void *rproc_da_to_va(struct rproc *rproc, u64 da, size_t len) 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
510 static int rproc_handle_vdev(struct rproc *rproc, struct fw_rsc_vdev *rsc, in rproc_handle_vdev()
[all …]
Dremoteproc_internal.h21 struct rproc *rproc; member
74 static inline int rproc_char_device_add(struct rproc *rproc) in rproc_char_device_add()
79 static inline void rproc_char_device_remove(struct rproc *rproc) in rproc_char_device_remove()
100 static inline int rproc_prepare_device(struct rproc *rproc) in rproc_prepare_device()
108 static inline int rproc_unprepare_device(struct rproc *rproc) in rproc_unprepare_device()
116 static inline int rproc_attach_device(struct rproc *rproc) in rproc_attach_device()
125 int rproc_fw_sanity_check(struct rproc *rproc, const struct firmware *fw) in rproc_fw_sanity_check()
134 u64 rproc_get_boot_addr(struct rproc *rproc, const struct firmware *fw) in rproc_get_boot_addr()
143 int rproc_load_segments(struct rproc *rproc, const struct firmware *fw) in rproc_load_segments()
151 static inline int rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in rproc_parse_fw()
[all …]
Dstm32_rproc.c94 static int stm32_rproc_pa_to_da(struct rproc *rproc, phys_addr_t pa, u64 *da) in stm32_rproc_pa_to_da()
114 static int stm32_rproc_mem_alloc(struct rproc *rproc, in stm32_rproc_mem_alloc()
134 static int stm32_rproc_mem_release(struct rproc *rproc, in stm32_rproc_mem_release()
196 static int stm32_rproc_mbox_idx(struct rproc *rproc, const unsigned char *name) in stm32_rproc_mbox_idx()
210 static int stm32_rproc_elf_load_rsc_table(struct rproc *rproc, in stm32_rproc_elf_load_rsc_table()
219 static int stm32_rproc_parse_memory_regions(struct rproc *rproc) in stm32_rproc_parse_memory_regions()
275 static int stm32_rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in stm32_rproc_parse_fw()
288 struct rproc *rproc = platform_get_drvdata(pdev); in stm32_rproc_wdg() local
298 struct rproc *rproc = dev_get_drvdata(mb->client.dev); in stm32_rproc_mb_vq_work() local
306 struct rproc *rproc = dev_get_drvdata(cl->dev); in stm32_rproc_mb_callback() local
[all …]
Dremoteproc_coredump.c17 struct rproc *rproc; member
26 void rproc_coredump_cleanup(struct rproc *rproc) in rproc_coredump_cleanup()
47 int rproc_coredump_add_segment(struct rproc *rproc, dma_addr_t da, size_t size) in rproc_coredump_add_segment()
78 int rproc_coredump_add_custom_segment(struct rproc *rproc, in rproc_coredump_add_custom_segment()
80 void (*dumpfn)(struct rproc *rproc, in rproc_coredump_add_custom_segment()
113 int rproc_coredump_set_elf_info(struct rproc *rproc, u8 class, u16 machine) in rproc_coredump_set_elf_info()
151 static void rproc_copy_segment(struct rproc *rproc, void *dest, in rproc_copy_segment()
179 struct rproc *rproc = dump_state->rproc; in rproc_coredump_read() local
230 void rproc_coredump(struct rproc *rproc) in rproc_coredump()
Dremoteproc_sysfs.c16 struct rproc *rproc = to_rproc(dev); in recovery_show() local
49 struct rproc *rproc = to_rproc(dev); in recovery_store() local
83 struct rproc *rproc = to_rproc(dev); in coredump_show() local
108 struct rproc *rproc = to_rproc(dev); in coredump_store() local
134 struct rproc *rproc = to_rproc(dev); in firmware_show() local
156 struct rproc *rproc = to_rproc(dev); in firmware_store() local
212 struct rproc *rproc = to_rproc(dev); in state_show() local
224 struct rproc *rproc = to_rproc(dev); in state_store() local
251 struct rproc *rproc = to_rproc(dev); in name_show() local
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()
401 void rproc_delete_debug_dir(struct rproc *rproc) in rproc_delete_debug_dir()
[all …]
Dst_remoteproc.c58 struct rproc *rproc = dev_get_drvdata(dev); in st_rproc_mbox_callback() local
76 static void st_rproc_kick(struct rproc *rproc, int vqid) in st_rproc_kick()
92 static int st_rproc_mem_alloc(struct rproc *rproc, in st_rproc_mem_alloc()
111 static int st_rproc_mem_release(struct rproc *rproc, in st_rproc_mem_release()
119 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
344 struct rproc *rproc; in st_rproc_probe() local
[all …]
Domap_remoteproc.c113 struct rproc *rproc; member
273 struct rproc *rproc = data; in omap_rproc_watchdog_isr() local
312 static int omap_rproc_enable_timers(struct rproc *rproc, bool configure) in omap_rproc_enable_timers()
452 static int omap_rproc_disable_timers(struct rproc *rproc, bool configure) in omap_rproc_disable_timers()
532 static void omap_rproc_kick(struct rproc *rproc, int vqid) in omap_rproc_kick()
565 static int omap_rproc_write_dsp_boot_addr(struct rproc *rproc) in omap_rproc_write_dsp_boot_addr()
593 static int omap_rproc_start(struct rproc *rproc) in omap_rproc_start()
667 static int omap_rproc_stop(struct rproc *rproc) in omap_rproc_stop()
731 static void *omap_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len) in omap_rproc_da_to_va()
771 static int _omap_rproc_suspend(struct rproc *rproc, bool auto_suspend) in _omap_rproc_suspend()
[all …]
Dremoteproc_cdev.c23 struct rproc *rproc = container_of(filp->f_inode->i_cdev, struct rproc, cdev); in rproc_cdev_write() local
54 struct rproc *rproc = container_of(filp->f_inode->i_cdev, struct rproc, cdev); in rproc_device_ioctl() local
81 struct rproc *rproc = container_of(inode->i_cdev, struct rproc, cdev); in rproc_cdev_release() local
96 int rproc_char_device_add(struct rproc *rproc) in rproc_char_device_add()
112 void rproc_char_device_remove(struct rproc *rproc) in rproc_char_device_remove()
Dingenic_rproc.c64 static int ingenic_rproc_prepare(struct rproc *rproc) in ingenic_rproc_prepare()
77 static int ingenic_rproc_unprepare(struct rproc *rproc) in ingenic_rproc_unprepare()
86 static int ingenic_rproc_start(struct rproc *rproc) in ingenic_rproc_start()
100 static int ingenic_rproc_stop(struct rproc *rproc) in ingenic_rproc_stop()
112 static void ingenic_rproc_kick(struct rproc *rproc, int vqid) in ingenic_rproc_kick()
119 static void *ingenic_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len) in ingenic_rproc_da_to_va()
149 struct rproc *rproc = data; in vpu_interrupt() local
165 struct rproc *rproc; in ingenic_rproc_probe() local
Dda8xx_remoteproc.c67 struct rproc *rproc; member
87 struct rproc *rproc = (struct rproc *)p; in handle_event() local
107 struct rproc *rproc = (struct rproc *)p; in da8xx_rproc_callback() local
133 static int da8xx_rproc_start(struct rproc *rproc) in da8xx_rproc_start()
166 static int da8xx_rproc_stop(struct rproc *rproc) in da8xx_rproc_stop()
184 static void da8xx_rproc_kick(struct rproc *rproc, int vqid) in da8xx_rproc_kick()
240 struct rproc *rproc; in da8xx_rproc_probe() local
362 struct rproc *rproc = platform_get_drvdata(pdev); in da8xx_rproc_remove() local
Dwkup_m3_rproc.c48 struct rproc *rproc; member
53 static int wkup_m3_rproc_start(struct rproc *rproc) in wkup_m3_rproc_start()
68 static int wkup_m3_rproc_stop(struct rproc *rproc) in wkup_m3_rproc_stop()
83 static void *wkup_m3_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len) in wkup_m3_rproc_da_to_va()
127 struct rproc *rproc; in wkup_m3_rproc_probe() local
212 struct rproc *rproc = platform_get_drvdata(pdev); in wkup_m3_rproc_remove() local
Dqcom_common.c67 void qcom_add_glink_subdev(struct rproc *rproc, struct qcom_rproc_glink *glink, in qcom_add_glink_subdev()
94 void qcom_remove_glink_subdev(struct rproc *rproc, struct qcom_rproc_glink *glink) in qcom_remove_glink_subdev()
114 int qcom_register_dump_segments(struct rproc *rproc, in qcom_register_dump_segments()
170 void qcom_add_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd) in qcom_add_smd_subdev()
191 void qcom_remove_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd) in qcom_remove_smd_subdev()
329 void qcom_add_ssr_subdev(struct rproc *rproc, struct qcom_rproc_ssr *ssr, in qcom_add_ssr_subdev()
355 void qcom_remove_ssr_subdev(struct rproc *rproc, struct qcom_rproc_ssr *ssr) in qcom_remove_ssr_subdev()
Dremoteproc_elf_loader.c35 int rproc_elf_sanity_check(struct rproc *rproc, const struct firmware *fw)
126 u64 rproc_elf_get_boot_addr(struct rproc *rproc, const struct firmware *fw)
156 int rproc_elf_load_segments(struct rproc *rproc, const struct firmware *fw)
313 int rproc_elf_load_rsc_table(struct rproc *rproc, const struct firmware *fw)
359 struct resource_table *rproc_elf_find_loaded_rsc_table(struct rproc *rproc,
Dkeystone_remoteproc.c57 struct rproc *rproc; member
169 static int keystone_rproc_start(struct rproc *rproc) in keystone_rproc_start()
213 static int keystone_rproc_stop(struct rproc *rproc) in keystone_rproc_stop()
231 static void keystone_rproc_kick(struct rproc *rproc, int vqid) in keystone_rproc_kick()
249 static void *keystone_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len) in keystone_rproc_da_to_va()
366 struct rproc *rproc; in keystone_rproc_probe() local
Dti_k3_dsp_remoteproc.c82 struct rproc *rproc; member
151 static void k3_dsp_rproc_kick(struct rproc *rproc, int vqid) in k3_dsp_rproc_kick()
228 static int k3_dsp_rproc_prepare(struct rproc *rproc) in k3_dsp_rproc_prepare()
252 static int k3_dsp_rproc_unprepare(struct rproc *rproc) in k3_dsp_rproc_unprepare()
273 static int k3_dsp_rproc_start(struct rproc *rproc) in k3_dsp_rproc_start()
338 static int k3_dsp_rproc_stop(struct rproc *rproc) in k3_dsp_rproc_stop()
357 static void *k3_dsp_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len) in k3_dsp_rproc_da_to_va()
593 struct rproc *rproc; in k3_dsp_rproc_probe() local
Dqcom_q6v5_adsp.c68 struct rproc *rproc; member
166 static int adsp_load(struct rproc *rproc, const struct firmware *fw) in adsp_load()
182 static int adsp_start(struct rproc *rproc) in adsp_start()
261 static int adsp_stop(struct rproc *rproc) in adsp_stop()
282 static void *adsp_da_to_va(struct rproc *rproc, u64 da, size_t len) in adsp_da_to_va()
294 static unsigned long adsp_panic(struct rproc *rproc) in adsp_panic()
430 struct rproc *rproc; in adsp_probe() local
Dimx_rproc.c84 struct rproc *rproc; member
158 static int imx_rproc_start(struct rproc *rproc) in imx_rproc_start()
173 static int imx_rproc_stop(struct rproc *rproc) in imx_rproc_stop()
211 static void *imx_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len) in imx_rproc_da_to_va()
318 struct rproc *rproc; in imx_rproc_probe() local
392 struct rproc *rproc = platform_get_drvdata(pdev); in imx_rproc_remove() local
Dqcom_q6v5_pas.c49 struct rproc *rproc; member
119 static int adsp_load(struct rproc *rproc, const struct firmware *fw) in adsp_load()
135 static int adsp_start(struct rproc *rproc) in adsp_start()
211 static int adsp_stop(struct rproc *rproc) in adsp_stop()
233 static void *adsp_da_to_va(struct rproc *rproc, u64 da, size_t len) in adsp_da_to_va()
245 static unsigned long adsp_panic(struct rproc *rproc) in adsp_panic()
384 struct rproc *rproc; in adsp_probe() local
Dremoteproc_virtio.c30 struct rproc *rproc = rvring->rvdev->rproc; in rproc_virtio_notify() local
51 irqreturn_t rproc_vq_interrupt(struct rproc *rproc, int notifyid) in rproc_vq_interrupt()
71 struct rproc *rproc = vdev_to_rproc(vdev); in rp_find_vq() local
311 struct rproc *rproc = vdev_to_rproc(vdev); in rproc_virtio_dev_release() local
332 struct rproc *rproc = rvdev->rproc; in rproc_add_virtio_dev() local
Dst_slim_rproc.c112 static int slim_rproc_start(struct rproc *rproc) in slim_rproc_start()
154 static int slim_rproc_stop(struct rproc *rproc) in slim_rproc_stop()
177 static void *slim_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len) in slim_rproc_da_to_va()
228 struct rproc *rproc; in st_slim_rproc_alloc() local
Dti_k3_r5_remoteproc.c102 struct rproc *rproc; member
132 struct rproc *rproc; member
188 static void k3_r5_rproc_kick(struct rproc *rproc, int vqid) in k3_r5_rproc_kick()
359 static int k3_r5_rproc_prepare(struct rproc *rproc) in k3_r5_rproc_prepare()
398 static int k3_r5_rproc_unprepare(struct rproc *rproc) in k3_r5_rproc_unprepare()
426 static int k3_r5_rproc_start(struct rproc *rproc) in k3_r5_rproc_start()
517 static int k3_r5_rproc_stop(struct rproc *rproc) in k3_r5_rproc_stop()
560 static void *k3_r5_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len) in k3_r5_rproc_da_to_va()
866 struct rproc *rproc; in k3_r5_cluster_rproc_init() local
948 struct rproc *rproc; in k3_r5_cluster_rproc_exit() local
Dqcom_q6v5_wcss.c184 static int q6v5_wcss_start(struct rproc *rproc) in q6v5_wcss_start()
387 static int q6v5_wcss_stop(struct rproc *rproc) in q6v5_wcss_stop()
413 static void *q6v5_wcss_da_to_va(struct rproc *rproc, u64 da, size_t len) in q6v5_wcss_da_to_va()
425 static int q6v5_wcss_load(struct rproc *rproc, const struct firmware *fw) in q6v5_wcss_load()
542 struct rproc *rproc; in q6v5_wcss_probe() local
590 struct rproc *rproc = platform_get_drvdata(pdev); in q6v5_wcss_remove() local
Dqcom_wcnss.c64 struct rproc *rproc; member
146 static int wcnss_load(struct rproc *rproc, const struct firmware *fw) in wcnss_load()
219 static int wcnss_start(struct rproc *rproc) in wcnss_start()
271 static int wcnss_stop(struct rproc *rproc) in wcnss_stop()
298 static void *wcnss_da_to_va(struct rproc *rproc, u64 da, size_t len) in wcnss_da_to_va()
471 struct rproc *rproc; in wcnss_probe() local
/Linux-v5.10/include/linux/
Dremoteproc.h516 struct rproc { struct
522 struct rproc_ops *ops; argument
526 enum rproc_dump_mechanism dump_conf; argument
527 struct mutex lock;
528 struct dentry *dbg_dir;
529 struct list_head traces;
530 int num_traces;
531 struct list_head carveouts;
532 struct list_head mappings;
533 u64 bootaddr;
[all …]

12