Home
last modified time | relevance | path

Searched refs:reserved_mem (Results 1 – 25 of 26) sorted by relevance

12

/linux-5.19.10/drivers/of/
Dof_reserved_mem.c30 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/
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()
/linux-5.19.10/drivers/memory/tegra/
Dtegra210-emc-table.c12 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/
Dkaslr_booke.c34 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/
Dcaif_virtio.c123 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/
Drmem.c15 struct reserved_mem *mem;
56 struct reserved_mem *mem; in rmem_probe()
/linux-5.19.10/kernel/dma/
Dcoherent.c325 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()
Dcontiguous.c383 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()
Dswiotlb.c815 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/
Dgoogle,cros-ec-codec.yaml49 reserved_mem: reserved-mem@52800000 {
69 memory-region = <&reserved_mem>;
/linux-5.19.10/drivers/misc/
Dopen-dice.c34 struct reserved_mem *rmem;
120 struct reserved_mem *rmem; in open_dice_probe()
/linux-5.19.10/drivers/soc/fsl/qbman/
Ddpaa_sys.c41 struct reserved_mem *rmem; in qbman_init_private_mem()
Dbman_ccsr.c147 static int bman_fbpr(struct reserved_mem *rmem) in bman_fbpr()
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()
/linux-5.19.10/drivers/remoteproc/
Drcar_rproc.c56 struct reserved_mem *rmem; in rcar_rproc_prepare()
Dst_remoteproc.c124 struct reserved_mem *rmem; in st_rproc_parse_fw()
Dimx_rproc.c445 struct reserved_mem *rmem; in imx_rproc_prepare()
Dimx_dsp_rproc.c580 struct reserved_mem *rmem; in imx_dsp_rproc_add_carveout()
Dti_k3_dsp_remoteproc.c558 struct reserved_mem *rmem; in k3_dsp_reserved_mem_init()
Dstm32_rproc.c217 struct reserved_mem *rmem; in stm32_rproc_prepare()
Dqcom_q6v5_wcss.c872 struct reserved_mem *rmem = NULL; in q6v5_alloc_memory_region()
/linux-5.19.10/drivers/soc/qcom/
Dcmd-db.c314 struct reserved_mem *rmem; in cmd_db_dev_probe()
Drmtfs_mem.c175 struct reserved_mem *rmem; in qcom_rmtfs_mem_probe()
Dsmem.c1036 struct reserved_mem *rmem; in qcom_smem_probe()
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/mt7915/
Dsoc.c272 struct reserved_mem *rmem; in mt7986_wmac_coninfra_setup()

12