Searched refs:mem_regions (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/drivers/remoteproc/ |
D | pru_rproc.c | 121 struct pruss_mem_region mem_regions[PRU_IOMEM_MAX]; member 137 return readl_relaxed(pru->mem_regions[PRU_IOMEM_CTRL].va + reg); in pru_control_read_reg() 143 writel_relaxed(val, pru->mem_regions[PRU_IOMEM_CTRL].va + reg); in pru_control_write_reg() 374 return readl_relaxed(pru->mem_regions[PRU_IOMEM_DEBUG].va + reg); in pru_debug_read_reg() 661 dram0 = pruss->mem_regions[PRUSS_MEM_DRAM0]; in pru_d_da_to_va() 662 dram1 = pruss->mem_regions[PRUSS_MEM_DRAM1]; in pru_d_da_to_va() 666 shrd_ram = pruss->mem_regions[PRUSS_MEM_SHRD_RAM2]; in pru_d_da_to_va() 717 if (da + len <= PRU_IRAM_DA + pru->mem_regions[PRU_IOMEM_IRAM].size) { in pru_i_da_to_va() 719 va = (__force void *)(pru->mem_regions[PRU_IOMEM_IRAM].va + in pru_i_da_to_va() 966 switch (pru->mem_regions[PRU_IOMEM_IRAM].pa & PRU_IRAM_ADDR_MASK) { in pru_rproc_set_id() [all …]
|
/linux-6.6.21/drivers/soc/ti/ |
D | pruss.c | 125 *region = pruss->mem_regions[mem_id]; in pruss_request_mem_region() 523 pruss->mem_regions[i].va = devm_ioremap(dev, res.start, in pruss_probe() 525 if (!pruss->mem_regions[i].va) { in pruss_probe() 531 pruss->mem_regions[i].pa = res.start; in pruss_probe() 532 pruss->mem_regions[i].size = resource_size(&res); in pruss_probe() 535 mem_names[i], &pruss->mem_regions[i].pa, in pruss_probe() 536 pruss->mem_regions[i].size, pruss->mem_regions[i].va); in pruss_probe()
|
/linux-6.6.21/drivers/pinctrl/nxp/ |
D | pinctrl-s32cc.c | 109 unsigned int mem_regions = ipctl->info->soc_data->mem_regions; in s32_get_region() local 112 for (i = 0; i < mem_regions; i++) { in s32_get_region() 838 unsigned int mem_regions = info->soc_data->mem_regions; in s32_pinctrl_probe_dt() local 846 if (mem_regions == 0 || mem_regions >= 10000) { in s32_pinctrl_probe_dt() 847 dev_err(&pdev->dev, "mem_regions is invalid: %u\n", mem_regions); in s32_pinctrl_probe_dt() 851 ipctl->regions = devm_kcalloc(&pdev->dev, mem_regions, in s32_pinctrl_probe_dt() 856 for (i = 0; i < mem_regions; i++) { in s32_pinctrl_probe_dt()
|
D | pinctrl-s32.h | 41 unsigned int mem_regions; member
|
D | pinctrl-s32g2.c | 728 .mem_regions = ARRAY_SIZE(s32_pin_ranges_siul2),
|
/linux-6.6.21/arch/mips/generic/ |
D | board-sead3.c | 29 static struct yamon_mem_region mem_regions[] __initdata = { variable 45 return yamon_dt_append_memory(fdt, mem_regions); in append_memory()
|
/linux-6.6.21/arch/um/drivers/ |
D | vhost_user.h | 113 struct vhost_user_mem_regions mem_regions; member
|
D | virtio_uml.c | 628 .header.size = sizeof(msg.payload.mem_regions), in vhost_user_set_mem_table() 629 .payload.mem_regions.num = 1, in vhost_user_set_mem_table() 672 &msg.payload.mem_regions.regions[0]); in vhost_user_set_mem_table() 677 msg.payload.mem_regions.num++; in vhost_user_set_mem_table() 679 &fds[1], &msg.payload.mem_regions.regions[1]); in vhost_user_set_mem_table() 685 msg.payload.mem_regions.num); in vhost_user_set_mem_table()
|
/linux-6.6.21/drivers/virt/nitro_enclaves/ |
D | ne_pci_dev.h | 270 u64 mem_regions; member
|
D | ne_misc_dev.c | 1687 ne_enclave->max_mem_regions = cmd_reply.mem_regions; in ne_create_vm_ioctl()
|
/linux-6.6.21/include/linux/ |
D | pruss_driver.h | 99 struct pruss_mem_region mem_regions[PRUSS_MEM_MAX]; member
|