Searched defs:cr (Results 1 - 25 of 33) sorted by relevance

12

/arch/s390/include/asm/
H A Dctl_reg.h39 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 Dnmi.h45 __u32 cr : 1; /* 29 control register validity */ member in struct:mci
/arch/powerpc/xmon/
H A Dppc-dis.c151 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 Dtime.c43 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 Dirq_tx4939.c36 #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 Dsetup_tx4927.c196 __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 Dsetup_tx4938.c209 __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 Dugecon.c48 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 Dmmu_context.h172 unsigned long cr; local
174 cr = __raw_readl(MMUCR);
175 cr &= ~MMU_CONTROL_INIT;
176 __raw_writel(cr, MMUCR);
/arch/arm/mm/
H A Dcache-feroceon-l2.c243 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 Dmmu.c184 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 Dirq_txx9.c24 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 Dusbgecko_udbg.c55 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 Dmvme16xhw.h15 cr, member in struct:__anon1902
/arch/powerpc/lib/
H A Dsstep.c487 #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 Dptrace.c50 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 Dsmp.c476 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 Dkvm.h85 unsigned long cr[128]; member in struct:context::__anon1716
/arch/mips/include/asm/txx9/
H A Dtx4927.h79 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 Dtx3927.h26 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 Dtx4938.h44 u64 cr; member in struct:tx4938_sramc_reg
/arch/parisc/include/asm/
H A Dpdc.h209 __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 Dgaccess.c75 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 Dbook3s_paired_singles.c649 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 Dptrace.h300 unsigned long cr[NUM_CR_WORDS]; member in struct:__anon2562

Completed in 1962 milliseconds

12