Home
last modified time | relevance | path

Searched refs:max_memory (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/arch/mips/cavium-octeon/
Dsetup.c69 static unsigned long long max_memory = ULLONG_MAX; variable
855 max_memory = 64ull << 20; in prom_init()
859 max_memory = memparse(arg + 4, &p); in prom_init()
860 if (max_memory == 0) in prom_init()
861 max_memory = 32ull << 30; in prom_init()
873 max_memory = memparse(arg + 4, &p); in prom_init()
874 if (max_memory == 0) in prom_init()
875 max_memory = 32ull << 30; in prom_init()
988 if (mem_alloc_size > max_memory) in plat_mem_setup()
989 mem_alloc_size = max_memory; in plat_mem_setup()
[all …]
/Linux-v4.19/include/linux/
Dagp_backend.h52 int max_memory; /* In pages */ member
/Linux-v4.19/drivers/media/common/saa7146/
Dsaa7146_video.c9 static int max_memory = 32; variable
11 module_param(max_memory, int, 0644);
12 MODULE_PARM_DESC(max_memory, "maximum memory usage for capture buffers (default: 32Mb)");
1154 if( (*count * *size) > (max_memory*1048576) ) { in buffer_setup()
1155 *count = (max_memory*1048576) / *size; in buffer_setup()
/Linux-v4.19/drivers/char/agp/
Dcompat_ioctl.c52 userinfo.pg_total = userinfo.pg_system = kerninfo.max_memory; in compat_agpioc_info_wrap()
Dfrontend.c728 userinfo.pg_total = userinfo.pg_system = kerninfo.max_memory; in agpioc_info_wrap()
Dgeneric.c381 info->max_memory = bridge->max_memory_agp; in agp_copy_info()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_agpsupport.c66 info->memory_allowed = kern->max_memory << PAGE_SHIFT; in drm_agp_info()
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dpci-ioda.c2499 const u64 max_memory = __rounddown_pow_of_two(memory_hotplug_max()); in pnv_pci_ioda2_setup_default_config() local
2506 const u64 window_size = min((u64)pe->table_group.tce32_size, max_memory); in pnv_pci_ioda2_setup_default_config()