Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/of/
H A Dof_reserved_mem.c30 static struct reserved_mem reserved_mem[MAX_RESERVED_REGIONS]; variable
64 struct reserved_mem *rmem = &reserved_mem[reserved_mem_count]; in fdt_reserved_mem_save_node()
66 if (reserved_mem_count == ARRAY_SIZE(reserved_mem)) { in fdt_reserved_mem_save_node()
94 struct reserved_mem *rmem = &reserved_mem[i]; in __reserved_mem_alloc_in_range()
228 static int __init __reserved_mem_init_node(struct reserved_mem *rmem) in __reserved_mem_init_node()
253 const struct reserved_mem *ra = a, *rb = b; in __rmem_cmp()
286 sort(reserved_mem, reserved_mem_count, sizeof(reserved_mem[0]), in __rmem_check_for_overlap()
289 struct reserved_mem *this, *next; in __rmem_check_for_overlap()
291 this = &reserved_mem[i]; in __rmem_check_for_overlap()
292 next = &reserved_mem[i + 1]; in __rmem_check_for_overlap()
[all …]
/openbmc/linux/include/linux/
H A Dof_reserved_mem.h11 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()
/openbmc/linux/drivers/memory/tegra/
H A 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()
/openbmc/linux/arch/powerpc/mm/nohash/
H A 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()
/openbmc/linux/drivers/net/caif/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/logicvc/
H A 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()
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dgoogle,cros-ec-codec.yaml52 reserved_mem: reserved-mem@52800000 {
73 memory-region = <&reserved_mem>;
/openbmc/linux/drivers/nvmem/
H A Drmem.c15 struct reserved_mem *mem;
59 struct reserved_mem *mem; in rmem_probe()
/openbmc/linux/kernel/dma/
H A 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()
H A Dcontiguous.c446 static int rmem_cma_device_init(struct reserved_mem *rmem, struct device *dev) in rmem_cma_device_init()
452 static void rmem_cma_device_release(struct reserved_mem *rmem, in rmem_cma_device_release()
463 static int __init rmem_cma_setup(struct reserved_mem *rmem) in rmem_cma_setup()
H A Dswiotlb.c1689 static int rmem_swiotlb_device_init(struct reserved_mem *rmem, in rmem_swiotlb_device_init()
1752 static void rmem_swiotlb_device_release(struct reserved_mem *rmem, in rmem_swiotlb_device_release()
1763 static int __init rmem_swiotlb_setup(struct reserved_mem *rmem) in rmem_swiotlb_setup()
/openbmc/linux/drivers/misc/
H A Dopen-dice.c34 struct reserved_mem *rmem;
118 struct reserved_mem *rmem; in open_dice_probe()
/openbmc/linux/drivers/soc/fsl/qbman/
H A Ddpaa_sys.c41 struct reserved_mem *rmem; in qbman_init_private_mem()
H A Dbman_ccsr.c147 static int bman_fbpr(struct reserved_mem *rmem) in bman_fbpr()
H A Dqman_ccsr.c472 static int qman_fqd(struct reserved_mem *rmem) in qman_fqd()
482 static int qman_pfdr(struct reserved_mem *rmem) in qman_pfdr()
/openbmc/linux/drivers/remoteproc/
H A Drcar_rproc.c57 struct reserved_mem *rmem; in rcar_rproc_prepare()
H A Dst_remoteproc.c124 struct reserved_mem *rmem; in st_rproc_parse_fw()
H A Dqcom_q6v5_pas.c538 struct reserved_mem *rmem; in adsp_alloc_memory_region()
593 struct reserved_mem *rmem = NULL; in adsp_assign_memory_region()
H A Dqcom_wcnss.c509 struct reserved_mem *rmem = NULL; in wcnss_alloc_memory_region()
H A Dqcom_q6v5_adsp.c640 struct reserved_mem *rmem = NULL; in adsp_alloc_memory_region()
/openbmc/linux/Documentation/riscv/
H A Dboot.rst145 As the ``reserved_mem`` array is initialized with virtual addresses established
/openbmc/linux/drivers/media/platform/qcom/venus/
H A Dfirmware.c86 struct reserved_mem *rmem; in venus_load_fw()
/openbmc/linux/drivers/soc/qcom/
H A Drmtfs_mem.c175 struct reserved_mem *rmem; in qcom_rmtfs_mem_probe()
H A Dcmd-db.c348 struct reserved_mem *rmem; in cmd_db_dev_probe()
/openbmc/linux/drivers/net/ethernet/mediatek/
H A Dmtk_wed_mcu.c224 struct reserved_mem *rmem; in mtk_wed_get_memory_region()

12