/Linux-v5.15/drivers/remoteproc/ |
D | remoteproc_core.c | 88 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 515 static int rproc_handle_vdev(struct rproc *rproc, void *ptr, in rproc_handle_vdev() [all …]
|
D | remoteproc_internal.h | 21 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 …]
|
D | stm32_rproc.c | 95 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 …]
|
D | remoteproc_sysfs.c | 16 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 227 struct rproc *rproc = to_rproc(dev); in name_show() local
|
D | remoteproc_debugfs.c | 45 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 …]
|
D | remoteproc_coredump.c | 17 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()
|
D | st_remoteproc.c | 58 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 …]
|
D | omap_remoteproc.c | 113 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 …]
|
D | remoteproc_cdev.c | 23 struct rproc *rproc = container_of(filp->f_inode->i_cdev, struct rproc, cdev); in rproc_cdev_write() local 61 struct rproc *rproc = container_of(filp->f_inode->i_cdev, struct rproc, cdev); in rproc_device_ioctl() local 88 struct rproc *rproc = container_of(inode->i_cdev, struct rproc, cdev); in rproc_cdev_release() local 109 int rproc_char_device_add(struct rproc *rproc) in rproc_char_device_add() 125 void rproc_char_device_remove(struct rproc *rproc) in rproc_char_device_remove()
|
D | ingenic_rproc.c | 69 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
|
D | imx_rproc.c | 105 struct rproc *rproc; member 287 static int imx_rproc_start(struct rproc *rproc) in imx_rproc_start() 314 static int imx_rproc_stop(struct rproc *rproc) in imx_rproc_stop() 366 static void *imx_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in imx_rproc_da_to_va() 399 static int imx_rproc_mem_alloc(struct rproc *rproc, in imx_rproc_mem_alloc() 419 static int imx_rproc_mem_release(struct rproc *rproc, in imx_rproc_mem_release() 428 static int imx_rproc_prepare(struct rproc *rproc) in imx_rproc_prepare() 472 static int imx_rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in imx_rproc_parse_fw() 483 static void imx_rproc_kick(struct rproc *rproc, int vqid) in imx_rproc_kick() 506 static int imx_rproc_attach(struct rproc *rproc) in imx_rproc_attach() [all …]
|
D | da8xx_remoteproc.c | 67 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
|
D | wkup_m3_rproc.c | 50 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 227 struct rproc *rproc = platform_get_drvdata(pdev); in wkup_m3_rproc_remove() local
|
D | qcom_common.c | 93 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()
|
D | pru_rproc.c | 126 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 …]
|
D | remoteproc_elf_loader.c | 37 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,
|
D | ti_k3_dsp_remoteproc.c | 82 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, bool *is_iomem) in k3_dsp_rproc_da_to_va() 593 struct rproc *rproc; in k3_dsp_rproc_probe() local
|
D | keystone_remoteproc.c | 57 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
|
D | qcom_q6v5_adsp.c | 68 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() 263 static int adsp_stop(struct rproc *rproc) in adsp_stop() 284 static void *adsp_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in adsp_da_to_va() 296 static unsigned long adsp_panic(struct rproc *rproc) in adsp_panic() 429 struct rproc *rproc; in adsp_probe() local
|
D | qcom_q6v5_pas.c | 50 struct rproc *rproc; member 86 static void adsp_minidump(struct rproc *rproc) in adsp_minidump() 131 static int adsp_load(struct rproc *rproc, const struct firmware *fw) in adsp_load() 147 static int adsp_start(struct rproc *rproc) in adsp_start() 223 static int adsp_stop(struct rproc *rproc) in adsp_stop() 245 static void *adsp_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in adsp_da_to_va() 257 static unsigned long adsp_panic(struct rproc *rproc) in adsp_panic() 405 struct rproc *rproc; in adsp_probe() local
|
D | remoteproc_virtio.c | 30 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
|
D | st_slim_rproc.c | 112 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
|
D | ti_k3_r5_remoteproc.c | 130 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() 394 static int k3_r5_rproc_prepare(struct rproc *rproc) in k3_r5_rproc_prepare() 460 static int k3_r5_rproc_unprepare(struct rproc *rproc) in k3_r5_rproc_unprepare() 494 static int k3_r5_rproc_start(struct rproc *rproc) in k3_r5_rproc_start() 589 static int k3_r5_rproc_stop(struct rproc *rproc) in k3_r5_rproc_stop() 632 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() 1011 struct rproc *rproc; in k3_r5_cluster_rproc_init() local 1096 struct rproc *rproc; in k3_r5_cluster_rproc_exit() local
|
D | mtk_scp.c | 233 static int scp_elf_load_segments(struct rproc *rproc, const struct firmware *fw) in scp_elf_load_segments() 380 static int scp_load(struct rproc *rproc, const struct firmware *fw) in scp_load() 406 static int scp_parse_fw(struct rproc *rproc, const struct firmware *fw) in scp_parse_fw() 423 static int scp_start(struct rproc *rproc) in scp_start() 512 static void *scp_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in scp_da_to_va() 538 static int scp_stop(struct rproc *rproc) in scp_stop() 728 struct rproc *rproc; in scp_probe() local
|
/Linux-v5.15/include/linux/ |
D | remoteproc.h | 533 struct rproc { struct 539 struct rproc_ops *ops; argument 543 enum rproc_dump_mechanism dump_conf; argument 544 struct mutex lock; 545 struct dentry *dbg_dir; 546 struct list_head traces; 547 int num_traces; 548 struct list_head carveouts; 549 struct list_head mappings; 550 u64 bootaddr; [all …]
|