| /linux/drivers/remoteproc/ |
| H A D | remoteproc_core.c | 84 struct rproc *rproc = token; in rproc_iommu_fault() local 97 static int rproc_enable_iommu(struct rproc *rproc) in rproc_enable_iommu() 131 static void rproc_disable_iommu(struct rproc *rproc) in rproc_disable_iommu() 189 void *rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in rproc_da_to_va() 248 rproc_find_carveout_by_name(struct rproc *rproc, const char *name, ...) in rproc_find_carveout_by_name() 286 static int rproc_check_carveout_da(struct rproc *rproc, in rproc_check_carveout_da() 323 struct rproc *rproc = rvdev->rproc; in rproc_alloc_vring() local 384 struct rproc *rproc = rvdev->rproc; in rproc_parse_vring() local 408 struct rproc *rproc = rvring->rvdev->rproc; in rproc_free_vring() local 432 void rproc_add_rvdev(struct rproc *rproc, struct rproc_vdev *rvdev) in rproc_add_rvdev() [all …]
|
| H A D | imx_rproc.c | 111 struct rproc *rproc; member 315 static int imx_rproc_arm_smc_start(struct rproc *rproc) in imx_rproc_arm_smc_start() 324 static int imx_rproc_mmio_start(struct rproc *rproc) in imx_rproc_mmio_start() 335 static int imx_rproc_scu_api_start(struct rproc *rproc) in imx_rproc_scu_api_start() 342 static int imx_rproc_sm_cpu_start(struct rproc *rproc) in imx_rproc_sm_cpu_start() 357 static int imx_rproc_sm_lmm_start(struct rproc *rproc) in imx_rproc_sm_lmm_start() 384 static int imx_rproc_start(struct rproc *rproc) in imx_rproc_start() 404 static int imx_rproc_arm_smc_stop(struct rproc *rproc) in imx_rproc_arm_smc_stop() 416 static int imx_rproc_mmio_stop(struct rproc *rproc) in imx_rproc_mmio_stop() 433 static int imx_rproc_scu_api_stop(struct rproc *rproc) in imx_rproc_scu_api_stop() [all …]
|
| H A D | stm32_rproc.c | 96 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() 264 static int stm32_rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in stm32_rproc_parse_fw() 275 struct rproc *rproc = platform_get_drvdata(pdev); in stm32_rproc_wdg() local 285 struct rproc *rproc = dev_get_drvdata(mb->client.dev); in stm32_rproc_mb_vq_work() local 301 struct rproc *rproc = dev_get_drvdata(cl->dev); in stm32_rproc_mb_callback() local 308 static void stm32_rproc_free_mbox(struct rproc *rproc) in stm32_rproc_free_mbox() [all …]
|
| H A 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() 393 void rproc_delete_debug_dir(struct rproc *rproc) in rproc_delete_debug_dir() [all …]
|
| H A D | remoteproc_coredump.c | 17 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 D | rcar_rproc.c | 22 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() 87 static int rcar_rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in rcar_rproc_parse_fw() 98 static int rcar_rproc_start(struct rproc *rproc) in rcar_rproc_start() 119 static int rcar_rproc_stop(struct rproc *rproc) in rcar_rproc_stop() 148 struct rproc *rproc; in rcar_rproc_probe() local
|
| H A D | st_remoteproc.c | 57 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() 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 333 struct rproc *rproc; in st_rproc_probe() local [all …]
|
| H A D | omap_remoteproc.c | 118 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() 569 static int omap_rproc_write_dsp_boot_addr(struct rproc *rproc) in omap_rproc_write_dsp_boot_addr() 597 static int omap_rproc_start(struct rproc *rproc) in omap_rproc_start() 670 static int omap_rproc_stop(struct rproc *rproc) in omap_rproc_stop() 734 static void *omap_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in omap_rproc_da_to_va() 774 static int _omap_rproc_suspend(struct rproc *rproc, bool auto_suspend) in _omap_rproc_suspend() [all …]
|
| H A 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
|
| H A D | remoteproc_cdev.c | 23 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 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,
|
| H A D | qcom_q6v5_adsp.c | 82 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() 654 struct rproc *rproc; in adsp_probe() local
|
| H A D | st_slim_rproc.c | 111 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 D | remoteproc_virtio.c | 68 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 D | mtk_scp.c | 299 static int scp_elf_load_segments(struct rproc *rproc, const struct firmware *fw) in scp_elf_load_segments() 662 static int scp_load(struct rproc *rproc, const struct firmware *fw) in scp_load() 688 static int scp_parse_fw(struct rproc *rproc, const struct firmware *fw) in scp_parse_fw() 705 static int scp_start(struct rproc *rproc) in scp_start() 798 static void *scp_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in scp_da_to_va() 907 static int scp_stop(struct rproc *rproc) in scp_stop() 925 static int scp_prepare(struct rproc *rproc) in scp_prepare() 932 static int scp_unprepare(struct rproc *rproc) in scp_unprepare() 1168 struct rproc *rproc; in scp_rproc_init() local 1598 struct rproc *rproc = scp->rproc; in scp_suspend() local [all …]
|
| H A D | qcom_wcnss.c | 68 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() 554 struct rproc *rproc; in wcnss_probe() local
|
| H A D | qcom_q6v5_wcss.c | 239 static int q6v5_wcss_start(struct rproc *rproc) in q6v5_wcss_start() 456 static int q6v5_qcs404_wcss_start(struct rproc *rproc) in q6v5_qcs404_wcss_start() 708 static int q6v5_wcss_stop(struct rproc *rproc) in q6v5_wcss_stop() 742 static void *q6v5_wcss_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in q6v5_wcss_da_to_va() 754 static int q6v5_wcss_load(struct rproc *rproc, const struct firmware *fw) in q6v5_wcss_load() 972 struct rproc *rproc; in q6v5_wcss_probe() local 1053 struct rproc *rproc = platform_get_drvdata(pdev); in q6v5_wcss_remove() local
|
| H A D | qcom_sysmon.c | 22 struct rproc *rproc; member 624 struct qcom_sysmon *qcom_add_sysmon_subdev(struct rproc *rproc, in qcom_add_sysmon_subdev() 751 struct rproc *rproc; in sysmon_probe() local
|
| H A D | qcom_q6v5.h | 17 struct rproc *rproc; member
|
| H A D | qcom_common.h | 72 static inline struct qcom_sysmon *qcom_add_sysmon_subdev(struct rproc *rproc, in qcom_add_sysmon_subdev()
|
| /linux/include/linux/ |
| H A D | remoteproc.h | 549 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 D | wkup_m3_ipc.h | 21 struct rproc *rproc; member
|
| H A D | pruss_driver.h | 124 static inline struct pruss *pruss_get(struct rproc *rproc) in pruss_get()
|
| /linux/include/linux/remoteproc/ |
| H A D | pruss.h | 63 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 D | st_slim_rproc.h | 41 struct rproc *rproc; member
|