Home
last modified time | relevance | path

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

12

/linux-6.6.21/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()
97 static inline int rproc_char_device_add(struct rproc *rproc) in rproc_char_device_add()
102 static inline void rproc_char_device_remove(struct rproc *rproc) in rproc_char_device_remove()
125 static inline int rproc_prepare_device(struct rproc *rproc) in rproc_prepare_device()
133 static inline int rproc_unprepare_device(struct rproc *rproc) in rproc_unprepare_device()
141 static inline int rproc_attach_device(struct rproc *rproc) in rproc_attach_device()
150 int rproc_fw_sanity_check(struct rproc *rproc, const struct firmware *fw) in rproc_fw_sanity_check()
159 u64 rproc_get_boot_addr(struct rproc *rproc, const struct firmware *fw) in rproc_get_boot_addr()
[all …]
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()
272 static int stm32_rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in stm32_rproc_parse_fw()
283 struct rproc *rproc = platform_get_drvdata(pdev); in stm32_rproc_wdg() local
293 struct rproc *rproc = dev_get_drvdata(mb->client.dev); in stm32_rproc_mb_vq_work() local
309 struct rproc *rproc = dev_get_drvdata(cl->dev); in stm32_rproc_mb_callback() local
316 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()
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()
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()
97 static int rcar_rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in rcar_rproc_parse_fw()
108 static int rcar_rproc_start(struct rproc *rproc) in rcar_rproc_start()
129 static int rcar_rproc_stop(struct rproc *rproc) in rcar_rproc_stop()
158 struct rproc *rproc; in rcar_rproc_probe() local
Domap_remoteproc.c114 struct rproc *rproc; member
274 struct rproc *rproc = data; in omap_rproc_watchdog_isr() local
313 static int omap_rproc_enable_timers(struct rproc *rproc, bool configure) in omap_rproc_enable_timers()
453 static int omap_rproc_disable_timers(struct rproc *rproc, bool configure) in omap_rproc_disable_timers()
533 static void omap_rproc_kick(struct rproc *rproc, int vqid) in omap_rproc_kick()
566 static int omap_rproc_write_dsp_boot_addr(struct rproc *rproc) in omap_rproc_write_dsp_boot_addr()
594 static int omap_rproc_start(struct rproc *rproc) in omap_rproc_start()
668 static int omap_rproc_stop(struct rproc *rproc) in omap_rproc_stop()
732 static void *omap_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in omap_rproc_da_to_va()
772 static int _omap_rproc_suspend(struct rproc *rproc, bool auto_suspend) in _omap_rproc_suspend()
[all …]
Dimx_rproc.c101 struct rproc *rproc; member
373 static int imx_rproc_start(struct rproc *rproc) in imx_rproc_start()
413 static int imx_rproc_stop(struct rproc *rproc) in imx_rproc_stop()
493 static void *imx_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in imx_rproc_da_to_va()
526 static int imx_rproc_mem_alloc(struct rproc *rproc, in imx_rproc_mem_alloc()
546 static int imx_rproc_mem_release(struct rproc *rproc, in imx_rproc_mem_release()
555 static int imx_rproc_prepare(struct rproc *rproc) in imx_rproc_prepare()
605 static int imx_rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in imx_rproc_parse_fw()
616 static void imx_rproc_kick(struct rproc *rproc, int vqid) in imx_rproc_kick()
639 static int imx_rproc_attach(struct rproc *rproc) in imx_rproc_attach()
[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()
166 static int st_rproc_start(struct rproc *rproc) in st_rproc_start()
210 static int st_rproc_stop(struct rproc *rproc) in st_rproc_stop()
248 struct rproc *rproc = platform_get_drvdata(pdev); in st_rproc_state() local
286 struct rproc *rproc = platform_get_drvdata(pdev); in st_rproc_parse_dt() local
347 struct rproc *rproc; in st_rproc_probe() local
[all …]
Dxlnx_r5_remoteproc.c101 struct rproc *rproc; member
134 struct rproc *rproc = data; in event_notified_idr_cb() local
151 struct rproc *rproc; in handle_event_notified() local
273 static void zynqmp_r5_rproc_kick(struct rproc *rproc, int vqid) in zynqmp_r5_rproc_kick()
331 static int zynqmp_r5_rproc_start(struct rproc *rproc) in zynqmp_r5_rproc_start()
376 static int zynqmp_r5_rproc_stop(struct rproc *rproc) in zynqmp_r5_rproc_stop()
398 static int zynqmp_r5_mem_region_map(struct rproc *rproc, in zynqmp_r5_mem_region_map()
421 static int zynqmp_r5_mem_region_unmap(struct rproc *rproc, in zynqmp_r5_mem_region_unmap()
436 static int add_mem_regions_carveout(struct rproc *rproc) in add_mem_regions_carveout()
497 static int tcm_mem_unmap(struct rproc *rproc, struct rproc_mem_entry *mem) in tcm_mem_unmap()
[all …]
Dimx_dsp_rproc.c116 struct rproc *rproc; member
290 static int imx_dsp_rproc_ready(struct rproc *rproc) in imx_dsp_rproc_ready()
315 static int imx_dsp_rproc_start(struct rproc *rproc) in imx_dsp_rproc_start()
352 static int imx_dsp_rproc_stop(struct rproc *rproc) in imx_dsp_rproc_stop()
442 struct rproc *rproc = priv->rproc; in imx_dsp_rproc_vq_work() local
467 struct rproc *rproc = dev_get_drvdata(cl->dev); in imx_dsp_rproc_rx_tx_callback() local
497 struct rproc *rproc = dev_get_drvdata(cl->dev); in imx_dsp_rproc_rxdb_callback() local
599 struct rproc *rproc = priv->rproc; in imx_dsp_rproc_add_carveout() local
683 static int imx_dsp_rproc_prepare(struct rproc *rproc) in imx_dsp_rproc_prepare()
711 static int imx_dsp_rproc_unprepare(struct rproc *rproc) in imx_dsp_rproc_unprepare()
[all …]
Dpru_rproc.c119 struct rproc *rproc; member
170 static int pru_rproc_set_firmware(struct rproc *rproc, const char *fw_name) in pru_rproc_set_firmware()
182 struct rproc *rproc; in __pru_rproc_get() local
229 struct rproc *rproc; in pru_rproc_get() local
305 void pru_rproc_put(struct rproc *rproc) in pru_rproc_put()
341 int pru_rproc_set_ctable(struct rproc *rproc, enum pru_ctable_idx c, u32 addr) in pru_rproc_set_ctable()
379 struct rproc *rproc = s->private; in regs_show() local
437 struct rproc *rproc = data; in pru_rproc_debug_ss_set() local
463 struct rproc *rproc = data; in pru_rproc_debug_ss_get() local
479 static void pru_rproc_create_debug_entries(struct rproc *rproc) in pru_rproc_create_debug_entries()
[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 …]
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()
105 void (*rproc_dumpfn_t)(struct rproc *rproc, struct rproc_dump_segment *segment, in qcom_add_minidump_segments()
144 void qcom_minidump(struct rproc *rproc, unsigned int minidump_id, in qcom_minidump()
145 void (*rproc_dumpfn_t)(struct rproc *rproc, in qcom_minidump()
227 void qcom_add_glink_subdev(struct rproc *rproc, struct qcom_rproc_glink *glink, in qcom_add_glink_subdev()
254 void qcom_remove_glink_subdev(struct rproc *rproc, struct qcom_rproc_glink *glink) in qcom_remove_glink_subdev()
274 int qcom_register_dump_segments(struct rproc *rproc, in qcom_register_dump_segments()
330 void qcom_add_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd) in qcom_add_smd_subdev()
351 void qcom_remove_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd) in qcom_remove_smd_subdev()
[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 = p; in handle_event() local
107 struct rproc *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
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,
Dqcom_q6v5_adsp.c83 struct rproc *rproc; member
322 static int adsp_load(struct rproc *rproc, const struct firmware *fw) in adsp_load()
338 static void adsp_unmap_carveout(struct rproc *rproc) in adsp_unmap_carveout()
346 static int adsp_map_carveout(struct rproc *rproc) in adsp_map_carveout()
380 static int adsp_start(struct rproc *rproc) in adsp_start()
470 static int adsp_stop(struct rproc *rproc) in adsp_stop()
493 static void *adsp_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in adsp_da_to_va()
505 static int adsp_parse_firmware(struct rproc *rproc, const struct firmware *fw) in adsp_parse_firmware()
526 static unsigned long adsp_panic(struct rproc *rproc) in adsp_panic()
671 struct rproc *rproc; in adsp_probe() local
Dti_k3_r5_remoteproc.c135 struct rproc *rproc; member
165 struct rproc *rproc; member
221 static void k3_r5_rproc_kick(struct rproc *rproc, int vqid) in k3_r5_rproc_kick()
384 static int k3_r5_rproc_request_mbox(struct rproc *rproc) in k3_r5_rproc_request_mbox()
438 static int k3_r5_rproc_prepare(struct rproc *rproc) in k3_r5_rproc_prepare()
505 static int k3_r5_rproc_unprepare(struct rproc *rproc) in k3_r5_rproc_unprepare()
540 static int k3_r5_rproc_start(struct rproc *rproc) in k3_r5_rproc_start()
612 static int k3_r5_rproc_stop(struct rproc *rproc) in k3_r5_rproc_stop()
655 static int k3_r5_rproc_attach(struct rproc *rproc) in k3_r5_rproc_attach()
677 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
/linux-6.6.21/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