Home
last modified time | relevance | path

Searched refs:rval (Results 1 – 12 of 12) sorted by relevance

/arch/powerpc/include/asm/
Dreg.h710 #define mfmsr() ({unsigned long rval; \
711 asm volatile("mfmsr %0" : "=r" (rval)); rval;})
721 #define mfspr(rn) ({unsigned long rval; \
723 : "=r" (rval)); rval;})
728 #define mftb() ({unsigned long rval; \
744 : "=r" (rval) : "i" (CPU_FTR_CELL_TB_BUG)); rval;})
746 #define mftb() ({unsigned long rval; \
747 asm volatile("mftb %0" : "=r" (rval)); rval;})
752 #define mftbl() ({unsigned long rval; \
753 asm volatile("mftbl %0" : "=r" (rval)); rval;})
[all …]
Dreg_fsl_emb.h11 #define mfpmr(rn) ({unsigned int rval; \
13 : "=r" (rval)); rval;})
Ddcr-native.h65 ({unsigned int rval; \
68 : "=r" (rval)); \
70 rval = mfdcrx(rn); \
72 rval = __mfdcr(rn); \
73 rval;})
/arch/powerpc/boot/
Dreg.h22 #define mfspr(rn) ({unsigned long rval; \
24 : "=r" (rval)); rval; })
Ddcr.h6 unsigned long rval; \
7 asm volatile("mfdcr %0,%1" : "=r"(rval) : "i"(rn)); \
8 rval; \
/arch/powerpc/platforms/52xx/
Defika.c42 int rval; in rtas_read_config() local
44 rval = rtas_call(rtas_token("read-pci-config"), 2, 2, &ret, addr, len); in rtas_read_config()
46 return rval ? PCIBIOS_DEVICE_NOT_FOUND : PCIBIOS_SUCCESSFUL; in rtas_read_config()
56 int rval; in rtas_write_config() local
58 rval = rtas_call(rtas_token("write-pci-config"), 3, 1, NULL, in rtas_write_config()
60 return rval ? PCIBIOS_DEVICE_NOT_FOUND : PCIBIOS_SUCCESSFUL; in rtas_write_config()
/arch/powerpc/platforms/chrp/
Dpci.c104 int rval; in rtas_read_config() local
106 rval = rtas_call(rtas_token("read-pci-config"), 2, 2, &ret, addr, len); in rtas_read_config()
108 return rval? PCIBIOS_DEVICE_NOT_FOUND: PCIBIOS_SUCCESSFUL; in rtas_read_config()
118 int rval; in rtas_write_config() local
120 rval = rtas_call(rtas_token("write-pci-config"), 3, 1, NULL, in rtas_write_config()
122 return rval? PCIBIOS_DEVICE_NOT_FOUND: PCIBIOS_SUCCESSFUL; in rtas_write_config()
/arch/sparc/kernel/
Dprocess_64.c399 unsigned long fp, distance, rval; in clone_stackframe() local
416 rval = (csp - distance); in clone_stackframe()
417 if (copy_in_user((void __user *) rval, (void __user *) psp, distance)) in clone_stackframe()
418 rval = 0; in clone_stackframe()
421 &(((struct reg_window32 __user *)rval)->ins[6]))) in clone_stackframe()
422 rval = 0; in clone_stackframe()
425 &(((struct reg_window __user *)rval)->ins[6]))) in clone_stackframe()
426 rval = 0; in clone_stackframe()
428 rval = rval - STACK_BIAS; in clone_stackframe()
431 return rval; in clone_stackframe()
/arch/arm/nwfpe/
Dfpmodule.inl67 unsigned long rval; local
72 rval = regs->ARM_cpsr & ~CC_MASK;
73 regs->ARM_cpsr = rval | (val & CC_MASK);
/arch/ia64/kernel/
Dunwind.c1406 unsigned long val, rval; in compile_reg() local
1414 val = rval = r->val; in compile_reg()
1419 if (rval >= 32) { in compile_reg()
1421 val = rval - 32; in compile_reg()
1422 } else if (rval >= 4 && rval <= 7) { in compile_reg()
1427 val = unw.preg_index[UNW_REG_R4 + (rval - 4)]; in compile_reg()
1428 } else if (rval == 0) { in compile_reg()
1434 val = pt_regs_off(rval); in compile_reg()
1439 if (rval <= 5) in compile_reg()
1440 val = unw.preg_index[UNW_REG_F2 + (rval - 2)]; in compile_reg()
[all …]
/arch/powerpc/platforms/cell/spufs/
Dsched.c180 int rval; in node_allowed() local
183 rval = __node_allowed(ctx, node); in node_allowed()
186 return rval; in node_allowed()
/arch/ia64/hp/common/
Dsba_iommu.c355 u64 rval; in sba_check_pdir() local
358 rval = *rptr; in sba_check_pdir()
364 if ((rval & 0x1) ^ pde) in sba_check_pdir()
374 rval >>= 1; /* try the next bit */ in sba_check_pdir()