| /bsp/stm32/stm32mp157a-st-discovery/board/ports/OpenAMP/open-amp/lib/remoteproc/ |
| A D | rsc_table_parser.c | 25 struct resource_table *rsc_table, int size, in handle_rsc_table() argument 41 if (rsc_table->ver != RSC_TAB_SUPPORTED_VERSION) { in handle_rsc_table() 47 + rsc_table->num * sizeof(rsc_table->offset[0]); in handle_rsc_table() 54 if ((rsc_table->reserved[0] != 0 || rsc_table->reserved[1]) != 0) { in handle_rsc_table() 59 for (idx = 0; idx < rsc_table->num; idx++) { in handle_rsc_table() 60 rsc_start = (char *)rsc_table; in handle_rsc_table() 61 rsc_start += rsc_table->offset[idx]; in handle_rsc_table() 203 size_t find_rsc(void *rsc_table, unsigned int rsc_type, unsigned int index) in find_rsc() argument 205 struct resource_table *r_table = rsc_table; in find_rsc()
|
| A D | remoteproc.c | 103 if (!rsc_table) { in remoteproc_get_rsc_table() 121 return rsc_table; in remoteproc_get_rsc_table() 125 return rsc_table; in remoteproc_get_rsc_table() 150 rproc->rsc_table = rsc_table; in remoteproc_set_rsc_table() 602 if (rsc_table) { in remoteproc_load() 613 rproc->rsc_table = rsc_table; in remoteproc_load() 621 rsc_table = NULL; in remoteproc_load() 639 if (rsc_table) in remoteproc_load() 821 rproc->rsc_table = rsc_table; in remoteproc_load_noblock() 869 char *rsc_table; in remoteproc_create_virtio() local [all …]
|
| /bsp/stm32/stm32mp157a-st-ev1/board/ports/OpenAMP/open-amp/lib/remoteproc/ |
| A D | rsc_table_parser.c | 25 struct resource_table *rsc_table, int size, in handle_rsc_table() argument 41 if (rsc_table->ver != RSC_TAB_SUPPORTED_VERSION) { in handle_rsc_table() 47 + rsc_table->num * sizeof(rsc_table->offset[0]); in handle_rsc_table() 54 if ((rsc_table->reserved[0] != 0 || rsc_table->reserved[1]) != 0) { in handle_rsc_table() 59 for (idx = 0; idx < rsc_table->num; idx++) { in handle_rsc_table() 60 rsc_start = (char *)rsc_table; in handle_rsc_table() 61 rsc_start += rsc_table->offset[idx]; in handle_rsc_table() 203 size_t find_rsc(void *rsc_table, unsigned int rsc_type, unsigned int index) in find_rsc() argument 205 struct resource_table *r_table = rsc_table; in find_rsc()
|
| A D | remoteproc.c | 103 if (!rsc_table) { in remoteproc_get_rsc_table() 121 return rsc_table; in remoteproc_get_rsc_table() 125 return rsc_table; in remoteproc_get_rsc_table() 150 rproc->rsc_table = rsc_table; in remoteproc_set_rsc_table() 602 if (rsc_table) { in remoteproc_load() 613 rproc->rsc_table = rsc_table; in remoteproc_load() 621 rsc_table = NULL; in remoteproc_load() 639 if (rsc_table) in remoteproc_load() 821 rproc->rsc_table = rsc_table; in remoteproc_load_noblock() 869 char *rsc_table; in remoteproc_create_virtio() local [all …]
|
| /bsp/stm32/stm32mp157a-st-ev1/board/CubeMX_Config/CM4/Src/ |
| A D | openamp.c | 32 static struct shared_resource_table *rsc_table; variable 81 rsc_table = (struct shared_resource_table *)rsc_tab_addr; in OPENAMP_shmem_init() 82 if (!rsc_table) in OPENAMP_shmem_init() 87 metal_io_init(&device->regions[1], rsc_table, in OPENAMP_shmem_init() 88 (metal_phys_addr_t *)rsc_table, rsc_size, -1U, 0, NULL); in OPENAMP_shmem_init() 113 vdev = rproc_virtio_create_vdev(RPMsgRole, VDEV_ID, &rsc_table->vdev, in MX_OPENAMP_Init() 121 vring_rsc = &rsc_table->vring0; in MX_OPENAMP_Init() 129 vring_rsc = &rsc_table->vring1; in MX_OPENAMP_Init()
|
| /bsp/stm32/stm32mp157a-st-discovery/board/CubeMX_Config/CM4/Src/ |
| A D | openamp.c | 32 static struct shared_resource_table *rsc_table; variable 81 rsc_table = (struct shared_resource_table *)rsc_tab_addr; in OPENAMP_shmem_init() 82 if (!rsc_table) in OPENAMP_shmem_init() 87 metal_io_init(&device->regions[1], rsc_table, in OPENAMP_shmem_init() 88 (metal_phys_addr_t *)rsc_table, rsc_size, -1U, 0, NULL); in OPENAMP_shmem_init() 113 vdev = rproc_virtio_create_vdev(RPMsgRole, VDEV_ID, &rsc_table->vdev, in MX_OPENAMP_Init() 121 vring_rsc = &rsc_table->vring0; in MX_OPENAMP_Init() 129 vring_rsc = &rsc_table->vring1; in MX_OPENAMP_Init()
|
| /bsp/stm32/stm32mp157a-st-discovery/board/ports/OpenAMP/open-amp/lib/include/openamp/ |
| A D | rsc_table_parser.h | 40 struct resource_table *rsc_table, int len, 58 size_t find_rsc(void *rsc_table, unsigned int rsc_type, unsigned int index);
|
| A D | remoteproc.h | 406 void *rsc_table; member 669 struct resource_table *rsc_table, 684 struct resource_table *rsc_table,
|
| /bsp/stm32/stm32mp157a-st-ev1/board/ports/OpenAMP/open-amp/lib/include/openamp/ |
| A D | rsc_table_parser.h | 40 struct resource_table *rsc_table, int len, 58 size_t find_rsc(void *rsc_table, unsigned int rsc_type, unsigned int index);
|
| A D | remoteproc.h | 406 void *rsc_table; member 669 struct resource_table *rsc_table, 684 struct resource_table *rsc_table,
|
| /bsp/stm32/stm32mp157a-st-discovery/board/ |
| A D | SConscript | 20 src += Glob('CubeMX_Config/CM4/Src/rsc_table.c')
|
| /bsp/stm32/stm32mp157a-st-ev1/board/ |
| A D | SConscript | 20 src += Glob('CubeMX_Config/CM4/Src/rsc_table.c')
|