/arch/s390/include/asm/ |
H A D | ctl_reg.h | 39 static inline void __ctl_set_bit(unsigned int cr, unsigned int bit) argument 43 __ctl_store(reg, cr, cr); 45 __ctl_load(reg, cr, cr); 48 static inline void __ctl_clear_bit(unsigned int cr, unsigned int bit) argument 52 __ctl_store(reg, cr, cr); 54 __ctl_load(reg, cr, cr); [all...] |
H A D | nmi.h | 45 __u32 cr : 1; /* 29 control register validity */ member in struct:mci
|
/arch/powerpc/xmon/ |
H A D | ppc-dis.c | 151 printf("cr%ld", value); 155 int cr; local 158 cr = value >> 2; 159 if (cr != 0) 160 printf("4*cr%d+", cr);
|
/arch/arm/mach-gemini/ |
H A D | time.c | 43 u32 cr; local 45 cr = readl(TIMER_CR(IO_ADDRESS(GEMINI_TIMER_BASE))); 48 cr &= ~TIMER_2_CR_ENABLE; 49 cr &= ~TIMER_2_CR_INT; 50 writel(cr, TIMER_CR(IO_ADDRESS(GEMINI_TIMER_BASE))); 55 cr |= TIMER_2_CR_ENABLE; 56 cr |= TIMER_2_CR_INT; 57 writel(cr, TIMER_CR(IO_ADDRESS(GEMINI_TIMER_BASE))); 66 u32 cr; local 75 cr [all...] |
/arch/mips/txx9/generic/ |
H A D | irq_tx4939.c | 36 #define TXx9_IRCR_EDGE(cr) ((cr) & 0x00000002) 107 u32 cr; local 138 cr = __raw_readl(crp); 139 cr &= ~(0x3 << ofs); 140 cr |= (mode & 0x3) << ofs; 141 __raw_writel(cr, crp);
|
H A D | setup_tx4927.c | 196 __u64 cr = TX4927_SDRAMC_CR(i); local 198 if (!((__u32)cr & 0x00000400)) 200 base = (unsigned long)(cr >> 49) << 21; 201 size = (((unsigned long)(cr >> 33) & 0x7fff) + 1) << 21; 202 printk(" CR%d:%016llx", i, (unsigned long long)cr);
|
H A D | setup_tx4938.c | 209 __u64 cr = TX4938_SDRAMC_CR(i); local 211 if (!((__u32)cr & 0x00000400)) 213 base = (unsigned long)(cr >> 49) << 21; 214 size = (((unsigned long)(cr >> 33) & 0x7fff) + 1) << 21; 215 printk(" CR%d:%016llx", i, (unsigned long long)cr); 226 if (txx9_pcode == 0x4938 && ____raw_readq(&tx4938_sramcptr->cr) & 1) { 230 (____raw_readq(&tx4938_sramcptr->cr) >> (39-11)) 365 ebccr = __raw_readq(&tx4938_ebuscptr->cr[i]);
|
/arch/powerpc/boot/ |
H A D | ugecon.c | 48 u32 csr, data, cr; local 57 cr = EXI_CR_TLEN(2) | EXI_CR_READ_WRITE | EXI_CR_TSTART; 58 out_be32(cr_reg, cr);
|
/arch/sh/include/asm/ |
H A D | mmu_context.h | 172 unsigned long cr; local 174 cr = __raw_readl(MMUCR); 175 cr &= ~MMU_CONTROL_INIT; 176 __raw_writel(cr, MMUCR);
|
/arch/arm/mm/ |
H A D | cache-feroceon-l2.c | 243 u32 cr; local 245 cr = get_cr(); 246 if (cr & CR_C) { 251 set_cr(cr & ~CR_C); 260 u32 cr; local 262 cr = get_cr(); 263 set_cr(cr | CR_C); 273 u32 cr; local 275 cr = get_cr(); 276 if (cr 286 u32 cr; local [all...] |
H A D | mmu.c | 184 unsigned long cr = __clear_cr(cache_policies[selected].cr_mask); local 187 set_cr(cr); 425 unsigned int cr = get_cr(); local 465 if ((cpu_arch < CPU_ARCH_ARMv6 || !(cr & CR_XP)) && !cpu_is_xsc3()) 491 if (cpu_is_xsc3() || (cpu_arch >= CPU_ARCH_ARMv6 && (cr & CR_XP))) { 505 if (cpu_arch >= CPU_ARCH_ARMv7 && (cr & CR_TRE)) { 568 if (cpu_arch >= CPU_ARCH_ARMv6 && (cr & CR_XP)) { 608 if (cpu_arch >= CPU_ARCH_ARMv7 && (cr & CR_TRE)) {
|
/arch/mips/kernel/ |
H A D | irq_txx9.c | 24 u32 cr[2]; member in struct:txx9_irc_reg 45 #define TXx9_IRCR_EDGE(cr) ((cr) & 0x00000002) 115 u32 cr; local 130 crp = &txx9_ircptr->cr[(unsigned int)irq_nr / 8]; 131 cr = __raw_readl(crp); 133 cr &= ~(0x3 << ofs); 134 cr |= (mode & 0x3) << ofs; 135 __raw_writel(cr, crp); 167 __raw_writel(0, &txx9_ircptr->cr[ [all...] |
/arch/powerpc/platforms/embedded6xx/ |
H A D | usbgecko_udbg.c | 55 u32 csr, data, cr; local 64 cr = EXI_CR_TLEN(2) | EXI_CR_READ_WRITE | EXI_CR_TSTART; 65 out_be32(cr_reg, cr);
|
/arch/m68k/include/asm/ |
H A D | mvme16xhw.h | 15 cr, member in struct:__anon1902
|
/arch/powerpc/lib/ |
H A D | sstep.c | 487 #define __put_user_asmx(x, addr, err, op, cr) \ 500 : "=r" (err), "=r" (cr) \ 1772 unsigned int cr; local 1842 __put_user_asmx(op.val, op.ea, err, "stwcx.", cr); 1845 __put_user_asmx(op.val, op.ea, err, "stdcx.", cr); 1852 (cr & 0xe0000000) |
|
/arch/s390/kernel/ |
H A D | ptrace.c | 50 unsigned long cr, cr_new; local 52 __ctl_store(cr, 0, 0); 53 cr_new = cr; 66 if (cr_new != cr) 70 __ctl_store(cr, 2, 2); 71 cr_new = cr & ~3UL; 79 if (cr_new != cr)
|
H A D | smp.c | 476 int cr; member in struct:ec_creg_mask_parms 488 cregs[pp->cr] = (cregs[pp->cr] & pp->andval) | pp->orval; 495 void smp_ctl_set_bit(int cr, int bit) argument 497 struct ec_creg_mask_parms parms = { 1UL << bit, -1UL, cr }; 506 void smp_ctl_clear_bit(int cr, int bit) argument 508 struct ec_creg_mask_parms parms = { 0, ~(1UL << bit), cr };
|
/arch/ia64/include/uapi/asm/ |
H A D | kvm.h | 85 unsigned long cr[128]; member in struct:context::__anon1716
|
/arch/mips/include/asm/txx9/ |
H A D | tx4927.h | 79 u64 cr[4]; member in struct:tx4927_sdramc_reg 87 u64 cr[8]; member in struct:tx4927_ebusc_reg 203 #define TX4927_SDRAMC_CR(ch) __raw_readq(&tx4927_sdramcptr->cr[(ch)]) 208 #define TX4927_EBUSC_CR(ch) __raw_readq(&tx4927_ebuscptr->cr[(ch)])
|
H A D | tx3927.h | 26 volatile unsigned long cr[8]; member in struct:tx3927_sdramc_reg 33 volatile unsigned long cr[8]; member in struct:tx3927_romc_reg 325 #define TX3927_ROMC_BA(ch) (tx3927_romcptr->cr[(ch)] & 0xfff00000) 327 (0x00100000 << ((tx3927_romcptr->cr[(ch)] >> 8) & 0xf)) 328 #define TX3927_ROMC_WIDTH(ch) (32 >> ((tx3927_romcptr->cr[(ch)] >> 7) & 0x1))
|
H A D | tx4938.h | 44 u64 cr; member in struct:tx4938_sramc_reg
|
/arch/parisc/include/asm/ |
H A D | pdc.h | 209 __u32 cr[32]; member in struct:pdc_hpmc_pim_11 242 __u64 cr[32]; member in struct:pdc_hpmc_pim_20
|
/arch/s390/kvm/ |
H A D | gaccess.c | 75 unsigned long cr : 1; /* Common-Region Bit */ member in struct:region3_table_entry_fc0 91 unsigned long cr : 1; /* Common-Region Bit */ member in struct:region3_table_entry_fc1 105 unsigned long cr : 1; /* Common-Region Bit */ member in struct:region3_table_entry::__anon2605 442 if (rtte.cr && asce.p && edat2)
|
/arch/powerpc/kvm/ |
H A D | book3s_paired_singles.c | 649 u32 cr; local 670 cr = kvmppc_get_cr(vcpu); 1118 fpd_fadds(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b); 1122 fpd_fsubs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b); 1126 fpd_fdivs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b); 1130 fpd_fres(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b); 1134 fpd_frsqrtes(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b); 1140 fpd_fmuls(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c); 1144 fpd_fmsubs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); 1148 fpd_fmadds(&vcpu->arch.fp.fpscr, &cr, fpr_ [all...] |
/arch/s390/include/uapi/asm/ |
H A D | ptrace.h | 300 unsigned long cr[NUM_CR_WORDS]; member in struct:__anon2562
|