cr 243 arch/arm/mm/cache-feroceon-l2.c u32 cr; cr 245 arch/arm/mm/cache-feroceon-l2.c cr = get_cr(); cr 246 arch/arm/mm/cache-feroceon-l2.c if (cr & CR_C) { cr 251 arch/arm/mm/cache-feroceon-l2.c set_cr(cr & ~CR_C); cr 260 arch/arm/mm/cache-feroceon-l2.c u32 cr; cr 262 arch/arm/mm/cache-feroceon-l2.c cr = get_cr(); cr 263 arch/arm/mm/cache-feroceon-l2.c set_cr(cr | CR_C); cr 273 arch/arm/mm/cache-feroceon-l2.c u32 cr; cr 275 arch/arm/mm/cache-feroceon-l2.c cr = get_cr(); cr 276 arch/arm/mm/cache-feroceon-l2.c if (cr & CR_I) { cr 277 arch/arm/mm/cache-feroceon-l2.c set_cr(cr & ~CR_I); cr 286 arch/arm/mm/cache-feroceon-l2.c u32 cr; cr 288 arch/arm/mm/cache-feroceon-l2.c cr = get_cr(); cr 289 arch/arm/mm/cache-feroceon-l2.c set_cr(cr | CR_I); cr 186 arch/arm/mm/mmu.c unsigned long cr = __clear_cr(cache_policies[selected].cr_mask); cr 189 arch/arm/mm/mmu.c set_cr(cr); cr 435 arch/arm/mm/mmu.c unsigned int cr = get_cr(); cr 475 arch/arm/mm/mmu.c if ((cpu_arch < CPU_ARCH_ARMv6 || !(cr & CR_XP)) && !cpu_is_xsc3()) cr 501 arch/arm/mm/mmu.c if (cpu_is_xsc3() || (cpu_arch >= CPU_ARCH_ARMv6 && (cr & CR_XP))) { cr 515 arch/arm/mm/mmu.c if (cpu_arch >= CPU_ARCH_ARMv7 && (cr & CR_TRE)) { cr 587 arch/arm/mm/mmu.c if (cpu_arch >= CPU_ARCH_ARMv6 && (cr & CR_XP)) { cr 627 arch/arm/mm/mmu.c if (cpu_arch >= CPU_ARCH_ARMv7 && (cr & CR_TRE)) { cr 1527 arch/arm/mm/mmu.c unsigned int cr, ttbcr; cr 1569 arch/arm/mm/mmu.c cr = get_cr(); cr 1570 arch/arm/mm/mmu.c set_cr(cr & ~(CR_I | CR_C)); cr 1586 arch/arm/mm/mmu.c set_cr(cr); cr 363 arch/arm64/include/asm/assembler.h bfi \tcr, \tmp0, \pos, #3 cr 611 arch/arm64/include/asm/assembler.h bic \tcr, \tcr, \tmp2 cr 22 arch/csky/abiv2/inc/abi/entry.h #define usp cr<14, 1> cr 151 arch/csky/abiv2/inc/abi/entry.h mfcr \rx, cr<0, 15> cr 155 arch/csky/abiv2/inc/abi/entry.h mfcr \rx, cr<4, 15> cr 159 arch/csky/abiv2/inc/abi/entry.h mfcr \rx, cr<8, 15> cr 163 arch/csky/abiv2/inc/abi/entry.h mfcr \rx, cr<29, 15> cr 167 arch/csky/abiv2/inc/abi/entry.h mfcr \rx, cr<28, 15> cr 171 arch/csky/abiv2/inc/abi/entry.h mtcr \rx, cr<4, 15> cr 175 arch/csky/abiv2/inc/abi/entry.h mtcr \rx, cr<8, 15> cr 192 arch/csky/abiv2/inc/abi/entry.h mtcr r6, cr<8, 15> /* Set MCIR */ cr 201 arch/csky/abiv2/inc/abi/entry.h mtcr r6, cr<6, 15> /* Set MPR with 4K page size */ cr 206 arch/csky/abiv2/inc/abi/entry.h mtcr r6, cr<4, 15> /* Set MEH */ cr 211 arch/csky/abiv2/inc/abi/entry.h mtcr r8, cr<2, 15> /* Set MEL0 */ cr 214 arch/csky/abiv2/inc/abi/entry.h mtcr r8, cr<3, 15> /* Set MEL1 */ cr 217 arch/csky/abiv2/inc/abi/entry.h mtcr r8, cr<8, 15> /* Set MCIR to write TLB */ cr 228 arch/csky/abiv2/inc/abi/entry.h mfcr r6, cr<30, 15> /* Get MSA0 */ cr 233 arch/csky/abiv2/inc/abi/entry.h mtcr r6, cr<30, 15> /* Set MSA0 */ cr 236 arch/csky/abiv2/inc/abi/entry.h mtcr r6, cr<31, 15> /* Clr MSA1 */ cr 123 arch/ia64/include/asm/mca_asm.h mov cr.ipsr = temp1; \ cr 127 arch/ia64/include/asm/mca_asm.h mov cr.iip = temp2; \ cr 128 arch/ia64/include/asm/mca_asm.h mov cr.ifs = r0; \ cr 200 arch/ia64/include/asm/mca_asm.h mov cr.ipsr = temp1; \ cr 203 arch/ia64/include/asm/mca_asm.h mov cr.iip = temp2; \ cr 12 arch/ia64/include/asm/native/inst.h mov reg = cr.ifa cr 15 arch/ia64/include/asm/native/inst.h mov reg = cr.itir cr 18 arch/ia64/include/asm/native/inst.h mov reg = cr.isr cr 21 arch/ia64/include/asm/native/inst.h mov reg = cr.iha cr 24 arch/ia64/include/asm/native/inst.h (pred) mov reg = cr.ipsr cr 27 arch/ia64/include/asm/native/inst.h mov reg = cr.iim cr 30 arch/ia64/include/asm/native/inst.h mov reg = cr.iip cr 33 arch/ia64/include/asm/native/inst.h mov reg = cr.ivr cr 42 arch/ia64/include/asm/native/inst.h mov cr.ifa = reg cr 45 arch/ia64/include/asm/native/inst.h (pred) mov cr.itir = reg cr 48 arch/ia64/include/asm/native/inst.h (pred) mov cr.iha = reg cr 51 arch/ia64/include/asm/native/inst.h (pred) mov cr.ipsr = reg cr 54 arch/ia64/include/asm/native/inst.h (pred) mov cr.ifs = reg cr 57 arch/ia64/include/asm/native/inst.h mov cr.iip = reg cr 445 arch/ia64/include/asm/pal.h cr : 1, /* Control regs valid*/ cr 695 arch/ia64/include/asm/pal.h #define pmci_proc_control_regs_valid pme_processor.cr cr 382 arch/ia64/include/asm/sal.h cr : 1, cr 390 arch/ia64/include/asm/sal.h u64 cr[128]; cr 249 arch/ia64/kernel/minstate.h #define SAVE_MIN_WITH_COVER DO_SAVE_MIN(COVER, mov r30=cr.ifs, , RSE_WORKAROUND) cr 250 arch/ia64/kernel/minstate.h #define SAVE_MIN_WITH_COVER_R19 DO_SAVE_MIN(COVER, mov r30=cr.ifs, mov r15=r19, RSE_WORKAROUND) cr 16 arch/m68k/include/asm/mvme16xhw.h cr, cr 26 arch/mips/include/asm/txx9/tx3927.h volatile unsigned long cr[8]; cr 33 arch/mips/include/asm/txx9/tx3927.h volatile unsigned long cr[8]; cr 325 arch/mips/include/asm/txx9/tx3927.h #define TX3927_ROMC_BA(ch) (tx3927_romcptr->cr[(ch)] & 0xfff00000) cr 327 arch/mips/include/asm/txx9/tx3927.h (0x00100000 << ((tx3927_romcptr->cr[(ch)] >> 8) & 0xf)) cr 328 arch/mips/include/asm/txx9/tx3927.h #define TX3927_ROMC_WIDTH(ch) (32 >> ((tx3927_romcptr->cr[(ch)] >> 7) & 0x1)) cr 79 arch/mips/include/asm/txx9/tx4927.h u64 cr[4]; cr 87 arch/mips/include/asm/txx9/tx4927.h u64 cr[8]; cr 203 arch/mips/include/asm/txx9/tx4927.h #define TX4927_SDRAMC_CR(ch) __raw_readq(&tx4927_sdramcptr->cr[(ch)]) cr 208 arch/mips/include/asm/txx9/tx4927.h #define TX4927_EBUSC_CR(ch) __raw_readq(&tx4927_ebuscptr->cr[(ch)]) cr 44 arch/mips/include/asm/txx9/tx4938.h u64 cr; cr 24 arch/mips/kernel/irq_txx9.c u32 cr[2]; cr 45 arch/mips/kernel/irq_txx9.c #define TXx9_IRCR_EDGE(cr) ((cr) & 0x00000002) cr 115 arch/mips/kernel/irq_txx9.c u32 cr; cr 130 arch/mips/kernel/irq_txx9.c crp = &txx9_ircptr->cr[(unsigned int)irq_nr / 8]; cr 131 arch/mips/kernel/irq_txx9.c cr = __raw_readl(crp); cr 133 arch/mips/kernel/irq_txx9.c cr &= ~(0x3 << ofs); cr 134 arch/mips/kernel/irq_txx9.c cr |= (mode & 0x3) << ofs; cr 135 arch/mips/kernel/irq_txx9.c __raw_writel(cr, crp); cr 167 arch/mips/kernel/irq_txx9.c __raw_writel(0, &txx9_ircptr->cr[i]); cr 36 arch/mips/txx9/generic/irq_tx4939.c #define TXx9_IRCR_EDGE(cr) ((cr) & 0x00000002) cr 107 arch/mips/txx9/generic/irq_tx4939.c u32 cr; cr 138 arch/mips/txx9/generic/irq_tx4939.c cr = __raw_readl(crp); cr 139 arch/mips/txx9/generic/irq_tx4939.c cr &= ~(0x3 << ofs); cr 140 arch/mips/txx9/generic/irq_tx4939.c cr |= (mode & 0x3) << ofs; cr 141 arch/mips/txx9/generic/irq_tx4939.c __raw_writel(cr, crp); cr 72 arch/mips/txx9/generic/mem_tx4927.c for (i = 0; i < ARRAY_SIZE(tx4927_sdramcptr->cr); i++) cr 73 arch/mips/txx9/generic/mem_tx4927.c total += tx4927_process_sdccr(&tx4927_sdramcptr->cr[i]); cr 41 arch/mips/txx9/generic/setup_tx3927.c if (!(tx3927_romcptr->cr[i] & 0x8)) cr 133 arch/mips/txx9/generic/setup_tx3927.c if (!(tx3927_romcptr->cr[ch] & 0x8)) cr 195 arch/mips/txx9/generic/setup_tx4927.c __u64 cr = TX4927_SDRAMC_CR(i); cr 197 arch/mips/txx9/generic/setup_tx4927.c if (!((__u32)cr & 0x00000400)) cr 199 arch/mips/txx9/generic/setup_tx4927.c base = (unsigned long)(cr >> 49) << 21; cr 200 arch/mips/txx9/generic/setup_tx4927.c size = (((unsigned long)(cr >> 33) & 0x7fff) + 1) << 21; cr 201 arch/mips/txx9/generic/setup_tx4927.c pr_cont(" CR%d:%016llx", i, cr); cr 208 arch/mips/txx9/generic/setup_tx4938.c __u64 cr = TX4938_SDRAMC_CR(i); cr 210 arch/mips/txx9/generic/setup_tx4938.c if (!((__u32)cr & 0x00000400)) cr 212 arch/mips/txx9/generic/setup_tx4938.c base = (unsigned long)(cr >> 49) << 21; cr 213 arch/mips/txx9/generic/setup_tx4938.c size = (((unsigned long)(cr >> 33) & 0x7fff) + 1) << 21; cr 214 arch/mips/txx9/generic/setup_tx4938.c pr_cont(" CR%d:%016llx", i, cr); cr 224 arch/mips/txx9/generic/setup_tx4938.c if (txx9_pcode == 0x4938 && ____raw_readq(&tx4938_sramcptr->cr) & 1) { cr 228 arch/mips/txx9/generic/setup_tx4938.c (____raw_readq(&tx4938_sramcptr->cr) >> (39-11)) cr 362 arch/mips/txx9/generic/setup_tx4938.c ebccr = __raw_readq(&tx4938_ebuscptr->cr[i]); cr 246 arch/mips/txx9/generic/setup_tx4939.c if (____raw_readq(&tx4939_sramcptr->cr) & 1) { cr 250 arch/mips/txx9/generic/setup_tx4939.c (____raw_readq(&tx4939_sramcptr->cr) >> (39-11)) cr 130 arch/mips/txx9/jmr3927/setup.c tx3927_romcptr->cr[1] = JMR3927_ROMCE1 | 0x00030048; cr 131 arch/mips/txx9/jmr3927/setup.c tx3927_romcptr->cr[2] = JMR3927_ROMCE2 | 0x000064c8; cr 132 arch/mips/txx9/jmr3927/setup.c tx3927_romcptr->cr[3] = JMR3927_ROMCE3 | 0x0003f698; cr 133 arch/mips/txx9/jmr3927/setup.c tx3927_romcptr->cr[5] = JMR3927_ROMCE5 | 0x0000f218; cr 103 arch/mips/txx9/rbtx4939/setup.c &tx4939_ebuscptr->cr[i]); cr 105 arch/mips/txx9/rbtx4939/setup.c ____raw_writeq(____raw_readq(&tx4939_ebuscptr->cr[i]) cr 107 arch/mips/txx9/rbtx4939/setup.c &tx4939_ebuscptr->cr[i]); cr 30 arch/parisc/include/asm/special_insns.h unsigned long cr; \ cr 33 arch/parisc/include/asm/special_insns.h "=r" (cr) \ cr 35 arch/parisc/include/asm/special_insns.h cr; \ cr 38 arch/parisc/include/asm/special_insns.h #define mtctl(gr, cr) \ cr 41 arch/parisc/include/asm/special_insns.h : "r" (gr), "i" (cr) : "memory") cr 52 arch/parisc/include/asm/special_insns.h unsigned long cr; \ cr 55 arch/parisc/include/asm/special_insns.h "=r" (cr) \ cr 57 arch/parisc/include/asm/special_insns.h cr; \ cr 60 arch/parisc/include/asm/special_insns.h #define mtsp(val, cr) \ cr 62 arch/parisc/include/asm/special_insns.h __asm__ __volatile__("mtsp %%r0,%0" : : "i" (cr) : "memory"); \ cr 66 arch/parisc/include/asm/special_insns.h : "r" (val), "i" (cr) : "memory"); } cr 642 arch/parisc/include/uapi/asm/pdc.h unsigned int cr[32]; cr 675 arch/parisc/include/uapi/asm/pdc.h unsigned long long cr[32]; cr 352 arch/parisc/kernel/traps.c regs->gr[0] = pim_wide->cr[22]; cr 363 arch/parisc/kernel/traps.c regs->iasq[0] = pim_wide->cr[17]; cr 365 arch/parisc/kernel/traps.c regs->iaoq[0] = pim_wide->cr[18]; cr 368 arch/parisc/kernel/traps.c regs->sar = pim_wide->cr[11]; cr 369 arch/parisc/kernel/traps.c regs->iir = pim_wide->cr[19]; cr 370 arch/parisc/kernel/traps.c regs->isr = pim_wide->cr[20]; cr 371 arch/parisc/kernel/traps.c regs->ior = pim_wide->cr[21]; cr 376 arch/parisc/kernel/traps.c regs->gr[0] = pim_narrow->cr[22]; cr 387 arch/parisc/kernel/traps.c regs->iasq[0] = pim_narrow->cr[17]; cr 389 arch/parisc/kernel/traps.c regs->iaoq[0] = pim_narrow->cr[18]; cr 392 arch/parisc/kernel/traps.c regs->sar = pim_narrow->cr[11]; cr 393 arch/parisc/kernel/traps.c regs->iir = pim_narrow->cr[19]; cr 394 arch/parisc/kernel/traps.c regs->isr = pim_narrow->cr[20]; cr 395 arch/parisc/kernel/traps.c regs->ior = pim_narrow->cr[21]; cr 43 arch/powerpc/boot/ugecon.c u32 csr, data, cr; cr 52 arch/powerpc/boot/ugecon.c cr = EXI_CR_TLEN(2) | EXI_CR_READ_WRITE | EXI_CR_TSTART; cr 53 arch/powerpc/boot/ugecon.c out_be32(cr_reg, cr); cr 171 arch/powerpc/include/asm/icswx.h u32 cr; cr 176 arch/powerpc/include/asm/icswx.h : "=r" (cr) cr 180 arch/powerpc/include/asm/icswx.h return (int)((cr >> 28) & 0xf); cr 140 arch/powerpc/include/asm/kvm_book3s_asm.h u32 cr; cr 34 arch/powerpc/include/asm/kvm_fpu.h #define FPD_ONE_IN(name) extern void fpd_ ## name(u64 *fpscr, u32 *cr, \ cr 36 arch/powerpc/include/asm/kvm_fpu.h #define FPD_TWO_IN(name) extern void fpd_ ## name(u64 *fpscr, u32 *cr, \ cr 38 arch/powerpc/include/asm/kvm_fpu.h #define FPD_THREE_IN(name) extern void fpd_ ## name(u64 *fpscr, u32 *cr, \ cr 41 arch/powerpc/include/asm/kvm_fpu.h extern void fpd_fcmpu(u64 *fpscr, u32 *cr, u64 *src1, u64 *src2); cr 42 arch/powerpc/include/asm/kvm_fpu.h extern void fpd_fcmpo(u64 *fpscr, u32 *cr, u64 *src1, u64 *src2); cr 38 arch/powerpc/include/uapi/asm/kvm.h __u64 cr; cr 616 arch/powerpc/kernel/asm-offsets.c SVCPU_FIELD(SVCPU_CR, cr); cr 542 arch/powerpc/kvm/book3s.c regs->cr = kvmppc_get_cr(vcpu); cr 570 arch/powerpc/kvm/book3s.c kvmppc_set_cr(vcpu, regs->cr); cr 414 arch/powerpc/kvm/book3s_emulate.c ulong cr = kvmppc_get_cr(vcpu) & ~CR0_MASK; cr 418 arch/powerpc/kvm/book3s_emulate.c cr |= 2 << CR0_SHIFT; cr 421 arch/powerpc/kvm/book3s_emulate.c cr |= (vcpu->arch.regs.xer & 0x80000000) >> cr 423 arch/powerpc/kvm/book3s_emulate.c kvmppc_set_cr(vcpu, cr); cr 630 arch/powerpc/kvm/book3s_paired_singles.c u32 cr; cr 651 arch/powerpc/kvm/book3s_paired_singles.c cr = kvmppc_get_cr(vcpu); cr 1099 arch/powerpc/kvm/book3s_paired_singles.c fpd_fadds(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b); cr 1103 arch/powerpc/kvm/book3s_paired_singles.c fpd_fsubs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b); cr 1107 arch/powerpc/kvm/book3s_paired_singles.c fpd_fdivs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b); cr 1111 arch/powerpc/kvm/book3s_paired_singles.c fpd_fres(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b); cr 1115 arch/powerpc/kvm/book3s_paired_singles.c fpd_frsqrtes(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b); cr 1121 arch/powerpc/kvm/book3s_paired_singles.c fpd_fmuls(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c); cr 1125 arch/powerpc/kvm/book3s_paired_singles.c fpd_fmsubs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); cr 1129 arch/powerpc/kvm/book3s_paired_singles.c fpd_fmadds(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); cr 1133 arch/powerpc/kvm/book3s_paired_singles.c fpd_fnmsubs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); cr 1137 arch/powerpc/kvm/book3s_paired_singles.c fpd_fnmadds(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); cr 1166 arch/powerpc/kvm/book3s_paired_singles.c cr &= ~(cr0_mask >> cr_shift); cr 1167 arch/powerpc/kvm/book3s_paired_singles.c cr |= (cr & cr0_mask) >> cr_shift; cr 1177 arch/powerpc/kvm/book3s_paired_singles.c cr &= ~(cr0_mask >> cr_shift); cr 1178 arch/powerpc/kvm/book3s_paired_singles.c cr |= (cr & cr0_mask) >> cr_shift; cr 1182 arch/powerpc/kvm/book3s_paired_singles.c fpd_fneg(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b); cr 1188 arch/powerpc/kvm/book3s_paired_singles.c fpd_fabs(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b); cr 1191 arch/powerpc/kvm/book3s_paired_singles.c fpd_fcpsgn(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b); cr 1194 arch/powerpc/kvm/book3s_paired_singles.c fpd_fdiv(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b); cr 1197 arch/powerpc/kvm/book3s_paired_singles.c fpd_fadd(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b); cr 1200 arch/powerpc/kvm/book3s_paired_singles.c fpd_fsub(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_b); cr 1203 arch/powerpc/kvm/book3s_paired_singles.c fpd_fctiw(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b); cr 1206 arch/powerpc/kvm/book3s_paired_singles.c fpd_fctiwz(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b); cr 1209 arch/powerpc/kvm/book3s_paired_singles.c fpd_frsp(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b); cr 1217 arch/powerpc/kvm/book3s_paired_singles.c fpd_fsqrt(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_b); cr 1219 arch/powerpc/kvm/book3s_paired_singles.c fpd_fdiv(&vcpu->arch.fp.fpscr, &cr, fpr_d, (u64*)&one, fpr_d); cr 1225 arch/powerpc/kvm/book3s_paired_singles.c fpd_fmul(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c); cr 1228 arch/powerpc/kvm/book3s_paired_singles.c fpd_fsel(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); cr 1231 arch/powerpc/kvm/book3s_paired_singles.c fpd_fmsub(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); cr 1234 arch/powerpc/kvm/book3s_paired_singles.c fpd_fmadd(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); cr 1237 arch/powerpc/kvm/book3s_paired_singles.c fpd_fnmsub(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); cr 1240 arch/powerpc/kvm/book3s_paired_singles.c fpd_fnmadd(&vcpu->arch.fp.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); cr 1255 arch/powerpc/kvm/book3s_paired_singles.c kvmppc_set_cr(vcpu, cr); cr 167 arch/powerpc/kvm/book3s_pr.c svcpu->cr = vcpu->arch.regs.ccr; cr 249 arch/powerpc/kvm/book3s_pr.c vcpu->arch.regs.ccr = svcpu->cr; cr 1436 arch/powerpc/kvm/booke.c regs->cr = kvmppc_get_cr(vcpu); cr 1467 arch/powerpc/kvm/booke.c kvmppc_set_cr(vcpu, regs->cr); cr 907 arch/powerpc/lib/sstep.c #define __put_user_asmx(x, addr, err, op, cr) \ cr 917 arch/powerpc/lib/sstep.c : "=r" (err), "=r" (cr) \ cr 2851 arch/powerpc/lib/sstep.c unsigned int cr; cr 2910 arch/powerpc/lib/sstep.c __put_user_asmx(op->val, ea, err, "stbcx.", cr); cr 2913 arch/powerpc/lib/sstep.c __put_user_asmx(op->val, ea, err, "stbcx.", cr); cr 2917 arch/powerpc/lib/sstep.c __put_user_asmx(op->val, ea, err, "stwcx.", cr); cr 2921 arch/powerpc/lib/sstep.c __put_user_asmx(op->val, ea, err, "stdcx.", cr); cr 2925 arch/powerpc/lib/sstep.c regs->gpr[op->reg + 1], &cr); cr 2933 arch/powerpc/lib/sstep.c (cr & 0xe0000000) | cr 50 arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c u32 csr, data, cr; cr 59 arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c cr = EXI_CR_TLEN(2) | EXI_CR_READ_WRITE | EXI_CR_TSTART; cr 60 arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c out_be32(cr_reg, cr); cr 31 arch/powerpc/platforms/powernv/copy-paste.h u32 cr; cr 33 arch/powerpc/platforms/powernv/copy-paste.h cr = 0; cr 36 arch/powerpc/platforms/powernv/copy-paste.h : "=r" (cr) cr 41 arch/powerpc/platforms/powernv/copy-paste.h return (cr >> CR0_SHIFT) & 0xE; cr 242 arch/powerpc/xmon/ppc-dis.c int cr; cr 245 arch/powerpc/xmon/ppc-dis.c cr = value >> 2; cr 246 arch/powerpc/xmon/ppc-dis.c if (cr != 0) cr 247 arch/powerpc/xmon/ppc-dis.c printf("4*cr%d+", cr); cr 58 arch/s390/include/asm/ctl_reg.h static __always_inline void __ctl_set_bit(unsigned int cr, unsigned int bit) cr 62 arch/s390/include/asm/ctl_reg.h __ctl_store(reg, cr, cr); cr 64 arch/s390/include/asm/ctl_reg.h __ctl_load(reg, cr, cr); cr 67 arch/s390/include/asm/ctl_reg.h static __always_inline void __ctl_clear_bit(unsigned int cr, unsigned int bit) cr 71 arch/s390/include/asm/ctl_reg.h __ctl_store(reg, cr, cr); cr 73 arch/s390/include/asm/ctl_reg.h __ctl_load(reg, cr, cr); cr 76 arch/s390/include/asm/ctl_reg.h void smp_ctl_set_bit(int cr, int bit); cr 77 arch/s390/include/asm/ctl_reg.h void smp_ctl_clear_bit(int cr, int bit); cr 115 arch/s390/include/asm/ctl_reg.h #define ctl_set_bit(cr, bit) smp_ctl_set_bit(cr, bit) cr 116 arch/s390/include/asm/ctl_reg.h #define ctl_clear_bit(cr, bit) smp_ctl_clear_bit(cr, bit) cr 66 arch/s390/include/asm/nmi.h u64 cr : 1; /* 29 control register validity */ cr 306 arch/s390/include/uapi/asm/ptrace.h unsigned long cr[NUM_CR_WORDS]; cr 208 arch/s390/kernel/nmi.c if (!mci.cr) { cr 541 arch/s390/kernel/smp.c int cr; cr 553 arch/s390/kernel/smp.c cregs[pp->cr] = (cregs[pp->cr] & pp->andval) | pp->orval; cr 560 arch/s390/kernel/smp.c void smp_ctl_set_bit(int cr, int bit) cr 562 arch/s390/kernel/smp.c struct ec_creg_mask_parms parms = { 1UL << bit, -1UL, cr }; cr 571 arch/s390/kernel/smp.c void smp_ctl_clear_bit(int cr, int bit) cr 573 arch/s390/kernel/smp.c struct ec_creg_mask_parms parms = { 0, ~(1UL << bit), cr }; cr 80 arch/s390/kvm/gaccess.c unsigned long cr : 1; /* Common-Region Bit */ cr 96 arch/s390/kvm/gaccess.c unsigned long cr : 1; /* Common-Region Bit */ cr 110 arch/s390/kvm/gaccess.c unsigned long cr : 1; /* Common-Region Bit */ cr 710 arch/s390/kvm/gaccess.c if (rtte.cr && asce.p && edat2) cr 1095 arch/s390/kvm/gaccess.c if (rtte.cr && asce.p && sg->edat_level >= 2) cr 66 arch/s390/lib/uaccess.c unsigned long asce, cr; cr 77 arch/s390/lib/uaccess.c __ctl_store(cr, 1, 1); cr 78 arch/s390/lib/uaccess.c if (cr != S390_lowcore.kernel_asce) { cr 84 arch/s390/lib/uaccess.c __ctl_store(cr, 7, 7); cr 85 arch/s390/lib/uaccess.c if (cr != asce) { cr 175 arch/sh/include/asm/mmu_context.h unsigned long cr; cr 177 arch/sh/include/asm/mmu_context.h cr = __raw_readl(MMUCR); cr 178 arch/sh/include/asm/mmu_context.h cr &= ~MMU_CONTROL_INIT; cr 179 arch/sh/include/asm/mmu_context.h __raw_writel(cr, MMUCR); cr 205 arch/x86/include/asm/kvm_emulate.h ulong (*get_cr)(struct x86_emulate_ctxt *ctxt, int cr); cr 206 arch/x86/include/asm/kvm_emulate.h int (*set_cr)(struct x86_emulate_ctxt *ctxt, int cr, ulong val); cr 695 arch/x86/kernel/cpu/resctrl/core.c struct rdtgroup *cr; cr 697 arch/x86/kernel/cpu/resctrl/core.c list_for_each_entry(cr, &r->mon.crdtgrp_list, mon.crdtgrp_list) { cr 698 arch/x86/kernel/cpu/resctrl/core.c if (cpumask_test_and_clear_cpu(cpu, &cr->cpu_mask)) { cr 4233 arch/x86/kvm/emulate.c int cr = ctxt->modrm_reg; cr 4244 arch/x86/kvm/emulate.c if (!valid_cr(cr)) cr 4247 arch/x86/kvm/emulate.c if (new_val & cr_reserved_bits[cr]) cr 4250 arch/x86/kvm/emulate.c switch (cr) { cr 4031 arch/x86/kvm/svm.c int reg, cr; cr 4043 arch/x86/kvm/svm.c cr = SVM_EXIT_WRITE_CR0 - SVM_EXIT_READ_CR0; cr 4045 arch/x86/kvm/svm.c cr = svm->vmcb->control.exit_code - SVM_EXIT_READ_CR0; cr 4048 arch/x86/kvm/svm.c if (cr >= 16) { /* mov to cr */ cr 4049 arch/x86/kvm/svm.c cr -= 16; cr 4051 arch/x86/kvm/svm.c switch (cr) { cr 4069 arch/x86/kvm/svm.c WARN(1, "unhandled write to CR%d", cr); cr 4074 arch/x86/kvm/svm.c switch (cr) { cr 4091 arch/x86/kvm/svm.c WARN(1, "unhandled read from CR%d", cr); cr 362 arch/x86/kvm/trace.h TP_PROTO(unsigned int rw, unsigned int cr, unsigned long val), cr 363 arch/x86/kvm/trace.h TP_ARGS(rw, cr, val), cr 367 arch/x86/kvm/trace.h __field( unsigned int, cr ) cr 373 arch/x86/kvm/trace.h __entry->cr = cr; cr 379 arch/x86/kvm/trace.h __entry->cr, __entry->val) cr 382 arch/x86/kvm/trace.h #define trace_kvm_cr_read(cr, val) trace_kvm_cr(0, cr, val) cr 383 arch/x86/kvm/trace.h #define trace_kvm_cr_write(cr, val) trace_kvm_cr(1, cr, val) cr 5220 arch/x86/kvm/vmx/nested.c int cr = exit_qualification & 15; cr 5228 arch/x86/kvm/vmx/nested.c switch (cr) { cr 5264 arch/x86/kvm/vmx/nested.c switch (cr) { cr 4804 arch/x86/kvm/vmx/vmx.c int cr; cr 4810 arch/x86/kvm/vmx/vmx.c cr = exit_qualification & 15; cr 4815 arch/x86/kvm/vmx/vmx.c trace_kvm_cr_write(cr, val); cr 4816 arch/x86/kvm/vmx/vmx.c switch (cr) { cr 4852 arch/x86/kvm/vmx/vmx.c switch (cr) { cr 4857 arch/x86/kvm/vmx/vmx.c trace_kvm_cr_read(cr, val); cr 4862 arch/x86/kvm/vmx/vmx.c trace_kvm_cr_read(cr, val); cr 4877 arch/x86/kvm/vmx/vmx.c (int)(exit_qualification >> 4) & 3, cr); cr 6030 arch/x86/kvm/x86.c static unsigned long emulator_get_cr(struct x86_emulate_ctxt *ctxt, int cr) cr 6035 arch/x86/kvm/x86.c switch (cr) { cr 6052 arch/x86/kvm/x86.c kvm_err("%s: unexpected cr %u\n", __func__, cr); cr 6059 arch/x86/kvm/x86.c static int emulator_set_cr(struct x86_emulate_ctxt *ctxt, int cr, ulong val) cr 6064 arch/x86/kvm/x86.c switch (cr) { cr 6081 arch/x86/kvm/x86.c kvm_err("%s: unexpected cr %u\n", __func__, cr); cr 309 drivers/atm/iphase.c cellrate_to_float(u32 cr) cr 318 drivers/atm/iphase.c u32 tmp = cr & 0x00ffffff; cr 320 drivers/atm/iphase.c if (cr == 0) cr 327 drivers/atm/iphase.c flot = NZ | (i << M_BITS) | (cr & M_MASK); cr 329 drivers/atm/iphase.c flot = NZ | (i << M_BITS) | ((cr << (M_BITS - i)) & M_MASK); cr 331 drivers/atm/iphase.c flot = NZ | (i << M_BITS) | ((cr >> (i - M_BITS)) & M_MASK); cr 4548 drivers/block/drbd/drbd_receiver.c int cr; /* consider resync */ cr 4551 drivers/block/drbd/drbd_receiver.c cr = (os.conn < C_CONNECTED); cr 4554 drivers/block/drbd/drbd_receiver.c cr |= (os.conn == C_CONNECTED && cr 4559 drivers/block/drbd/drbd_receiver.c cr |= test_bit(CONSIDER_RESYNC, &device->flags); cr 4562 drivers/block/drbd/drbd_receiver.c cr |= (os.conn == C_CONNECTED && cr 4566 drivers/block/drbd/drbd_receiver.c if (cr) cr 111 drivers/clk/renesas/clk-r8a73a4.c u32 value, cr; cr 115 drivers/clk/renesas/clk-r8a73a4.c cr = CPG_PLL2CR; cr 118 drivers/clk/renesas/clk-r8a73a4.c cr = CPG_PLL2SCR; cr 121 drivers/clk/renesas/clk-r8a73a4.c cr = CPG_PLL2HCR; cr 126 drivers/clk/renesas/clk-r8a73a4.c value = readl(cpg->reg + cr); cr 140 drivers/clocksource/timer-fttmr010.c u32 cr; cr 143 drivers/clocksource/timer-fttmr010.c cr = readl(fttmr010->base + TIMER_CR); cr 144 drivers/clocksource/timer-fttmr010.c cr &= ~fttmr010->t1_enable_val; cr 145 drivers/clocksource/timer-fttmr010.c writel(cr, fttmr010->base + TIMER_CR); cr 155 drivers/clocksource/timer-fttmr010.c cr = readl(fttmr010->base + TIMER1_COUNT); cr 156 drivers/clocksource/timer-fttmr010.c writel(cr + cycles, fttmr010->base + TIMER1_MATCH1); cr 160 drivers/clocksource/timer-fttmr010.c cr = readl(fttmr010->base + TIMER_CR); cr 161 drivers/clocksource/timer-fttmr010.c cr |= fttmr010->t1_enable_val; cr 162 drivers/clocksource/timer-fttmr010.c writel(cr, fttmr010->base + TIMER_CR); cr 170 drivers/clocksource/timer-fttmr010.c u32 cr; cr 173 drivers/clocksource/timer-fttmr010.c cr = readl(fttmr010->base + TIMER_CR); cr 174 drivers/clocksource/timer-fttmr010.c cr &= ~fttmr010->t1_enable_val; cr 175 drivers/clocksource/timer-fttmr010.c writel(cr, fttmr010->base + TIMER_CR); cr 183 drivers/clocksource/timer-fttmr010.c u32 cr; cr 186 drivers/clocksource/timer-fttmr010.c cr = readl(fttmr010->base + TIMER_CR); cr 187 drivers/clocksource/timer-fttmr010.c cr &= ~fttmr010->t1_enable_val; cr 188 drivers/clocksource/timer-fttmr010.c writel(cr, fttmr010->base + TIMER_CR); cr 198 drivers/clocksource/timer-fttmr010.c cr = readl(fttmr010->base + TIMER_INTR_MASK); cr 199 drivers/clocksource/timer-fttmr010.c cr &= ~(TIMER_1_INT_OVERFLOW | TIMER_1_INT_MATCH2); cr 200 drivers/clocksource/timer-fttmr010.c cr |= TIMER_1_INT_MATCH1; cr 201 drivers/clocksource/timer-fttmr010.c writel(cr, fttmr010->base + TIMER_INTR_MASK); cr 211 drivers/clocksource/timer-fttmr010.c u32 cr; cr 214 drivers/clocksource/timer-fttmr010.c cr = readl(fttmr010->base + TIMER_CR); cr 215 drivers/clocksource/timer-fttmr010.c cr &= ~fttmr010->t1_enable_val; cr 216 drivers/clocksource/timer-fttmr010.c writel(cr, fttmr010->base + TIMER_CR); cr 222 drivers/clocksource/timer-fttmr010.c cr = 0xffffffff - (period - 1); cr 223 drivers/clocksource/timer-fttmr010.c writel(cr, fttmr010->base + TIMER1_COUNT); cr 224 drivers/clocksource/timer-fttmr010.c writel(cr, fttmr010->base + TIMER1_LOAD); cr 227 drivers/clocksource/timer-fttmr010.c cr = readl(fttmr010->base + TIMER_INTR_MASK); cr 228 drivers/clocksource/timer-fttmr010.c cr &= ~(TIMER_1_INT_MATCH1 | TIMER_1_INT_MATCH2); cr 229 drivers/clocksource/timer-fttmr010.c cr |= TIMER_1_INT_OVERFLOW; cr 230 drivers/clocksource/timer-fttmr010.c writel(cr, fttmr010->base + TIMER_INTR_MASK); cr 234 drivers/clocksource/timer-fttmr010.c cr = readl(fttmr010->base + TIMER_CR); cr 235 drivers/clocksource/timer-fttmr010.c cr |= fttmr010->t1_enable_val; cr 236 drivers/clocksource/timer-fttmr010.c writel(cr, fttmr010->base + TIMER_CR); cr 74 drivers/crypto/ccp/ccp-dev-v3.c static int ccp_do_cmd(struct ccp_op *op, u32 *cr, unsigned int cr_count) cr 107 drivers/crypto/ccp/ccp-dev-v3.c iowrite32(*(cr + i), cr_addr); cr 150 drivers/crypto/ccp/ccp-dev-v3.c u32 cr[6]; cr 153 drivers/crypto/ccp/ccp-dev-v3.c cr[0] = (CCP_ENGINE_AES << REQ1_ENGINE_SHIFT) cr 158 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->src.u.dma.length - 1; cr 159 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); cr 160 drivers/crypto/ccp/ccp-dev-v3.c cr[3] = (op->sb_ctx << REQ4_KSB_SHIFT) cr 163 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = ccp_addr_lo(&op->dst.u.dma); cr 164 drivers/crypto/ccp/ccp-dev-v3.c cr[5] = (CCP_MEMTYPE_SYSTEM << REQ6_MEMTYPE_SHIFT) cr 168 drivers/crypto/ccp/ccp-dev-v3.c cr[0] |= ((0x7f) << REQ1_AES_CFB_SIZE_SHIFT); cr 171 drivers/crypto/ccp/ccp-dev-v3.c cr[0] |= REQ1_EOM; cr 174 drivers/crypto/ccp/ccp-dev-v3.c cr[0] |= REQ1_INIT; cr 176 drivers/crypto/ccp/ccp-dev-v3.c return ccp_do_cmd(op, cr, ARRAY_SIZE(cr)); cr 181 drivers/crypto/ccp/ccp-dev-v3.c u32 cr[6]; cr 184 drivers/crypto/ccp/ccp-dev-v3.c cr[0] = (CCP_ENGINE_XTS_AES_128 << REQ1_ENGINE_SHIFT) cr 188 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->src.u.dma.length - 1; cr 189 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); cr 190 drivers/crypto/ccp/ccp-dev-v3.c cr[3] = (op->sb_ctx << REQ4_KSB_SHIFT) cr 193 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = ccp_addr_lo(&op->dst.u.dma); cr 194 drivers/crypto/ccp/ccp-dev-v3.c cr[5] = (CCP_MEMTYPE_SYSTEM << REQ6_MEMTYPE_SHIFT) cr 198 drivers/crypto/ccp/ccp-dev-v3.c cr[0] |= REQ1_EOM; cr 201 drivers/crypto/ccp/ccp-dev-v3.c cr[0] |= REQ1_INIT; cr 203 drivers/crypto/ccp/ccp-dev-v3.c return ccp_do_cmd(op, cr, ARRAY_SIZE(cr)); cr 208 drivers/crypto/ccp/ccp-dev-v3.c u32 cr[6]; cr 211 drivers/crypto/ccp/ccp-dev-v3.c cr[0] = (CCP_ENGINE_SHA << REQ1_ENGINE_SHIFT) cr 214 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->src.u.dma.length - 1; cr 215 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); cr 216 drivers/crypto/ccp/ccp-dev-v3.c cr[3] = (op->sb_ctx << REQ4_KSB_SHIFT) cr 221 drivers/crypto/ccp/ccp-dev-v3.c cr[0] |= REQ1_EOM; cr 222 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = lower_32_bits(op->u.sha.msg_bits); cr 223 drivers/crypto/ccp/ccp-dev-v3.c cr[5] = upper_32_bits(op->u.sha.msg_bits); cr 225 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = 0; cr 226 drivers/crypto/ccp/ccp-dev-v3.c cr[5] = 0; cr 229 drivers/crypto/ccp/ccp-dev-v3.c return ccp_do_cmd(op, cr, ARRAY_SIZE(cr)); cr 234 drivers/crypto/ccp/ccp-dev-v3.c u32 cr[6]; cr 237 drivers/crypto/ccp/ccp-dev-v3.c cr[0] = (CCP_ENGINE_RSA << REQ1_ENGINE_SHIFT) cr 241 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->u.rsa.input_len - 1; cr 242 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); cr 243 drivers/crypto/ccp/ccp-dev-v3.c cr[3] = (op->sb_ctx << REQ4_KSB_SHIFT) cr 246 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = ccp_addr_lo(&op->dst.u.dma); cr 247 drivers/crypto/ccp/ccp-dev-v3.c cr[5] = (CCP_MEMTYPE_SYSTEM << REQ6_MEMTYPE_SHIFT) cr 250 drivers/crypto/ccp/ccp-dev-v3.c return ccp_do_cmd(op, cr, ARRAY_SIZE(cr)); cr 255 drivers/crypto/ccp/ccp-dev-v3.c u32 cr[6]; cr 258 drivers/crypto/ccp/ccp-dev-v3.c cr[0] = (CCP_ENGINE_PASSTHRU << REQ1_ENGINE_SHIFT) cr 263 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->src.u.dma.length - 1; cr 265 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->dst.u.dma.length - 1; cr 268 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); cr 269 drivers/crypto/ccp/ccp-dev-v3.c cr[3] = (CCP_MEMTYPE_SYSTEM << REQ4_MEMTYPE_SHIFT) cr 273 drivers/crypto/ccp/ccp-dev-v3.c cr[3] |= (op->sb_key << REQ4_KSB_SHIFT); cr 275 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = op->src.u.sb * CCP_SB_BYTES; cr 276 drivers/crypto/ccp/ccp-dev-v3.c cr[3] = (CCP_MEMTYPE_SB << REQ4_MEMTYPE_SHIFT); cr 280 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = ccp_addr_lo(&op->dst.u.dma); cr 281 drivers/crypto/ccp/ccp-dev-v3.c cr[5] = (CCP_MEMTYPE_SYSTEM << REQ6_MEMTYPE_SHIFT) cr 284 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = op->dst.u.sb * CCP_SB_BYTES; cr 285 drivers/crypto/ccp/ccp-dev-v3.c cr[5] = (CCP_MEMTYPE_SB << REQ6_MEMTYPE_SHIFT); cr 289 drivers/crypto/ccp/ccp-dev-v3.c cr[0] |= REQ1_EOM; cr 291 drivers/crypto/ccp/ccp-dev-v3.c return ccp_do_cmd(op, cr, ARRAY_SIZE(cr)); cr 296 drivers/crypto/ccp/ccp-dev-v3.c u32 cr[6]; cr 299 drivers/crypto/ccp/ccp-dev-v3.c cr[0] = REQ1_ECC_AFFINE_CONVERT cr 303 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->src.u.dma.length - 1; cr 304 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); cr 305 drivers/crypto/ccp/ccp-dev-v3.c cr[3] = (CCP_MEMTYPE_SYSTEM << REQ4_MEMTYPE_SHIFT) cr 307 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = ccp_addr_lo(&op->dst.u.dma); cr 308 drivers/crypto/ccp/ccp-dev-v3.c cr[5] = (CCP_MEMTYPE_SYSTEM << REQ6_MEMTYPE_SHIFT) cr 311 drivers/crypto/ccp/ccp-dev-v3.c return ccp_do_cmd(op, cr, ARRAY_SIZE(cr)); cr 166 drivers/crypto/img-hash.c u32 cr = IMG_HASH_BYTE_ORDER << CR_CONTROL_BYTE_ORDER_SHIFT; cr 169 drivers/crypto/img-hash.c cr |= CR_CONTROL_ALGO_MD5; cr 171 drivers/crypto/img-hash.c cr |= CR_CONTROL_ALGO_SHA1; cr 173 drivers/crypto/img-hash.c cr |= CR_CONTROL_ALGO_SHA224; cr 175 drivers/crypto/img-hash.c cr |= CR_CONTROL_ALGO_SHA256; cr 177 drivers/crypto/img-hash.c img_hash_write(hdev, CR_CONTROL, cr); cr 1208 drivers/crypto/stm32/stm32-cryp.c u32 cr; cr 1219 drivers/crypto/stm32/stm32-cryp.c cr = stm32_cryp_read(cryp, CRYP_CR); cr 1220 drivers/crypto/stm32/stm32-cryp.c stm32_cryp_write(cryp, CRYP_CR, cr & ~CR_CRYPEN); cr 1224 drivers/crypto/stm32/stm32-cryp.c stm32_cryp_write(cryp, CRYP_CR, cr); cr 230 drivers/crypto/sunxi-ss/sun4i-ss-core.c unsigned long cr; cr 308 drivers/crypto/sunxi-ss/sun4i-ss-core.c cr = clk_get_rate(ss->busclk); cr 309 drivers/crypto/sunxi-ss/sun4i-ss-core.c if (cr >= cr_ahb) cr 311 drivers/crypto/sunxi-ss/sun4i-ss-core.c cr, cr / 1000000, cr_ahb); cr 314 drivers/crypto/sunxi-ss/sun4i-ss-core.c cr, cr / 1000000, cr_ahb); cr 316 drivers/crypto/sunxi-ss/sun4i-ss-core.c cr = clk_get_rate(ss->ssclk); cr 317 drivers/crypto/sunxi-ss/sun4i-ss-core.c if (cr <= cr_mod) cr 318 drivers/crypto/sunxi-ss/sun4i-ss-core.c if (cr < cr_mod) cr 320 drivers/crypto/sunxi-ss/sun4i-ss-core.c cr, cr / 1000000, cr_mod); cr 323 drivers/crypto/sunxi-ss/sun4i-ss-core.c cr, cr / 1000000, cr_mod); cr 326 drivers/crypto/sunxi-ss/sun4i-ss-core.c cr, cr / 1000000, cr_mod); cr 72 drivers/crypto/ux500/cryp/cryp.c CRYP_PUT_BITS(&device_data->base->cr, cr 93 drivers/crypto/ux500/cryp/cryp.c CRYP_SET_BITS(&device_data->base->cr, CRYP_CR_FFLUSH_MASK); cr 147 drivers/crypto/ux500/cryp/cryp.c writel_relaxed(cr_for_kse, &device_data->base->cr); cr 170 drivers/crypto/ux500/cryp/cryp.c CRYP_WRITE_BIT(&device_data->base->cr, cr 173 drivers/crypto/ux500/cryp/cryp.c CRYP_PUT_BITS(&device_data->base->cr, cr 311 drivers/crypto/ux500/cryp/cryp.c ctx->cr = readl_relaxed(&src_reg->cr) & CRYP_CR_CONTEXT_SAVE_MASK; cr 335 drivers/crypto/ux500/cryp/cryp.c algomode = ((ctx->cr & CRYP_CR_ALGOMODE_MASK) >> CRYP_CR_ALGOMODE_POS); cr 184 drivers/crypto/ux500/cryp/cryp.h u32 cr; cr 245 drivers/crypto/ux500/cryp/cryp_core.c CRYP_PUT_BITS(&device_data->base->cr, cr 412 drivers/crypto/ux500/cryp/cryp_core.c control_register = ctx->dev_ctx.cr; cr 414 drivers/crypto/ux500/cryp/cryp_core.c control_register = ctx->dev_ctx.cr; cr 418 drivers/crypto/ux500/cryp/cryp_core.c &device_data->base->cr); cr 83 drivers/crypto/ux500/cryp/cryp_irqp.h u32 cr; /* Configuration register */ cr 112 drivers/crypto/ux500/hash/hash_alg.h &device_data->base->cr, \ cr 118 drivers/crypto/ux500/hash/hash_alg.h &device_data->base->cr, \ cr 179 drivers/crypto/ux500/hash/hash_alg.h u32 cr; cr 695 drivers/crypto/ux500/hash/hash_core.c HASH_SET_BITS(&device_data->base->cr, HASH_CR_ALGO_MASK); cr 699 drivers/crypto/ux500/hash/hash_core.c HASH_CLEAR_BITS(&device_data->base->cr, HASH_CR_ALGO_MASK); cr 713 drivers/crypto/ux500/hash/hash_core.c HASH_CLEAR_BITS(&device_data->base->cr, cr 716 drivers/crypto/ux500/hash/hash_core.c HASH_SET_BITS(&device_data->base->cr, HASH_CR_MODE_MASK); cr 720 drivers/crypto/ux500/hash/hash_core.c HASH_SET_BITS(&device_data->base->cr, cr 725 drivers/crypto/ux500/hash/hash_core.c HASH_CLEAR_BITS(&device_data->base->cr, cr 891 drivers/crypto/ux500/hash/hash_core.c HASH_CLEAR_BITS(&device_data->base->cr, cr 894 drivers/crypto/ux500/hash/hash_core.c HASH_SET_BITS(&device_data->base->cr, cr 896 drivers/crypto/ux500/hash/hash_core.c HASH_SET_BITS(&device_data->base->cr, cr 1155 drivers/crypto/ux500/hash/hash_core.c writel_relaxed(temp_cr & HASH_CR_RESUME_MASK, &device_data->base->cr); cr 1157 drivers/crypto/ux500/hash/hash_core.c if (readl(&device_data->base->cr) & HASH_CR_MODE_MASK) cr 1174 drivers/crypto/ux500/hash/hash_core.c writel_relaxed(temp_cr, &device_data->base->cr); cr 1204 drivers/crypto/ux500/hash/hash_core.c temp_cr = readl_relaxed(&device_data->base->cr); cr 1210 drivers/crypto/ux500/hash/hash_core.c if (readl(&device_data->base->cr) & HASH_CR_MODE_MASK) cr 672 drivers/dma/fsl-edma-common.c edma->regs.cr = edma->membase + EDMA_CR; cr 88 drivers/dma/fsl-edma-common.h void __iomem *cr; cr 400 drivers/dma/fsl-edma.c edma_writel(fsl_edma, EDMA_CR_ERGA | EDMA_CR_ERCA, regs->cr); cr 458 drivers/dma/fsl-edma.c edma_writel(fsl_edma, EDMA_CR_ERGA | EDMA_CR_ERCA, regs->cr); cr 44 drivers/dma/hsu/hsu.c u32 cr = HSU_CH_CR_CHA; cr 47 drivers/dma/hsu/hsu.c cr &= ~HSU_CH_CR_CHD; cr 49 drivers/dma/hsu/hsu.c cr |= HSU_CH_CR_CHD; cr 51 drivers/dma/hsu/hsu.c hsu_chan_writel(hsuc, HSU_CH_CR, cr); cr 273 drivers/dma/mcf-edma.c iowrite32(EDMA_CR_ERGA | EDMA_CR_ERCA, regs->cr); cr 56 drivers/gpu/drm/exynos/exynos_mixer.c #define MXR_YCBCR_VAL(y, cb, cr) (((y) << 16) | ((cb) << 8) | ((cr) << 0)) cr 192 drivers/gpu/drm/mcde/mcde_display.c u32 cr; cr 197 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_EXTSRC0CR; cr 201 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_EXTSRC1CR; cr 205 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_EXTSRC2CR; cr 209 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_EXTSRC3CR; cr 213 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_EXTSRC4CR; cr 217 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_EXTSRC5CR; cr 221 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_EXTSRC6CR; cr 225 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_EXTSRC7CR; cr 229 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_EXTSRC8CR; cr 233 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_EXTSRC9CR; cr 327 drivers/gpu/drm/mcde/mcde_display.c writel(val, mcde->regs + cr); cr 343 drivers/gpu/drm/mcde/mcde_display.c u32 cr; cr 352 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_OVL0CR; cr 360 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_OVL1CR; cr 368 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_OVL2CR; cr 376 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_OVL3CR; cr 384 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_OVL4CR; cr 392 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_OVL5CR; cr 448 drivers/gpu/drm/mcde/mcde_display.c writel(val, mcde->regs + cr); cr 686 drivers/gpu/drm/mcde/mcde_display.c u32 cr; cr 690 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_CRA0; cr 693 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_CRB0; cr 702 drivers/gpu/drm/mcde/mcde_display.c val = readl(mcde->regs + cr); cr 704 drivers/gpu/drm/mcde/mcde_display.c writel(val, mcde->regs + cr); cr 714 drivers/gpu/drm/mcde/mcde_display.c u32 cr; cr 718 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_CRA0; cr 721 drivers/gpu/drm/mcde/mcde_display.c cr = MCDE_CRB0; cr 730 drivers/gpu/drm/mcde/mcde_display.c val = readl(mcde->regs + cr); cr 732 drivers/gpu/drm/mcde/mcde_display.c writel(val, mcde->regs + cr); cr 740 drivers/gpu/drm/mcde/mcde_display.c while (readl(mcde->regs + cr) & MCDE_CRX0_FLOEN) { cr 120 drivers/gpu/drm/sun4i/sun4i_tv.c u16 cr; cr 125 drivers/gpu/drm/sun4i/sun4i_tv.c u16 cr; cr 189 drivers/gpu/drm/sun4i/sun4i_tv.c .cb = 79, .cr = 0, cr 193 drivers/gpu/drm/sun4i/sun4i_tv.c .cb = 40, .cr = 40, cr 197 drivers/gpu/drm/sun4i/sun4i_tv.c .cb = 160, .cr = 160, cr 201 drivers/gpu/drm/sun4i/sun4i_tv.c .cb = 224, .cr = 224, cr 434 drivers/gpu/drm/sun4i/sun4i_tv.c SUN4I_TVE_CB_CR_LVL_CR_BURST(tv_mode->burst_levels->cr)); cr 444 drivers/gpu/drm/sun4i/sun4i_tv.c SUN4I_TVE_CB_CR_GAIN_CR(tv_mode->color_gains->cr)); cr 403 drivers/hid/usbhid/hid-core.c usbhid->cr->bRequestType = USB_TYPE_CLASS | USB_RECIP_INTERFACE | dir; cr 404 drivers/hid/usbhid/hid-core.c usbhid->cr->bRequest = (dir == USB_DIR_OUT) ? HID_REQ_SET_REPORT : cr 406 drivers/hid/usbhid/hid-core.c usbhid->cr->wValue = cpu_to_le16(((report->type + 1) << 8) | cr 408 drivers/hid/usbhid/hid-core.c usbhid->cr->wIndex = cpu_to_le16(usbhid->ifnum); cr 409 drivers/hid/usbhid/hid-core.c usbhid->cr->wLength = cpu_to_le16(len); cr 412 drivers/hid/usbhid/hid-core.c usbhid->cr->bRequest == HID_REQ_SET_REPORT ? "Set_Report" : cr 414 drivers/hid/usbhid/hid-core.c usbhid->cr->wValue, usbhid->cr->wIndex, usbhid->cr->wLength); cr 861 drivers/hid/usbhid/hid-core.c usbhid->cr = kmalloc(sizeof(*usbhid->cr), GFP_KERNEL); cr 864 drivers/hid/usbhid/hid-core.c if (!usbhid->inbuf || !usbhid->outbuf || !usbhid->cr || cr 977 drivers/hid/usbhid/hid-core.c kfree(usbhid->cr); cr 1160 drivers/hid/usbhid/hid-core.c usb_fill_control_urb(usbhid->urbctrl, dev, 0, (void *) usbhid->cr, cr 69 drivers/hid/usbhid/usbhid.h struct usb_ctrlrequest *cr; /* Control request struct */ cr 90 drivers/hid/usbhid/usbkbd.c struct usb_ctrlrequest *cr; cr 244 drivers/hid/usbhid/usbkbd.c if (!(kbd->cr = kmalloc(sizeof(struct usb_ctrlrequest), GFP_KERNEL))) cr 257 drivers/hid/usbhid/usbkbd.c kfree(kbd->cr); cr 341 drivers/hid/usbhid/usbkbd.c kbd->cr->bRequestType = USB_TYPE_CLASS | USB_RECIP_INTERFACE; cr 342 drivers/hid/usbhid/usbkbd.c kbd->cr->bRequest = 0x09; cr 343 drivers/hid/usbhid/usbkbd.c kbd->cr->wValue = cpu_to_le16(0x200); cr 344 drivers/hid/usbhid/usbkbd.c kbd->cr->wIndex = cpu_to_le16(interface->desc.bInterfaceNumber); cr 345 drivers/hid/usbhid/usbkbd.c kbd->cr->wLength = cpu_to_le16(1); cr 348 drivers/hid/usbhid/usbkbd.c (void *) kbd->cr, kbd->leds, 1, cr 67 drivers/i2c/busses/i2c-iop3xx.c u32 cr = IOP3XX_ICR_GCD | IOP3XX_ICR_SCLEN | IOP3XX_ICR_UE; cr 86 drivers/i2c/busses/i2c-iop3xx.c cr |= IOP3XX_ICR_ALD_IE | IOP3XX_ICR_BERR_IE | cr 89 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(cr, iop3xx_adap->ioaddr + CR_OFFSET); cr 95 drivers/i2c/busses/i2c-iop3xx.c unsigned long cr = __raw_readl(iop3xx_adap->ioaddr + CR_OFFSET); cr 97 drivers/i2c/busses/i2c-iop3xx.c cr &= ~(IOP3XX_ICR_MSTART | IOP3XX_ICR_TBYTE | cr 100 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(cr, iop3xx_adap->ioaddr + CR_OFFSET); cr 231 drivers/i2c/busses/i2c-iop3xx.c unsigned long cr = __raw_readl(iop3xx_adap->ioaddr + CR_OFFSET); cr 244 drivers/i2c/busses/i2c-iop3xx.c cr &= ~(IOP3XX_ICR_MSTOP | IOP3XX_ICR_NACK); cr 245 drivers/i2c/busses/i2c-iop3xx.c cr |= IOP3XX_ICR_MSTART | IOP3XX_ICR_TBYTE; cr 247 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(cr, iop3xx_adap->ioaddr + CR_OFFSET); cr 257 drivers/i2c/busses/i2c-iop3xx.c unsigned long cr = __raw_readl(iop3xx_adap->ioaddr + CR_OFFSET); cr 262 drivers/i2c/busses/i2c-iop3xx.c cr &= ~IOP3XX_ICR_MSTART; cr 264 drivers/i2c/busses/i2c-iop3xx.c cr |= IOP3XX_ICR_MSTOP; cr 266 drivers/i2c/busses/i2c-iop3xx.c cr &= ~IOP3XX_ICR_MSTOP; cr 268 drivers/i2c/busses/i2c-iop3xx.c cr |= IOP3XX_ICR_TBYTE; cr 269 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(cr, iop3xx_adap->ioaddr + CR_OFFSET); cr 279 drivers/i2c/busses/i2c-iop3xx.c unsigned long cr = __raw_readl(iop3xx_adap->ioaddr + CR_OFFSET); cr 283 drivers/i2c/busses/i2c-iop3xx.c cr &= ~IOP3XX_ICR_MSTART; cr 286 drivers/i2c/busses/i2c-iop3xx.c cr |= IOP3XX_ICR_MSTOP | IOP3XX_ICR_NACK; cr 288 drivers/i2c/busses/i2c-iop3xx.c cr &= ~(IOP3XX_ICR_MSTOP | IOP3XX_ICR_NACK); cr 290 drivers/i2c/busses/i2c-iop3xx.c cr |= IOP3XX_ICR_TBYTE; cr 291 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(cr, iop3xx_adap->ioaddr + CR_OFFSET); cr 396 drivers/i2c/busses/i2c-iop3xx.c unsigned long cr = __raw_readl(adapter_data->ioaddr + CR_OFFSET); cr 401 drivers/i2c/busses/i2c-iop3xx.c cr &= ~(IOP3XX_ICR_ALD_IE | IOP3XX_ICR_BERR_IE | cr 403 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(cr, adapter_data->ioaddr + CR_OFFSET); cr 647 drivers/i2c/busses/i2c-stu300.c u32 cr; cr 688 drivers/i2c/busses/i2c-stu300.c cr = I2C_CR_PERIPHERAL_ENABLE; cr 691 drivers/i2c/busses/i2c-stu300.c cr |= I2C_CR_START_ENABLE; cr 694 drivers/i2c/busses/i2c-stu300.c cr |= I2C_CR_ACK_ENABLE; cr 699 drivers/i2c/busses/i2c-stu300.c ret = stu300_start_and_await_event(dev, cr, cr 281 drivers/i2c/busses/i2c-xiic.c u8 cr; cr 286 drivers/i2c/busses/i2c-xiic.c cr = xiic_getreg8(i2c, XIIC_CR_REG_OFFSET); cr 287 drivers/i2c/busses/i2c-xiic.c xiic_setreg8(i2c, XIIC_CR_REG_OFFSET, cr & ~XIIC_CR_ENABLE_DEVICE_MASK); cr 27 drivers/ide/tx4938ide.c u64 cr = __raw_readq(&tx4938_ebuscptr->cr[ebus_ch]); cr 28 drivers/ide/tx4938ide.c unsigned int sp = (cr >> 4) & 3; cr 55 drivers/ide/tx4938ide.c __raw_writeq((cr & ~0x3f007ull) | (wt << 12) | shwt, cr 56 drivers/ide/tx4938ide.c &tx4938_ebuscptr->cr[ebus_ch]); cr 79 drivers/iio/temperature/tmp006.c int cr; cr 111 drivers/iio/temperature/tmp006.c cr = (data->config & TMP006_CONFIG_CR_MASK) cr 113 drivers/iio/temperature/tmp006.c *val = tmp006_freqs[cr][0]; cr 114 drivers/iio/temperature/tmp006.c *val2 = tmp006_freqs[cr][1]; cr 566 drivers/infiniband/hw/hfi1/pio.c sc->hw_free = &sc->dd->cr_base[sc->node].va[gc].cr[index]; cr 156 drivers/infiniband/hw/hfi1/pio.h volatile __le64 cr[8]; cr 132 drivers/iommu/omap-iommu-debug.c static ssize_t iotlb_dump_cr(struct omap_iommu *obj, struct cr_regs *cr, cr 135 drivers/iommu/omap-iommu-debug.c seq_printf(s, "%08x %08x %01x\n", cr->cam, cr->ram, cr 136 drivers/iommu/omap-iommu-debug.c (cr->cam & MMU_CAM_P) ? 1 : 0); cr 143 drivers/iommu/omap-iommu-debug.c struct cr_regs *cr; cr 147 drivers/iommu/omap-iommu-debug.c cr = kcalloc(num, sizeof(*cr), GFP_KERNEL); cr 148 drivers/iommu/omap-iommu-debug.c if (!cr) cr 151 drivers/iommu/omap-iommu-debug.c num = __dump_tlb_entries(obj, cr, num); cr 153 drivers/iommu/omap-iommu-debug.c iotlb_dump_cr(obj, cr + i, s); cr 154 drivers/iommu/omap-iommu-debug.c kfree(cr); cr 223 drivers/iommu/omap-iommu.c static u32 iotlb_cr_to_virt(struct cr_regs *cr) cr 225 drivers/iommu/omap-iommu.c u32 page_size = cr->cam & MMU_CAM_PGSZ_MASK; cr 226 drivers/iommu/omap-iommu.c u32 mask = get_cam_va_mask(cr->cam & page_size); cr 228 drivers/iommu/omap-iommu.c return cr->cam & mask; cr 282 drivers/iommu/omap-iommu.c static void iotlb_read_cr(struct omap_iommu *obj, struct cr_regs *cr) cr 284 drivers/iommu/omap-iommu.c cr->cam = iommu_read_reg(obj, MMU_READ_CAM); cr 285 drivers/iommu/omap-iommu.c cr->ram = iommu_read_reg(obj, MMU_READ_RAM); cr 288 drivers/iommu/omap-iommu.c static void iotlb_load_cr(struct omap_iommu *obj, struct cr_regs *cr) cr 290 drivers/iommu/omap-iommu.c iommu_write_reg(obj, cr->cam | MMU_CAM_V, MMU_CAM); cr 291 drivers/iommu/omap-iommu.c iommu_write_reg(obj, cr->ram, MMU_RAM); cr 300 drivers/iommu/omap-iommu.c struct cr_regs cr; cr 306 drivers/iommu/omap-iommu.c iotlb_read_cr(obj, &cr); cr 308 drivers/iommu/omap-iommu.c return cr; cr 315 drivers/iommu/omap-iommu.c struct cr_regs *cr; cr 326 drivers/iommu/omap-iommu.c cr = kmalloc(sizeof(*cr), GFP_KERNEL); cr 327 drivers/iommu/omap-iommu.c if (!cr) cr 330 drivers/iommu/omap-iommu.c cr->cam = (e->da & MMU_CAM_VATAG_MASK) | e->prsvd | e->pgsz | e->valid; cr 331 drivers/iommu/omap-iommu.c cr->ram = e->pa | e->endian | e->elsz | e->mixed; cr 333 drivers/iommu/omap-iommu.c return cr; cr 345 drivers/iommu/omap-iommu.c struct cr_regs *cr; cr 378 drivers/iommu/omap-iommu.c cr = iotlb_alloc_cr(obj, e); cr 379 drivers/iommu/omap-iommu.c if (IS_ERR(cr)) { cr 381 drivers/iommu/omap-iommu.c return PTR_ERR(cr); cr 384 drivers/iommu/omap-iommu.c iotlb_load_cr(obj, cr); cr 385 drivers/iommu/omap-iommu.c kfree(cr); cr 422 drivers/iommu/omap-iommu.c struct cr_regs cr; cr 426 drivers/iommu/omap-iommu.c for_each_iotlb_cr(obj, obj->nr_tlb_entries, i, cr) { cr 430 drivers/iommu/omap-iommu.c if (!iotlb_cr_valid(&cr)) cr 433 drivers/iommu/omap-iommu.c start = iotlb_cr_to_virt(&cr); cr 434 drivers/iommu/omap-iommu.c bytes = iopgsz_to_bytes(cr.cam & 3); cr 439 drivers/iommu/omap-iommu.c iotlb_load_cr(obj, &cr); cr 915 drivers/iommu/omap-iommu.c struct cr_regs cr; cr 926 drivers/iommu/omap-iommu.c for_each_iotlb_cr(obj, obj->num_cr_ctx, i, cr) cr 927 drivers/iommu/omap-iommu.c * tmp++ = cr; cr 16 drivers/iommu/omap-iommu.h #define for_each_iotlb_cr(obj, n, __i, cr) \ cr 18 drivers/iommu/omap-iommu.h (__i < (n)) && (cr = __iotlb_read_cr((obj), __i), true); \ cr 266 drivers/iommu/omap-iommu.h static inline int iotlb_cr_valid(struct cr_regs *cr) cr 268 drivers/iommu/omap-iommu.h if (!cr) cr 271 drivers/iommu/omap-iommu.h return cr->cam & MMU_CAM_V; cr 63 drivers/ipack/devices/ipoctal.c iowrite8(CR_DISABLE_RX | CR_DISABLE_TX, &channel->regs->w.cr); cr 65 drivers/ipack/devices/ipoctal.c iowrite8(CR_CMD_RESET_RX, &channel->regs->w.cr); cr 66 drivers/ipack/devices/ipoctal.c iowrite8(CR_CMD_RESET_TX, &channel->regs->w.cr); cr 67 drivers/ipack/devices/ipoctal.c iowrite8(CR_CMD_RESET_ERR_STATUS, &channel->regs->w.cr); cr 68 drivers/ipack/devices/ipoctal.c iowrite8(CR_CMD_RESET_MR, &channel->regs->w.cr); cr 81 drivers/ipack/devices/ipoctal.c iowrite8(CR_ENABLE_RX, &channel->regs->w.cr); cr 159 drivers/ipack/devices/ipoctal.c iowrite8(CR_CMD_RESET_ERR_STATUS, &channel->regs->w.cr); cr 220 drivers/ipack/devices/ipoctal.c iowrite8(CR_CMD_RESET_BREAK_CHANGE, &channel->regs->w.cr); cr 223 drivers/ipack/devices/ipoctal.c iowrite8(CR_DISABLE_TX, &channel->regs->w.cr); cr 227 drivers/ipack/devices/ipoctal.c iowrite8(CR_CMD_NEGATE_RTSN, &channel->regs->w.cr); cr 228 drivers/ipack/devices/ipoctal.c iowrite8(CR_ENABLE_RX, &channel->regs->w.cr); cr 450 drivers/ipack/devices/ipoctal.c iowrite8(CR_DISABLE_RX, &channel->regs->w.cr); cr 452 drivers/ipack/devices/ipoctal.c iowrite8(CR_CMD_ASSERT_RTSN, &channel->regs->w.cr); cr 459 drivers/ipack/devices/ipoctal.c iowrite8(CR_ENABLE_TX, &channel->regs->w.cr); cr 609 drivers/ipack/devices/ipoctal.c iowrite8(CR_ENABLE_RX, &channel->regs->w.cr); cr 32 drivers/ipack/devices/scc2698.h u8 d2, cr; /* Command register */ cr 617 drivers/isdn/mISDN/layer2.c send_uframe(struct layer2 *l2, struct sk_buff *skb, u_char cmd, u_char cr) cr 622 drivers/isdn/mISDN/layer2.c i = sethdraddr(l2, tmp, cr); cr 1100 drivers/isdn/mISDN/layer2.c enquiry_cr(struct layer2 *l2, u_char typ, u_char cr, u_char pf) cr 1106 drivers/isdn/mISDN/layer2.c i = sethdraddr(l2, tmp, cr); cr 226 drivers/leds/trigger/ledtrig-pattern.c int ccount, cr, offset = 0; cr 229 drivers/leds/trigger/ledtrig-pattern.c cr = 0; cr 232 drivers/leds/trigger/ledtrig-pattern.c &data->patterns[data->npatterns].delta_t, &cr); cr 238 drivers/leds/trigger/ledtrig-pattern.c offset += cr; cr 615 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c int y_offset, int *y, int *cb, int *cr) cr 619 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c *cr = ((m[2][0] * r + m[2][1] * g + m[2][2] * b) >> 16) + (128 << 4); cr 623 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c int *y, int *cb, int *cr) cr 682 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c rgb2ycbcr(full ? bt601_full : bt601, r, g, b, y_offset, y, cb, cr); cr 687 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c rgb2ycbcr(bt601, r, g, b, 16, y, cb, cr); cr 692 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c rgb2ycbcr(rec709, r, g, b, 16, y, cb, cr); cr 695 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c rgb2ycbcr(full ? bt2020_full : bt2020, r, g, b, y_offset, y, cb, cr); cr 708 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c *cr = (((r - yc) * (full ? bt2020c_full[2] : bt2020c[2])) >> 16) + (128 << 4); cr 710 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c *cr = (((r - yc) * (full ? bt2020c_full[3] : bt2020c[3])) >> 16) + (128 << 4); cr 713 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c rgb2ycbcr(full ? smpte240m_full : smpte240m, r, g, b, y_offset, y, cb, cr); cr 717 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c rgb2ycbcr(full ? rec709_full : rec709, r, g, b, y_offset, y, cb, cr); cr 722 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static void ycbcr2rgb(const int m[3][3], int y, int cb, int cr, cr 727 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c cr -= 128 << 4; cr 728 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c *r = m[0][0] * y + m[0][1] * cb + m[0][2] * cr; cr 729 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c *g = m[1][0] * y + m[1][1] * cb + m[1][2] * cr; cr 730 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c *b = m[2][0] * y + m[2][1] * cb + m[2][2] * cr; cr 736 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c static void ycbcr_to_color(struct tpg_data *tpg, int y, int cb, int cr, cr 797 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c ycbcr2rgb(full ? bt601_full : bt601, y, cb, cr, y_offset, r, g, b); cr 802 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c ycbcr2rgb(bt601, y, cb, cr, 16, r, g, b); cr 807 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c ycbcr2rgb(rec709, y, cb, cr, 16, r, g, b); cr 810 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c ycbcr2rgb(full ? bt2020_full : bt2020, y, cb, cr, y_offset, r, g, b); cr 815 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c cr -= 128 << 4; cr 822 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (cr <= 0) cr 823 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c *r = y_fac * y + (full ? bt2020c_full[2] : bt2020c[2]) * cr; cr 825 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c *r = y_fac * y + (full ? bt2020c_full[3] : bt2020c[3]) * cr; cr 837 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c ycbcr2rgb(full ? smpte240m_full : smpte240m, y, cb, cr, y_offset, r, g, b); cr 841 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c ycbcr2rgb(full ? rec709_full : rec709, y, cb, cr, y_offset, r, g, b); cr 853 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c int y, cb, cr; cr 935 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c color_to_ycbcr(tpg, r, g, b, &y, &cb, &cr); cr 941 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c cr -= 128 << 4; cr 942 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tmp_cb = (cb * cos(128 + tpg->hue)) / 127 + (cr * sin[128 + tpg->hue]) / 127; cr 943 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tmp_cr = (cr * cos(128 + tpg->hue)) / 127 - (cb * sin[128 + tpg->hue]) / 127; cr 946 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c cr = (128 << 4) + (tmp_cr * tpg->contrast * tpg->saturation) / (128 * 128); cr 950 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c ycbcr_to_color(tpg, y, cb, cr, &r, &g, &b); cr 972 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c color_to_ycbcr(tpg, r, g, b, &y, &cb, &cr); cr 976 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c cr >>= 4; cr 987 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c cr = clamp(cr, 16, 240); cr 991 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c cr = clamp(cr, 1, 254); cr 997 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c cr >>= 4; cr 1002 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c cr >>= 3; cr 1007 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c cr >>= 3; cr 1012 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->colors[k][2] = cr; cr 302 drivers/media/dvb-frontends/cxd2880/cxd2880_dvbt2.h enum cxd2880_dvbt2_l1post_cr cr; cr 263 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c l1_pre->cr = (enum cxd2880_dvbt2_l1post_cr)(data[8] & 0x03); cr 445 drivers/media/dvb-frontends/dib3000mb.c enum fe_code_rate *cr; cr 499 drivers/media/dvb-frontends/dib3000mb.c cr = &c->code_rate_LP; cr 527 drivers/media/dvb-frontends/dib3000mb.c cr = &c->code_rate_HP; cr 537 drivers/media/dvb-frontends/dib3000mb.c *cr = FEC_1_2; cr 541 drivers/media/dvb-frontends/dib3000mb.c *cr = FEC_2_3; cr 545 drivers/media/dvb-frontends/dib3000mb.c *cr = FEC_3_4; cr 549 drivers/media/dvb-frontends/dib3000mb.c *cr = FEC_4_5; cr 553 drivers/media/dvb-frontends/dib3000mb.c *cr = FEC_7_8; cr 1995 drivers/media/dvb-frontends/dib8000.c u8 cr, constellation, time_intlv; cr 2016 drivers/media/dvb-frontends/dib8000.c cr = 1; cr 2019 drivers/media/dvb-frontends/dib8000.c cr = 2; cr 2022 drivers/media/dvb-frontends/dib8000.c cr = 3; cr 2025 drivers/media/dvb-frontends/dib8000.c cr = 5; cr 2029 drivers/media/dvb-frontends/dib8000.c cr = 7; cr 2037 drivers/media/dvb-frontends/dib8000.c dib8000_write_word(state, 2 + layer_index, (constellation << 10) | ((c->layer[layer_index].segment_count & 0xf) << 6) | (cr << 3) | time_intlv); cr 218 drivers/media/dvb-frontends/mt312.c static int mt312_get_code_rate(struct mt312_state *state, enum fe_code_rate *cr) cr 231 drivers/media/dvb-frontends/mt312.c *cr = fec_tab[(fec_status >> 4) & 0x07]; cr 2133 drivers/media/platform/am437x/am437x-vpfe.c struct v4l2_rect cr = vpfe->crop; cr 2146 drivers/media/platform/am437x/am437x-vpfe.c v4l_bound_align_image(&r.width, 0, cr.width, 0, cr 2147 drivers/media/platform/am437x/am437x-vpfe.c &r.height, 0, cr.height, 0, 0); cr 2149 drivers/media/platform/am437x/am437x-vpfe.c r.left = clamp_t(unsigned int, r.left, 0, cr.width - r.width); cr 2150 drivers/media/platform/am437x/am437x-vpfe.c r.top = clamp_t(unsigned int, r.top, 0, cr.height - r.height); cr 2168 drivers/media/platform/am437x/am437x-vpfe.c r.left, r.top, r.width, r.height, cr.width, cr.height); cr 523 drivers/media/platform/coda/coda-bit.c u32 y, cb, cr, mvcol; cr 528 drivers/media/platform/coda/coda-bit.c cr = y + ysize + ysize/4; cr 533 drivers/media/platform/coda/coda-bit.c cr = 0; cr 541 drivers/media/platform/coda/coda-bit.c coda_parabuf_write(ctx, i * 3 + 2, cr); cr 330 drivers/media/platform/exynos-gsc/gsc-core.c } else if (frm->addr.cr == addr) { cr 332 drivers/media/platform/exynos-gsc/gsc-core.c *ret_addr = frm->addr.cr; cr 355 drivers/media/platform/exynos-gsc/gsc-core.c t_min = min3(frm->addr.y, frm->addr.cb, frm->addr.cr); cr 358 drivers/media/platform/exynos-gsc/gsc-core.c t_max = max3(frm->addr.y, frm->addr.cb, frm->addr.cr); cr 368 drivers/media/platform/exynos-gsc/gsc-core.c mid_addr = frm->addr.cr; cr 820 drivers/media/platform/exynos-gsc/gsc-core.c addr->cr = 0; cr 825 drivers/media/platform/exynos-gsc/gsc-core.c addr->cr = 0; cr 831 drivers/media/platform/exynos-gsc/gsc-core.c addr->cr = (dma_addr_t)(addr->cb cr 834 drivers/media/platform/exynos-gsc/gsc-core.c addr->cr = (dma_addr_t)(addr->cb cr 846 drivers/media/platform/exynos-gsc/gsc-core.c addr->cr = vb2_dma_contig_plane_dma_addr(vb, 2); cr 853 drivers/media/platform/exynos-gsc/gsc-core.c swap(addr->cb, addr->cr); cr 856 drivers/media/platform/exynos-gsc/gsc-core.c &addr->y, &addr->cb, &addr->cr, ret); cr 147 drivers/media/platform/exynos-gsc/gsc-core.h dma_addr_t cr; cr 90 drivers/media/platform/exynos-gsc/gsc-regs.c &addr->y, &addr->cb, &addr->cr); cr 93 drivers/media/platform/exynos-gsc/gsc-regs.c writel(addr->cr, dev->regs + GSC_IN_BASE_ADDR_CR(index)); cr 101 drivers/media/platform/exynos-gsc/gsc-regs.c index, &addr->y, &addr->cb, &addr->cr); cr 104 drivers/media/platform/exynos-gsc/gsc-regs.c writel(addr->cr, dev->regs + GSC_OUT_BASE_ADDR_CR(index)); cr 347 drivers/media/platform/exynos4-is/fimc-core.c paddr->cr = 0; cr 352 drivers/media/platform/exynos4-is/fimc-core.c paddr->cr = 0; cr 358 drivers/media/platform/exynos4-is/fimc-core.c paddr->cr = (u32)(paddr->cb cr 361 drivers/media/platform/exynos4-is/fimc-core.c paddr->cr = (u32)(paddr->cb cr 372 drivers/media/platform/exynos4-is/fimc-core.c paddr->cr = vb2_dma_contig_plane_dma_addr(vb, 2); cr 376 drivers/media/platform/exynos4-is/fimc-core.c paddr->y, paddr->cb, paddr->cr, ret); cr 213 drivers/media/platform/exynos4-is/fimc-core.h u32 cr; cr 537 drivers/media/platform/exynos4-is/fimc-reg.c writel(paddr->cr, dev->regs + FIMC_REG_CIICRSA(0)); cr 550 drivers/media/platform/exynos4-is/fimc-reg.c writel(paddr->cr, dev->regs + FIMC_REG_CIOCRSA(i)); cr 552 drivers/media/platform/exynos4-is/fimc-reg.c i, paddr->y, paddr->cb, paddr->cr); cr 255 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c static void get_crop_info(struct vdec_h264_inst *inst, struct v4l2_rect *cr) cr 257 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c cr->left = inst->vsi->crop.left; cr 258 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c cr->top = inst->vsi->crop.top; cr 259 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c cr->width = inst->vsi->crop.width; cr 260 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c cr->height = inst->vsi->crop.height; cr 263 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c cr->left, cr->top, cr->width, cr->height); cr 558 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c static void get_crop_info(struct vdec_vp8_inst *inst, struct v4l2_rect *cr) cr 560 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c cr->left = 0; cr 561 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c cr->top = 0; cr 562 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c cr->width = inst->vsi->pic.pic_w; cr 563 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c cr->height = inst->vsi->pic.pic_h; cr 565 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c cr->left, cr->top, cr->width, cr->height); cr 962 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c static void get_crop_info(struct vdec_vp9_inst *inst, struct v4l2_rect *cr) cr 964 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c cr->left = 0; cr 965 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c cr->top = 0; cr 966 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c cr->width = inst->vsi->pic_w; cr 967 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c cr->height = inst->vsi->pic_h; cr 969 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c cr->left, cr->top, cr->width, cr->height); cr 260 drivers/media/platform/s3c-camif/camif-capture.c paddr->cr = 0; cr 265 drivers/media/platform/s3c-camif/camif-capture.c paddr->cr = 0; cr 271 drivers/media/platform/s3c-camif/camif-capture.c paddr->cr = (u32)(paddr->cb + (pix_size >> 1)); cr 273 drivers/media/platform/s3c-camif/camif-capture.c paddr->cr = (u32)(paddr->cb + (pix_size >> 2)); cr 276 drivers/media/platform/s3c-camif/camif-capture.c swap(paddr->cb, paddr->cr); cr 283 drivers/media/platform/s3c-camif/camif-capture.c &paddr->y, &paddr->cb, &paddr->cr); cr 308 drivers/media/platform/s3c-camif/camif-core.h dma_addr_t cr; cr 58 drivers/media/platform/s3c-camif/camif-regs.c unsigned int cr, unsigned int cb) cr 91 drivers/media/platform/s3c-camif/camif-regs.c cfg |= cr | (cb << 13); cr 211 drivers/media/platform/s3c-camif/camif-regs.c paddr->cr); cr 215 drivers/media/platform/s3c-camif/camif-regs.c i, &paddr->y, &paddr->cb, &paddr->cr); cr 257 drivers/media/platform/s3c-camif/camif-regs.h unsigned int cr, unsigned int cb); cr 2132 drivers/media/platform/s5p-jpeg/jpeg-core.c jpeg_addr.cr = 0; cr 2153 drivers/media/platform/s5p-jpeg/jpeg-core.c jpeg_addr.cr = jpeg_addr.cb + pix_size / 4; cr 2155 drivers/media/platform/s5p-jpeg/jpeg-core.c jpeg_addr.cr = jpeg_addr.cb + pix_size / 2; cr 2309 drivers/media/platform/s5p-jpeg/jpeg-core.c jpeg_addr.cr = jpeg_addr.cb + pix_size / 4; cr 2311 drivers/media/platform/s5p-jpeg/jpeg-core.c jpeg_addr.cr = jpeg_addr.cb + pix_size / 2; cr 264 drivers/media/platform/s5p-jpeg/jpeg-core.h u32 cr; cr 325 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c writel(img_addr->cr, regs + EXYNOS3250_CHROMA_CR_BASE); cr 238 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c writel(exynos4_jpeg_addr->cr, base + EXYNOS4_IMG_BA_PLANE_3_REG); cr 810 drivers/media/platform/vicodec/codec-fwht.c encoding |= encode_plane(frm->cr, ref_frm->cr, &rlco, rlco_max, cr 942 drivers/media/platform/vicodec/codec-fwht.c if (!decode_plane(cf, &rlco, h, w, ref->cr, ref_chroma_stride, cr 943 drivers/media/platform/vicodec/codec-fwht.c ref->chroma_step, dst->cr, dst_chroma_stride, cr 128 drivers/media/platform/vicodec/codec-fwht.h u8 *luma, *cb, *cr, *alpha; cr 113 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = NULL; cr 120 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = NULL; cr 124 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = rf->cb + size / 4; cr 127 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = rf->luma + size; cr 128 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cb = rf->cr + size / 4; cr 132 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = rf->cb + size / 2; cr 138 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = rf->cb + 1; cr 143 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = rf->luma + size; cr 144 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cb = rf->cr + 1; cr 148 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = rf->cb + 2; cr 151 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = rf->luma + 1; cr 152 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cb = rf->cr + 2; cr 156 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = rf->cb + 2; cr 160 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = rf->luma; cr 161 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cb = rf->cr + 2; cr 166 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = rf->luma; cr 167 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cb = rf->cr + 2; cr 172 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = rf->cb + 2; cr 180 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = rf->luma + 1; cr 181 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cb = rf->cr + 2; cr 188 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = rf->cb + 2; cr 190 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->alpha = rf->cr + 1; cr 196 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = rf->cb + 2; cr 202 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cr = rf->luma; cr 203 drivers/media/platform/vicodec/codec-v4l2-fwht.c rf->cb = rf->cr + 2; cr 1669 drivers/media/platform/vicodec/vicodec-core.c state->ref_frame.cr = NULL; cr 1675 drivers/media/platform/vicodec/vicodec-core.c state->ref_frame.cr = state->ref_frame.cb + size / chroma_div; cr 1679 drivers/media/platform/vicodec/vicodec-core.c state->ref_frame.cr + size / chroma_div; cr 850 drivers/media/radio/si4713/si4713.c static const char cr[RDS_RADIOTEXT_BLK_SIZE] = { RDS_CARRIAGE_RETURN, 0 }; cr 874 drivers/media/radio/si4713/si4713.c rt = cr; cr 414 drivers/misc/cxl/guest.c unsigned long cr; cr 424 drivers/misc/cxl/guest.c cr = get_zeroed_page(GFP_KERNEL); cr 425 drivers/misc/cxl/guest.c if (!cr) cr 429 drivers/misc/cxl/guest.c virt_to_phys((void *)cr), sz); cr 435 drivers/misc/cxl/guest.c c = *((char *) cr); cr 439 drivers/misc/cxl/guest.c *val = in_le16((u16 *)cr); cr 442 drivers/misc/cxl/guest.c *val = in_le32((unsigned *)cr); cr 445 drivers/misc/cxl/guest.c *val = in_le64((u64 *)cr); cr 451 drivers/misc/cxl/guest.c free_page(cr); cr 497 drivers/misc/cxl/guest.c static int guest_afu_cr_write32(struct cxl_afu *afu, int cr, u64 off, u32 in) cr 503 drivers/misc/cxl/guest.c static int guest_afu_cr_write16(struct cxl_afu *afu, int cr, u64 off, u16 in) cr 509 drivers/misc/cxl/guest.c static int guest_afu_cr_write8(struct cxl_afu *afu, int cr, u64 off, u8 in) cr 1473 drivers/misc/cxl/native.c static int native_afu_cr_read64(struct cxl_afu *afu, int cr, u64 off, u64 *out) cr 1480 drivers/misc/cxl/native.c (cr * afu->crs_len) + off); cr 1484 drivers/misc/cxl/native.c static int native_afu_cr_read32(struct cxl_afu *afu, int cr, u64 off, u32 *out) cr 1491 drivers/misc/cxl/native.c (cr * afu->crs_len) + off); cr 1495 drivers/misc/cxl/native.c static int native_afu_cr_read16(struct cxl_afu *afu, int cr, u64 off, u16 *out) cr 1501 drivers/misc/cxl/native.c rc = native_afu_cr_read32(afu, cr, aligned_off, &val); cr 1507 drivers/misc/cxl/native.c static int native_afu_cr_read8(struct cxl_afu *afu, int cr, u64 off, u8 *out) cr 1513 drivers/misc/cxl/native.c rc = native_afu_cr_read32(afu, cr, aligned_off, &val); cr 1519 drivers/misc/cxl/native.c static int native_afu_cr_write32(struct cxl_afu *afu, int cr, u64 off, u32 in) cr 1526 drivers/misc/cxl/native.c (cr * afu->crs_len) + off, in); cr 1530 drivers/misc/cxl/native.c static int native_afu_cr_write16(struct cxl_afu *afu, int cr, u64 off, u16 in) cr 1536 drivers/misc/cxl/native.c rc = native_afu_cr_read32(afu, cr, aligned_off, &val32); cr 1544 drivers/misc/cxl/native.c rc = native_afu_cr_write32(afu, cr, aligned_off, val32); cr 1548 drivers/misc/cxl/native.c static int native_afu_cr_write8(struct cxl_afu *afu, int cr, u64 off, u8 in) cr 1554 drivers/misc/cxl/native.c rc = native_afu_cr_read32(afu, cr, aligned_off, &val32); cr 1561 drivers/misc/cxl/native.c rc = native_afu_cr_write32(afu, cr, aligned_off, val32); cr 508 drivers/misc/cxl/sysfs.c int cr; cr 519 drivers/misc/cxl/sysfs.c struct afu_config_record *cr = to_cr(kobj); cr 521 drivers/misc/cxl/sysfs.c return scnprintf(buf, PAGE_SIZE, "0x%.4x\n", cr->vendor); cr 527 drivers/misc/cxl/sysfs.c struct afu_config_record *cr = to_cr(kobj); cr 529 drivers/misc/cxl/sysfs.c return scnprintf(buf, PAGE_SIZE, "0x%.4x\n", cr->device); cr 535 drivers/misc/cxl/sysfs.c struct afu_config_record *cr = to_cr(kobj); cr 537 drivers/misc/cxl/sysfs.c return scnprintf(buf, PAGE_SIZE, "0x%.6x\n", cr->class); cr 544 drivers/misc/cxl/sysfs.c struct afu_config_record *cr = to_cr(kobj); cr 550 drivers/misc/cxl/sysfs.c rc = cxl_ops->afu_cr_read64(afu, cr->cr, off & ~0x7, &val); cr 576 drivers/misc/cxl/sysfs.c struct afu_config_record *cr = to_cr(kobj); cr 578 drivers/misc/cxl/sysfs.c kfree(cr); cr 589 drivers/misc/cxl/sysfs.c struct afu_config_record *cr; cr 592 drivers/misc/cxl/sysfs.c cr = kzalloc(sizeof(struct afu_config_record), GFP_KERNEL); cr 593 drivers/misc/cxl/sysfs.c if (!cr) cr 596 drivers/misc/cxl/sysfs.c cr->cr = cr_idx; cr 598 drivers/misc/cxl/sysfs.c rc = cxl_ops->afu_cr_read16(afu, cr_idx, PCI_DEVICE_ID, &cr->device); cr 601 drivers/misc/cxl/sysfs.c rc = cxl_ops->afu_cr_read16(afu, cr_idx, PCI_VENDOR_ID, &cr->vendor); cr 604 drivers/misc/cxl/sysfs.c rc = cxl_ops->afu_cr_read32(afu, cr_idx, PCI_CLASS_REVISION, &cr->class); cr 607 drivers/misc/cxl/sysfs.c cr->class >>= 8; cr 618 drivers/misc/cxl/sysfs.c sysfs_bin_attr_init(&cr->config_attr); cr 619 drivers/misc/cxl/sysfs.c cr->config_attr.attr.name = "config"; cr 620 drivers/misc/cxl/sysfs.c cr->config_attr.attr.mode = S_IRUSR; cr 621 drivers/misc/cxl/sysfs.c cr->config_attr.size = afu->crs_len; cr 622 drivers/misc/cxl/sysfs.c cr->config_attr.read = afu_read_config; cr 624 drivers/misc/cxl/sysfs.c rc = kobject_init_and_add(&cr->kobj, &afu_config_record_type, cr 625 drivers/misc/cxl/sysfs.c &afu->dev.kobj, "cr%i", cr->cr); cr 629 drivers/misc/cxl/sysfs.c rc = sysfs_create_bin_file(&cr->kobj, &cr->config_attr); cr 633 drivers/misc/cxl/sysfs.c rc = kobject_uevent(&cr->kobj, KOBJ_ADD); cr 637 drivers/misc/cxl/sysfs.c return cr; cr 639 drivers/misc/cxl/sysfs.c sysfs_remove_bin_file(&cr->kobj, &cr->config_attr); cr 641 drivers/misc/cxl/sysfs.c kobject_put(&cr->kobj); cr 644 drivers/misc/cxl/sysfs.c kfree(cr); cr 651 drivers/misc/cxl/sysfs.c struct afu_config_record *cr, *tmp; cr 665 drivers/misc/cxl/sysfs.c list_for_each_entry_safe(cr, tmp, &afu->crs, list) { cr 666 drivers/misc/cxl/sysfs.c sysfs_remove_bin_file(&cr->kobj, &cr->config_attr); cr 667 drivers/misc/cxl/sysfs.c kobject_put(&cr->kobj); cr 674 drivers/misc/cxl/sysfs.c struct afu_config_record *cr; cr 707 drivers/misc/cxl/sysfs.c cr = cxl_sysfs_afu_new_cr(afu, i); cr 708 drivers/misc/cxl/sysfs.c if (IS_ERR(cr)) { cr 709 drivers/misc/cxl/sysfs.c rc = PTR_ERR(cr); cr 712 drivers/misc/cxl/sysfs.c list_add(&cr->list, &afu->crs); cr 123 drivers/mmc/host/cavium.c struct cvm_mmc_cr_type *cr; cr 128 drivers/mmc/host/cavium.c cr = cvm_mmc_cr_types + (cmd->opcode & 0x3f); cr 129 drivers/mmc/host/cavium.c hardware_ctype = cr->ctype; cr 130 drivers/mmc/host/cavium.c hardware_rtype = cr->rtype; cr 724 drivers/net/ethernet/atheros/alx/hw.c u16 adv, giga, cr; cr 749 drivers/net/ethernet/atheros/alx/hw.c cr = BMCR_RESET | BMCR_ANENABLE | BMCR_ANRESTART; cr 753 drivers/net/ethernet/atheros/alx/hw.c alx_write_phy_reg(hw, MII_BMCR, cr)) cr 756 drivers/net/ethernet/atheros/alx/hw.c cr = BMCR_RESET; cr 759 drivers/net/ethernet/atheros/alx/hw.c cr |= BMCR_SPEED100; cr 762 drivers/net/ethernet/atheros/alx/hw.c cr |= BMCR_FULLDPLX; cr 764 drivers/net/ethernet/atheros/alx/hw.c err = alx_write_phy_reg(hw, MII_BMCR, cr); cr 5174 drivers/net/ethernet/broadcom/bnxt/bnxt.c req.cr = cpu_to_le16(bp->grp_info[grp_idx].cp_fw_ring_id); cr 5330 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h __le16 cr; cr 2748 drivers/net/ethernet/dec/tulip/de4x5.c int ana, anlpa, cap, cr, slnk, sr; cr 2805 drivers/net/ethernet/dec/tulip/de4x5.c cr = test_mii_reg(dev, MII_CR, MII_CR_RAN, false, 500); cr 2806 drivers/net/ethernet/dec/tulip/de4x5.c if (cr < 0) { cr 2807 drivers/net/ethernet/dec/tulip/de4x5.c next_tick = cr & ~TIMER_CB; cr 2809 drivers/net/ethernet/dec/tulip/de4x5.c if (cr) { cr 2933 drivers/net/ethernet/dec/tulip/de4x5.c s32 cr, anlpa, ana, cap, irqs, irq_mask, imr, omr, slnk, sr, sts; cr 2988 drivers/net/ethernet/dec/tulip/de4x5.c cr = test_mii_reg(dev, MII_CR, MII_CR_RAN, false, 500); cr 2989 drivers/net/ethernet/dec/tulip/de4x5.c if (cr < 0) { cr 2990 drivers/net/ethernet/dec/tulip/de4x5.c next_tick = cr & ~TIMER_CB; cr 2992 drivers/net/ethernet/dec/tulip/de4x5.c if (cr) { cr 287 drivers/net/ethernet/ni/nixge.c u32 cr; cr 343 drivers/net/ethernet/ni/nixge.c cr = nixge_dma_read_reg(priv, XAXIDMA_RX_CR_OFFSET); cr 345 drivers/net/ethernet/ni/nixge.c cr = ((cr & ~XAXIDMA_COALESCE_MASK) | cr 348 drivers/net/ethernet/ni/nixge.c cr = ((cr & ~XAXIDMA_DELAY_MASK) | cr 351 drivers/net/ethernet/ni/nixge.c cr |= XAXIDMA_IRQ_ALL_MASK; cr 353 drivers/net/ethernet/ni/nixge.c nixge_dma_write_reg(priv, XAXIDMA_RX_CR_OFFSET, cr); cr 356 drivers/net/ethernet/ni/nixge.c cr = nixge_dma_read_reg(priv, XAXIDMA_TX_CR_OFFSET); cr 358 drivers/net/ethernet/ni/nixge.c cr = (((cr & ~XAXIDMA_COALESCE_MASK)) | cr 361 drivers/net/ethernet/ni/nixge.c cr = (((cr & ~XAXIDMA_DELAY_MASK)) | cr 364 drivers/net/ethernet/ni/nixge.c cr |= XAXIDMA_IRQ_ALL_MASK; cr 366 drivers/net/ethernet/ni/nixge.c nixge_dma_write_reg(priv, XAXIDMA_TX_CR_OFFSET, cr); cr 372 drivers/net/ethernet/ni/nixge.c cr = nixge_dma_read_reg(priv, XAXIDMA_RX_CR_OFFSET); cr 374 drivers/net/ethernet/ni/nixge.c cr | XAXIDMA_CR_RUNSTOP_MASK); cr 383 drivers/net/ethernet/ni/nixge.c cr = nixge_dma_read_reg(priv, XAXIDMA_TX_CR_OFFSET); cr 385 drivers/net/ethernet/ni/nixge.c cr | XAXIDMA_CR_RUNSTOP_MASK); cr 672 drivers/net/ethernet/ni/nixge.c u32 status, cr; cr 687 drivers/net/ethernet/ni/nixge.c cr = nixge_dma_read_reg(priv, XAXIDMA_RX_CR_OFFSET); cr 688 drivers/net/ethernet/ni/nixge.c cr |= (XAXIDMA_IRQ_IOC_MASK | XAXIDMA_IRQ_DELAY_MASK); cr 689 drivers/net/ethernet/ni/nixge.c nixge_dma_write_reg(priv, XAXIDMA_RX_CR_OFFSET, cr); cr 702 drivers/net/ethernet/ni/nixge.c u32 cr; cr 721 drivers/net/ethernet/ni/nixge.c cr = nixge_dma_read_reg(priv, XAXIDMA_TX_CR_OFFSET); cr 723 drivers/net/ethernet/ni/nixge.c cr &= (~XAXIDMA_IRQ_ALL_MASK); cr 725 drivers/net/ethernet/ni/nixge.c nixge_dma_write_reg(priv, XAXIDMA_TX_CR_OFFSET, cr); cr 727 drivers/net/ethernet/ni/nixge.c cr = nixge_dma_read_reg(priv, XAXIDMA_RX_CR_OFFSET); cr 729 drivers/net/ethernet/ni/nixge.c cr &= (~XAXIDMA_IRQ_ALL_MASK); cr 731 drivers/net/ethernet/ni/nixge.c nixge_dma_write_reg(priv, XAXIDMA_RX_CR_OFFSET, cr); cr 746 drivers/net/ethernet/ni/nixge.c u32 cr; cr 752 drivers/net/ethernet/ni/nixge.c cr = nixge_dma_read_reg(priv, XAXIDMA_RX_CR_OFFSET); cr 753 drivers/net/ethernet/ni/nixge.c cr &= ~(XAXIDMA_IRQ_IOC_MASK | XAXIDMA_IRQ_DELAY_MASK); cr 754 drivers/net/ethernet/ni/nixge.c nixge_dma_write_reg(priv, XAXIDMA_RX_CR_OFFSET, cr); cr 770 drivers/net/ethernet/ni/nixge.c cr = nixge_dma_read_reg(priv, XAXIDMA_TX_CR_OFFSET); cr 772 drivers/net/ethernet/ni/nixge.c cr &= (~XAXIDMA_IRQ_ALL_MASK); cr 774 drivers/net/ethernet/ni/nixge.c nixge_dma_write_reg(priv, XAXIDMA_TX_CR_OFFSET, cr); cr 776 drivers/net/ethernet/ni/nixge.c cr = nixge_dma_read_reg(priv, XAXIDMA_RX_CR_OFFSET); cr 778 drivers/net/ethernet/ni/nixge.c cr &= (~XAXIDMA_IRQ_ALL_MASK); cr 780 drivers/net/ethernet/ni/nixge.c nixge_dma_write_reg(priv, XAXIDMA_RX_CR_OFFSET, cr); cr 794 drivers/net/ethernet/ni/nixge.c u32 cr, i; cr 820 drivers/net/ethernet/ni/nixge.c cr = nixge_dma_read_reg(lp, XAXIDMA_RX_CR_OFFSET); cr 822 drivers/net/ethernet/ni/nixge.c cr = ((cr & ~XAXIDMA_COALESCE_MASK) | cr 825 drivers/net/ethernet/ni/nixge.c cr = ((cr & ~XAXIDMA_DELAY_MASK) | cr 828 drivers/net/ethernet/ni/nixge.c cr |= XAXIDMA_IRQ_ALL_MASK; cr 830 drivers/net/ethernet/ni/nixge.c nixge_dma_write_reg(lp, XAXIDMA_RX_CR_OFFSET, cr); cr 833 drivers/net/ethernet/ni/nixge.c cr = nixge_dma_read_reg(lp, XAXIDMA_TX_CR_OFFSET); cr 835 drivers/net/ethernet/ni/nixge.c cr = (((cr & ~XAXIDMA_COALESCE_MASK)) | cr 838 drivers/net/ethernet/ni/nixge.c cr = (((cr & ~XAXIDMA_DELAY_MASK)) | cr 841 drivers/net/ethernet/ni/nixge.c cr |= XAXIDMA_IRQ_ALL_MASK; cr 843 drivers/net/ethernet/ni/nixge.c nixge_dma_write_reg(lp, XAXIDMA_TX_CR_OFFSET, cr); cr 849 drivers/net/ethernet/ni/nixge.c cr = nixge_dma_read_reg(lp, XAXIDMA_RX_CR_OFFSET); cr 851 drivers/net/ethernet/ni/nixge.c cr | XAXIDMA_CR_RUNSTOP_MASK); cr 860 drivers/net/ethernet/ni/nixge.c cr = nixge_dma_read_reg(lp, XAXIDMA_TX_CR_OFFSET); cr 862 drivers/net/ethernet/ni/nixge.c cr | XAXIDMA_CR_RUNSTOP_MASK); cr 912 drivers/net/ethernet/ni/nixge.c u32 cr; cr 922 drivers/net/ethernet/ni/nixge.c cr = nixge_dma_read_reg(priv, XAXIDMA_RX_CR_OFFSET); cr 924 drivers/net/ethernet/ni/nixge.c cr & (~XAXIDMA_CR_RUNSTOP_MASK)); cr 925 drivers/net/ethernet/ni/nixge.c cr = nixge_dma_read_reg(priv, XAXIDMA_TX_CR_OFFSET); cr 927 drivers/net/ethernet/ni/nixge.c cr & (~XAXIDMA_CR_RUNSTOP_MASK)); cr 339 drivers/net/ethernet/sis/sis900.c sw32(cr, rfcrSave | RELOAD); cr 340 drivers/net/ethernet/sis/sis900.c sw32(cr, 0); cr 541 drivers/net/ethernet/sis/sis900.c sw32(cr, ACCESSMODE | sr32(cr)); cr 1065 drivers/net/ethernet/sis/sis900.c sw32(cr, RxENA | sr32(cr)); cr 1549 drivers/net/ethernet/sis/sis900.c net_dev->name, sr32(cr), sr32(isr)); cr 1626 drivers/net/ethernet/sis/sis900.c sw32(cr, TxENA | sr32(cr)); cr 1874 drivers/net/ethernet/sis/sis900.c sw32(cr , RxENA | sr32(cr)); cr 1972 drivers/net/ethernet/sis/sis900.c sw32(cr, RxDIS | TxDIS | sr32(cr)); cr 2423 drivers/net/ethernet/sis/sis900.c cr_saved = sr32(cr); cr 2424 drivers/net/ethernet/sis/sis900.c sw32(cr, cr_saved | TxDIS | RxDIS); cr 2429 drivers/net/ethernet/sis/sis900.c sw32(cr, cr_saved); cr 2453 drivers/net/ethernet/sis/sis900.c sw32(cr, RxRESET | TxRESET | RESET | sr32(cr)); cr 2511 drivers/net/ethernet/sis/sis900.c sw32(cr, RxDIS | TxDIS | sr32(cr)); cr 2545 drivers/net/ethernet/sis/sis900.c sw32(cr, RxENA | sr32(cr)); cr 260 drivers/net/ethernet/smsc/smc911x.c unsigned mask, cfg, cr; cr 279 drivers/net/ethernet/smsc/smc911x.c SMC_GET_MAC_CR(lp, cr); cr 280 drivers/net/ethernet/smsc/smc911x.c cr |= MAC_CR_TXEN_ | MAC_CR_HBDIS_; cr 281 drivers/net/ethernet/smsc/smc911x.c SMC_SET_MAC_CR(lp, cr); cr 288 drivers/net/ethernet/smsc/smc911x.c if (cr & MAC_CR_RXEN_) cr 291 drivers/net/ethernet/smsc/smc911x.c SMC_SET_MAC_CR(lp, cr | MAC_CR_RXEN_); cr 317 drivers/net/ethernet/smsc/smc911x.c unsigned cr; cr 327 drivers/net/ethernet/smsc/smc911x.c SMC_GET_MAC_CR(lp, cr); cr 328 drivers/net/ethernet/smsc/smc911x.c cr &= ~(MAC_CR_TXEN_ | MAC_CR_RXEN_ | MAC_CR_HBDIS_); cr 329 drivers/net/ethernet/smsc/smc911x.c SMC_SET_MAC_CR(lp, cr); cr 843 drivers/net/ethernet/smsc/smc911x.c unsigned int bmcr, cr; cr 850 drivers/net/ethernet/smsc/smc911x.c SMC_GET_MAC_CR(lp, cr); cr 854 drivers/net/ethernet/smsc/smc911x.c cr |= MAC_CR_RCVOWN_; cr 858 drivers/net/ethernet/smsc/smc911x.c cr &= ~MAC_CR_RCVOWN_; cr 861 drivers/net/ethernet/smsc/smc911x.c SMC_SET_MAC_CR(lp, cr); cr 1003 drivers/net/ethernet/smsc/smc911x.c unsigned int rx_overrun=0, cr, pkts; cr 1057 drivers/net/ethernet/smsc/smc911x.c SMC_GET_MAC_CR(lp, cr); cr 1058 drivers/net/ethernet/smsc/smc911x.c cr &= ~MAC_CR_RXEN_; cr 1059 drivers/net/ethernet/smsc/smc911x.c SMC_SET_MAC_CR(lp, cr); cr 1068 drivers/net/ethernet/smsc/smc911x.c SMC_GET_MAC_CR(lp, cr); cr 1069 drivers/net/ethernet/smsc/smc911x.c cr &= ~MAC_CR_RXEN_; cr 1070 drivers/net/ethernet/smsc/smc911x.c SMC_SET_MAC_CR(lp, cr); cr 195 drivers/net/ethernet/xilinx/xilinx_axienet_main.c u32 cr; cr 242 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = axienet_dma_in32(lp, XAXIDMA_RX_CR_OFFSET); cr 244 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = ((cr & ~XAXIDMA_COALESCE_MASK) | cr 247 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = ((cr & ~XAXIDMA_DELAY_MASK) | cr 250 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr |= XAXIDMA_IRQ_ALL_MASK; cr 252 drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_dma_out32(lp, XAXIDMA_RX_CR_OFFSET, cr); cr 255 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = axienet_dma_in32(lp, XAXIDMA_TX_CR_OFFSET); cr 257 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = (((cr & ~XAXIDMA_COALESCE_MASK)) | cr 260 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = (((cr & ~XAXIDMA_DELAY_MASK)) | cr 263 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr |= XAXIDMA_IRQ_ALL_MASK; cr 265 drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_dma_out32(lp, XAXIDMA_TX_CR_OFFSET, cr); cr 271 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = axienet_dma_in32(lp, XAXIDMA_RX_CR_OFFSET); cr 273 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr | XAXIDMA_CR_RUNSTOP_MASK); cr 282 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = axienet_dma_in32(lp, XAXIDMA_TX_CR_OFFSET); cr 284 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr | XAXIDMA_CR_RUNSTOP_MASK); cr 779 drivers/net/ethernet/xilinx/xilinx_axienet_main.c u32 cr; cr 797 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = axienet_dma_in32(lp, XAXIDMA_TX_CR_OFFSET); cr 799 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr &= (~XAXIDMA_IRQ_ALL_MASK); cr 801 drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_dma_out32(lp, XAXIDMA_TX_CR_OFFSET, cr); cr 803 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = axienet_dma_in32(lp, XAXIDMA_RX_CR_OFFSET); cr 805 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr &= (~XAXIDMA_IRQ_ALL_MASK); cr 807 drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_dma_out32(lp, XAXIDMA_RX_CR_OFFSET, cr); cr 828 drivers/net/ethernet/xilinx/xilinx_axienet_main.c u32 cr; cr 846 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = axienet_dma_in32(lp, XAXIDMA_TX_CR_OFFSET); cr 848 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr &= (~XAXIDMA_IRQ_ALL_MASK); cr 850 drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_dma_out32(lp, XAXIDMA_TX_CR_OFFSET, cr); cr 852 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = axienet_dma_in32(lp, XAXIDMA_RX_CR_OFFSET); cr 854 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr &= (~XAXIDMA_IRQ_ALL_MASK); cr 856 drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_dma_out32(lp, XAXIDMA_RX_CR_OFFSET, cr); cr 986 drivers/net/ethernet/xilinx/xilinx_axienet_main.c u32 cr, sr; cr 998 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = axienet_dma_in32(lp, XAXIDMA_RX_CR_OFFSET); cr 999 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr &= ~(XAXIDMA_CR_RUNSTOP_MASK | XAXIDMA_IRQ_ALL_MASK); cr 1000 drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_dma_out32(lp, XAXIDMA_RX_CR_OFFSET, cr); cr 1002 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = axienet_dma_in32(lp, XAXIDMA_TX_CR_OFFSET); cr 1003 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr &= ~(XAXIDMA_CR_RUNSTOP_MASK | XAXIDMA_IRQ_ALL_MASK); cr 1004 drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_dma_out32(lp, XAXIDMA_TX_CR_OFFSET, cr); cr 1517 drivers/net/ethernet/xilinx/xilinx_axienet_main.c u32 cr, i; cr 1571 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = axienet_dma_in32(lp, XAXIDMA_RX_CR_OFFSET); cr 1573 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = ((cr & ~XAXIDMA_COALESCE_MASK) | cr 1576 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = ((cr & ~XAXIDMA_DELAY_MASK) | cr 1579 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr |= XAXIDMA_IRQ_ALL_MASK; cr 1581 drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_dma_out32(lp, XAXIDMA_RX_CR_OFFSET, cr); cr 1584 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = axienet_dma_in32(lp, XAXIDMA_TX_CR_OFFSET); cr 1586 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = (((cr & ~XAXIDMA_COALESCE_MASK)) | cr 1589 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = (((cr & ~XAXIDMA_DELAY_MASK)) | cr 1592 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr |= XAXIDMA_IRQ_ALL_MASK; cr 1594 drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_dma_out32(lp, XAXIDMA_TX_CR_OFFSET, cr); cr 1600 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = axienet_dma_in32(lp, XAXIDMA_RX_CR_OFFSET); cr 1602 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr | XAXIDMA_CR_RUNSTOP_MASK); cr 1611 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr = axienet_dma_in32(lp, XAXIDMA_TX_CR_OFFSET); cr 1613 drivers/net/ethernet/xilinx/xilinx_axienet_main.c cr | XAXIDMA_CR_RUNSTOP_MASK); cr 445 drivers/net/fddi/skfp/h/smc.h struct s_c_ring cr[NUMPHYS+NUMMACS] ; cr 373 drivers/net/fjes/fjes_hw.c union REG_CR cr; cr 377 drivers/net/fjes/fjes_hw.c cr.reg = 0; cr 378 drivers/net/fjes/fjes_hw.c cr.bits.req_start = 1; cr 379 drivers/net/fjes/fjes_hw.c cr.bits.req_code = type; cr 380 drivers/net/fjes/fjes_hw.c wr32(XSCT_CR, cr.reg); cr 381 drivers/net/fjes/fjes_hw.c cr.reg = rd32(XSCT_CR); cr 383 drivers/net/fjes/fjes_hw.c if (cr.bits.error == 0) { cr 399 drivers/net/fjes/fjes_hw.c switch (cr.bits.err_info) { cr 412 drivers/net/fjes/fjes_hw.c trace_fjes_hw_issue_request_command(&cr, &cs, timeout, ret); cr 19 drivers/net/fjes/fjes_trace.h TP_PROTO(union REG_CR *cr, union REG_CS *cs, int timeout, cr 21 drivers/net/fjes/fjes_trace.h TP_ARGS(cr, cs, timeout, ret), cr 34 drivers/net/fjes/fjes_trace.h __entry->cr_req = cr->bits.req_code; cr 35 drivers/net/fjes/fjes_trace.h __entry->cr_error = cr->bits.error; cr 36 drivers/net/fjes/fjes_trace.h __entry->cr_err_info = cr->bits.err_info; cr 37 drivers/net/fjes/fjes_trace.h __entry->cr_req_start = cr->bits.req_start; cr 300 drivers/net/usb/rtl8150.c u8 cr; cr 302 drivers/net/usb/rtl8150.c get_registers(dev, CR, 1, &cr); cr 304 drivers/net/usb/rtl8150.c cr |= 0x20; cr 305 drivers/net/usb/rtl8150.c set_registers(dev, CR, 1, &cr); cr 313 drivers/net/usb/rtl8150.c cr &= 0xdf; cr 314 drivers/net/usb/rtl8150.c set_registers(dev, CR, 1, &cr); cr 630 drivers/net/usb/rtl8150.c u8 cr, tcr, rcr, msr; cr 638 drivers/net/usb/rtl8150.c cr = 0x0c; cr 643 drivers/net/usb/rtl8150.c set_registers(dev, CR, 1, &cr); cr 651 drivers/net/usb/rtl8150.c u8 cr; cr 653 drivers/net/usb/rtl8150.c get_registers(dev, CR, 1, &cr); cr 654 drivers/net/usb/rtl8150.c cr &= 0xf3; cr 655 drivers/net/usb/rtl8150.c set_registers(dev, CR, 1, &cr); cr 93 drivers/net/wan/hdlc_fr.c unsigned cr: 1; cr 103 drivers/net/wan/hdlc_fr.c unsigned cr: 1; cr 3077 drivers/net/wireless/intel/ipw2x00/ipw2200.c u8 cr = 0; cr 3138 drivers/net/wireless/intel/ipw2x00/ipw2200.c cr = ipw_read_reg8(priv, IPW_BASEBAND_CONTROL_STATUS); cr 3139 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (cr & DINO_RXFIFO_DATA) cr 3144 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (cr & DINO_RXFIFO_DATA) { cr 2881 drivers/net/wireless/intersil/hostap/hostap_ioctl.c u16 cr, val; cr 2886 drivers/net/wireless/intersil/hostap/hostap_ioctl.c cr = *extra; cr 2888 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->cmd(dev, HFA384X_CMDCODE_WRITEMIF, cr, &val, NULL)) cr 1542 drivers/net/wireless/marvell/mwifiex/sdio.c u8 cr; cr 1690 drivers/net/wireless/marvell/mwifiex/sdio.c if (mwifiex_read_reg(adapter, CONFIGURATION_REG, &cr)) cr 1694 drivers/net/wireless/marvell/mwifiex/sdio.c "info: CFG reg val = %d\n", cr); cr 1696 drivers/net/wireless/marvell/mwifiex/sdio.c if (mwifiex_write_reg(adapter, CONFIGURATION_REG, (cr | 0x04))) cr 1702 drivers/net/wireless/marvell/mwifiex/sdio.c if (mwifiex_read_reg(adapter, CONFIGURATION_REG, &cr)) cr 1707 drivers/net/wireless/marvell/mwifiex/sdio.c "info: CFG reg val =%x\n", cr); cr 170 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c struct usb_ctrlrequest cr; cr 208 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c rd->cr.bRequestType = USB_VENDOR_REQUEST_IN; cr 209 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c rd->cr.bRequest = USB_MULTI_READ; cr 210 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c rd->cr.wValue = 0; cr 211 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c rd->cr.wIndex = cpu_to_le16(offset); cr 212 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c rd->cr.wLength = cpu_to_le16(sizeof(u32)); cr 215 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c (unsigned char *)(&rd->cr), &rd->reg, sizeof(rd->reg), cr 327 drivers/pcmcia/db1xxx_ss.c #define GET_VCC(cr, socknr) \ cr 328 drivers/pcmcia/db1xxx_ss.c ((((cr) >> 2) >> ((socknr) * 8)) & 3) cr 335 drivers/pcmcia/db1xxx_ss.c #define GET_RESET(cr, socknr) \ cr 336 drivers/pcmcia/db1xxx_ss.c ((cr) & (1 << (7 + (8 * (socknr))))) cr 342 drivers/pcmcia/db1xxx_ss.c unsigned short cr, sr; cr 347 drivers/pcmcia/db1xxx_ss.c cr = bcsr_read(BCSR_PCMCIA); cr 366 drivers/pcmcia/db1xxx_ss.c status |= GET_VCC(cr, sock->nr) ? SS_POWERON : 0; cr 373 drivers/pcmcia/db1xxx_ss.c status |= (GET_RESET(cr, sock->nr)) ? SS_READY : SS_RESET; cr 331 drivers/pinctrl/sh-pfc/core.c const struct pinmux_cfg_reg *cr; cr 376 drivers/pinctrl/sh-pfc/core.c ret = sh_pfc_get_config_reg(pfc, enum_id, &cr, &field, &value); cr 380 drivers/pinctrl/sh-pfc/core.c sh_pfc_write_config_reg(pfc, cr, field, value); cr 295 drivers/power/supply/test_power.c int cr; cr 300 drivers/power/supply/test_power.c cr = strnlen(buf, MAX_KEYLENGTH) - 1; cr 301 drivers/power/supply/test_power.c if (cr < 0) cr 303 drivers/power/supply/test_power.c if (buf[cr] == '\n') cr 304 drivers/power/supply/test_power.c buf[cr] = '\0'; cr 176 drivers/pwm/pwm-imx27.c u32 cr; cr 181 drivers/pwm/pwm-imx27.c cr = readl(imx->mmio_base + MX3_PWMCR); cr 182 drivers/pwm/pwm-imx27.c } while ((cr & MX3_PWMCR_SWR) && cr 185 drivers/pwm/pwm-imx27.c if (cr & MX3_PWMCR_SWR) cr 219 drivers/pwm/pwm-imx27.c u32 cr; cr 264 drivers/pwm/pwm-imx27.c cr = MX3_PWMCR_PRESCALER_SET(prescale) | cr 270 drivers/pwm/pwm-imx27.c cr |= FIELD_PREP(MX3_PWMCR_POUTC, cr 273 drivers/pwm/pwm-imx27.c writel(cr, imx->mmio_base + MX3_PWMCR); cr 155 drivers/rtc/rtc-at91rm9200.c unsigned long cr; cr 162 drivers/rtc/rtc-at91rm9200.c cr = at91_rtc_read(AT91_RTC_CR); cr 163 drivers/rtc/rtc-at91rm9200.c at91_rtc_write(AT91_RTC_CR, cr | AT91_RTC_UPDCAL | AT91_RTC_UPDTIM); cr 182 drivers/rtc/rtc-at91rm9200.c cr = at91_rtc_read(AT91_RTC_CR); cr 184 drivers/rtc/rtc-at91rm9200.c at91_rtc_write(AT91_RTC_CR, cr & ~(AT91_RTC_UPDCAL | AT91_RTC_UPDTIM)); cr 191 drivers/rtc/rtc-ds1374.c int cr, sr; cr 199 drivers/rtc/rtc-ds1374.c cr = ret = i2c_smbus_read_byte_data(client, DS1374_REG_CR); cr 216 drivers/rtc/rtc-ds1374.c alarm->enabled = !!(cr & DS1374_REG_CR_WACE); cr 230 drivers/rtc/rtc-ds1374.c int cr; cr 256 drivers/rtc/rtc-ds1374.c ret = cr = i2c_smbus_read_byte_data(client, DS1374_REG_CR); cr 262 drivers/rtc/rtc-ds1374.c cr &= ~DS1374_REG_CR_WACE; cr 264 drivers/rtc/rtc-ds1374.c ret = i2c_smbus_write_byte_data(client, DS1374_REG_CR, cr); cr 273 drivers/rtc/rtc-ds1374.c cr |= DS1374_REG_CR_WACE | DS1374_REG_CR_AIE; cr 274 drivers/rtc/rtc-ds1374.c cr &= ~DS1374_REG_CR_WDALM; cr 276 drivers/rtc/rtc-ds1374.c ret = i2c_smbus_write_byte_data(client, DS1374_REG_CR, cr); cr 393 drivers/rtc/rtc-ds1374.c int cr; cr 395 drivers/rtc/rtc-ds1374.c ret = cr = i2c_smbus_read_byte_data(save_client, DS1374_REG_CR); cr 400 drivers/rtc/rtc-ds1374.c cr &= ~DS1374_REG_CR_WACE; cr 402 drivers/rtc/rtc-ds1374.c ret = i2c_smbus_write_byte_data(save_client, DS1374_REG_CR, cr); cr 414 drivers/rtc/rtc-ds1374.c cr |= DS1374_REG_CR_WACE | DS1374_REG_CR_WDALM; cr 415 drivers/rtc/rtc-ds1374.c cr &= ~DS1374_REG_CR_AIE; cr 417 drivers/rtc/rtc-ds1374.c ret = i2c_smbus_write_byte_data(save_client, DS1374_REG_CR, cr); cr 443 drivers/rtc/rtc-ds1374.c int cr; cr 445 drivers/rtc/rtc-ds1374.c cr = i2c_smbus_read_byte_data(save_client, DS1374_REG_CR); cr 447 drivers/rtc/rtc-ds1374.c cr &= ~DS1374_REG_CR_WACE; cr 449 drivers/rtc/rtc-ds1374.c ret = i2c_smbus_write_byte_data(save_client, DS1374_REG_CR, cr); cr 97 drivers/rtc/rtc-stm32.c u16 cr; cr 210 drivers/rtc/rtc-stm32.c unsigned int status, cr; cr 215 drivers/rtc/rtc-stm32.c cr = readl_relaxed(rtc->base + regs->cr); cr 218 drivers/rtc/rtc-stm32.c (cr & STM32_RTC_CR_ALRAIE)) { cr 342 drivers/rtc/rtc-stm32.c unsigned int alrmar, cr, status; cr 345 drivers/rtc/rtc-stm32.c cr = readl_relaxed(rtc->base + regs->cr); cr 398 drivers/rtc/rtc-stm32.c alrm->enabled = (cr & STM32_RTC_CR_ALRAE) ? 1 : 0; cr 409 drivers/rtc/rtc-stm32.c unsigned int cr; cr 411 drivers/rtc/rtc-stm32.c cr = readl_relaxed(rtc->base + regs->cr); cr 417 drivers/rtc/rtc-stm32.c cr |= (STM32_RTC_CR_ALRAIE | STM32_RTC_CR_ALRAE); cr 419 drivers/rtc/rtc-stm32.c cr &= ~(STM32_RTC_CR_ALRAIE | STM32_RTC_CR_ALRAE); cr 420 drivers/rtc/rtc-stm32.c writel_relaxed(cr, rtc->base + regs->cr); cr 471 drivers/rtc/rtc-stm32.c unsigned int cr, isr, alrmar; cr 501 drivers/rtc/rtc-stm32.c cr = readl_relaxed(rtc->base + regs->cr); cr 502 drivers/rtc/rtc-stm32.c cr &= ~STM32_RTC_CR_ALRAE; cr 503 drivers/rtc/rtc-stm32.c writel_relaxed(cr, rtc->base + regs->cr); cr 554 drivers/rtc/rtc-stm32.c .cr = 0x08, cr 576 drivers/rtc/rtc-stm32.c .cr = 0x08, cr 607 drivers/rtc/rtc-stm32.c .cr = 0x18, cr 634 drivers/rtc/rtc-stm32.c unsigned int prer, pred_a, pred_s, pred_a_max, pred_s_max, cr; cr 679 drivers/rtc/rtc-stm32.c cr = readl_relaxed(rtc->base + regs->cr); cr 680 drivers/rtc/rtc-stm32.c cr &= ~STM32_RTC_CR_FMT; cr 681 drivers/rtc/rtc-stm32.c writel_relaxed(cr, rtc->base + regs->cr); cr 853 drivers/rtc/rtc-stm32.c unsigned int cr; cr 857 drivers/rtc/rtc-stm32.c cr = readl_relaxed(rtc->base + regs->cr); cr 858 drivers/rtc/rtc-stm32.c cr &= ~STM32_RTC_CR_ALRAIE; cr 859 drivers/rtc/rtc-stm32.c writel_relaxed(cr, rtc->base + regs->cr); cr 288 drivers/scsi/BusLogic.h } cr; cr 1131 drivers/scsi/BusLogic.h union blogic_cntrl_reg cr; cr 1132 drivers/scsi/BusLogic.h cr.all = 0; cr 1133 drivers/scsi/BusLogic.h cr.cr.bus_reset = true; cr 1134 drivers/scsi/BusLogic.h outb(cr.all, adapter->io_addr + BLOGIC_CNTRL_REG); cr 1139 drivers/scsi/BusLogic.h union blogic_cntrl_reg cr; cr 1140 drivers/scsi/BusLogic.h cr.all = 0; cr 1141 drivers/scsi/BusLogic.h cr.cr.int_reset = true; cr 1142 drivers/scsi/BusLogic.h outb(cr.all, adapter->io_addr + BLOGIC_CNTRL_REG); cr 1147 drivers/scsi/BusLogic.h union blogic_cntrl_reg cr; cr 1148 drivers/scsi/BusLogic.h cr.all = 0; cr 1149 drivers/scsi/BusLogic.h cr.cr.soft_reset = true; cr 1150 drivers/scsi/BusLogic.h outb(cr.all, adapter->io_addr + BLOGIC_CNTRL_REG); cr 1155 drivers/scsi/BusLogic.h union blogic_cntrl_reg cr; cr 1156 drivers/scsi/BusLogic.h cr.all = 0; cr 1157 drivers/scsi/BusLogic.h cr.cr.hard_reset = true; cr 1158 drivers/scsi/BusLogic.h outb(cr.all, adapter->io_addr + BLOGIC_CNTRL_REG); cr 2291 drivers/scsi/lpfc/lpfc_hw.h uint32_t cr:1; cr 2303 drivers/scsi/lpfc/lpfc_hw.h uint32_t cr:1; cr 2412 drivers/scsi/lpfc/lpfc_hw.h uint32_t cr:1; cr 2424 drivers/scsi/lpfc/lpfc_hw.h uint32_t cr:1; cr 366 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgLnk.cr = 1; cr 163 drivers/soc/fsl/qbman/bman.c struct bm_mc_command *cr; cr 432 drivers/soc/fsl/qbman/bman.c mc->cr = portal->addr.ce + BM_CL_CR; cr 434 drivers/soc/fsl/qbman/bman.c mc->rridx = (mc->cr->_ncw_verb & BM_MCC_VERB_VBIT) ? cr 462 drivers/soc/fsl/qbman/bman.c dpaa_zero(mc->cr); cr 463 drivers/soc/fsl/qbman/bman.c return mc->cr; cr 473 drivers/soc/fsl/qbman/bman.c mc->cr->_ncw_verb = myverb | mc->vbit; cr 474 drivers/soc/fsl/qbman/bman.c dpaa_flush(mc->cr); cr 327 drivers/soc/fsl/qbman/qman.c union qm_mc_command *cr; cr 864 drivers/soc/fsl/qbman/qman.c mc->cr = portal->addr.ce + QM_CL_CR; cr 905 drivers/soc/fsl/qbman/qman.c dpaa_zero(mc->cr); cr 906 drivers/soc/fsl/qbman/qman.c return mc->cr; cr 916 drivers/soc/fsl/qbman/qman.c mc->cr->_ncw_verb = myverb | mc->vbit; cr 917 drivers/soc/fsl/qbman/qman.c dpaa_flush(mc->cr); cr 97 drivers/spi/spi-ppc4xx.c u8 cr; cr 160 drivers/spi/spi-ppc4xx.c out_8(&hw->regs->cr, SPI_PPC4XX_CR_STR); cr 337 drivers/spi/spi-ppc4xx.c out_8(&hw->regs->cr, SPI_PPC4XX_CR_STR); cr 170 drivers/spi/spi-sifive.c u32 cr; cr 174 drivers/spi/spi-sifive.c cr = DIV_ROUND_UP(clk_get_rate(spi->clk) >> 1, t->speed_hz) - 1; cr 175 drivers/spi/spi-sifive.c cr &= SIFIVE_SPI_SCKDIV_DIV_MASK; cr 176 drivers/spi/spi-sifive.c sifive_spi_write(spi, SIFIVE_SPI_REG_SCKDIV, cr); cr 181 drivers/spi/spi-sifive.c cr = SIFIVE_SPI_FMT_LEN(t->bits_per_word); cr 184 drivers/spi/spi-sifive.c cr |= SIFIVE_SPI_FMT_PROTO_QUAD; cr 187 drivers/spi/spi-sifive.c cr |= SIFIVE_SPI_FMT_PROTO_DUAL; cr 190 drivers/spi/spi-sifive.c cr |= SIFIVE_SPI_FMT_PROTO_SINGLE; cr 194 drivers/spi/spi-sifive.c cr |= SIFIVE_SPI_FMT_ENDIAN; cr 196 drivers/spi/spi-sifive.c cr |= SIFIVE_SPI_FMT_DIR; cr 197 drivers/spi/spi-sifive.c sifive_spi_write(spi, SIFIVE_SPI_REG_FMT, cr); cr 226 drivers/spi/spi-sifive.c u32 cr; cr 229 drivers/spi/spi-sifive.c cr = sifive_spi_read(spi, SIFIVE_SPI_REG_IP); cr 230 drivers/spi/spi-sifive.c } while (!(cr & bit)); cr 127 drivers/spi/spi-stm32-qspi.c u32 cr, sr; cr 133 drivers/spi/spi-stm32-qspi.c cr = readl_relaxed(qspi->io_base + QSPI_CR); cr 134 drivers/spi/spi-stm32-qspi.c cr &= ~CR_TCIE & ~CR_TEIE; cr 135 drivers/spi/spi-stm32-qspi.c writel_relaxed(cr, qspi->io_base + QSPI_CR); cr 207 drivers/spi/spi-stm32-qspi.c u32 cr, t_out; cr 233 drivers/spi/spi-stm32-qspi.c cr = readl_relaxed(qspi->io_base + QSPI_CR); cr 245 drivers/spi/spi-stm32-qspi.c writel_relaxed(cr | CR_DMAEN, qspi->io_base + QSPI_CR); cr 256 drivers/spi/spi-stm32-qspi.c writel_relaxed(cr & ~CR_DMAEN, qspi->io_base + QSPI_CR); cr 290 drivers/spi/spi-stm32-qspi.c u32 cr, sr; cr 300 drivers/spi/spi-stm32-qspi.c cr = readl_relaxed(qspi->io_base + QSPI_CR); cr 301 drivers/spi/spi-stm32-qspi.c writel_relaxed(cr | CR_TCIE | CR_TEIE, qspi->io_base + QSPI_CR); cr 331 drivers/spi/spi-stm32-qspi.c u32 ccr, cr, addr_max; cr 355 drivers/spi/spi-stm32-qspi.c cr = readl_relaxed(qspi->io_base + QSPI_CR); cr 356 drivers/spi/spi-stm32-qspi.c cr &= ~CR_PRESC_MASK & ~CR_FSEL; cr 357 drivers/spi/spi-stm32-qspi.c cr |= FIELD_PREP(CR_PRESC_MASK, flash->presc); cr 358 drivers/spi/spi-stm32-qspi.c cr |= FIELD_PREP(CR_FSEL, flash->cs); cr 359 drivers/spi/spi-stm32-qspi.c writel_relaxed(cr, qspi->io_base + QSPI_CR); cr 412 drivers/spi/spi-stm32-qspi.c cr = readl_relaxed(qspi->io_base + QSPI_CR) | CR_ABORT; cr 413 drivers/spi/spi-stm32-qspi.c writel_relaxed(cr, qspi->io_base + QSPI_CR); cr 417 drivers/spi/spi-stm32-qspi.c cr, !(cr & CR_ABORT), 1, cr 189 drivers/spi/spi-xilinx.c u16 cr; cr 199 drivers/spi/spi-xilinx.c cr = xspi->read_fn(xspi->regs + XSPI_CR_OFFSET) & ~XSPI_CR_MODE_MASK; cr 201 drivers/spi/spi-xilinx.c cr |= XSPI_CR_CPHA; cr 203 drivers/spi/spi-xilinx.c cr |= XSPI_CR_CPOL; cr 205 drivers/spi/spi-xilinx.c cr |= XSPI_CR_LSB_FIRST; cr 207 drivers/spi/spi-xilinx.c cr |= XSPI_CR_LOOP; cr 208 drivers/spi/spi-xilinx.c xspi->write_fn(cr, xspi->regs + XSPI_CR_OFFSET); cr 243 drivers/spi/spi-xilinx.c u16 cr = 0; cr 255 drivers/spi/spi-xilinx.c cr = xspi->read_fn(xspi->regs + XSPI_CR_OFFSET); cr 256 drivers/spi/spi-xilinx.c xspi->write_fn(cr | XSPI_CR_TRANS_INHIBIT, cr 285 drivers/spi/spi-xilinx.c xspi->write_fn(cr, xspi->regs + XSPI_CR_OFFSET); cr 293 drivers/spi/spi-xilinx.c xspi->write_fn(cr | XSPI_CR_TRANS_INHIBIT, cr 330 drivers/spi/spi-xilinx.c xspi->write_fn(cr, xspi->regs + XSPI_CR_OFFSET); cr 277 drivers/staging/media/imx/imx7-media-csi.c u32 cr = imx7_csi_reg_read(csi, CSI_CSICR18); cr 279 drivers/staging/media/imx/imx7-media-csi.c cr |= BIT_CSI_HW_ENABLE; cr 281 drivers/staging/media/imx/imx7-media-csi.c imx7_csi_reg_write(csi, cr, CSI_CSICR18); cr 286 drivers/staging/media/imx/imx7-media-csi.c u32 cr = imx7_csi_reg_read(csi, CSI_CSICR18); cr 288 drivers/staging/media/imx/imx7-media-csi.c cr &= ~BIT_CSI_HW_ENABLE; cr 290 drivers/staging/media/imx/imx7-media-csi.c imx7_csi_reg_write(csi, cr, CSI_CSICR18); cr 2303 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u32 cr; cr 2305 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c cr = rtw_read16(padapter, REG_9346CR); cr 2307 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c size = (cr & BOOT_FROM_EEPROM) ? 6 : 4; cr 2105 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c char cr = '\n'; cr 2108 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c &cr, 1)) cr 2880 drivers/target/iscsi/iscsi_target.c struct iscsi_conn_recovery *cr = NULL; cr 2927 drivers/target/iscsi/iscsi_target.c cr = iscsit_get_inactive_connection_recovery_entry( cr 2929 drivers/target/iscsi/iscsi_target.c if (!cr) { cr 2937 drivers/target/iscsi/iscsi_target.c iscsit_discard_cr_cmds_by_expstatsn(cr, cmd->exp_stat_sn); cr 78 drivers/target/iscsi/iscsi_target_erl2.c struct iscsi_conn_recovery *cr) cr 81 drivers/target/iscsi/iscsi_target_erl2.c list_add_tail(&cr->cr_list, &sess->cr_active_list); cr 89 drivers/target/iscsi/iscsi_target_erl2.c struct iscsi_conn_recovery *cr) cr 92 drivers/target/iscsi/iscsi_target_erl2.c list_add_tail(&cr->cr_list, &sess->cr_inactive_list); cr 106 drivers/target/iscsi/iscsi_target_erl2.c struct iscsi_conn_recovery *cr; cr 109 drivers/target/iscsi/iscsi_target_erl2.c list_for_each_entry(cr, &sess->cr_inactive_list, cr_list) { cr 110 drivers/target/iscsi/iscsi_target_erl2.c if (cr->cid == cid) { cr 112 drivers/target/iscsi/iscsi_target_erl2.c return cr; cr 123 drivers/target/iscsi/iscsi_target_erl2.c struct iscsi_conn_recovery *cr, *cr_tmp; cr 126 drivers/target/iscsi/iscsi_target_erl2.c list_for_each_entry_safe(cr, cr_tmp, &sess->cr_active_list, cr_list) { cr 127 drivers/target/iscsi/iscsi_target_erl2.c list_del(&cr->cr_list); cr 130 drivers/target/iscsi/iscsi_target_erl2.c spin_lock(&cr->conn_recovery_cmd_lock); cr 132 drivers/target/iscsi/iscsi_target_erl2.c &cr->conn_recovery_cmd_list, i_conn_node) { cr 136 drivers/target/iscsi/iscsi_target_erl2.c spin_unlock(&cr->conn_recovery_cmd_lock); cr 138 drivers/target/iscsi/iscsi_target_erl2.c spin_lock(&cr->conn_recovery_cmd_lock); cr 140 drivers/target/iscsi/iscsi_target_erl2.c spin_unlock(&cr->conn_recovery_cmd_lock); cr 143 drivers/target/iscsi/iscsi_target_erl2.c kfree(cr); cr 148 drivers/target/iscsi/iscsi_target_erl2.c list_for_each_entry_safe(cr, cr_tmp, &sess->cr_inactive_list, cr_list) { cr 149 drivers/target/iscsi/iscsi_target_erl2.c list_del(&cr->cr_list); cr 152 drivers/target/iscsi/iscsi_target_erl2.c spin_lock(&cr->conn_recovery_cmd_lock); cr 154 drivers/target/iscsi/iscsi_target_erl2.c &cr->conn_recovery_cmd_list, i_conn_node) { cr 158 drivers/target/iscsi/iscsi_target_erl2.c spin_unlock(&cr->conn_recovery_cmd_lock); cr 160 drivers/target/iscsi/iscsi_target_erl2.c spin_lock(&cr->conn_recovery_cmd_lock); cr 162 drivers/target/iscsi/iscsi_target_erl2.c spin_unlock(&cr->conn_recovery_cmd_lock); cr 165 drivers/target/iscsi/iscsi_target_erl2.c kfree(cr); cr 171 drivers/target/iscsi/iscsi_target_erl2.c struct iscsi_conn_recovery *cr, cr 175 drivers/target/iscsi/iscsi_target_erl2.c list_del(&cr->cr_list); cr 182 drivers/target/iscsi/iscsi_target_erl2.c kfree(cr); cr 188 drivers/target/iscsi/iscsi_target_erl2.c struct iscsi_conn_recovery *cr, cr 192 drivers/target/iscsi/iscsi_target_erl2.c list_del(&cr->cr_list); cr 203 drivers/target/iscsi/iscsi_target_erl2.c struct iscsi_conn_recovery *cr; cr 205 drivers/target/iscsi/iscsi_target_erl2.c if (!cmd->cr) { cr 210 drivers/target/iscsi/iscsi_target_erl2.c cr = cmd->cr; cr 213 drivers/target/iscsi/iscsi_target_erl2.c return --cr->cmd_count; cr 217 drivers/target/iscsi/iscsi_target_erl2.c struct iscsi_conn_recovery *cr, cr 222 drivers/target/iscsi/iscsi_target_erl2.c struct iscsi_session *sess = cr->sess; cr 224 drivers/target/iscsi/iscsi_target_erl2.c spin_lock(&cr->conn_recovery_cmd_lock); cr 226 drivers/target/iscsi/iscsi_target_erl2.c &cr->conn_recovery_cmd_list, i_conn_node) { cr 237 drivers/target/iscsi/iscsi_target_erl2.c cmd->stat_sn, cr->cid); cr 241 drivers/target/iscsi/iscsi_target_erl2.c spin_unlock(&cr->conn_recovery_cmd_lock); cr 243 drivers/target/iscsi/iscsi_target_erl2.c spin_lock(&cr->conn_recovery_cmd_lock); cr 245 drivers/target/iscsi/iscsi_target_erl2.c spin_unlock(&cr->conn_recovery_cmd_lock); cr 249 drivers/target/iscsi/iscsi_target_erl2.c dropped_count, cr->cid, exp_statsn); cr 251 drivers/target/iscsi/iscsi_target_erl2.c if (!cr->cmd_count) { cr 254 drivers/target/iscsi/iscsi_target_erl2.c cr->cid, sess->sid); cr 255 drivers/target/iscsi/iscsi_target_erl2.c iscsit_remove_inactive_connection_recovery_entry(cr, sess); cr 256 drivers/target/iscsi/iscsi_target_erl2.c iscsit_attach_active_connection_recovery_entry(sess, cr); cr 258 drivers/target/iscsi/iscsi_target_erl2.c " %hu on SID: %u\n", cr->cid, sess->sid); cr 259 drivers/target/iscsi/iscsi_target_erl2.c iscsit_remove_active_connection_recovery_entry(cr, sess); cr 261 drivers/target/iscsi/iscsi_target_erl2.c iscsit_remove_inactive_connection_recovery_entry(cr, sess); cr 262 drivers/target/iscsi/iscsi_target_erl2.c iscsit_attach_active_connection_recovery_entry(sess, cr); cr 311 drivers/target/iscsi/iscsi_target_erl2.c struct iscsi_conn_recovery *cr; cr 319 drivers/target/iscsi/iscsi_target_erl2.c cr = kzalloc(sizeof(struct iscsi_conn_recovery), GFP_KERNEL); cr 320 drivers/target/iscsi/iscsi_target_erl2.c if (!cr) { cr 325 drivers/target/iscsi/iscsi_target_erl2.c INIT_LIST_HEAD(&cr->cr_list); cr 326 drivers/target/iscsi/iscsi_target_erl2.c INIT_LIST_HEAD(&cr->conn_recovery_cmd_list); cr 327 drivers/target/iscsi/iscsi_target_erl2.c spin_lock_init(&cr->conn_recovery_cmd_lock); cr 398 drivers/target/iscsi/iscsi_target_erl2.c spin_lock(&cr->conn_recovery_cmd_lock); cr 399 drivers/target/iscsi/iscsi_target_erl2.c list_add_tail(&cmd->i_conn_node, &cr->conn_recovery_cmd_list); cr 400 drivers/target/iscsi/iscsi_target_erl2.c spin_unlock(&cr->conn_recovery_cmd_lock); cr 403 drivers/target/iscsi/iscsi_target_erl2.c cmd->cr = cr; cr 410 drivers/target/iscsi/iscsi_target_erl2.c cr->cid = conn->cid; cr 411 drivers/target/iscsi/iscsi_target_erl2.c cr->cmd_count = cmd_count; cr 412 drivers/target/iscsi/iscsi_target_erl2.c cr->maxrecvdatasegmentlength = conn->conn_ops->MaxRecvDataSegmentLength; cr 413 drivers/target/iscsi/iscsi_target_erl2.c cr->maxxmitdatasegmentlength = conn->conn_ops->MaxXmitDataSegmentLength; cr 414 drivers/target/iscsi/iscsi_target_erl2.c cr->sess = conn->sess; cr 416 drivers/target/iscsi/iscsi_target_erl2.c iscsit_attach_inactive_connection_recovery_entry(conn->sess, cr); cr 553 drivers/target/iscsi/iscsi_target_login.c struct iscsi_conn_recovery *cr = NULL; cr 583 drivers/target/iscsi/iscsi_target_login.c cr = iscsit_get_inactive_connection_recovery_entry( cr 585 drivers/target/iscsi/iscsi_target_login.c if (cr) { cr 589 drivers/target/iscsi/iscsi_target_login.c iscsit_discard_cr_cmds_by_expstatsn(cr, exp_statsn); cr 111 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_conn_recovery *cr = NULL; cr 127 drivers/target/iscsi/iscsi_target_tmr.c ret = iscsit_find_cmd_for_recovery(conn->sess, &ref_cmd, &cr, hdr->rtt); cr 130 drivers/target/iscsi/iscsi_target_tmr.c " %hu\n", ref_cmd->init_task_tag, cr->cid); cr 141 drivers/target/iscsi/iscsi_target_tmr.c if (cr->maxrecvdatasegmentlength != cr 148 drivers/target/iscsi/iscsi_target_tmr.c if (cr->maxxmitdatasegmentlength != cr 167 drivers/target/iscsi/iscsi_target_tmr.c tmr_req->conn_recovery = cr; cr 179 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_conn_recovery *cr, cr 184 drivers/target/iscsi/iscsi_target_tmr.c spin_lock(&cr->conn_recovery_cmd_lock); cr 186 drivers/target/iscsi/iscsi_target_tmr.c spin_unlock(&cr->conn_recovery_cmd_lock); cr 189 drivers/target/iscsi/iscsi_target_tmr.c " %hu on SID: %u\n", cr->cid, sess->sid); cr 190 drivers/target/iscsi/iscsi_target_tmr.c iscsit_remove_active_connection_recovery_entry(cr, sess); cr 199 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_conn_recovery *cr; cr 201 drivers/target/iscsi/iscsi_target_tmr.c if (!cmd->cr) { cr 206 drivers/target/iscsi/iscsi_target_tmr.c cr = cmd->cr; cr 215 drivers/target/iscsi/iscsi_target_tmr.c iscsit_task_reassign_remove_cmd(cmd, cr, conn->sess); cr 367 drivers/target/iscsi/iscsi_target_tmr.c struct iscsi_conn_recovery *cr; cr 369 drivers/target/iscsi/iscsi_target_tmr.c if (!cmd->cr) { cr 374 drivers/target/iscsi/iscsi_target_tmr.c cr = cmd->cr; cr 383 drivers/target/iscsi/iscsi_target_tmr.c iscsit_task_reassign_remove_cmd(cmd, cr, conn->sess); cr 472 drivers/target/iscsi/iscsi_target_util.c struct iscsi_conn_recovery *cr; cr 478 drivers/target/iscsi/iscsi_target_util.c list_for_each_entry(cr, &sess->cr_inactive_list, cr_list) { cr 479 drivers/target/iscsi/iscsi_target_util.c spin_lock(&cr->conn_recovery_cmd_lock); cr 480 drivers/target/iscsi/iscsi_target_util.c list_for_each_entry(cmd, &cr->conn_recovery_cmd_list, i_conn_node) { cr 482 drivers/target/iscsi/iscsi_target_util.c spin_unlock(&cr->conn_recovery_cmd_lock); cr 485 drivers/target/iscsi/iscsi_target_util.c *cr_ptr = cr; cr 490 drivers/target/iscsi/iscsi_target_util.c spin_unlock(&cr->conn_recovery_cmd_lock); cr 498 drivers/target/iscsi/iscsi_target_util.c list_for_each_entry(cr, &sess->cr_active_list, cr_list) { cr 499 drivers/target/iscsi/iscsi_target_util.c spin_lock(&cr->conn_recovery_cmd_lock); cr 500 drivers/target/iscsi/iscsi_target_util.c list_for_each_entry(cmd, &cr->conn_recovery_cmd_list, i_conn_node) { cr 502 drivers/target/iscsi/iscsi_target_util.c spin_unlock(&cr->conn_recovery_cmd_lock); cr 505 drivers/target/iscsi/iscsi_target_util.c *cr_ptr = cr; cr 510 drivers/target/iscsi/iscsi_target_util.c spin_unlock(&cr->conn_recovery_cmd_lock); cr 448 drivers/tty/n_gsm.c static void gsm_print_packet(const char *hdr, int addr, int cr, cr 454 drivers/tty/n_gsm.c pr_info("%s %d) %c: ", hdr, addr, "RC"[cr]); cr 559 drivers/tty/n_gsm.c static void gsm_send(struct gsm_mux *gsm, int addr, int cr, int control) cr 568 drivers/tty/n_gsm.c cbuf[1] = (addr << 2) | (cr << 1) | EA; cr 578 drivers/tty/n_gsm.c ibuf[0] = (addr << 2) | (cr << 1) | EA; cr 594 drivers/tty/n_gsm.c gsm_print_packet("-->", addr, cr, control, NULL, 0); cr 1745 drivers/tty/n_gsm.c u8 cr; cr 1769 drivers/tty/n_gsm.c cr = gsm->address & 1; /* C/R bit */ cr 1771 drivers/tty/n_gsm.c gsm_print_packet("<--", address, cr, gsm->control, gsm->buf, gsm->len); cr 1773 drivers/tty/n_gsm.c cr ^= 1 - gsm->initiator; /* Flip so 1 always means command */ cr 1778 drivers/tty/n_gsm.c if (cr == 0) cr 1792 drivers/tty/n_gsm.c if (cr == 0) cr 1804 drivers/tty/n_gsm.c if (cr == 0 || dlci == NULL) cr 1817 drivers/tty/n_gsm.c if (cr) cr 1828 drivers/tty/n_gsm.c if (cr) cr 67 drivers/tty/serial/amba-pl010.c unsigned int cr; cr 69 drivers/tty/serial/amba-pl010.c cr = readb(uap->port.membase + UART010_CR); cr 70 drivers/tty/serial/amba-pl010.c cr &= ~UART010_CR_TIE; cr 71 drivers/tty/serial/amba-pl010.c writel(cr, uap->port.membase + UART010_CR); cr 78 drivers/tty/serial/amba-pl010.c unsigned int cr; cr 80 drivers/tty/serial/amba-pl010.c cr = readb(uap->port.membase + UART010_CR); cr 81 drivers/tty/serial/amba-pl010.c cr |= UART010_CR_TIE; cr 82 drivers/tty/serial/amba-pl010.c writel(cr, uap->port.membase + UART010_CR); cr 89 drivers/tty/serial/amba-pl010.c unsigned int cr; cr 91 drivers/tty/serial/amba-pl010.c cr = readb(uap->port.membase + UART010_CR); cr 92 drivers/tty/serial/amba-pl010.c cr &= ~(UART010_CR_RIE | UART010_CR_RTIE); cr 93 drivers/tty/serial/amba-pl010.c writel(cr, uap->port.membase + UART010_CR); cr 99 drivers/tty/serial/amba-pl010.c unsigned int cr; cr 101 drivers/tty/serial/amba-pl010.c cr = readb(uap->port.membase + UART010_CR); cr 102 drivers/tty/serial/amba-pl010.c cr &= ~UART010_CR_MSIE; cr 103 drivers/tty/serial/amba-pl010.c writel(cr, uap->port.membase + UART010_CR); cr 110 drivers/tty/serial/amba-pl010.c unsigned int cr; cr 112 drivers/tty/serial/amba-pl010.c cr = readb(uap->port.membase + UART010_CR); cr 113 drivers/tty/serial/amba-pl010.c cr |= UART010_CR_MSIE; cr 114 drivers/tty/serial/amba-pl010.c writel(cr, uap->port.membase + UART010_CR); cr 1553 drivers/tty/serial/amba-pl011.c unsigned int cr; cr 1555 drivers/tty/serial/amba-pl011.c cr = pl011_read(uap, REG_CR); cr 1559 drivers/tty/serial/amba-pl011.c cr |= uartbit; \ cr 1561 drivers/tty/serial/amba-pl011.c cr &= ~uartbit cr 1575 drivers/tty/serial/amba-pl011.c pl011_write(cr, uap, REG_CR); cr 1759 drivers/tty/serial/amba-pl011.c unsigned int cr; cr 1775 drivers/tty/serial/amba-pl011.c cr = uap->old_cr & (UART011_CR_RTS | UART011_CR_DTR); cr 1776 drivers/tty/serial/amba-pl011.c cr |= UART01x_CR_UARTEN | UART011_CR_RXE | UART011_CR_TXE; cr 1777 drivers/tty/serial/amba-pl011.c pl011_write(cr, uap, REG_CR); cr 1837 drivers/tty/serial/amba-pl011.c unsigned int cr; cr 1841 drivers/tty/serial/amba-pl011.c cr = pl011_read(uap, REG_CR); cr 1842 drivers/tty/serial/amba-pl011.c uap->old_cr = cr; cr 1843 drivers/tty/serial/amba-pl011.c cr &= UART011_CR_RTS | UART011_CR_DTR; cr 1844 drivers/tty/serial/amba-pl011.c cr |= UART01x_CR_UARTEN | UART011_CR_TXE; cr 1845 drivers/tty/serial/amba-pl011.c pl011_write(cr, uap, REG_CR); cr 47 drivers/tty/serial/apbuart.c unsigned int cr; cr 49 drivers/tty/serial/apbuart.c cr = UART_GET_CTRL(port); cr 50 drivers/tty/serial/apbuart.c cr &= ~UART_CTRL_TI; cr 51 drivers/tty/serial/apbuart.c UART_PUT_CTRL(port, cr); cr 56 drivers/tty/serial/apbuart.c unsigned int cr; cr 58 drivers/tty/serial/apbuart.c cr = UART_GET_CTRL(port); cr 59 drivers/tty/serial/apbuart.c cr |= UART_CTRL_TI; cr 60 drivers/tty/serial/apbuart.c UART_PUT_CTRL(port, cr); cr 68 drivers/tty/serial/apbuart.c unsigned int cr; cr 70 drivers/tty/serial/apbuart.c cr = UART_GET_CTRL(port); cr 71 drivers/tty/serial/apbuart.c cr &= ~(UART_CTRL_RI); cr 72 drivers/tty/serial/apbuart.c UART_PUT_CTRL(port, cr); cr 206 drivers/tty/serial/apbuart.c unsigned int cr; cr 214 drivers/tty/serial/apbuart.c cr = UART_GET_CTRL(port); cr 216 drivers/tty/serial/apbuart.c cr | UART_CTRL_RE | UART_CTRL_TE | cr 224 drivers/tty/serial/apbuart.c unsigned int cr; cr 227 drivers/tty/serial/apbuart.c cr = UART_GET_CTRL(port); cr 229 drivers/tty/serial/apbuart.c cr & ~(UART_CTRL_RE | UART_CTRL_TE | cr 239 drivers/tty/serial/apbuart.c unsigned int cr; cr 250 drivers/tty/serial/apbuart.c cr = UART_GET_CTRL(port); cr 251 drivers/tty/serial/apbuart.c cr &= ~(UART_CTRL_PE | UART_CTRL_PS); cr 254 drivers/tty/serial/apbuart.c cr |= UART_CTRL_PE; cr 256 drivers/tty/serial/apbuart.c cr |= UART_CTRL_PS; cr 261 drivers/tty/serial/apbuart.c cr |= UART_CTRL_FL; cr 284 drivers/tty/serial/apbuart.c UART_PUT_CTRL(port, cr); cr 177 drivers/tty/serial/atmel_serial.c u32 cr; cr 337 drivers/tty/serial/fsl_linflexuart.c unsigned long cr, ier, cr1; cr 344 drivers/tty/serial/fsl_linflexuart.c cr = readl(sport->membase + UARTCR); cr 345 drivers/tty/serial/fsl_linflexuart.c cr &= ~(LINFLEXD_UARTCR_RXEN | LINFLEXD_UARTCR_TXEN); cr 346 drivers/tty/serial/fsl_linflexuart.c writel(cr, sport->membase + UARTCR); cr 372 drivers/tty/serial/fsl_linflexuart.c cr = (LINFLEXD_UARTCR_RXEN | LINFLEXD_UARTCR_TXEN | cr 375 drivers/tty/serial/fsl_linflexuart.c writel(cr, sport->membase + UARTCR); cr 427 drivers/tty/serial/fsl_linflexuart.c unsigned long cr, old_cr, cr1; cr 430 drivers/tty/serial/fsl_linflexuart.c cr = readl(port->membase + UARTCR); cr 431 drivers/tty/serial/fsl_linflexuart.c old_cr = cr; cr 462 drivers/tty/serial/fsl_linflexuart.c cr = old_cr & ~LINFLEXD_UARTCR_WL1 & ~LINFLEXD_UARTCR_WL0; cr 467 drivers/tty/serial/fsl_linflexuart.c cr = (old_cr | LINFLEXD_UARTCR_WL0) & ~LINFLEXD_UARTCR_WL1; cr 476 drivers/tty/serial/fsl_linflexuart.c cr |= LINFLEXD_UARTCR_WL0; cr 487 drivers/tty/serial/fsl_linflexuart.c cr |= LINFLEXD_UARTCR_PCE; cr 489 drivers/tty/serial/fsl_linflexuart.c cr = (cr | LINFLEXD_UARTCR_PC0) & cr 492 drivers/tty/serial/fsl_linflexuart.c cr = cr & (~LINFLEXD_UARTCR_PC1 & cr 495 drivers/tty/serial/fsl_linflexuart.c cr &= ~LINFLEXD_UARTCR_PCE; cr 525 drivers/tty/serial/fsl_linflexuart.c writel(cr, port->membase + UARTCR); cr 578 drivers/tty/serial/fsl_linflexuart.c unsigned long cr; cr 580 drivers/tty/serial/fsl_linflexuart.c cr = readl(port->membase + UARTCR); cr 584 drivers/tty/serial/fsl_linflexuart.c if (!(cr & LINFLEXD_UARTCR_TFBM)) cr 594 drivers/tty/serial/fsl_linflexuart.c if (!(cr & LINFLEXD_UARTCR_TFBM)) { cr 646 drivers/tty/serial/fsl_linflexuart.c unsigned long cr, ier = 0; cr 651 drivers/tty/serial/fsl_linflexuart.c cr = readl(sport->membase + UARTCR); cr 652 drivers/tty/serial/fsl_linflexuart.c cr |= (LINFLEXD_UARTCR_TXEN); cr 653 drivers/tty/serial/fsl_linflexuart.c writel(cr, sport->membase + UARTCR); cr 687 drivers/tty/serial/fsl_linflexuart.c unsigned long cr; cr 689 drivers/tty/serial/fsl_linflexuart.c cr = readl(sport->membase + UARTCR); cr 690 drivers/tty/serial/fsl_linflexuart.c cr &= LINFLEXD_UARTCR_RXEN | LINFLEXD_UARTCR_TXEN; cr 692 drivers/tty/serial/fsl_linflexuart.c if (!cr) cr 698 drivers/tty/serial/fsl_linflexuart.c if (cr & LINFLEXD_UARTCR_PCE) { cr 699 drivers/tty/serial/fsl_linflexuart.c if (cr & LINFLEXD_UARTCR_PC0) cr 705 drivers/tty/serial/fsl_linflexuart.c if ((cr & LINFLEXD_UARTCR_WL0) && ((cr & LINFLEXD_UARTCR_WL1) == 0)) { cr 706 drivers/tty/serial/fsl_linflexuart.c if (cr & LINFLEXD_UARTCR_PCE) cr 2124 drivers/tty/serial/fsl_lpuart.c unsigned long old_cr, cr; cr 2134 drivers/tty/serial/fsl_lpuart.c cr = old_cr = lpuart32_read(&sport->port, UARTCTRL); cr 2135 drivers/tty/serial/fsl_lpuart.c cr |= UARTCTRL_TE | UARTCTRL_RE; cr 2136 drivers/tty/serial/fsl_lpuart.c cr &= ~(UARTCTRL_TIE | UARTCTRL_TCIE | UARTCTRL_RIE); cr 2137 drivers/tty/serial/fsl_lpuart.c lpuart32_write(&sport->port, cr, UARTCTRL); cr 2158 drivers/tty/serial/fsl_lpuart.c unsigned char cr, bdh, bdl, brfa; cr 2161 drivers/tty/serial/fsl_lpuart.c cr = readb(sport->port.membase + UARTCR2); cr 2162 drivers/tty/serial/fsl_lpuart.c cr &= UARTCR2_TE | UARTCR2_RE; cr 2163 drivers/tty/serial/fsl_lpuart.c if (!cr) cr 2168 drivers/tty/serial/fsl_lpuart.c cr = readb(sport->port.membase + UARTCR1); cr 2171 drivers/tty/serial/fsl_lpuart.c if (cr & UARTCR1_PE) { cr 2172 drivers/tty/serial/fsl_lpuart.c if (cr & UARTCR1_PT) cr 2178 drivers/tty/serial/fsl_lpuart.c if (cr & UARTCR1_M) cr 2207 drivers/tty/serial/fsl_lpuart.c unsigned long cr, bd; cr 2210 drivers/tty/serial/fsl_lpuart.c cr = lpuart32_read(&sport->port, UARTCTRL); cr 2211 drivers/tty/serial/fsl_lpuart.c cr &= UARTCTRL_TE | UARTCTRL_RE; cr 2212 drivers/tty/serial/fsl_lpuart.c if (!cr) cr 2217 drivers/tty/serial/fsl_lpuart.c cr = lpuart32_read(&sport->port, UARTCTRL); cr 2220 drivers/tty/serial/fsl_lpuart.c if (cr & UARTCTRL_PE) { cr 2221 drivers/tty/serial/fsl_lpuart.c if (cr & UARTCTRL_PT) cr 2227 drivers/tty/serial/fsl_lpuart.c if (cr & UARTCTRL_M) cr 2156 drivers/tty/vt/vt.c cr(vc); cr 2195 drivers/tty/vt/vt.c cr(vc); cr 2784 drivers/tty/vt/vt.c cr(vc); cr 2995 drivers/tty/vt/vt.c cr(vc); cr 812 drivers/usb/gadget/function/f_uac2.c in_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) cr 817 drivers/usb/gadget/function/f_uac2.c u16 w_length = le16_to_cpu(cr->wLength); cr 818 drivers/usb/gadget/function/f_uac2.c u16 w_index = le16_to_cpu(cr->wIndex); cr 819 drivers/usb/gadget/function/f_uac2.c u16 w_value = le16_to_cpu(cr->wValue); cr 853 drivers/usb/gadget/function/f_uac2.c in_rq_range(struct usb_function *fn, const struct usb_ctrlrequest *cr) cr 858 drivers/usb/gadget/function/f_uac2.c u16 w_length = le16_to_cpu(cr->wLength); cr 859 drivers/usb/gadget/function/f_uac2.c u16 w_index = le16_to_cpu(cr->wIndex); cr 860 drivers/usb/gadget/function/f_uac2.c u16 w_value = le16_to_cpu(cr->wValue); cr 895 drivers/usb/gadget/function/f_uac2.c ac_rq_in(struct usb_function *fn, const struct usb_ctrlrequest *cr) cr 897 drivers/usb/gadget/function/f_uac2.c if (cr->bRequest == UAC2_CS_CUR) cr 898 drivers/usb/gadget/function/f_uac2.c return in_rq_cur(fn, cr); cr 899 drivers/usb/gadget/function/f_uac2.c else if (cr->bRequest == UAC2_CS_RANGE) cr 900 drivers/usb/gadget/function/f_uac2.c return in_rq_range(fn, cr); cr 906 drivers/usb/gadget/function/f_uac2.c out_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) cr 908 drivers/usb/gadget/function/f_uac2.c u16 w_length = le16_to_cpu(cr->wLength); cr 909 drivers/usb/gadget/function/f_uac2.c u16 w_value = le16_to_cpu(cr->wValue); cr 919 drivers/usb/gadget/function/f_uac2.c setup_rq_inf(struct usb_function *fn, const struct usb_ctrlrequest *cr) cr 923 drivers/usb/gadget/function/f_uac2.c u16 w_index = le16_to_cpu(cr->wIndex); cr 932 drivers/usb/gadget/function/f_uac2.c if (cr->bRequestType & USB_DIR_IN) cr 933 drivers/usb/gadget/function/f_uac2.c return ac_rq_in(fn, cr); cr 934 drivers/usb/gadget/function/f_uac2.c else if (cr->bRequest == UAC2_CS_CUR) cr 935 drivers/usb/gadget/function/f_uac2.c return out_rq_cur(fn, cr); cr 941 drivers/usb/gadget/function/f_uac2.c afunc_setup(struct usb_function *fn, const struct usb_ctrlrequest *cr) cr 946 drivers/usb/gadget/function/f_uac2.c u16 w_length = le16_to_cpu(cr->wLength); cr 950 drivers/usb/gadget/function/f_uac2.c if ((cr->bRequestType & USB_TYPE_MASK) != USB_TYPE_CLASS) cr 953 drivers/usb/gadget/function/f_uac2.c if ((cr->bRequestType & USB_RECIP_MASK) == USB_RECIP_INTERFACE) cr 954 drivers/usb/gadget/function/f_uac2.c value = setup_rq_inf(fn, cr); cr 233 drivers/usb/serial/console.c unsigned char cr = 13; cr 234 drivers/usb/serial/console.c retval = serial->type->write(NULL, port, &cr, 1); cr 195 drivers/usb/storage/transport.c us->cr->bRequestType = requesttype; cr 196 drivers/usb/storage/transport.c us->cr->bRequest = request; cr 197 drivers/usb/storage/transport.c us->cr->wValue = cpu_to_le16(value); cr 198 drivers/usb/storage/transport.c us->cr->wIndex = cpu_to_le16(index); cr 199 drivers/usb/storage/transport.c us->cr->wLength = cpu_to_le16(size); cr 203 drivers/usb/storage/transport.c (unsigned char*) us->cr, data, size, cr 332 drivers/usb/storage/transport.c us->cr->bRequestType = requesttype; cr 333 drivers/usb/storage/transport.c us->cr->bRequest = request; cr 334 drivers/usb/storage/transport.c us->cr->wValue = cpu_to_le16(value); cr 335 drivers/usb/storage/transport.c us->cr->wIndex = cpu_to_le16(index); cr 336 drivers/usb/storage/transport.c us->cr->wLength = cpu_to_le16(size); cr 340 drivers/usb/storage/transport.c (unsigned char*) us->cr, data, size, cr 458 drivers/usb/storage/usb.c us->cr = kmalloc(sizeof(*us->cr), GFP_KERNEL); cr 459 drivers/usb/storage/usb.c if (!us->cr) cr 829 drivers/usb/storage/usb.c kfree(us->cr); cr 128 drivers/usb/storage/usb.h struct usb_ctrlrequest *cr; /* control requests */ cr 153 drivers/video/fbdev/bt431.h static inline u16 bt431_read_cmap(struct bt431_regs *regs, int cr) cr 155 drivers/video/fbdev/bt431.h bt431_select_reg(regs, cr); cr 159 drivers/video/fbdev/bt431.h static inline void bt431_write_cmap(struct bt431_regs *regs, int cr, u16 value) cr 161 drivers/video/fbdev/bt431.h bt431_select_reg(regs, cr); cr 73 drivers/video/fbdev/bt455.h int cr, u8 *grey) cr 75 drivers/video/fbdev/bt455.h bt455_select_reg(regs, cr); cr 80 drivers/video/fbdev/bt455.h int cr, u8 grey) cr 82 drivers/video/fbdev/bt455.h bt455_select_reg(regs, cr); cr 103 drivers/video/fbdev/offb.c u32 cr = red >> (16 - info->var.red.length); cr 111 drivers/video/fbdev/offb.c value = (cr << info->var.red.offset) | cr 48 drivers/video/fbdev/simplefb.c u32 cr = red >> (16 - info->var.red.length); cr 56 drivers/video/fbdev/simplefb.c value = (cr << info->var.red.offset) | cr 1209 fs/btrfs/send.c struct clone_root *cr = (struct clone_root *)elt; cr 1211 fs/btrfs/send.c if (root < cr->root->root_key.objectid) cr 1213 fs/btrfs/send.c if (root > cr->root->root_key.objectid) cr 2037 fs/ext4/mballoc.c ext4_group_t group, int cr) cr 2043 fs/ext4/mballoc.c BUG_ON(cr < 0 || cr >= 4); cr 2048 fs/ext4/mballoc.c if (cr <= 2 && free < ac->ac_g_ex.fe_len) cr 2065 fs/ext4/mballoc.c switch (cr) { cr 2104 fs/ext4/mballoc.c int cr; cr 2160 fs/ext4/mballoc.c cr = ac->ac_2order ? 0 : 1; cr 2166 fs/ext4/mballoc.c for (; cr < 4 && ac->ac_status == AC_STATUS_CONTINUE; cr++) { cr 2167 fs/ext4/mballoc.c ac->ac_criteria = cr; cr 2185 fs/ext4/mballoc.c ret = ext4_mb_good_group(ac, group, cr); cr 2202 fs/ext4/mballoc.c ret = ext4_mb_good_group(ac, group, cr); cr 2212 fs/ext4/mballoc.c if (cr == 0) cr 2214 fs/ext4/mballoc.c else if (cr == 1 && sbi->s_stripe && cr 2248 fs/ext4/mballoc.c cr = 3; cr 2159 fs/nfsd/nfs4state.c static bool is_gss_cred(struct svc_cred *cr) cr 2162 fs/nfsd/nfs4state.c return (cr->cr_flavor > RPC_AUTH_MAXFLAVOR); cr 2184 fs/nfsd/nfs4state.c struct svc_cred *cr = &rqstp->rq_cred; cr 2187 fs/nfsd/nfs4state.c if (!cr->cr_gss_mech) cr 2189 fs/nfsd/nfs4state.c service = gss_pseudoflavor_to_service(cr->cr_gss_mech, cr->cr_flavor); cr 2196 fs/nfsd/nfs4state.c struct svc_cred *cr = &rqstp->rq_cred; cr 2200 fs/nfsd/nfs4state.c if (cl->cl_cred.cr_gss_mech != cr->cr_gss_mech) cr 2206 fs/nfsd/nfs4state.c cr->cr_raw_principal); cr 2207 fs/nfsd/nfs4state.c if (!cr->cr_principal) cr 2209 fs/nfsd/nfs4state.c return 0 == strcmp(cl->cl_cred.cr_principal, cr->cr_principal); cr 87 fs/ntfs/collate.c int ntfs_collate(ntfs_volume *vol, COLLATION_RULE cr, cr 97 fs/ntfs/collate.c BUG_ON(cr != COLLATION_BINARY && cr != COLLATION_NTOFS_ULONG); cr 98 fs/ntfs/collate.c i = le32_to_cpu(cr); cr 15 fs/ntfs/collate.h static inline bool ntfs_is_collation_rule_supported(COLLATION_RULE cr) { cr 23 fs/ntfs/collate.h if (unlikely(cr != COLLATION_BINARY && cr != COLLATION_NTOFS_ULONG)) cr 25 fs/ntfs/collate.h i = le32_to_cpu(cr); cr 32 fs/ntfs/collate.h extern int ntfs_collate(ntfs_volume *vol, COLLATION_RULE cr, cr 263 fs/ntfs/logfile.c LOG_CLIENT_RECORD *ca, *cr; cr 284 fs/ntfs/logfile.c idx = le16_to_cpu(cr->next_client)) { cr 288 fs/ntfs/logfile.c cr = ca + idx; cr 291 fs/ntfs/logfile.c if (cr->prev_client != LOGFILE_NO_CLIENT) cr 90 fs/ocfs2/resize.c struct ocfs2_chain_rec *cr; cr 138 fs/ocfs2/resize.c cr = (&cl->cl_recs[chain]); cr 139 fs/ocfs2/resize.c le32_add_cpu(&cr->c_total, num_bits); cr 140 fs/ocfs2/resize.c le32_add_cpu(&cr->c_free, num_bits); cr 145 fs/ocfs2/resize.c le32_add_cpu(&cr->c_free, -1 * backups); cr 459 fs/ocfs2/resize.c struct ocfs2_chain_rec *cr; cr 521 fs/ocfs2/resize.c cr = &cl->cl_recs[input->chain]; cr 532 fs/ocfs2/resize.c group->bg_next_group = cr->c_blkno; cr 545 fs/ocfs2/resize.c memset(cr, 0, sizeof(struct ocfs2_chain_rec)); cr 548 fs/ocfs2/resize.c cr->c_blkno = cpu_to_le64(input->group); cr 549 fs/ocfs2/resize.c le32_add_cpu(&cr->c_total, input->clusters * cl_bpc); cr 550 fs/ocfs2/resize.c le32_add_cpu(&cr->c_free, input->frees * cl_bpc); cr 1164 include/linux/rtsx_pci.h #define rtsx_set_dev_flag(cr, flag) \ cr 1165 include/linux/rtsx_pci.h ((cr)->option.dev_flags |= (flag)) cr 1166 include/linux/rtsx_pci.h #define rtsx_clear_dev_flag(cr, flag) \ cr 1167 include/linux/rtsx_pci.h ((cr)->option.dev_flags &= ~(flag)) cr 1168 include/linux/rtsx_pci.h #define rtsx_check_dev_flag(cr, flag) \ cr 1169 include/linux/rtsx_pci.h ((cr)->option.dev_flags & (flag)) cr 229 include/net/bluetooth/rfcomm.h int rfcomm_send_rpn(struct rfcomm_session *s, int cr, u8 dlci, cr 75 include/net/lapb.h unsigned char cr; /* Command/Response */ cr 173 include/net/llc_pdu.h #define FRMR_INFO_SET_C_R_BIT(info, cr) (info->curr_rsv |= (((u8) cr) & 0x01)) cr 231 include/net/llc_pdu.h u8 ssap, u8 dsap, u8 cr) cr 241 include/net/llc_pdu.h pdu->ssap |= cr; cr 493 include/target/iscsi/iscsi_target_core.h struct iscsi_conn_recovery *cr; cr 1002 include/trace/events/ext4.h __field( __u8, cr ) cr 1025 include/trace/events/ext4.h __entry->cr = ac->ac_criteria; cr 1039 include/trace/events/ext4.h __entry->found, __entry->groups, __entry->cr, cr 54 include/uapi/linux/if_xdp.h struct xdp_ring_offset cr; /* Completion */ cr 58 net/bluetooth/rfcomm/core.c static int rfcomm_send_nsc(struct rfcomm_session *s, int cr, u8 type); cr 59 net/bluetooth/rfcomm/core.c static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d); cr 60 net/bluetooth/rfcomm/core.c static int rfcomm_send_msc(struct rfcomm_session *s, int cr, u8 dlci, u8 v24_sig); cr 61 net/bluetooth/rfcomm/core.c static int rfcomm_send_test(struct rfcomm_session *s, int cr, u8 *pattern, int len); cr 86 net/bluetooth/rfcomm/core.c #define __addr(cr, dlci) (((dlci & 0x3f) << 2) | (cr << 1) | 0x01) cr 96 net/bluetooth/rfcomm/core.c #define __mcc_type(cr, type) (((type << 2) | (cr << 1) | 0x01)) cr 892 net/bluetooth/rfcomm/core.c static int rfcomm_send_nsc(struct rfcomm_session *s, int cr, u8 type) cr 898 net/bluetooth/rfcomm/core.c BT_DBG("%p cr %d type %d", s, cr, type); cr 910 net/bluetooth/rfcomm/core.c *ptr = __mcc_type(cr, type); ptr++; cr 917 net/bluetooth/rfcomm/core.c static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d) cr 924 net/bluetooth/rfcomm/core.c BT_DBG("%p cr %d dlci %d mtu %d", s, cr, d->dlci, d->mtu); cr 932 net/bluetooth/rfcomm/core.c mcc->type = __mcc_type(cr, RFCOMM_PN); cr 942 net/bluetooth/rfcomm/core.c pn->flow_ctrl = cr ? 0xf0 : 0xe0; cr 949 net/bluetooth/rfcomm/core.c if (cr && channel_mtu >= 0) cr 959 net/bluetooth/rfcomm/core.c int rfcomm_send_rpn(struct rfcomm_session *s, int cr, u8 dlci, cr 971 net/bluetooth/rfcomm/core.c s, cr, dlci, bit_rate, data_bits, stop_bits, parity, cr 980 net/bluetooth/rfcomm/core.c mcc->type = __mcc_type(cr, RFCOMM_RPN); cr 997 net/bluetooth/rfcomm/core.c static int rfcomm_send_rls(struct rfcomm_session *s, int cr, u8 dlci, u8 status) cr 1004 net/bluetooth/rfcomm/core.c BT_DBG("%p cr %d status 0x%x", s, cr, status); cr 1012 net/bluetooth/rfcomm/core.c mcc->type = __mcc_type(cr, RFCOMM_RLS); cr 1024 net/bluetooth/rfcomm/core.c static int rfcomm_send_msc(struct rfcomm_session *s, int cr, u8 dlci, u8 v24_sig) cr 1031 net/bluetooth/rfcomm/core.c BT_DBG("%p cr %d v24 0x%x", s, cr, v24_sig); cr 1039 net/bluetooth/rfcomm/core.c mcc->type = __mcc_type(cr, RFCOMM_MSC); cr 1051 net/bluetooth/rfcomm/core.c static int rfcomm_send_fcoff(struct rfcomm_session *s, int cr) cr 1057 net/bluetooth/rfcomm/core.c BT_DBG("%p cr %d", s, cr); cr 1065 net/bluetooth/rfcomm/core.c mcc->type = __mcc_type(cr, RFCOMM_FCOFF); cr 1073 net/bluetooth/rfcomm/core.c static int rfcomm_send_fcon(struct rfcomm_session *s, int cr) cr 1079 net/bluetooth/rfcomm/core.c BT_DBG("%p cr %d", s, cr); cr 1087 net/bluetooth/rfcomm/core.c mcc->type = __mcc_type(cr, RFCOMM_FCON); cr 1095 net/bluetooth/rfcomm/core.c static int rfcomm_send_test(struct rfcomm_session *s, int cr, u8 *pattern, int len) cr 1105 net/bluetooth/rfcomm/core.c BT_DBG("%p cr %d", s, cr); cr 1110 net/bluetooth/rfcomm/core.c hdr[3] = 0x01 | ((cr & 0x01) << 1) | (RFCOMM_TEST << 2); cr 1366 net/bluetooth/rfcomm/core.c static int rfcomm_apply_pn(struct rfcomm_dlc *d, int cr, struct rfcomm_pn *pn) cr 1389 net/bluetooth/rfcomm/core.c if (cr && d->mtu > s->mtu) cr 1395 net/bluetooth/rfcomm/core.c static int rfcomm_recv_pn(struct rfcomm_session *s, int cr, struct sk_buff *skb) cr 1408 net/bluetooth/rfcomm/core.c if (cr) { cr 1410 net/bluetooth/rfcomm/core.c rfcomm_apply_pn(d, cr, pn); cr 1416 net/bluetooth/rfcomm/core.c rfcomm_apply_pn(d, cr, pn); cr 1426 net/bluetooth/rfcomm/core.c if (!cr) cr 1436 net/bluetooth/rfcomm/core.c rfcomm_apply_pn(d, cr, pn); cr 1447 net/bluetooth/rfcomm/core.c static int rfcomm_recv_rpn(struct rfcomm_session *s, int cr, int len, struct sk_buff *skb) cr 1462 net/bluetooth/rfcomm/core.c dlci, cr, len, rpn->bit_rate, rpn->line_settings, rpn->flow_ctrl, cr 1465 net/bluetooth/rfcomm/core.c if (!cr) cr 1553 net/bluetooth/rfcomm/core.c static int rfcomm_recv_rls(struct rfcomm_session *s, int cr, struct sk_buff *skb) cr 1558 net/bluetooth/rfcomm/core.c BT_DBG("dlci %d cr %d status 0x%x", dlci, cr, rls->status); cr 1560 net/bluetooth/rfcomm/core.c if (!cr) cr 1572 net/bluetooth/rfcomm/core.c static int rfcomm_recv_msc(struct rfcomm_session *s, int cr, struct sk_buff *skb) cr 1578 net/bluetooth/rfcomm/core.c BT_DBG("dlci %d cr %d v24 0x%x", dlci, cr, msc->v24_sig); cr 1584 net/bluetooth/rfcomm/core.c if (cr) { cr 1611 net/bluetooth/rfcomm/core.c u8 type, cr, len; cr 1613 net/bluetooth/rfcomm/core.c cr = __test_cr(mcc->type); cr 1617 net/bluetooth/rfcomm/core.c BT_DBG("%p type 0x%x cr %d", s, type, cr); cr 1623 net/bluetooth/rfcomm/core.c rfcomm_recv_pn(s, cr, skb); cr 1627 net/bluetooth/rfcomm/core.c rfcomm_recv_rpn(s, cr, len, skb); cr 1631 net/bluetooth/rfcomm/core.c rfcomm_recv_rls(s, cr, skb); cr 1635 net/bluetooth/rfcomm/core.c rfcomm_recv_msc(s, cr, skb); cr 1639 net/bluetooth/rfcomm/core.c if (cr) { cr 1646 net/bluetooth/rfcomm/core.c if (cr) { cr 1653 net/bluetooth/rfcomm/core.c if (cr) cr 1662 net/bluetooth/rfcomm/core.c rfcomm_send_nsc(s, cr, type); cr 325 net/lapb/lapb_in.c lapb_check_need_response(lapb, frame->cr, frame->pf); cr 344 net/lapb/lapb_in.c lapb_check_need_response(lapb, frame->cr, frame->pf); cr 363 net/lapb/lapb_in.c lapb_check_need_response(lapb, frame->cr, frame->pf); cr 122 net/lapb/lapb_subr.c frame->cr = LAPB_COMMAND; cr 124 net/lapb/lapb_subr.c frame->cr = LAPB_RESPONSE; cr 127 net/lapb/lapb_subr.c frame->cr = LAPB_COMMAND; cr 129 net/lapb/lapb_subr.c frame->cr = LAPB_RESPONSE; cr 134 net/lapb/lapb_subr.c frame->cr = LAPB_COMMAND; cr 136 net/lapb/lapb_subr.c frame->cr = LAPB_RESPONSE; cr 139 net/lapb/lapb_subr.c frame->cr = LAPB_COMMAND; cr 141 net/lapb/lapb_subr.c frame->cr = LAPB_RESPONSE; cr 275 net/lapb/lapb_subr.c if (lapb->frmr_data.cr == LAPB_RESPONSE) cr 289 net/lapb/lapb_subr.c if (lapb->frmr_data.cr == LAPB_RESPONSE) cr 335 net/sched/cls_tcindex.c struct tcf_result cr = {}; cr 398 net/sched/cls_tcindex.c cr = r->res; cr 470 net/sched/cls_tcindex.c cr.classid = nla_get_u32(tb[TCA_TCINDEX_CLASSID]); cr 471 net/sched/cls_tcindex.c tcf_bind_filter(tp, &cr, base); cr 483 net/sched/cls_tcindex.c r->res = cr; cr 1000 net/sunrpc/cache.c struct cache_request *cr = cr 1002 net/sunrpc/cache.c len = cr->len - rp->offset; cr 1075 net/sunrpc/cache.c struct cache_request *cr; cr 1082 net/sunrpc/cache.c cr = container_of(cq, struct cache_request, q); cr 1083 net/sunrpc/cache.c if (cr->item != ch) cr 1088 net/sunrpc/cache.c if (cr->readers != 0) cr 1090 net/sunrpc/cache.c list_move(&cr->q.list, &dequeued); cr 1094 net/sunrpc/cache.c cr = list_entry(dequeued.next, struct cache_request, q.list); cr 1095 net/sunrpc/cache.c list_del(&cr->q.list); cr 1096 net/sunrpc/cache.c cache_put(cr->item, detail); cr 1097 net/sunrpc/cache.c kfree(cr->buf); cr 1098 net/sunrpc/cache.c kfree(cr); cr 254 net/wireless/core.h struct cfg80211_connect_resp_params cr; cr 31 net/wireless/mlme.c struct cfg80211_connect_resp_params cr; cr 33 net/wireless/mlme.c memset(&cr, 0, sizeof(cr)); cr 34 net/wireless/mlme.c cr.status = (int)le16_to_cpu(mgmt->u.assoc_resp.status_code); cr 35 net/wireless/mlme.c cr.bssid = mgmt->bssid; cr 36 net/wireless/mlme.c cr.bss = bss; cr 37 net/wireless/mlme.c cr.req_ie = req_ies; cr 38 net/wireless/mlme.c cr.req_ie_len = req_ies_len; cr 39 net/wireless/mlme.c cr.resp_ie = mgmt->u.assoc_resp.variable; cr 40 net/wireless/mlme.c cr.resp_ie_len = cr 42 net/wireless/mlme.c cr.timeout_reason = NL80211_TIMEOUT_UNSPECIFIED; cr 52 net/wireless/mlme.c if (cfg80211_sme_rx_assoc_resp(wdev, cr.status)) { cr 61 net/wireless/mlme.c __cfg80211_connect_result(dev, &cr, cr.status == WLAN_STATUS_SUCCESS); cr 15224 net/wireless/nl80211.c struct cfg80211_connect_resp_params *cr, cr 15230 net/wireless/nl80211.c msg = nlmsg_new(100 + cr->req_ie_len + cr->resp_ie_len + cr 15231 net/wireless/nl80211.c cr->fils.kek_len + cr->fils.pmk_len + cr 15232 net/wireless/nl80211.c (cr->fils.pmkid ? WLAN_PMKID_LEN : 0), gfp); cr 15244 net/wireless/nl80211.c (cr->bssid && cr 15245 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, cr->bssid)) || cr 15247 net/wireless/nl80211.c cr->status < 0 ? WLAN_STATUS_UNSPECIFIED_FAILURE : cr 15248 net/wireless/nl80211.c cr->status) || cr 15249 net/wireless/nl80211.c (cr->status < 0 && cr 15252 net/wireless/nl80211.c cr->timeout_reason))) || cr 15253 net/wireless/nl80211.c (cr->req_ie && cr 15254 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_REQ_IE, cr->req_ie_len, cr->req_ie)) || cr 15255 net/wireless/nl80211.c (cr->resp_ie && cr 15256 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_RESP_IE, cr->resp_ie_len, cr 15257 net/wireless/nl80211.c cr->resp_ie)) || cr 15258 net/wireless/nl80211.c (cr->fils.update_erp_next_seq_num && cr 15260 net/wireless/nl80211.c cr->fils.erp_next_seq_num)) || cr 15261 net/wireless/nl80211.c (cr->status == WLAN_STATUS_SUCCESS && cr 15262 net/wireless/nl80211.c ((cr->fils.kek && cr 15263 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_FILS_KEK, cr->fils.kek_len, cr 15264 net/wireless/nl80211.c cr->fils.kek)) || cr 15265 net/wireless/nl80211.c (cr->fils.pmk && cr 15266 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_PMK, cr->fils.pmk_len, cr->fils.pmk)) || cr 15267 net/wireless/nl80211.c (cr->fils.pmkid && cr 15268 net/wireless/nl80211.c nla_put(msg, NL80211_ATTR_PMKID, WLAN_PMKID_LEN, cr->fils.pmkid))))) cr 1912 net/wireless/reg.c const struct ieee80211_regdomain *cr = get_cfg80211_regdom(); cr 1916 net/wireless/reg.c if (is_world_regdom(cr->alpha2) || (wr && is_world_regdom(wr->alpha2))) cr 258 net/wireless/sme.c struct cfg80211_connect_resp_params cr; cr 260 net/wireless/sme.c memset(&cr, 0, sizeof(cr)); cr 261 net/wireless/sme.c cr.status = -1; cr 262 net/wireless/sme.c cr.bssid = bssid; cr 263 net/wireless/sme.c cr.timeout_reason = treason; cr 264 net/wireless/sme.c __cfg80211_connect_result(wdev->netdev, &cr, false); cr 367 net/wireless/sme.c struct cfg80211_connect_resp_params cr; cr 369 net/wireless/sme.c memset(&cr, 0, sizeof(cr)); cr 370 net/wireless/sme.c cr.status = status_code; cr 371 net/wireless/sme.c cr.bssid = mgmt->bssid; cr 372 net/wireless/sme.c cr.timeout_reason = NL80211_TIMEOUT_UNSPECIFIED; cr 373 net/wireless/sme.c __cfg80211_connect_result(wdev->netdev, &cr, false); cr 680 net/wireless/sme.c struct cfg80211_connect_resp_params *cr, cr 693 net/wireless/sme.c cfg80211_put_bss(wdev->wiphy, cr->bss); cr 697 net/wireless/sme.c nl80211_send_connect_result(wiphy_to_rdev(wdev->wiphy), dev, cr, cr 702 net/wireless/sme.c if (cr->req_ie && cr->status == WLAN_STATUS_SUCCESS) { cr 704 net/wireless/sme.c wrqu.data.length = cr->req_ie_len; cr 706 net/wireless/sme.c cr->req_ie); cr 709 net/wireless/sme.c if (cr->resp_ie && cr->status == WLAN_STATUS_SUCCESS) { cr 711 net/wireless/sme.c wrqu.data.length = cr->resp_ie_len; cr 713 net/wireless/sme.c cr->resp_ie); cr 718 net/wireless/sme.c if (cr->bssid && cr->status == WLAN_STATUS_SUCCESS) { cr 719 net/wireless/sme.c memcpy(wrqu.ap_addr.sa_data, cr->bssid, ETH_ALEN); cr 720 net/wireless/sme.c memcpy(wdev->wext.prev_bssid, cr->bssid, ETH_ALEN); cr 727 net/wireless/sme.c if (!cr->bss && (cr->status == WLAN_STATUS_SUCCESS)) { cr 729 net/wireless/sme.c cr->bss = cfg80211_get_bss(wdev->wiphy, NULL, cr->bssid, cr 733 net/wireless/sme.c if (cr->bss) cr 734 net/wireless/sme.c cfg80211_hold_bss(bss_from_pub(cr->bss)); cr 743 net/wireless/sme.c if (cr->status != WLAN_STATUS_SUCCESS) { cr 748 net/wireless/sme.c if (cr->bss) { cr 749 net/wireless/sme.c cfg80211_unhold_bss(bss_from_pub(cr->bss)); cr 750 net/wireless/sme.c cfg80211_put_bss(wdev->wiphy, cr->bss); cr 756 net/wireless/sme.c if (WARN_ON(!cr->bss)) cr 759 net/wireless/sme.c wdev->current_bss = bss_from_pub(cr->bss); cr 765 net/wireless/sme.c country_ie = ieee80211_bss_get_ie(cr->bss, WLAN_EID_COUNTRY); cr 782 net/wireless/sme.c regulatory_hint_country_ie(wdev->wiphy, cr->bss->channel->band, cr 844 net/wireless/sme.c ev->cr.bssid = next; cr 845 net/wireless/sme.c memcpy((void *)ev->cr.bssid, params->bssid, ETH_ALEN); cr 849 net/wireless/sme.c ev->cr.req_ie = next; cr 850 net/wireless/sme.c ev->cr.req_ie_len = params->req_ie_len; cr 851 net/wireless/sme.c memcpy((void *)ev->cr.req_ie, params->req_ie, cr 856 net/wireless/sme.c ev->cr.resp_ie = next; cr 857 net/wireless/sme.c ev->cr.resp_ie_len = params->resp_ie_len; cr 858 net/wireless/sme.c memcpy((void *)ev->cr.resp_ie, params->resp_ie, cr 863 net/wireless/sme.c ev->cr.fils.kek = next; cr 864 net/wireless/sme.c ev->cr.fils.kek_len = params->fils.kek_len; cr 865 net/wireless/sme.c memcpy((void *)ev->cr.fils.kek, params->fils.kek, cr 870 net/wireless/sme.c ev->cr.fils.pmk = next; cr 871 net/wireless/sme.c ev->cr.fils.pmk_len = params->fils.pmk_len; cr 872 net/wireless/sme.c memcpy((void *)ev->cr.fils.pmk, params->fils.pmk, cr 877 net/wireless/sme.c ev->cr.fils.pmkid = next; cr 878 net/wireless/sme.c memcpy((void *)ev->cr.fils.pmkid, params->fils.pmkid, cr 882 net/wireless/sme.c ev->cr.fils.update_erp_next_seq_num = params->fils.update_erp_next_seq_num; cr 884 net/wireless/sme.c ev->cr.fils.erp_next_seq_num = params->fils.erp_next_seq_num; cr 887 net/wireless/sme.c ev->cr.bss = params->bss; cr 888 net/wireless/sme.c ev->cr.status = params->status; cr 889 net/wireless/sme.c ev->cr.timeout_reason = params->timeout_reason; cr 872 net/wireless/util.c &ev->cr, cr 873 net/wireless/util.c ev->cr.status == WLAN_STATUS_SUCCESS); cr 906 net/xdp/xsk.c &off.cr); cr 913 net/xdp/xsk.c off.cr.flags = offsetof(struct xdp_umem_ring, cr 922 net/xdp/xsk.c xsk_enter_umem_offsets(&off_v1.cr); cr 17 net/xdp/xsk.h struct xdp_ring_offset_v1 cr; cr 62 samples/vfio-mdev/mdpy-fb.c u32 cr = red >> (16 - info->var.red.length); cr 70 samples/vfio-mdev/mdpy-fb.c value = (cr << info->var.red.offset) | cr 230 sound/arm/aaci.c if (!(aacirun->cr & CR_EN)) cr 290 sound/arm/aaci.c if (!(aacirun->cr & CR_EN)) cr 461 sound/arm/aaci.c WARN_ON(aacirun->cr & CR_EN); cr 480 sound/arm/aaci.c WARN_ON(aacirun->cr & CR_EN); cr 529 sound/arm/aaci.c aacirun->cr = CR_FEN | CR_COMPACT | CR_SZ16; cr 530 sound/arm/aaci.c aacirun->cr |= channels_to_slotmask[channels + dbl * 2]; cr 577 sound/arm/aaci.c aacirun->cr &= ~CR_EN; cr 579 sound/arm/aaci.c writel(aacirun->cr, aacirun->base + AACI_TXCR); cr 587 sound/arm/aaci.c aacirun->cr |= CR_EN; cr 592 sound/arm/aaci.c writel(aacirun->cr, aacirun->base + AACI_TXCR); cr 656 sound/arm/aaci.c aacirun->cr &= ~CR_EN; cr 658 sound/arm/aaci.c writel(aacirun->cr, aacirun->base + AACI_RXCR); cr 669 sound/arm/aaci.c aacirun->cr |= 0xf << 17; cr 672 sound/arm/aaci.c aacirun->cr |= CR_EN; cr 673 sound/arm/aaci.c writel(aacirun->cr, aacirun->base + AACI_RXCR); cr 207 sound/arm/aaci.h u32 cr; cr 560 sound/pci/au88x0/au88x0_core.c unsigned int cr, unsigned int b, int sweep, int d, cr 588 sound/pci/au88x0/au88x0_core.c if ((cr & 0x10000) && (cr != 0x10000)) { cr 590 sound/pci/au88x0/au88x0_core.c esi = 0x11 - ((cr >> 0xe) & 7); cr 591 sound/pci/au88x0/au88x0_core.c if (cr & 0x3fff) cr 619 sound/pci/au88x0/au88x0_core.c vortex_src_persist_convratio(card, src, cr); cr 471 sound/soc/atmel/atmel-i2s.c unsigned int cr, mr; cr 478 sound/soc/atmel/atmel-i2s.c cr = is_playback ? ATMEL_I2SC_CR_TXEN : ATMEL_I2SC_CR_RXEN; cr 484 sound/soc/atmel/atmel-i2s.c cr = is_playback ? ATMEL_I2SC_CR_TXDIS : ATMEL_I2SC_CR_RXDIS; cr 503 sound/soc/atmel/atmel-i2s.c err = regmap_write(dev->regmap, ATMEL_I2SC_CR, cr); cr 796 sound/soc/atmel/atmel_ssc_dai.c u32 cr; cr 814 sound/soc/atmel/atmel_ssc_dai.c cr = 0; cr 815 sound/soc/atmel/atmel_ssc_dai.c cr |= cr 817 sound/soc/atmel/atmel_ssc_dai.c cr |= cr 819 sound/soc/atmel/atmel_ssc_dai.c ssc_writel(ssc_p->ssc->regs, CR, cr); cr 739 sound/soc/atmel/mchp-i2s-mcc.c u32 cr = 0; cr 749 sound/soc/atmel/mchp-i2s-mcc.c cr = MCHP_I2SMCC_CR_TXEN | MCHP_I2SMCC_CR_CKEN; cr 751 sound/soc/atmel/mchp-i2s-mcc.c cr = MCHP_I2SMCC_CR_RXEN | MCHP_I2SMCC_CR_CKEN; cr 758 sound/soc/atmel/mchp-i2s-mcc.c cr = MCHP_I2SMCC_CR_TXDIS; cr 766 sound/soc/atmel/mchp-i2s-mcc.c cr = MCHP_I2SMCC_CR_RXDIS; cr 779 sound/soc/atmel/mchp-i2s-mcc.c if ((cr & MCHP_I2SMCC_CR_CKEN) && dev->gclk_use && cr 791 sound/soc/atmel/mchp-i2s-mcc.c regmap_write(dev->regmap, MCHP_I2SMCC_CR, cr); cr 201 sound/soc/sh/rcar/src.c u32 cr, route; cr 254 sound/soc/sh/rcar/src.c cr = 0x00011110; cr 260 sound/soc/sh/rcar/src.c cr |= 0x1; cr 329 sound/soc/sh/rcar/src.c rsnd_mod_write(mod, SRC_SRCCR, cr); cr 580 sound/soc/sh/rcar/ssi.c u32 cr; cr 588 sound/soc/sh/rcar/ssi.c cr = ssi->cr_own | cr 597 sound/soc/sh/rcar/ssi.c rsnd_mod_write(mod, SSICR, cr | ssi->cr_en); cr 611 sound/soc/sh/rcar/ssi.c rsnd_mod_write(mod, SSICR, cr); /* disabled all */ cr 323 sound/soc/stm/stm32_spdifrx.c int cr, cr_mask, imr, ret; cr 336 sound/soc/stm/stm32_spdifrx.c regmap_read(spdifrx->regmap, STM32_SPDIFRX_CR, &cr); cr 338 sound/soc/stm/stm32_spdifrx.c if (!(cr & SPDIFRX_CR_SPDIFEN_MASK)) { cr 352 sound/soc/stm/stm32_spdifrx.c cr = SPDIFRX_CR_WFA | SPDIFRX_CR_PMSK | SPDIFRX_CR_VMSK | cr 354 sound/soc/stm/stm32_spdifrx.c cr_mask = cr; cr 356 sound/soc/stm/stm32_spdifrx.c cr |= SPDIFRX_CR_SPDIFENSET(SPDIFRX_SPDIFEN_SYNC); cr 359 sound/soc/stm/stm32_spdifrx.c cr_mask, cr); cr 372 sound/soc/stm/stm32_spdifrx.c int cr, cr_mask, reg; cr 382 sound/soc/stm/stm32_spdifrx.c cr = SPDIFRX_CR_SPDIFENSET(SPDIFRX_SPDIFEN_DISABLE); cr 385 sound/soc/stm/stm32_spdifrx.c regmap_update_bits(spdifrx->regmap, STM32_SPDIFRX_CR, cr_mask, cr); cr 667 sound/soc/stm/stm32_spdifrx.c unsigned int cr, mask, sr, imr; cr 707 sound/soc/stm/stm32_spdifrx.c cr = SPDIFRX_CR_SPDIFENSET(SPDIFRX_SPDIFEN_ENABLE); cr 709 sound/soc/stm/stm32_spdifrx.c SPDIFRX_CR_SPDIFEN_MASK, cr); cr 729 sound/soc/stm/stm32_spdifrx.c cr = SPDIFRX_CR_SPDIFENSET(SPDIFRX_SPDIFEN_DISABLE); cr 731 sound/soc/stm/stm32_spdifrx.c SPDIFRX_CR_SPDIFEN_MASK, cr); cr 38 tools/arch/powerpc/include/uapi/asm/kvm.h __u64 cr; cr 306 tools/arch/s390/include/uapi/asm/ptrace.h unsigned long cr[NUM_CR_WORDS]; cr 54 tools/include/uapi/linux/if_xdp.h struct xdp_ring_offset cr; /* Completion */ cr 88 tools/lib/bpf/xsk.c struct xdp_ring_offset_v1 cr; cr 176 tools/lib/bpf/xsk.c off->cr.producer = off_v1.cr.producer; cr 177 tools/lib/bpf/xsk.c off->cr.consumer = off_v1.cr.consumer; cr 178 tools/lib/bpf/xsk.c off->cr.desc = off_v1.cr.desc; cr 179 tools/lib/bpf/xsk.c off->cr.flags = off_v1.cr.consumer + sizeof(__u32); cr 282 tools/lib/bpf/xsk.c map = mmap(NULL, off.cr.desc + umem->config.comp_size * sizeof(__u64), cr 293 tools/lib/bpf/xsk.c comp->producer = map + off.cr.producer; cr 294 tools/lib/bpf/xsk.c comp->consumer = map + off.cr.consumer; cr 295 tools/lib/bpf/xsk.c comp->flags = map + off.cr.flags; cr 296 tools/lib/bpf/xsk.c comp->ring = map + off.cr.desc; cr 723 tools/lib/bpf/xsk.c munmap(umem->comp->ring - off.cr.desc, cr 724 tools/lib/bpf/xsk.c off.cr.desc + umem->config.comp_size * sizeof(__u64)); cr 500 tools/perf/util/db-export.c int db_export__call_return(struct db_export *dbe, struct call_return *cr, cr 505 tools/perf/util/db-export.c err = db_export__call_path(dbe, cr->cp); cr 509 tools/perf/util/db-export.c if (!cr->db_id) cr 510 tools/perf/util/db-export.c cr->db_id = ++dbe->call_return_last_db_id; cr 515 tools/perf/util/db-export.c cr->parent_db_id = *parent_db_id; cr 519 tools/perf/util/db-export.c return dbe->export_call_return(dbe, cr); cr 59 tools/perf/util/db-export.h struct call_return *cr); cr 105 tools/perf/util/db-export.h int db_export__call_return(struct db_export *dbe, struct call_return *cr, cr 1211 tools/perf/util/scripting-engines/trace-event-python.c struct call_return *cr) cr 1214 tools/perf/util/scripting-engines/trace-event-python.c u64 comm_db_id = cr->comm ? cr->comm->db_id : 0; cr 1219 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 0, cr->db_id); cr 1220 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 1, cr->thread->db_id); cr 1222 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 3, cr->cp->db_id); cr 1223 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 4, cr->call_time); cr 1224 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 5, cr->return_time); cr 1225 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 6, cr->branch_count); cr 1226 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 7, cr->call_ref); cr 1227 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 8, cr->return_ref); cr 1228 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 9, cr->cp->parent->db_id); cr 1229 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_s32(t, 10, cr->flags); cr 1230 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 11, cr->parent_db_id); cr 1231 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 12, cr->insn_count); cr 1232 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 13, cr->cyc_count); cr 1269 tools/perf/util/scripting-engines/trace-event-python.c static int python_process_call_return(struct call_return *cr, u64 *parent_db_id, cr 1274 tools/perf/util/scripting-engines/trace-event-python.c return db_export__call_return(dbe, cr, parent_db_id); cr 281 tools/perf/util/thread-stack.c struct call_return cr = { cr 289 tools/perf/util/thread-stack.c cr.cp = tse->cp; cr 290 tools/perf/util/thread-stack.c cr.call_time = tse->timestamp; cr 291 tools/perf/util/thread-stack.c cr.return_time = timestamp; cr 292 tools/perf/util/thread-stack.c cr.branch_count = ts->branch_count - tse->branch_count; cr 293 tools/perf/util/thread-stack.c cr.insn_count = ts->insn_count - tse->insn_count; cr 294 tools/perf/util/thread-stack.c cr.cyc_count = ts->cyc_count - tse->cyc_count; cr 295 tools/perf/util/thread-stack.c cr.db_id = tse->db_id; cr 296 tools/perf/util/thread-stack.c cr.call_ref = tse->ref; cr 297 tools/perf/util/thread-stack.c cr.return_ref = ref; cr 299 tools/perf/util/thread-stack.c cr.flags |= CALL_RETURN_NO_CALL; cr 301 tools/perf/util/thread-stack.c cr.flags |= CALL_RETURN_NO_RETURN; cr 303 tools/perf/util/thread-stack.c cr.flags |= CALL_RETURN_NON_CALL; cr 312 tools/perf/util/thread-stack.c return crp->process(&cr, parent_db_id, crp->data); cr 501 tools/perf/util/thread-stack.c call_return_processor__new(int (*process)(struct call_return *cr, u64 *parent_db_id, void *data), cr 79 tools/perf/util/thread-stack.h int (*process)(struct call_return *cr, u64 *parent_db_id, void *data); cr 93 tools/perf/util/thread-stack.h call_return_processor__new(int (*process)(struct call_return *cr, u64 *parent_db_id, void *data), cr 40 tools/testing/selftests/powerpc/include/instructions.h int cr; cr 44 tools/testing/selftests/powerpc/include/instructions.h : "=r" (cr) cr 48 tools/testing/selftests/powerpc/include/instructions.h return cr; cr 53 tools/testing/selftests/powerpc/include/instructions.h int cr; cr 57 tools/testing/selftests/powerpc/include/instructions.h : "=r" (cr) cr 61 tools/testing/selftests/powerpc/include/instructions.h return cr; cr 72 tools/testing/selftests/powerpc/tm/tm.h long cr; cr 73 tools/testing/selftests/powerpc/tm/tm.h asm volatile ("tcheck 0" : "=r"(cr) : : "cr0"); cr 74 tools/testing/selftests/powerpc/tm/tm.h return (cr >> 28) & 4;