Home
last modified time | relevance | path

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

/linux/arch/x86/boot/
H A Dmemory.c21 struct biosregs ireg, oreg; in detect_memory_e820() local
46 intcall(0x15, &ireg, &oreg); in detect_memory_e820()
47 ireg.ebx = oreg.ebx; /* for next iteration... */ in detect_memory_e820()
52 if (oreg.eflags & X86_EFLAGS_CF) in detect_memory_e820()
60 if (oreg.eax != SMAP) { in detect_memory_e820()
74 struct biosregs ireg, oreg; in detect_memory_e801() local
78 intcall(0x15, &ireg, &oreg); in detect_memory_e801()
80 if (oreg.eflags & X86_EFLAGS_CF) in detect_memory_e801()
84 if (oreg.cx || oreg.dx) { in detect_memory_e801()
85 oreg.ax = oreg.cx; in detect_memory_e801()
[all …]
H A Dapm.c21 struct biosregs ireg, oreg; in query_apm_bios() local
26 intcall(0x15, &ireg, &oreg); in query_apm_bios()
28 if (oreg.flags & X86_EFLAGS_CF) in query_apm_bios()
31 if (oreg.bx != 0x504d) /* "PM" signature */ in query_apm_bios()
34 if (!(oreg.cx & 0x02)) /* 32 bits supported? */ in query_apm_bios()
43 intcall(0x15, &ireg, &oreg); in query_apm_bios()
45 boot_params.apm_bios_info.cseg = oreg.ax; in query_apm_bios()
46 boot_params.apm_bios_info.offset = oreg.ebx; in query_apm_bios()
47 boot_params.apm_bios_info.cseg_16 = oreg.cx; in query_apm_bios()
48 boot_params.apm_bios_info.dseg = oreg.dx; in query_apm_bios()
[all …]
H A Dvideo-vesa.c33 struct biosregs ireg, oreg; in vesa_probe() local
44 intcall(0x10, &ireg, &oreg); in vesa_probe()
46 if (oreg.ax != 0x004f || in vesa_probe()
68 intcall(0x10, &ireg, &oreg); in vesa_probe()
70 if (oreg.ax != 0x004f) in vesa_probe()
106 struct biosregs ireg, oreg; in vesa_set_mode() local
116 intcall(0x10, &ireg, &oreg); in vesa_set_mode()
118 if (oreg.ax != 0x004f) in vesa_set_mode()
138 intcall(0x10, &ireg, &oreg); in vesa_set_mode()
140 if (oreg.ax != 0x004f) in vesa_set_mode()
[all …]
H A Dedd.c25 struct biosregs ireg, oreg; in read_mbr() local
33 intcall(0x13, &ireg, &oreg); in read_mbr()
35 return -(oreg.eflags & X86_EFLAGS_CF); /* 0 or -1 */ in read_mbr()
75 struct biosregs ireg, oreg; in get_edd_info() local
85 intcall(0x13, &ireg, &oreg); in get_edd_info()
87 if (oreg.eflags & X86_EFLAGS_CF) in get_edd_info()
90 if (oreg.bx != EDDMAGIC2) 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()
102 intcall(0x13, &ireg, &oreg); in get_edd_info()
[all …]
H A Dtty.c74 struct biosregs ireg, oreg; in gettime() local
78 intcall(0x1a, &ireg, &oreg); in gettime()
80 return oreg.dh; in gettime()
88 struct biosregs ireg, oreg; in getchar() local
92 intcall(0x16, &ireg, &oreg); in getchar()
94 return oreg.al; in getchar()
99 struct biosregs ireg, oreg; in kbd_pending() local
103 intcall(0x16, &ireg, &oreg); in kbd_pending()
105 return !(oreg.eflags & X86_EFLAGS_ZF); in kbd_pending()
H A Dmain.c66 struct biosregs ireg, oreg; in keyboard_init() local
71 intcall(0x16, &ireg, &oreg); in keyboard_init()
72 boot_params.kbd_status = oreg.al; in keyboard_init()
83 struct biosregs ireg, oreg; in query_ist() local
95 intcall(0x15, &ireg, &oreg); in query_ist()
97 boot_params.ist_info.signature = oreg.eax; in query_ist()
98 boot_params.ist_info.command = oreg.ebx; in query_ist()
99 boot_params.ist_info.event = oreg.ecx; in query_ist()
100 boot_params.ist_info.perf_level = oreg.edx; in query_ist()
H A Dvideo-vga.c41 struct biosregs ireg, oreg; in vga_set_basic_mode() local
48 intcall(0x10, &ireg, &oreg); in vga_set_basic_mode()
49 mode = oreg.al; in vga_set_basic_mode()
247 struct biosregs ireg, oreg; in vga_probe() local
253 intcall(0x10, &ireg, &oreg); in vga_probe()
256 boot_params.screen_info.orig_video_ega_bx = oreg.bx; in vga_probe()
260 if (oreg.bl != 0x10) { in vga_probe()
263 intcall(0x10, &ireg, &oreg); in vga_probe()
265 if (oreg.al == 0x1a) { in vga_probe()
H A Dvideo.c24 struct biosregs ireg, oreg; in store_cursor_position() local
28 intcall(0x10, &ireg, &oreg); in store_cursor_position()
30 boot_params.screen_info.orig_x = oreg.dl; in store_cursor_position()
31 boot_params.screen_info.orig_y = oreg.dh; in store_cursor_position()
33 if (oreg.ch & 0x20) in store_cursor_position()
36 if ((oreg.ch & 0x1f) > (oreg.cl & 0x1f)) in store_cursor_position()
42 struct biosregs ireg, oreg; in store_video_mode() local
48 intcall(0x10, &ireg, &oreg); in store_video_mode()
51 boot_params.screen_info.orig_video_mode = oreg.al & 0x7f; in store_video_mode()
52 boot_params.screen_info.orig_video_page = oreg.bh; in store_video_mode()
H A Dvideo-bios.c31 struct biosregs ireg, oreg; in set_bios_mode() local
39 intcall(0x10, &ireg, &oreg); in set_bios_mode()
44 new_mode = oreg.al & 0x7f; in set_bios_mode()
H A Dboot.h246 void intcall(u8 int_no, const struct biosregs *ireg, struct biosregs *oreg);
/linux/sound/pci/
H A Dazt3328.c928 u16 oreg, val; in snd_azf3328_get_mixer() local
932 oreg = snd_azf3328_mixer_inw(chip, reg.reg); in snd_azf3328_get_mixer()
933 val = (oreg >> reg.lchan_shift) & reg.mask; in snd_azf3328_get_mixer()
938 val = (oreg >> reg.rchan_shift) & reg.mask; in snd_azf3328_get_mixer()
945 reg.reg, oreg, in snd_azf3328_get_mixer()
957 u16 oreg, nreg, val; in snd_azf3328_put_mixer() local
960 oreg = snd_azf3328_mixer_inw(chip, reg.reg); in snd_azf3328_put_mixer()
964 nreg = oreg & ~(reg.mask << reg.lchan_shift); in snd_azf3328_put_mixer()
983 "put: %02x to %02lx|%02lx, oreg %04x; shift %02d|%02d -> nreg %04x; after: %04x\n", in snd_azf3328_put_mixer()
985 oreg, re in snd_azf3328_put_mixer()
1060 u16 oreg, nreg, val; snd_azf3328_put_mixer_enum() local
[all...]
H A Dcmipci.c2182 unsigned char oreg, val; in snd_cmipci_info_native_mixer()
2186 oreg = inb(cm->iobase + reg.left_reg); in snd_cmipci_info_native_mixer()
2187 val = (oreg >> reg.left_shift) & reg.mask; in snd_cmipci_info_native_mixer()
2192 val = (oreg >> reg.right_shift) & reg.mask; in snd_cmipci_get_native_mixer()
2206 unsigned char oreg, nreg, val; in snd_cmipci_get_native_mixer()
2210 oreg = inb(cm->iobase + reg.left_reg); in snd_cmipci_get_native_mixer()
2214 nreg = oreg & ~(reg.mask << reg.left_shift);
2225 return (nreg != oreg); in snd_cmipci_put_native_mixer()
2196 unsigned char oreg, val; snd_cmipci_get_native_mixer() local
2220 unsigned char oreg, nreg, val; snd_cmipci_put_native_mixer() local
/linux/sound/ppc/
H A Dburgundy.c573 int reg, oreg; in snd_pmac_burgundy_update_automute() local
574 reg = oreg = snd_pmac_burgundy_rcb(chip, in snd_pmac_burgundy_update_automute()
588 if (do_notify && reg == oreg) in snd_pmac_burgundy_update_automute()