/linux-6.12.1/drivers/of/ |
D | of_reserved_mem.c | 31 static struct reserved_mem reserved_mem[MAX_RESERVED_REGIONS]; variable 65 struct reserved_mem *rmem = &reserved_mem[reserved_mem_count]; in fdt_reserved_mem_save_node() 67 if (reserved_mem_count == ARRAY_SIZE(reserved_mem)) { in fdt_reserved_mem_save_node() 215 struct reserved_mem *rmem = &reserved_mem[i]; in __reserved_mem_alloc_in_range() 349 static int __init __reserved_mem_init_node(struct reserved_mem *rmem) in __reserved_mem_init_node() 374 const struct reserved_mem *ra = a, *rb = b; in __rmem_cmp() 407 sort(reserved_mem, reserved_mem_count, sizeof(reserved_mem[0]), in __rmem_check_for_overlap() 410 struct reserved_mem *this, *next; in __rmem_check_for_overlap() 412 this = &reserved_mem[i]; in __rmem_check_for_overlap() 413 next = &reserved_mem[i + 1]; in __rmem_check_for_overlap() [all …]
|
/linux-6.12.1/include/linux/ |
D | of_reserved_mem.h | 11 struct reserved_mem { struct 21 int (*device_init)(struct reserved_mem *rmem, argument 23 void (*device_release)(struct reserved_mem *rmem, 27 typedef int (*reservedmem_of_init_fn)(struct reserved_mem *rmem); 41 struct reserved_mem *of_reserved_mem_lookup(struct device_node *np); 62 static inline struct reserved_mem *of_reserved_mem_lookup(struct device_node *np) in of_reserved_mem_lookup()
|
/linux-6.12.1/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() 59 static void tegra210_emc_table_device_release(struct reserved_mem *rmem, in tegra210_emc_table_device_release() 78 static int tegra210_emc_table_init(struct reserved_mem *rmem) in tegra210_emc_table_init()
|
/linux-6.12.1/arch/powerpc/mm/nohash/ |
D | kaslr_booke.c | 33 int reserved_mem; member 113 if (regions.reserved_mem < 0) in overlaps_reserved_region() 117 for (subnode = fdt_first_subnode(fdt, regions.reserved_mem); in overlaps_reserved_region() 319 regions.reserved_mem = fdt_path_offset(dt_ptr, "/reserved-memory"); in kaslr_choose_location() 320 if (regions.reserved_mem >= 0) in kaslr_choose_location() 321 get_cell_sizes(dt_ptr, regions.reserved_mem, in kaslr_choose_location()
|
/linux-6.12.1/drivers/net/caif/ |
D | caif_virtio.c | 96 * @reserved_mem: Pointer to memory reserve allocated from genpool 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() [all …]
|
/linux-6.12.1/drivers/gpu/drm/logicvc/ |
D | logicvc_drm.c | 296 struct reserved_mem *reserved_mem = NULL; in logicvc_drm_probe() local 316 reserved_mem = of_reserved_mem_lookup(reserved_mem_node); in logicvc_drm_probe() 378 if (reserved_mem) in logicvc_drm_probe() 379 logicvc->reserved_mem_base = reserved_mem->base; in logicvc_drm_probe()
|
/linux-6.12.1/Documentation/devicetree/bindings/sound/ |
D | google,cros-ec-codec.yaml | 52 reserved_mem: reserved-mem@52800000 { 73 memory-region = <&reserved_mem>;
|
/linux-6.12.1/drivers/nvmem/ |
D | rmem.c | 15 struct reserved_mem *mem; 59 struct reserved_mem *mem; in rmem_probe()
|
/linux-6.12.1/kernel/dma/ |
D | coherent.c | 333 static struct reserved_mem *dma_reserved_default_memory __initdata; 336 static int rmem_dma_device_init(struct reserved_mem *rmem, struct device *dev) in rmem_dma_device_init() 351 static void rmem_dma_device_release(struct reserved_mem *rmem, in rmem_dma_device_release() 363 static int __init rmem_dma_setup(struct reserved_mem *rmem) in rmem_dma_setup()
|
D | contiguous.c | 440 static int rmem_cma_device_init(struct reserved_mem *rmem, struct device *dev) in rmem_cma_device_init() 446 static void rmem_cma_device_release(struct reserved_mem *rmem, in rmem_cma_device_release() 457 static int __init rmem_cma_setup(struct reserved_mem *rmem) in rmem_cma_setup()
|
D | swiotlb.c | 1792 static int rmem_swiotlb_device_init(struct reserved_mem *rmem, in rmem_swiotlb_device_init() 1855 static void rmem_swiotlb_device_release(struct reserved_mem *rmem, in rmem_swiotlb_device_release() 1866 static int __init rmem_swiotlb_setup(struct reserved_mem *rmem) in rmem_swiotlb_setup()
|
/linux-6.12.1/drivers/misc/ |
D | open-dice.c | 34 struct reserved_mem *rmem; 118 struct reserved_mem *rmem; in open_dice_probe()
|
/linux-6.12.1/Documentation/translations/zh_CN/arch/riscv/ |
D | boot.rst | 138 由于 ``reserved_mem`` 数组是用 ``setup_vm()`` 建立的虚拟地址初始化
|
/linux-6.12.1/drivers/soc/fsl/qbman/ |
D | dpaa_sys.c | 41 struct reserved_mem *rmem; in qbman_init_private_mem()
|
/linux-6.12.1/drivers/remoteproc/ |
D | rcar_rproc.c | 57 struct reserved_mem *rmem; in rcar_rproc_prepare()
|
D | st_remoteproc.c | 123 struct reserved_mem *rmem; in st_rproc_parse_fw()
|
D | qcom_q6v5_pas.c | 557 struct reserved_mem *rmem; in adsp_alloc_memory_region() 622 struct reserved_mem *rmem = NULL; in adsp_assign_memory_region()
|
D | qcom_wcnss.c | 509 struct reserved_mem *rmem = NULL; in wcnss_alloc_memory_region()
|
D | qcom_q6v5_adsp.c | 632 struct reserved_mem *rmem = NULL; in adsp_alloc_memory_region()
|
D | ti_k3_m4_remoteproc.c | 397 struct reserved_mem *rmem; in k3_m4_reserved_mem_init()
|
/linux-6.12.1/Documentation/arch/riscv/ |
D | boot.rst | 145 As the ``reserved_mem`` array is initialized with virtual addresses established
|
/linux-6.12.1/drivers/media/platform/qcom/venus/ |
D | firmware.c | 86 struct reserved_mem *rmem; in venus_load_fw()
|
/linux-6.12.1/drivers/soc/qcom/ |
D | cmd-db.c | 343 struct reserved_mem *rmem; in cmd_db_dev_probe()
|
D | rmtfs_mem.c | 175 struct reserved_mem *rmem; in qcom_rmtfs_mem_probe()
|
/linux-6.12.1/drivers/net/ethernet/mediatek/ |
D | mtk_wed_mcu.c | 240 struct reserved_mem *rmem; in mtk_wed_get_memory_region()
|