Home
last modified time | relevance | path

Searched refs:ireg (Results 1 – 17 of 17) sorted by relevance

/arch/x86/boot/
Dvideo-vga.c41 struct biosregs ireg, oreg; in vga_set_basic_mode() local
44 initregs(&ireg); in vga_set_basic_mode()
47 ireg.ax = 0x0f00; in vga_set_basic_mode()
48 intcall(0x10, &ireg, &oreg); in vga_set_basic_mode()
55 ireg.ax = mode; /* AH=0: set mode */ in vga_set_basic_mode()
56 intcall(0x10, &ireg, NULL); in vga_set_basic_mode()
64 struct biosregs ireg; in vga_set_8font() local
66 initregs(&ireg); in vga_set_8font()
69 ireg.ax = 0x1112; in vga_set_8font()
71 intcall(0x10, &ireg, NULL); in vga_set_8font()
[all …]
Dvideo-vesa.c33 struct biosregs ireg, oreg; in vesa_probe() local
41 initregs(&ireg); in vesa_probe()
42 ireg.ax = 0x4f00; in vesa_probe()
43 ireg.di = (size_t)&vginfo; in vesa_probe()
44 intcall(0x10, &ireg, &oreg); in vesa_probe()
65 ireg.ax = 0x4f01; in vesa_probe()
66 ireg.cx = mode; in vesa_probe()
67 ireg.di = (size_t)&vminfo; in vesa_probe()
68 intcall(0x10, &ireg, &oreg); in vesa_probe()
106 struct biosregs ireg, oreg; in vesa_set_mode() local
[all …]
Dtty.c40 struct biosregs ireg; in bios_putchar() local
42 initregs(&ireg); in bios_putchar()
43 ireg.bx = 0x0007; in bios_putchar()
44 ireg.cx = 0x0001; in bios_putchar()
45 ireg.ah = 0x0e; in bios_putchar()
46 ireg.al = ch; in bios_putchar()
47 intcall(0x10, &ireg, NULL); in bios_putchar()
74 struct biosregs ireg, oreg; in gettime() local
76 initregs(&ireg); in gettime()
77 ireg.ah = 0x02; in gettime()
[all …]
Dmemory.c21 struct biosregs ireg, oreg; in detect_memory_e820() local
25 initregs(&ireg); in detect_memory_e820()
26 ireg.ax = 0xe820; in detect_memory_e820()
27 ireg.cx = sizeof(buf); in detect_memory_e820()
28 ireg.edx = SMAP; in detect_memory_e820()
29 ireg.di = (size_t)&buf; in detect_memory_e820()
46 intcall(0x15, &ireg, &oreg); in detect_memory_e820()
47 ireg.ebx = oreg.ebx; /* for next iteration... */ in detect_memory_e820()
67 } while (ireg.ebx && count < ARRAY_SIZE(boot_params.e820_table)); in detect_memory_e820()
74 struct biosregs ireg, oreg; in detect_memory_e801() local
[all …]
Dmain.c68 struct biosregs ireg, oreg; in keyboard_init() local
69 initregs(&ireg); in keyboard_init()
71 ireg.ah = 0x02; /* Get keyboard status */ in keyboard_init()
72 intcall(0x16, &ireg, &oreg); in keyboard_init()
75 ireg.ax = 0x0305; /* Set keyboard repeat rate */ in keyboard_init()
76 intcall(0x16, &ireg, NULL); in keyboard_init()
84 struct biosregs ireg, oreg; in query_ist() local
91 initregs(&ireg); in query_ist()
92 ireg.ax = 0xe980; /* IST Support */ in query_ist()
93 ireg.edx = 0x47534943; /* Request value */ in query_ist()
[all …]
Dapm.c21 struct biosregs ireg, oreg; in query_apm_bios() local
24 initregs(&ireg); in query_apm_bios()
25 ireg.ah = 0x53; in query_apm_bios()
26 intcall(0x15, &ireg, &oreg); in query_apm_bios()
38 ireg.al = 0x04; in query_apm_bios()
39 intcall(0x15, &ireg, NULL); in query_apm_bios()
42 ireg.al = 0x03; in query_apm_bios()
43 intcall(0x15, &ireg, &oreg); in query_apm_bios()
59 ireg.al = 0x00; in query_apm_bios()
60 intcall(0x15, &ireg, &oreg); in query_apm_bios()
[all …]
Dedd.c25 struct biosregs ireg, oreg; in read_mbr() local
27 initregs(&ireg); in read_mbr()
28 ireg.ax = 0x0201; /* Legacy Read, one sector */ in read_mbr()
29 ireg.cx = 0x0001; /* Sector 0-0-1 */ in read_mbr()
30 ireg.dl = devno; in read_mbr()
31 ireg.bx = (size_t)buf; in read_mbr()
33 intcall(0x13, &ireg, &oreg); in read_mbr()
75 struct biosregs ireg, oreg; in get_edd_info() local
81 initregs(&ireg); in get_edd_info()
82 ireg.ah = 0x41; in get_edd_info()
[all …]
Dvideo-bios.c31 struct biosregs ireg, oreg; in set_bios_mode() local
34 initregs(&ireg); in set_bios_mode()
35 ireg.al = mode; /* AH=0x00 Set Video Mode */ in set_bios_mode()
36 intcall(0x10, &ireg, NULL); in set_bios_mode()
38 ireg.ah = 0x0f; /* Get Current Video Mode */ in set_bios_mode()
39 intcall(0x10, &ireg, &oreg); in set_bios_mode()
54 ireg.ax = boot_params.screen_info.orig_video_mode; in set_bios_mode()
55 intcall(0x10, &ireg, NULL); in set_bios_mode()
Dvideo.c24 struct biosregs ireg, oreg; in store_cursor_position() local
26 initregs(&ireg); in store_cursor_position()
27 ireg.ah = 0x03; in store_cursor_position()
28 intcall(0x10, &ireg, &oreg); in store_cursor_position()
42 struct biosregs ireg, oreg; in store_video_mode() local
46 initregs(&ireg); in store_video_mode()
47 ireg.ah = 0x0f; in store_video_mode()
48 intcall(0x10, &ireg, &oreg); in store_video_mode()
264 struct biosregs ireg; in restore_screen() local
308 initregs(&ireg); in restore_screen()
[all …]
Da20.c91 struct biosregs ireg; in enable_a20_bios() local
93 initregs(&ireg); in enable_a20_bios()
94 ireg.ax = 0x2401; in enable_a20_bios()
95 intcall(0x15, &ireg, NULL); in enable_a20_bios()
Dboot.h246 void intcall(u8 int_no, const struct biosregs *ireg, struct biosregs *oreg);
/arch/powerpc/sysdev/xics/
Dicp-native.c262 const __be32 *ireg; in icp_native_init_one_node() local
272 ireg = of_get_property(np, "ibm,interrupt-server-ranges", &ilen); in icp_native_init_one_node()
277 WARN_ON((ireg == NULL) || (ilen != 2*sizeof(u32))); in icp_native_init_one_node()
279 if (ireg) { in icp_native_init_one_node()
280 *indx = of_read_number(ireg, 1); in icp_native_init_one_node()
282 num_servers = of_read_number(ireg + 1, 1); in icp_native_init_one_node()
Dxics-common.c48 const __be32 *ireg; in xics_update_irq_servers() local
60 ireg = of_get_property(np, "ibm,ppc-interrupt-gserver#s", &ilen); in xics_update_irq_servers()
61 if (!ireg) { in xics_update_irq_servers()
74 if (be32_to_cpu(ireg[j]) == hcpuid) { in xics_update_irq_servers()
75 xics_default_distrib_server = be32_to_cpu(ireg[j+1]); in xics_update_irq_servers()
/arch/riscv/kvm/
Daia_imsic.c91 static unsigned long imsic_eix_read(int ireg) in imsic_eix_read() argument
93 switch (ireg) { in imsic_eix_read()
131 static unsigned long imsic_eix_swap(int ireg, unsigned long val) in imsic_eix_swap() argument
133 switch (ireg) { in imsic_eix_swap()
170 static void imsic_eix_write(int ireg, unsigned long val) in imsic_eix_write() argument
172 switch (ireg) { in imsic_eix_write()
207 static void imsic_eix_set(int ireg, unsigned long val) in imsic_eix_set() argument
209 switch (ireg) { in imsic_eix_set()
/arch/powerpc/kernel/
Dsetup-common.c524 const __be32 *ireg; in smp_setup_cpu_maps() local
529 ireg = of_get_property(dn, "ibm,lrdr-capacity", NULL); in smp_setup_cpu_maps()
531 if (!ireg) in smp_setup_cpu_maps()
534 maxcpus = be32_to_cpup(ireg + num_addr_cell + num_size_cell); in smp_setup_cpu_maps()
/arch/m68k/ifpsp060/
DMISC90 ireg.s : 2.6
140 ireg.s : 2.6
/arch/ia64/kernel/
Dunwind.c287 struct unw_ireg *ireg; in unw_access_gr() local
304 ireg = &info->r4 + (regnum - 4); in unw_access_gr()
305 addr = ireg->loc; in unw_access_gr()
307 nat_addr = addr + ireg->nat.off; in unw_access_gr()
308 switch (ireg->nat.type) { in unw_access_gr()