Home
last modified time | relevance | path

Searched refs:arch (Results 1 – 15 of 15) sorted by relevance

/drivers/lguest/
Dsegments.c74 if ((cpu->arch.gdt[i].b & 0x00006000) == 0) in fixup_gdt_table()
75 cpu->arch.gdt[i].b |= (GUEST_PL << 13); in fixup_gdt_table()
81 cpu->arch.gdt[i].b |= 0x00000100; in fixup_gdt_table()
115 cpu->arch.gdt[GDT_ENTRY_KERNEL_CS] = FULL_EXEC_SEGMENT; in setup_guest_gdt()
116 cpu->arch.gdt[GDT_ENTRY_KERNEL_DS] = FULL_SEGMENT; in setup_guest_gdt()
119 cpu->arch.gdt[GDT_ENTRY_KERNEL_CS].b |= (GUEST_PL << 13); in setup_guest_gdt()
120 cpu->arch.gdt[GDT_ENTRY_KERNEL_DS].b |= (GUEST_PL << 13); in setup_guest_gdt()
130 gdt[i] = cpu->arch.gdt[i]; in copy_gdt_tls()
144 gdt[i] = cpu->arch.gdt[i]; in copy_gdt()
153 if (num > ARRAY_SIZE(cpu->arch.gdt)) in load_guest_gdt()
[all …]
Dinterrupts_and_traps.c179 idt = &cpu->arch.idt[FIRST_EXTERNAL_VECTOR+irq]; in maybe_do_interrupt()
257 if (num >= ARRAY_SIZE(cpu->arch.idt)) in deliver_trap()
262 if (!idt_present(cpu->arch.idt[num].a, cpu->arch.idt[num].b)) in deliver_trap()
264 set_guest_interrupt(cpu, cpu->arch.idt[num].a, in deliver_trap()
265 cpu->arch.idt[num].b, has_err(num)); in deliver_trap()
403 if (num >= ARRAY_SIZE(cpu->arch.idt)) in load_guest_idt_entry()
406 set_trap(cpu, &cpu->arch.idt[num], num, lo, hi); in load_guest_idt_entry()
454 for (i = 0; i < ARRAY_SIZE(cpu->arch.idt); i++) { in copy_traps()
455 const struct desc_struct *gidt = &cpu->arch.idt[i]; in copy_traps()
Dlg.h82 struct lg_cpu_arch arch; member
/drivers/s390/char/
Dzcore.c43 enum arch_id arch; member
222 static int __init init_cpu_info(enum arch_id arch) in init_cpu_info() argument
241 if (arch == ARCH_S390) in init_cpu_info()
336 if (sys_info.arch == ARCH_S390) in zcore_add_lc()
561 static int __init sys_info_init(enum arch_id arch) in sys_info_init() argument
565 switch (arch) { in sys_info_init()
579 pr_alert("0x%x is an unknown architecture.\n",arch); in sys_info_init()
582 sys_info.arch = arch; in sys_info_init()
583 rc = init_cpu_info(arch); in sys_info_init()
627 static int __init zcore_header_init(int arch, struct zcore_header *hdr) in zcore_header_init() argument
[all …]
/drivers/lguest/x86/
Dcore.c208 cpu->arch.last_pagefault = read_cr2(); in lguest_arch_run_guest()
315 if (demand_page(cpu, cpu->arch.last_pagefault, in lguest_arch_handle_trap()
327 put_user(cpu->arch.last_pagefault, in lguest_arch_handle_trap()
359 cpu->regs->trapnum == 14 ? cpu->arch.last_pagefault in lguest_arch_handle_trap()
/drivers/staging/android/
DTODO6 - add proper arch dependancies as needed
/drivers/video/nvidia/
Dnvidia.c1236 u32 arch = 0; in nvidia_get_arch() local
1246 arch = NV_ARCH_10; in nvidia_get_arch()
1251 arch = NV_ARCH_20; in nvidia_get_arch()
1258 arch = NV_ARCH_30; in nvidia_get_arch()
1273 arch = NV_ARCH_40; in nvidia_get_arch()
1276 arch = NV_ARCH_04; in nvidia_get_arch()
1282 return arch; in nvidia_get_arch()
/drivers/video/riva/
Dfbdev.c1873 u32 arch = 0; in riva_get_arch() local
1883 arch = NV_ARCH_10; in riva_get_arch()
1888 arch = NV_ARCH_20; in riva_get_arch()
1895 arch = NV_ARCH_30; in riva_get_arch()
1898 arch = NV_ARCH_04; in riva_get_arch()
1901 arch = NV_ARCH_03; in riva_get_arch()
1906 return arch; in riva_get_arch()
/drivers/dma/
DKconfig13 DMA Device drivers supported by the configured arch, it may
/drivers/media/
DKconfig130 <http://wwwbode.cs.tum.edu/Par/arch/dab/>. This driver can be taken
/drivers/auxdisplay/
DKconfig91 Depends on the x86 arch and the framebuffer support.
/drivers/spi/
DKconfig108 This simple GPIO bitbanging SPI master uses the arch-neutral GPIO
/drivers/i2c/busses/
DKconfig334 arch-neutral GPIO API to control the SCL and SDA lines.
/drivers/rtc/
DKconfig385 # this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h>
/drivers/char/
DKconfig696 will depend on arch specific APIs exported from hvcserver.ko