Home
last modified time | relevance | path

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

12

/linux/drivers/remoteproc/
H A 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 …]
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()
158 int k3_rproc_request_mbox(struct rproc *rproc) in k3_rproc_request_mbox()
203 int k3_rproc_prepare(struct rproc *rproc) in k3_rproc_prepare()
249 int k3_rproc_unprepare(struct rproc *rproc) in k3_rproc_unprepare()
277 int k3_rproc_start(struct rproc *rproc) in k3_rproc_start()
291 int k3_rproc_stop(struct rproc *rproc) in k3_rproc_stop()
308 int k3_rproc_attach(struct rproc *rproc) { return 0; } in k3_rproc_attach()
318 int k3_rproc_detach(struct rproc *rproc) { return 0; } in k3_rproc_detach()
331 struct resource_table *k3_get_loaded_rsc_table(struct rproc *rproc, in k3_get_loaded_rsc_table()
[all …]
H A Dimx_rproc.c102 struct rproc *rproc; member
367 static int imx_rproc_start(struct rproc *rproc) in imx_rproc_start()
407 static int imx_rproc_stop(struct rproc *rproc) in imx_rproc_stop()
487 static void *imx_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in imx_rproc_da_to_va()
520 static int imx_rproc_mem_alloc(struct rproc *rproc, in imx_rproc_mem_alloc()
540 static int imx_rproc_mem_release(struct rproc *rproc, in imx_rproc_mem_release()
549 static int imx_rproc_prepare(struct rproc *rproc) in imx_rproc_prepare()
599 static int imx_rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in imx_rproc_parse_fw()
610 static void imx_rproc_kick(struct rproc *rproc, int vqid) in imx_rproc_kick()
633 static int imx_rproc_attach(struct rproc *rproc) in imx_rproc_attach()
[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 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()
570 static int omap_rproc_write_dsp_boot_addr(struct rproc *rproc) in omap_rproc_write_dsp_boot_addr()
598 static int omap_rproc_start(struct rproc *rproc) in omap_rproc_start()
672 static int omap_rproc_stop(struct rproc *rproc) in omap_rproc_stop()
737 static void *omap_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in omap_rproc_da_to_va()
777 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()
544 static int add_sram_carveouts(struct rproc *rproc) in add_sram_carveouts()
[all …]
H A 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 …]
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 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.c65 struct rproc *rproc; member
122 static void qcom_pas_segment_dump(struct rproc *rproc, in qcom_pas_segment_dump()
141 static void qcom_pas_minidump(struct rproc *rproc) in qcom_pas_minidump()
202 static int qcom_pas_unprepare(struct rproc *rproc) in qcom_pas_unprepare()
219 static int qcom_pas_load(struct rproc *rproc, const struct firmware *fw) in qcom_pas_load()
263 static int qcom_pas_start(struct rproc *rproc) in qcom_pas_start()
379 static int qcom_pas_stop(struct rproc *rproc) in qcom_pas_stop()
412 static void *qcom_pas_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in qcom_pas_da_to_va()
427 static unsigned long qcom_pas_panic(struct rproc *rproc) in qcom_pas_panic()
680 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()
559 struct rproc *rproc; in wcnss_probe() local
H A Dti_k3_r5_remoteproc.c303 static int k3_r5_rproc_prepare(struct rproc *rproc) in k3_r5_rproc_prepare()
401 static int k3_r5_rproc_unprepare(struct rproc *rproc) in k3_r5_rproc_unprepare()
464 static int k3_r5_rproc_start(struct rproc *rproc) in k3_r5_rproc_start()
529 static int k3_r5_rproc_stop(struct rproc *rproc) in k3_r5_rproc_stop()
570 static void *k3_r5_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in k3_r5_rproc_da_to_va()
1029 struct rproc *rproc; in k3_r5_cluster_rproc_init() local
1185 struct rproc *rproc; in k3_r5_cluster_rproc_exit() local
H A Dqcom_q6v5.h17 struct rproc *rproc; member
H A Dqcom_common.h72 static inline struct qcom_sysmon *qcom_add_sysmon_subdev(struct rproc *rproc, in qcom_add_sysmon_subdev()
H A Dqcom_q6v5.c247 struct rproc *rproc, int crash_reason, const char *load_state, in qcom_q6v5_init()
/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 …]
H A Dwkup_m3_ipc.h21 struct rproc *rproc; member
H A Dpruss_driver.h124 static inline struct pruss *pruss_get(struct rproc *rproc) in pruss_get()
/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()
H A Dst_slim_rproc.h41 struct rproc *rproc; member

12