Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/remoteproc/
Dremoteproc_core.c88 struct rproc *rproc = token; in rproc_iommu_fault() local
101 static int rproc_enable_iommu(struct rproc *rproc) in rproc_enable_iommu()
135 static void rproc_disable_iommu(struct rproc *rproc) in rproc_disable_iommu()
194 void *rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in rproc_da_to_va()
253 rproc_find_carveout_by_name(struct rproc *rproc, const char *name, ...) in rproc_find_carveout_by_name()
291 static int rproc_check_carveout_da(struct rproc *rproc, in rproc_check_carveout_da()
328 struct rproc *rproc = rvdev->rproc; in rproc_alloc_vring() local
389 struct rproc *rproc = rvdev->rproc; in rproc_parse_vring() local
413 struct rproc *rproc = rvring->rvdev->rproc; in rproc_free_vring() local
437 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
Dimx_rproc.c101 struct rproc *rproc; member
366 static int imx_rproc_start(struct rproc *rproc) in imx_rproc_start()
406 static int imx_rproc_stop(struct rproc *rproc) in imx_rproc_stop()
486 static void *imx_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in imx_rproc_da_to_va()
519 static int imx_rproc_mem_alloc(struct rproc *rproc, in imx_rproc_mem_alloc()
539 static int imx_rproc_mem_release(struct rproc *rproc, in imx_rproc_mem_release()
548 static int imx_rproc_prepare(struct rproc *rproc) in imx_rproc_prepare()
598 static int imx_rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in imx_rproc_parse_fw()
609 static void imx_rproc_kick(struct rproc *rproc, int vqid) in imx_rproc_kick()
632 static int imx_rproc_attach(struct rproc *rproc) in imx_rproc_attach()
[all …]
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
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()
165 static int st_rproc_start(struct rproc *rproc) in st_rproc_start()
209 static int st_rproc_stop(struct rproc *rproc) in st_rproc_stop()
247 struct rproc *rproc = platform_get_drvdata(pdev); in st_rproc_state() local
285 struct rproc *rproc = platform_get_drvdata(pdev); in st_rproc_parse_dt() local
345 struct rproc *rproc; in st_rproc_probe() local
[all …]
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_dsp_rproc.c114 struct rproc *rproc; member
286 static int imx_dsp_rproc_ready(struct rproc *rproc) in imx_dsp_rproc_ready()
311 static int imx_dsp_rproc_start(struct rproc *rproc) in imx_dsp_rproc_start()
348 static int imx_dsp_rproc_stop(struct rproc *rproc) in imx_dsp_rproc_stop()
438 struct rproc *rproc = priv->rproc; in imx_dsp_rproc_vq_work() local
463 struct rproc *rproc = dev_get_drvdata(cl->dev); in imx_dsp_rproc_rx_tx_callback() local
493 struct rproc *rproc = dev_get_drvdata(cl->dev); in imx_dsp_rproc_rxdb_callback() local
595 struct rproc *rproc = priv->rproc; in imx_dsp_rproc_add_carveout() local
679 static int imx_dsp_rproc_prepare(struct rproc *rproc) in imx_dsp_rproc_prepare()
707 static int imx_dsp_rproc_unprepare(struct rproc *rproc) in imx_dsp_rproc_unprepare()
[all …]
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 …]
Dti_k3_dsp_remoteproc.c82 struct rproc *rproc; member
155 static void k3_dsp_rproc_kick(struct rproc *rproc, int vqid) in k3_dsp_rproc_kick()
227 static int k3_dsp_rproc_request_mbox(struct rproc *rproc) in k3_dsp_rproc_request_mbox()
271 static int k3_dsp_rproc_prepare(struct rproc *rproc) in k3_dsp_rproc_prepare()
295 static int k3_dsp_rproc_unprepare(struct rproc *rproc) in k3_dsp_rproc_unprepare()
316 static int k3_dsp_rproc_start(struct rproc *rproc) in k3_dsp_rproc_start()
348 static int k3_dsp_rproc_stop(struct rproc *rproc) in k3_dsp_rproc_stop()
366 static int k3_dsp_rproc_attach(struct rproc *rproc) { return 0; } in k3_dsp_rproc_attach()
375 static int k3_dsp_rproc_detach(struct rproc *rproc) { return 0; } in k3_dsp_rproc_detach()
387 static struct resource_table *k3_dsp_get_loaded_rsc_table(struct rproc *rproc, in k3_dsp_get_loaded_rsc_table()
[all …]
Dti_k3_m4_remoteproc.c95 struct rproc *rproc = dev_get_drvdata(dev); in k3_m4_rproc_mbox_callback() local
131 static void k3_m4_rproc_kick(struct rproc *rproc, int vqid) in k3_m4_rproc_kick()
179 static int k3_m4_rproc_prepare(struct rproc *rproc) in k3_m4_rproc_prepare()
224 static int k3_m4_rproc_unprepare(struct rproc *rproc) in k3_m4_rproc_unprepare()
254 static struct resource_table *k3_m4_get_loaded_rsc_table(struct rproc *rproc, in k3_m4_get_loaded_rsc_table()
285 static void *k3_m4_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in k3_m4_rproc_da_to_va()
477 static int k3_m4_rproc_start(struct rproc *rproc) in k3_m4_rproc_start()
502 static int k3_m4_rproc_stop(struct rproc *rproc) in k3_m4_rproc_stop()
524 static int k3_m4_rproc_attach(struct rproc *rproc) in k3_m4_rproc_attach()
543 static int k3_m4_rproc_detach(struct rproc *rproc) in k3_m4_rproc_detach()
[all …]
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()
399 static int zynqmp_r5_rproc_stop(struct rproc *rproc) in zynqmp_r5_rproc_stop()
421 static int zynqmp_r5_mem_region_map(struct rproc *rproc, in zynqmp_r5_mem_region_map()
444 static int zynqmp_r5_mem_region_unmap(struct rproc *rproc, in zynqmp_r5_mem_region_unmap()
459 static int add_mem_regions_carveout(struct rproc *rproc) in add_mem_regions_carveout()
512 static int add_sram_carveouts(struct rproc *rproc) in add_sram_carveouts()
[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
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
356 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,
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_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()
663 struct rproc *rproc; in adsp_probe() local
/linux-6.12.1/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