Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
193 void *rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in rproc_da_to_va()
252 rproc_find_carveout_by_name(struct rproc *rproc, const char *name, ...) in rproc_find_carveout_by_name()
290 static int rproc_check_carveout_da(struct rproc *rproc, in rproc_check_carveout_da()
327 struct rproc *rproc = rvdev->rproc; in rproc_alloc_vring() local
388 struct rproc *rproc = rvdev->rproc; in rproc_parse_vring() local
412 struct rproc *rproc = rvring->rvdev->rproc; in rproc_free_vring() local
436 void rproc_add_rvdev(struct rproc *rproc, struct rproc_vdev *rvdev) in rproc_add_rvdev()
[all …]
Dremoteproc_internal.h21 struct rproc *rproc; member
42 static inline bool rproc_has_feature(struct rproc *rproc, unsigned int feature) in rproc_has_feature()
47 static inline int rproc_set_feature(struct rproc *rproc, unsigned int feature) in rproc_set_feature()
101 static inline int rproc_char_device_add(struct rproc *rproc) in rproc_char_device_add()
106 static inline void rproc_char_device_remove(struct rproc *rproc) in rproc_char_device_remove()
129 static inline int rproc_prepare_device(struct rproc *rproc) in rproc_prepare_device()
137 static inline int rproc_unprepare_device(struct rproc *rproc) in rproc_unprepare_device()
145 static inline int rproc_attach_device(struct rproc *rproc) in rproc_attach_device()
154 int rproc_fw_sanity_check(struct rproc *rproc, const struct firmware *fw) in rproc_fw_sanity_check()
163 u64 rproc_get_boot_addr(struct rproc *rproc, const struct firmware *fw) in rproc_get_boot_addr()
[all …]
Dstm32_rproc.c95 static int stm32_rproc_pa_to_da(struct rproc *rproc, phys_addr_t pa, u64 *da) in stm32_rproc_pa_to_da()
115 static int stm32_rproc_mem_alloc(struct rproc *rproc, in stm32_rproc_mem_alloc()
135 static int stm32_rproc_mem_release(struct rproc *rproc, in stm32_rproc_mem_release()
197 static int stm32_rproc_mbox_idx(struct rproc *rproc, const unsigned char *name) in stm32_rproc_mbox_idx()
211 static int stm32_rproc_prepare(struct rproc *rproc) in stm32_rproc_prepare()
267 static int stm32_rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in stm32_rproc_parse_fw()
278 struct rproc *rproc = platform_get_drvdata(pdev); in stm32_rproc_wdg() local
288 struct rproc *rproc = dev_get_drvdata(mb->client.dev); in stm32_rproc_mb_vq_work() local
296 struct rproc *rproc = dev_get_drvdata(cl->dev); in stm32_rproc_mb_callback() local
303 static void stm32_rproc_free_mbox(struct rproc *rproc) in stm32_rproc_free_mbox()
[all …]
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
153 struct rproc *rproc = to_rproc(dev); in firmware_store() local
181 struct rproc *rproc = to_rproc(dev); in state_show() local
193 struct rproc *rproc = to_rproc(dev); in state_store() local
216 struct rproc *rproc = to_rproc(dev); in name_show() local
226 struct rproc *rproc = to_rproc(dev); in rproc_is_visible() 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()
393 void rproc_delete_debug_dir(struct rproc *rproc) in rproc_delete_debug_dir()
[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()
183 struct rproc *rproc = dump_state->rproc; in rproc_coredump_read() local
234 void rproc_coredump(struct rproc *rproc) in rproc_coredump()
343 void rproc_coredump_using_sections(struct rproc *rproc) in rproc_coredump_using_sections()
Drcar_rproc.c21 static int rcar_rproc_mem_alloc(struct rproc *rproc, in rcar_rproc_mem_alloc()
41 static int rcar_rproc_mem_release(struct rproc *rproc, in rcar_rproc_mem_release()
50 static int rcar_rproc_prepare(struct rproc *rproc) in rcar_rproc_prepare()
91 static int rcar_rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in rcar_rproc_parse_fw()
102 static int rcar_rproc_start(struct rproc *rproc) in rcar_rproc_start()
123 static int rcar_rproc_stop(struct rproc *rproc) in rcar_rproc_stop()
152 struct rproc *rproc; in rcar_rproc_probe() local
Dimx_dsp_rproc.c109 struct rproc *rproc; member
280 static int imx_dsp_rproc_ready(struct rproc *rproc) in imx_dsp_rproc_ready()
305 static int imx_dsp_rproc_start(struct rproc *rproc) in imx_dsp_rproc_start()
342 static int imx_dsp_rproc_stop(struct rproc *rproc) in imx_dsp_rproc_stop()
432 struct rproc *rproc = priv->rproc; in imx_dsp_rproc_vq_work() local
457 struct rproc *rproc = dev_get_drvdata(cl->dev); in imx_dsp_rproc_rx_tx_callback() local
487 struct rproc *rproc = dev_get_drvdata(cl->dev); in imx_dsp_rproc_rxdb_callback() local
581 struct rproc *rproc = priv->rproc; in imx_dsp_rproc_add_carveout() local
659 static int imx_dsp_rproc_prepare(struct rproc *rproc) in imx_dsp_rproc_prepare()
687 static int imx_dsp_rproc_unprepare(struct rproc *rproc) in imx_dsp_rproc_unprepare()
[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, bool *is_iomem) in omap_rproc_da_to_va()
771 static int _omap_rproc_suspend(struct rproc *rproc, bool auto_suspend) in _omap_rproc_suspend()
[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 …]
Dimx_rproc.c82 struct rproc *rproc; member
296 static int imx_rproc_start(struct rproc *rproc) in imx_rproc_start()
323 static int imx_rproc_stop(struct rproc *rproc) in imx_rproc_stop()
377 static void *imx_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in imx_rproc_da_to_va()
410 static int imx_rproc_mem_alloc(struct rproc *rproc, in imx_rproc_mem_alloc()
430 static int imx_rproc_mem_release(struct rproc *rproc, in imx_rproc_mem_release()
439 static int imx_rproc_prepare(struct rproc *rproc) in imx_rproc_prepare()
486 static int imx_rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in imx_rproc_parse_fw()
497 static void imx_rproc_kick(struct rproc *rproc, int vqid) in imx_rproc_kick()
520 static int imx_rproc_attach(struct rproc *rproc) in imx_rproc_attach()
[all …]
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
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()
219 static int k3_dsp_rproc_request_mbox(struct rproc *rproc) in k3_dsp_rproc_request_mbox()
266 static int k3_dsp_rproc_prepare(struct rproc *rproc) in k3_dsp_rproc_prepare()
290 static int k3_dsp_rproc_unprepare(struct rproc *rproc) in k3_dsp_rproc_unprepare()
311 static int k3_dsp_rproc_start(struct rproc *rproc) in k3_dsp_rproc_start()
352 static int k3_dsp_rproc_stop(struct rproc *rproc) in k3_dsp_rproc_stop()
371 static int k3_dsp_rproc_attach(struct rproc *rproc) in k3_dsp_rproc_attach()
393 static int k3_dsp_rproc_detach(struct rproc *rproc) in k3_dsp_rproc_detach()
413 static struct resource_table *k3_dsp_get_loaded_rsc_table(struct rproc *rproc, in k3_dsp_get_loaded_rsc_table()
[all …]
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()
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.c50 struct rproc *rproc; member
56 static int wkup_m3_rproc_start(struct rproc *rproc) in wkup_m3_rproc_start()
74 static int wkup_m3_rproc_stop(struct rproc *rproc) in wkup_m3_rproc_stop()
92 static void *wkup_m3_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in wkup_m3_rproc_da_to_va()
136 struct rproc *rproc; in wkup_m3_rproc_probe() local
228 struct rproc *rproc = platform_get_drvdata(pdev); in wkup_m3_rproc_remove() local
Dqcom_common.c93 static void qcom_minidump_cleanup(struct rproc *rproc) in qcom_minidump_cleanup()
104 static int qcom_add_minidump_segments(struct rproc *rproc, struct minidump_subsystem *subsystem) in qcom_add_minidump_segments()
142 void qcom_minidump(struct rproc *rproc, unsigned int minidump_id) in qcom_minidump()
213 void qcom_add_glink_subdev(struct rproc *rproc, struct qcom_rproc_glink *glink, in qcom_add_glink_subdev()
240 void qcom_remove_glink_subdev(struct rproc *rproc, struct qcom_rproc_glink *glink) in qcom_remove_glink_subdev()
260 int qcom_register_dump_segments(struct rproc *rproc, in qcom_register_dump_segments()
316 void qcom_add_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd) in qcom_add_smd_subdev()
337 void qcom_remove_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd) in qcom_remove_smd_subdev()
475 void qcom_add_ssr_subdev(struct rproc *rproc, struct qcom_rproc_ssr *ssr, in qcom_add_ssr_subdev()
501 void qcom_remove_ssr_subdev(struct rproc *rproc, struct qcom_rproc_ssr *ssr) in qcom_remove_ssr_subdev()
Dpru_rproc.c126 struct rproc *rproc; member
156 struct rproc *rproc = s->private; in regs_show() local
214 struct rproc *rproc = data; in pru_rproc_debug_ss_set() local
240 struct rproc *rproc = data; in pru_rproc_debug_ss_get() local
256 static void pru_rproc_create_debug_entries(struct rproc *rproc) in pru_rproc_create_debug_entries()
286 static int pru_handle_intrmap(struct rproc *rproc) in pru_handle_intrmap()
373 static int pru_rproc_start(struct rproc *rproc) in pru_rproc_start()
400 static int pru_rproc_stop(struct rproc *rproc) in pru_rproc_stop()
509 static void *pru_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in pru_rproc_da_to_va()
517 static void *pru_da_to_va(struct rproc *rproc, u64 da, size_t len, bool is_iram) in pru_da_to_va()
[all …]
Dmeson_mx_ao_arc.c58 static int meson_mx_ao_arc_rproc_start(struct rproc *rproc) in meson_mx_ao_arc_rproc_start()
112 static int meson_mx_ao_arc_rproc_stop(struct rproc *rproc) in meson_mx_ao_arc_rproc_stop()
123 static void *meson_mx_ao_arc_rproc_da_to_va(struct rproc *rproc, u64 da, in meson_mx_ao_arc_rproc_da_to_va()
149 struct rproc *rproc; in meson_mx_ao_arc_rproc_probe() local
233 struct rproc *rproc = platform_get_drvdata(pdev); in meson_mx_ao_arc_rproc_remove() local
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,
Dti_k3_r5_remoteproc.c130 struct rproc *rproc; member
160 struct rproc *rproc; member
216 static void k3_r5_rproc_kick(struct rproc *rproc, int vqid) in k3_r5_rproc_kick()
379 static int k3_r5_rproc_request_mbox(struct rproc *rproc) in k3_r5_rproc_request_mbox()
433 static int k3_r5_rproc_prepare(struct rproc *rproc) in k3_r5_rproc_prepare()
500 static int k3_r5_rproc_unprepare(struct rproc *rproc) in k3_r5_rproc_unprepare()
535 static int k3_r5_rproc_start(struct rproc *rproc) in k3_r5_rproc_start()
607 static int k3_r5_rproc_stop(struct rproc *rproc) in k3_r5_rproc_stop()
650 static int k3_r5_rproc_attach(struct rproc *rproc) in k3_r5_rproc_attach()
672 static int k3_r5_rproc_detach(struct rproc *rproc) in k3_r5_rproc_detach()
[all …]
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, bool *is_iomem) in keystone_rproc_da_to_va()
366 struct rproc *rproc; in keystone_rproc_probe() local
Dqcom_q6v5_pas.c54 struct rproc *rproc; member
91 static void adsp_minidump(struct rproc *rproc) in adsp_minidump()
152 static int adsp_unprepare(struct rproc *rproc) in adsp_unprepare()
167 static int adsp_load(struct rproc *rproc, const struct firmware *fw) in adsp_load()
188 static int adsp_start(struct rproc *rproc) in adsp_start()
270 static int adsp_stop(struct rproc *rproc) in adsp_stop()
294 static void *adsp_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in adsp_da_to_va()
309 static unsigned long adsp_panic(struct rproc *rproc) in adsp_panic()
472 struct rproc *rproc; in adsp_probe() 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, bool *is_iomem) in slim_rproc_da_to_va()
228 struct rproc *rproc; in st_slim_rproc_alloc() local
/linux-6.1.9/include/linux/
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 …]

12