Home
last modified time | relevance | path

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

/linux-3.4.99/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 …]
/linux-3.4.99/drivers/net/ethernet/sun/
Dsunqe.c86 void __iomem *cregs = qep->qcregs; in qe_stop() local
106 sbus_writel(CREG_CTRL_RESET, cregs + CREG_CTRL); in qe_stop()
109 u32 tmp = sbus_readl(cregs + CREG_CTRL); in qe_stop()
143 void __iomem *cregs = qep->qcregs; in qe_init() local
155 sbus_writel(qep->qblock_dvma + qib_offset(qe_rxd, 0), cregs + CREG_RXDS); in qe_init()
156 sbus_writel(qep->qblock_dvma + qib_offset(qe_txd, 0), cregs + CREG_TXDS); in qe_init()
159 sbus_writel(0, cregs + CREG_RIMASK); in qe_init()
160 sbus_writel(1, cregs + CREG_TIMASK); in qe_init()
162 sbus_writel(0, cregs + CREG_QMASK); in qe_init()
163 sbus_writel(CREG_MMASK_RXCOLL, cregs + CREG_MMASK); in qe_init()
[all …]
Dsunbmac.c627 void __iomem *cregs = bp->creg; in bigmac_init_hw() local
678 cregs + CREG_RXDS); in bigmac_init_hw()
680 cregs + CREG_TXDS); in bigmac_init_hw()
683 sbus_writel(0, cregs + CREG_RXRBUFPTR); in bigmac_init_hw()
684 sbus_writel(0, cregs + CREG_RXWBUFPTR); in bigmac_init_hw()
686 cregs + CREG_TXRBUFPTR); in bigmac_init_hw()
688 cregs + CREG_TXWBUFPTR); in bigmac_init_hw()
695 sbus_writel(0, cregs + CREG_RIMASK); in bigmac_init_hw()
696 sbus_writel(0, cregs + CREG_TIMASK); in bigmac_init_hw()
697 sbus_writel(0, cregs + CREG_QMASK); in bigmac_init_hw()
[all …]
/linux-3.4.99/drivers/isdn/hardware/avm/
Dt1isa.c64 unsigned char cregs[8]; in t1_detectandinit() local
71 cregs[0] = (HEMA_VERSION_ID << 4) | (reverse_cardnr & 0xf); in t1_detectandinit()
72 cregs[1] = 0x00; /* fast & slow link connected to CON1 */ in t1_detectandinit()
73 cregs[2] = 0x05; /* fast link 20MBit, slow link 20 MBit */ in t1_detectandinit()
74 cregs[3] = 0; in t1_detectandinit()
75 cregs[4] = 0x11; /* zero wait state */ in t1_detectandinit()
76 cregs[5] = hema_irq_table[irq & 0xf]; in t1_detectandinit()
77 cregs[6] = 0; in t1_detectandinit()
78 cregs[7] = 0; in t1_detectandinit()
95 t1outp(base, HEMA_PAL_ID >> 4, cregs[0]); in t1_detectandinit()
[all …]
/linux-3.4.99/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()
/linux-3.4.99/drivers/hwmon/
Dltc4245.c60 u8 cregs[0x08]; member
107 gpio_curr = (data->cregs[LTC4245_GPIO] & 0xc0) >> 6; in ltc4245_update_gpios()
121 gpio_reg = (data->cregs[LTC4245_GPIO] & 0x3f) | ((gpio_next + 1) << 6); in ltc4245_update_gpios()
127 data->cregs[LTC4245_GPIO] = gpio_reg; in ltc4245_update_gpios()
144 for (i = 0; i < ARRAY_SIZE(data->cregs); i++) { in ltc4245_update_device()
147 data->cregs[i] = 0; in ltc4245_update_device()
149 data->cregs[i] = val; in ltc4245_update_device()
299 const u8 reg = data->cregs[attr->index]; in ltc4245_show_alarm()
/linux-3.4.99/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()
/linux-3.4.99/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()
/linux-3.4.99/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()