/linux-5.19.10/drivers/of/ |
D | of_reserved_mem.c | 30 static struct reserved_mem reserved_mem[MAX_RESERVED_REGIONS]; variable 63 struct reserved_mem *rmem = &reserved_mem[reserved_mem_count]; in fdt_reserved_mem_save_node() 65 if (reserved_mem_count == ARRAY_SIZE(reserved_mem)) { in fdt_reserved_mem_save_node() 175 static int __init __reserved_mem_init_node(struct reserved_mem *rmem) in __reserved_mem_init_node() 200 const struct reserved_mem *ra = a, *rb = b; in __rmem_cmp() 228 sort(reserved_mem, reserved_mem_count, sizeof(reserved_mem[0]), in __rmem_check_for_overlap() 231 struct reserved_mem *this, *next; in __rmem_check_for_overlap() 233 this = &reserved_mem[i]; in __rmem_check_for_overlap() 234 next = &reserved_mem[i + 1]; in __rmem_check_for_overlap() 259 struct reserved_mem *rmem = &reserved_mem[i]; in fdt_init_reserved_mem() [all …]
|
/linux-5.19.10/include/linux/ |
D | of_reserved_mem.h | 11 struct reserved_mem { struct 22 int (*device_init)(struct reserved_mem *rmem, argument 24 void (*device_release)(struct reserved_mem *rmem, 28 typedef int (*reservedmem_of_init_fn)(struct reserved_mem *rmem); 42 struct reserved_mem *of_reserved_mem_lookup(struct device_node *np); 63 static inline struct reserved_mem *of_reserved_mem_lookup(struct device_node *np) in of_reserved_mem_lookup()
|
/linux-5.19.10/drivers/memory/tegra/ |
D | tegra210-emc-table.c | 12 static int tegra210_emc_table_device_init(struct reserved_mem *rmem, in tegra210_emc_table_device_init() 61 static void tegra210_emc_table_device_release(struct reserved_mem *rmem, in tegra210_emc_table_device_release() 80 static int tegra210_emc_table_init(struct reserved_mem *rmem) in tegra210_emc_table_init()
|
/linux-5.19.10/arch/powerpc/mm/nohash/ |
D | kaslr_booke.c | 34 int reserved_mem; member 114 if (regions.reserved_mem < 0) in overlaps_reserved_region() 118 for (subnode = fdt_first_subnode(fdt, regions.reserved_mem); in overlaps_reserved_region() 320 regions.reserved_mem = fdt_path_offset(dt_ptr, "/reserved-memory"); in kaslr_choose_location() 321 if (regions.reserved_mem >= 0) in kaslr_choose_location() 322 get_cell_sizes(dt_ptr, regions.reserved_mem, in kaslr_choose_location()
|
/linux-5.19.10/drivers/net/caif/ |
D | caif_virtio.c | 123 unsigned long reserved_mem; member 190 if (cfv->reserved_mem == 0 && cfv->genpool) in cfv_release_used_buf() 191 cfv->reserved_mem = in cfv_release_used_buf() 196 if (cfv->reserved_mem) { in cfv_release_used_buf() 368 gen_pool_free(cfv->genpool, cfv->reserved_mem, in cfv_destroy_genpool() 423 cfv->reserved_mem = gen_pool_alloc(cfv->genpool, in cfv_create_genpool() 425 if (!cfv->reserved_mem) { in cfv_create_genpool() 553 if (cfv->reserved_mem && cfv->genpool) { in cfv_netdev_tx() 554 gen_pool_free(cfv->genpool, cfv->reserved_mem, in cfv_netdev_tx() 556 cfv->reserved_mem = 0; in cfv_netdev_tx()
|
/linux-5.19.10/drivers/nvmem/ |
D | rmem.c | 15 struct reserved_mem *mem; 56 struct reserved_mem *mem; in rmem_probe()
|
/linux-5.19.10/kernel/dma/ |
D | coherent.c | 325 static struct reserved_mem *dma_reserved_default_memory __initdata; 328 static int rmem_dma_device_init(struct reserved_mem *rmem, struct device *dev) in rmem_dma_device_init() 343 static void rmem_dma_device_release(struct reserved_mem *rmem, in rmem_dma_device_release() 355 static int __init rmem_dma_setup(struct reserved_mem *rmem) in rmem_dma_setup()
|
D | contiguous.c | 383 static int rmem_cma_device_init(struct reserved_mem *rmem, struct device *dev) in rmem_cma_device_init() 389 static void rmem_cma_device_release(struct reserved_mem *rmem, in rmem_cma_device_release() 400 static int __init rmem_cma_setup(struct reserved_mem *rmem) in rmem_cma_setup()
|
D | swiotlb.c | 815 static int rmem_swiotlb_device_init(struct reserved_mem *rmem, in rmem_swiotlb_device_init() 853 static void rmem_swiotlb_device_release(struct reserved_mem *rmem, in rmem_swiotlb_device_release() 864 static int __init rmem_swiotlb_setup(struct reserved_mem *rmem) in rmem_swiotlb_setup()
|
/linux-5.19.10/Documentation/devicetree/bindings/sound/ |
D | google,cros-ec-codec.yaml | 49 reserved_mem: reserved-mem@52800000 { 69 memory-region = <&reserved_mem>;
|
/linux-5.19.10/drivers/misc/ |
D | open-dice.c | 34 struct reserved_mem *rmem; 120 struct reserved_mem *rmem; in open_dice_probe()
|
/linux-5.19.10/drivers/soc/fsl/qbman/ |
D | dpaa_sys.c | 41 struct reserved_mem *rmem; in qbman_init_private_mem()
|
D | bman_ccsr.c | 147 static int bman_fbpr(struct reserved_mem *rmem) in bman_fbpr()
|
D | qman_ccsr.c | 472 static int qman_fqd(struct reserved_mem *rmem) in qman_fqd() 482 static int qman_pfdr(struct reserved_mem *rmem) in qman_pfdr()
|
/linux-5.19.10/drivers/remoteproc/ |
D | rcar_rproc.c | 56 struct reserved_mem *rmem; in rcar_rproc_prepare()
|
D | st_remoteproc.c | 124 struct reserved_mem *rmem; in st_rproc_parse_fw()
|
D | imx_rproc.c | 445 struct reserved_mem *rmem; in imx_rproc_prepare()
|
D | imx_dsp_rproc.c | 580 struct reserved_mem *rmem; in imx_dsp_rproc_add_carveout()
|
D | ti_k3_dsp_remoteproc.c | 558 struct reserved_mem *rmem; in k3_dsp_reserved_mem_init()
|
D | stm32_rproc.c | 217 struct reserved_mem *rmem; in stm32_rproc_prepare()
|
D | qcom_q6v5_wcss.c | 872 struct reserved_mem *rmem = NULL; in q6v5_alloc_memory_region()
|
/linux-5.19.10/drivers/soc/qcom/ |
D | cmd-db.c | 314 struct reserved_mem *rmem; in cmd_db_dev_probe()
|
D | rmtfs_mem.c | 175 struct reserved_mem *rmem; in qcom_rmtfs_mem_probe()
|
D | smem.c | 1036 struct reserved_mem *rmem; in qcom_smem_probe()
|
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | soc.c | 272 struct reserved_mem *rmem; in mt7986_wmac_coninfra_setup()
|