Searched refs:mem_array (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/arch/mips/mti-malta/ |
D | malta-dtshim.c | 70 static unsigned __init gen_fdt_mem_array(__be32 *mem_array, unsigned long size, in gen_fdt_mem_array() argument 77 mem_array[0] = cpu_to_be32(PHYS_OFFSET); in gen_fdt_mem_array() 85 mem_array[1] = cpu_to_be32(size); in gen_fdt_mem_array() 90 mem_array[1] = cpu_to_be32(size_preio); in gen_fdt_mem_array() 109 mem_array[2] = cpu_to_be32(PHYS_OFFSET + SZ_512M); in gen_fdt_mem_array() 110 mem_array[3] = cpu_to_be32(size); in gen_fdt_mem_array() 122 mem_array[2] = cpu_to_be32(PHYS_OFFSET + SZ_2G + SZ_256M); in gen_fdt_mem_array() 123 mem_array[3] = cpu_to_be32(size); in gen_fdt_mem_array() 133 __be32 mem_array[2 * MAX_MEM_ARRAY_ENTRIES]; in append_memory() local 214 mem_entries = gen_fdt_mem_array(mem_array, physical_memsize, mem_map); in append_memory() [all …]
|
/linux-6.6.21/arch/mips/generic/ |
D | yamon-dt.c | 45 __be32 *mem_array, in gen_fdt_mem_array() argument 65 *(mem_array++) = cpu_to_be32(mr->start); in gen_fdt_mem_array() 66 *(mem_array++) = cpu_to_be32(size); in gen_fdt_mem_array() 79 __be32 mem_array[2 * MAX_MEM_ARRAY_ENTRIES]; in yamon_dt_append_memory() local 136 mem_entries = gen_fdt_mem_array(regions, mem_array, in yamon_dt_append_memory() 139 mem_array, mem_entries * 2 * sizeof(mem_array[0])); in yamon_dt_append_memory() 145 mem_entries = gen_fdt_mem_array(regions, mem_array, in yamon_dt_append_memory() 148 mem_array, mem_entries * 2 * sizeof(mem_array[0])); in yamon_dt_append_memory()
|
/linux-6.6.21/drivers/scsi/be2iscsi/ |
D | be_main.c | 2470 struct mem_array *mem_arr, *mem_arr_orig; in beiscsi_alloc_mem() 2508 mem_descr->mem_array = NULL; in beiscsi_alloc_mem() 2516 memset(mem_arr, 0, sizeof(struct mem_array) * in beiscsi_alloc_mem() 2545 mem_descr->mem_array = kmalloc_array(j, sizeof(*mem_arr), in beiscsi_alloc_mem() 2547 if (!mem_descr->mem_array) in beiscsi_alloc_mem() 2550 memcpy(mem_descr->mem_array, mem_arr_orig, in beiscsi_alloc_mem() 2551 sizeof(struct mem_array) * j); in beiscsi_alloc_mem() 2561 mem_descr->mem_array[j - 1].size, in beiscsi_alloc_mem() 2562 mem_descr->mem_array[j - 1]. in beiscsi_alloc_mem() 2565 mem_array[j - 1]. in beiscsi_alloc_mem() [all …]
|
D | be_mgmt.h | 144 pa->lo = phba->init_mem[ISCSI_MEM_GLOBAL_HEADER].mem_array[0].\ 146 pa->hi = phba->init_mem[ISCSI_MEM_GLOBAL_HEADER].mem_array[0].\
|
D | be_main.h | 195 struct mem_array { struct 204 struct mem_array *mem_array; member
|
D | be_mgmt.c | 1350 mem_descr->mem_array[0].bus_address.u.a32.address_hi); in beiscsi_offload_cxn_v0() 1353 mem_descr->mem_array[0].bus_address.u.a32.address_lo); in beiscsi_offload_cxn_v0()
|