Home
last modified time | relevance | path

Searched refs:cregs (Results 1 – 5 of 5) sorted by relevance

/arch/parisc/kernel/
Dprocess.c262 struct pt_regs * cregs = &(p->thread.regs); in copy_thread() local
274 *cregs = *pregs; in copy_thread()
279 cregs->gr[28] = 0; /* child */ in copy_thread()
290 cregs->ksp = (unsigned long)stack + THREAD_SZ_ALGN; in copy_thread()
294 cregs->kpc = (unsigned long) &ret_from_kernel_thread; in copy_thread()
300 cregs->gr[27] = pregs->gr[27]; in copy_thread()
302 cregs->gr[26] = pregs->gr[26]; in copy_thread()
303 cregs->gr[25] = pregs->gr[25]; in copy_thread()
312 cregs->ksp = (unsigned long)stack in copy_thread()
314 cregs->gr[30] = usp; in copy_thread()
[all …]
/arch/sparc/mm/
Dleon_mm.c238 struct leon3_cacheregs cregs; in leon_flush_needed() local
239 leon3_getCacheRegs(&cregs); in leon_flush_needed()
240 sets = (cregs.dccr & LEON3_XCCR_SETS_MASK) >> 24; in leon_flush_needed()
242 ssize = 1 << ((cregs.dccr & LEON3_XCCR_SSIZE_MASK) >> 20); in leon_flush_needed()
/arch/s390/kernel/
Dsmp.c527 unsigned long cregs[16]; in smp_ctl_bit_callback() local
529 __ctl_store(cregs, 0, 15); in smp_ctl_bit_callback()
530 cregs[pp->cr] = (cregs[pp->cr] & pp->andval) | pp->orval; in smp_ctl_bit_callback()
531 __ctl_load(cregs, 0, 15); in smp_ctl_bit_callback()
792 unsigned long cregs[16]; in __cpu_disable() local
798 __ctl_store(cregs, 0, 15); in __cpu_disable()
799 cregs[0] &= ~0x0000ee70UL; /* disable all external interrupts */ in __cpu_disable()
800 cregs[6] &= ~0xff000000UL; /* disable all I/O interrupts */ in __cpu_disable()
801 cregs[14] &= ~0x1f000000UL; /* disable most machine checks */ in __cpu_disable()
802 __ctl_load(cregs, 0, 15); in __cpu_disable()
/arch/sparc/kernel/
Dpci_fire.c277 unsigned long cregs = (unsigned long) pbm->pbm_regs; in pci_fire_msiq_build_irq() local
283 imap_reg = cregs + (0x001000UL + (devino * 0x08UL)); in pci_fire_msiq_build_irq()
284 iclr_reg = cregs + (0x001400UL + (devino * 0x08UL)); in pci_fire_msiq_build_irq()
/arch/powerpc/platforms/cell/
Diommu.c785 void __iomem *xregs, *cregs; in cell_disable_iommus() local
794 cregs = xregs + IOC_IOCmd_Offset; in cell_disable_iommus()
800 val = in_be64(cregs + IOC_IOCmd_Cfg); in cell_disable_iommus()
802 out_be64(cregs + IOC_IOCmd_Cfg, val); in cell_disable_iommus()
803 (void)in_be64(cregs + IOC_IOCmd_Cfg); in cell_disable_iommus()