Home
last modified time | relevance | path

Searched full:reserved_mem (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.12.1/drivers/of/
Dof_reserved_mem.c31 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/
Dof_reserved_mem.h11 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/
Dtegra210-emc-table.c12 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/
Dkaslr_booke.c33 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/
Dcaif_virtio.c96 * @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/
Dlogicvc_drm.c296 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/
Dgoogle,cros-ec-codec.yaml52 reserved_mem: reserved-mem@52800000 {
73 memory-region = <&reserved_mem>;
/linux-6.12.1/drivers/nvmem/
Drmem.c15 struct reserved_mem *mem;
59 struct reserved_mem *mem; in rmem_probe()
/linux-6.12.1/kernel/dma/
Dcoherent.c333 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()
Dcontiguous.c440 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()
Dswiotlb.c1792 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/
Dopen-dice.c34 struct reserved_mem *rmem;
118 struct reserved_mem *rmem; in open_dice_probe()
/linux-6.12.1/Documentation/translations/zh_CN/arch/riscv/
Dboot.rst138 由于 ``reserved_mem`` 数组是用 ``setup_vm()`` 建立的虚拟地址初始化
/linux-6.12.1/drivers/soc/fsl/qbman/
Ddpaa_sys.c41 struct reserved_mem *rmem; in qbman_init_private_mem()
/linux-6.12.1/drivers/remoteproc/
Drcar_rproc.c57 struct reserved_mem *rmem; in rcar_rproc_prepare()
Dst_remoteproc.c123 struct reserved_mem *rmem; in st_rproc_parse_fw()
Dqcom_q6v5_pas.c557 struct reserved_mem *rmem; in adsp_alloc_memory_region()
622 struct reserved_mem *rmem = NULL; in adsp_assign_memory_region()
Dqcom_wcnss.c509 struct reserved_mem *rmem = NULL; in wcnss_alloc_memory_region()
Dqcom_q6v5_adsp.c632 struct reserved_mem *rmem = NULL; in adsp_alloc_memory_region()
Dti_k3_m4_remoteproc.c397 struct reserved_mem *rmem; in k3_m4_reserved_mem_init()
/linux-6.12.1/Documentation/arch/riscv/
Dboot.rst145 As the ``reserved_mem`` array is initialized with virtual addresses established
/linux-6.12.1/drivers/media/platform/qcom/venus/
Dfirmware.c86 struct reserved_mem *rmem; in venus_load_fw()
/linux-6.12.1/drivers/soc/qcom/
Dcmd-db.c343 struct reserved_mem *rmem; in cmd_db_dev_probe()
Drmtfs_mem.c175 struct reserved_mem *rmem; in qcom_rmtfs_mem_probe()
/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_wed_mcu.c240 struct reserved_mem *rmem; in mtk_wed_get_memory_region()

12