Home
last modified time | relevance | path

Searched refs:ei (Results 1 – 13 of 13) sorted by relevance

/arch/x86/boot/
Dedd.c38 static u32 read_mbr_sig(u8 devno, struct edd_info *ei, u32 *mbrsig) in read_mbr_sig() argument
46 sector_size = ei->params.bytes_per_sector; in read_mbr_sig()
73 static int get_edd_info(u8 devno, struct edd_info *ei) in get_edd_info() argument
77 memset(ei, 0, sizeof(*ei)); in get_edd_info()
93 ei->device = devno; in get_edd_info()
94 ei->version = oreg.ah; /* EDD version number */ in get_edd_info()
95 ei->interface_support = oreg.cx; /* EDD functionality subsets */ in get_edd_info()
99 ei->params.length = sizeof(ei->params); in get_edd_info()
101 ireg.si = (size_t)&ei->params; in get_edd_info()
112 ei->legacy_max_cylinder = oreg.ch + ((oreg.cl & 0xc0) << 2); in get_edd_info()
[all …]
/arch/powerpc/boot/
Dmain.c29 struct elf_info ei; in prep_kernel() local
42 if (!parse_elf64(elfheader, &ei) && !parse_elf32(elfheader, &ei)) in prep_kernel()
53 printf("Allocating 0x%lx bytes for kernel...\n\r", ei.memsize); in prep_kernel()
56 addr = platform_ops.vmlinux_alloc(ei.memsize); in prep_kernel()
63 if ((unsigned long)_start < ei.loadsize) in prep_kernel()
66 _start, ei.loadsize); in prep_kernel()
68 if ((unsigned long)_end < ei.memsize) in prep_kernel()
74 memcpy(addr, vmlinuz_addr + ei.elfoffset, ei.loadsize); in prep_kernel()
76 ei.loadsize); in prep_kernel()
85 addr, ei.loadsize, ei.elfoffset); in prep_kernel()
[all …]
/arch/x86/kernel/
Dcrash.c309 struct e820_entry ei; in memmap_entry_callback() local
311 ei.addr = res->start; in memmap_entry_callback()
312 ei.size = resource_size(res); in memmap_entry_callback()
313 ei.type = cmd->type; in memmap_entry_callback()
314 add_e820_entry(params, &ei); in memmap_entry_callback()
348 struct e820_entry ei; in crash_setup_memmap_entries() local
360 ei.addr = image->arch.backup_src_start; in crash_setup_memmap_entries()
361 ei.size = image->arch.backup_src_sz; in crash_setup_memmap_entries()
362 ei.type = E820_TYPE_RAM; in crash_setup_memmap_entries()
363 add_e820_entry(params, &ei); in crash_setup_memmap_entries()
[all …]
Dkexec-bzimage64.c121 struct efi_info *ei = &params->efi_info; in setup_efi_info_memmap() local
128 ei->efi_memmap = efi_map_phys_addr & 0xffffffff; in setup_efi_info_memmap()
129 ei->efi_memmap_hi = efi_map_phys_addr >> 32; in setup_efi_info_memmap()
130 ei->efi_memmap_size = efi_map_sz; in setup_efi_info_memmap()
166 struct efi_info *ei = &params->efi_info; in setup_efi_state() local
184 ei->efi_loader_signature = current_ei->efi_loader_signature; in setup_efi_state()
185 ei->efi_systab = current_ei->efi_systab; in setup_efi_state()
186 ei->efi_systab_hi = current_ei->efi_systab_hi; in setup_efi_state()
188 ei->efi_memdesc_version = current_ei->efi_memdesc_version; in setup_efi_state()
189 ei->efi_memdesc_size = efi_get_runtime_map_desc_size(); in setup_efi_state()
/arch/x86/mm/
Dnuma_emulation.c45 static int __init emu_setup_memblk(struct numa_meminfo *ei, in emu_setup_memblk() argument
49 struct numa_memblk *eb = &ei->blk[ei->nr_blks]; in emu_setup_memblk()
52 if (ei->nr_blks >= NR_NODE_MEMBLKS) { in emu_setup_memblk()
57 ei->nr_blks++; in emu_setup_memblk()
82 static int __init split_nodes_interleave(struct numa_meminfo *ei, in split_nodes_interleave() argument
172 ret = emu_setup_memblk(ei, pi, nid++ % nr_nodes, in split_nodes_interleave()
215 static int __init split_nodes_size_interleave_uniform(struct numa_meminfo *ei, in split_nodes_size_interleave_uniform() argument
309 ret = emu_setup_memblk(ei, pi, nid++ % MAX_NUMNODES, in split_nodes_size_interleave_uniform()
319 static int __init split_nodes_size_interleave(struct numa_meminfo *ei, in split_nodes_size_interleave() argument
323 return split_nodes_size_interleave_uniform(ei, pi, addr, max_addr, size, in split_nodes_size_interleave()
[all …]
/arch/x86/boot/compressed/
Dacpi.c89 struct efi_info *ei; in kexec_get_rsdp_addr() local
101 ei = &boot_params->efi_info; in kexec_get_rsdp_addr()
102 sig = (char *)&ei->efi_loader_signature; in kexec_get_rsdp_addr()
109 systab = (efi_system_table_64_t *) (ei->efi_systab | ((__u64)ei->efi_systab_hi << 32)); in kexec_get_rsdp_addr()
124 struct efi_info *ei; in efi_get_rsdp_addr() local
128 ei = &boot_params->efi_info; in efi_get_rsdp_addr()
129 sig = (char *)&ei->efi_loader_signature; in efi_get_rsdp_addr()
142 systab = ei->efi_systab | ((__u64)ei->efi_systab_hi << 32); in efi_get_rsdp_addr()
144 if (ei->efi_systab_hi || ei->efi_memmap_hi) { in efi_get_rsdp_addr()
148 systab = ei->efi_systab; in efi_get_rsdp_addr()
/arch/arm/mach-omap1/
Dlcd_dma.c136 long ei, fi; in set_b1_regs() local
174 ei = PIXSTEP(0, 0, 1, 0); in set_b1_regs()
179 ei = PIXSTEP(1, 0, 0, 0); in set_b1_regs()
189 ei = PIXSTEP(0, 1, 0, 0); in set_b1_regs()
194 ei = PIXSTEP(0, 1, 0, 0); in set_b1_regs()
204 ei = PIXSTEP(1, 0, 0, 0); in set_b1_regs()
209 ei = PIXSTEP(0, 0, 1, 0); in set_b1_regs()
219 ei = PIXSTEP(0, 0, 0, 1); in set_b1_regs()
224 ei = PIXSTEP(0, 0, 0, 1); in set_b1_regs()
276 omap_writew(ei, OMAP1610_DMA_LCD_SRC_EI_B1); in set_b1_regs()
/arch/powerpc/platforms/cell/spufs/
Dinode.c49 struct spufs_inode_info *ei; in spufs_alloc_inode() local
51 ei = kmem_cache_alloc(spufs_inode_cache, GFP_KERNEL); in spufs_alloc_inode()
52 if (!ei) in spufs_alloc_inode()
55 ei->i_gang = NULL; in spufs_alloc_inode()
56 ei->i_ctx = NULL; in spufs_alloc_inode()
57 ei->i_openers = 0; in spufs_alloc_inode()
59 return &ei->vfs_inode; in spufs_alloc_inode()
70 struct spufs_inode_info *ei = p; in spufs_init_once() local
72 inode_init_once(&ei->vfs_inode); in spufs_init_once()
136 struct spufs_inode_info *ei = SPUFS_I(inode); in spufs_evict_inode() local
[all …]
/arch/parisc/math-emu/
Ddriver.c32 unsigned int ei : 26; member
/arch/arc/include/asm/
Dptrace.h101 unsigned long ei, ldi, jli; member
/arch/sparc/vdso/
Dvma.c252 struct vdso_elfinfo ei; in init_vdso_image() local
256 int err = stick_patch(image, &ei, elf64); in init_vdso_image()
/arch/ia64/include/asm/
Dprocessor.h138 __u64 ei : 2; member
/arch/mips/include/asm/
Dasmmacro.h49 ei