Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 25 of 62) sorted by relevance

123

/arch/x86/lib/
Dmsr-smp.c10 struct msr_info *rv = info; in __rdmsr_on_cpu() local
14 if (rv->msrs) in __rdmsr_on_cpu()
15 reg = per_cpu_ptr(rv->msrs, this_cpu); in __rdmsr_on_cpu()
17 reg = &rv->reg; in __rdmsr_on_cpu()
19 rdmsr(rv->msr_no, reg->l, reg->h); in __rdmsr_on_cpu()
24 struct msr_info *rv = info; in __wrmsr_on_cpu() local
28 if (rv->msrs) in __wrmsr_on_cpu()
29 reg = per_cpu_ptr(rv->msrs, this_cpu); in __wrmsr_on_cpu()
31 reg = &rv->reg; in __wrmsr_on_cpu()
33 wrmsr(rv->msr_no, reg->l, reg->h); in __wrmsr_on_cpu()
[all …]
/arch/arm/include/debug/
Dbrcmstb.S42 #define checkuart(rp, rv, family_id, family) \ argument
46 cmp rp, rv ; \
52 .macro addruart, rp, rv, tmp
54 ldr \rv, [\rp] @ linked addr is stored there
55 sub \rv, \rv, \rp @ offset between the two
57 sub \tmp, \rp, \rv @ actual brcmstb_uart_config
61 mov \rv, #0 @ yes; record init is done
62 str \rv, [\tmp]
65 mrc p15, 0, \rv, c0, c0, 0 @ get Main ID register
67 and \rv, \rv, \rp
[all …]
Dtegra.S45 #define checkuart(rp, rv, lhu, bit, uart) \ argument
67 .macro addruart, rp, rv, tmp
69 ldr \rv, [\rp] @ linked addr is stored there
70 sub \rv, \rv, \rp @ offset between the two
72 sub \tmp, \rp, \rv @ actual tegra_uart_config
76 mov \rv, #0 @ yes; record init is done
77 str \rv, [\tmp]
83 lsr \rv, \rp, #18 @ 19:18 are console type
84 and \rv, \rv, #3
85 cmp \rv, #2 @ 2 and 3 mean DCC, UART
[all …]
Domap2plus.S27 .macro addruart, rp, rv, tmp
31 ldr \rv, [\rp] @ get absolute addr of 99f
32 sub \rv, \rv, \rp @ offset between the two
34 sub \tmp, \rp, \rv @ make it effective
36 ldr \rv, [\tmp, #4] @ omap_uart_virt
38 cmpne \rv, #0
60 add \rv, \rv, \tmp
Dsa1100.S17 .macro addruart, rp, rv, tmp
29 ldr \rv, [\rp, #UTCR3]
30 tst \rv, #UTCR3_TXE
34 ldreq \rv, [\rp, #UTCR3]
35 tsteq \rv, #UTCR3_TXE
39 ldreq \rv, [\rp, #UTCR3]
40 tsteq \rv, #UTCR3_TXE
45 orr \rv, \rp, #0xf8000000 @ virtual
Dvexpress.S22 .macro addruart,rp,rv,tmp
31 movw \rv, #0xc091
32 movt \rv, #0x410f
33 cmp \rp, \rv
37 orreq \rv, \rp, #DEBUG_LL_VIRT_BASE
42 orrne \rv, \rp, #DEBUG_LL_VIRT_BASE
Ds5pv210.S19 .macro addruart, rp, rv, tmp
21 ldr \rv, =S3C_VA_UART
24 add \rv, \rv, #(0x400 * CONFIG_DEBUG_S3C_UART)
Dexynos.S20 .macro addruart, rp, rv, tmp
30 ldr \rv, =S3C_VA_UART
33 add \rv, \rv, #(0x10000 * CONFIG_DEBUG_S3C_UART)
Dvf.S16 .macro addruart, rp, rv, tmp
18 and \rv, \rp, #0xffffff @ offset within 16MB section
19 add \rv, \rv, #VF_UART_VIRTUAL_BASE
Ds3c24xx.S16 .macro addruart, rp, rv, tmp
18 ldr \rv, = CONFIG_DEBUG_UART_VIRT
Dux500.S34 .macro addruart, rp, rv, tmp
36 ldr \rv, =UART_VIRT_BASE @ yes, virtual address
Dasm9260.S9 .macro addruart, rp, rv, tmp
11 ldr \rv, = CONFIG_DEBUG_UART_VIRT
Ddigicolor.S14 .macro addruart, rp, rv, tmp
16 ldr \rv, =CONFIG_DEBUG_UART_VIRT
Dvt8500.S15 .macro addruart, rp, rv, tmp
17 orr \rv, \rp, #DEBUG_LL_VIRT_BASE
Dbcm63xx.S10 .macro addruart, rp, rv, tmp
12 ldr \rv, =CONFIG_DEBUG_UART_VIRT
Dclps711x.S18 .macro addruart, rp, rv, tmp
19 ldr \rv, =CLPS711X_UART_VADDR
/arch/x86/mm/
Dpf_in.c122 rv = type; \
133 enum reason_type rv = OTHERS; in get_ins_type() local
144 return rv; in get_ins_type()
238 unsigned char *rv = NULL; in get_reg_w8() local
242 rv = (unsigned char *)&regs->ax; in get_reg_w8()
245 rv = (unsigned char *)&regs->bx; in get_reg_w8()
248 rv = (unsigned char *)&regs->cx; in get_reg_w8()
251 rv = (unsigned char *)&regs->dx; in get_reg_w8()
255 rv = (unsigned char *)&regs->r8; in get_reg_w8()
258 rv = (unsigned char *)&regs->r9; in get_reg_w8()
[all …]
/arch/ia64/kernel/
Dbrl_emu.c61 struct illegal_op_return rv; in ia64_emulate_brl() local
64 rv.fkt = (unsigned long) -1; in ia64_emulate_brl()
71 return rv; in ia64_emulate_brl()
76 if (ia64_psr(regs)->ri != 1) return rv; in ia64_emulate_brl()
79 if ((bundle[0] & 0x1e) != 0x4) return rv; in ia64_emulate_brl()
97 if (btype != 0) return rv; in ia64_emulate_brl()
98 rv.fkt = 0; in ia64_emulate_brl()
106 return rv; in ia64_emulate_brl()
114 rv.fkt = 0; in ia64_emulate_brl()
122 return rv; in ia64_emulate_brl()
[all …]
/arch/ia64/include/asm/sn/
Dsn_sal.h52 struct ia64_sal_retval rv; in sn_partition_reserved_page_pa() local
53 ia64_sal_oemcall_reentrant(&rv, SN_SAL_GET_PARTITION_ADDR, *cookie, in sn_partition_reserved_page_pa()
55 *cookie = rv.v0; in sn_partition_reserved_page_pa()
56 *addr = rv.v1; in sn_partition_reserved_page_pa()
57 *len = rv.v2; in sn_partition_reserved_page_pa()
58 return rv.status; in sn_partition_reserved_page_pa()
95 struct ia64_sal_retval rv; in sn_mq_watchlist_alloc() local
107 ia64_sal_oemcall_nolock(&rv, SN_SAL_WATCHLIST_ALLOC, addr, in sn_mq_watchlist_alloc()
110 if (rv.status < 0) in sn_mq_watchlist_alloc()
111 return rv.status; in sn_mq_watchlist_alloc()
[all …]
/arch/powerpc/platforms/pseries/
Dreconfig.c200 int length, rv = 0; in do_add_node() local
222 rv = -ENOMEM; in do_add_node()
228 rv = -EINVAL; in do_add_node()
232 rv = pSeries_reconfig_add_node(path, prop); in do_add_node()
235 if (rv) in do_add_node()
237 return rv; in do_add_node()
243 int rv = -ENODEV; in do_remove_node() local
246 rv = pSeries_reconfig_remove_node(node); in do_remove_node()
249 return rv; in do_remove_node()
361 int rv; in ofdt_write() local
[all …]
/arch/x86/boot/
Dstring.c262 unsigned int rv; in _parse_integer() local
265 rv = 0; in _parse_integer()
286 rv |= KSTRTOX_OVERFLOW; in _parse_integer()
289 rv++; in _parse_integer()
293 return rv; in _parse_integer()
299 unsigned int rv; in _kstrtoull() local
302 rv = _parse_integer(s, base, &_res); in _kstrtoull()
303 if (rv & KSTRTOX_OVERFLOW) in _kstrtoull()
305 if (rv == 0) in _kstrtoull()
307 s += rv; in _kstrtoull()
Dvideo-mode.c147 int rv; in set_mode() local
158 rv = raw_set_mode(mode, &real_mode); in set_mode()
159 if (rv) in set_mode()
160 return rv; in set_mode()
/arch/um/drivers/
Dvde_user.c99 int rv; in vde_user_read() local
104 rv = vde_recv(vconn, buf, len, 0); in vde_user_read()
105 if (rv < 0) { in vde_user_read()
110 else if (rv == 0) in vde_user_read()
113 return rv; in vde_user_read()
/arch/mips/math-emu/
Dcp1emu.c1671 } rv; /* resulting value */ in fpu_emu() local
1740 SPFROMREG(rv.s, MIPSInst_FS(ir)); in fpu_emu()
1749 SPFROMREG(rv.s, MIPSInst_FS(ir)); in fpu_emu()
1758 SPFROMREG(rv.s, MIPSInst_FS(ir)); in fpu_emu()
1766 SPFROMREG(rv.s, MIPSInst_FT(ir)); in fpu_emu()
1767 if (rv.w & 0x1) in fpu_emu()
1768 rv.w = 0; in fpu_emu()
1770 SPFROMREG(rv.s, MIPSInst_FS(ir)); in fpu_emu()
1778 SPFROMREG(rv.s, MIPSInst_FT(ir)); in fpu_emu()
1779 if (rv.w & 0x1) in fpu_emu()
[all …]
/arch/powerpc/xmon/
Dnonstdio.c40 int rv = 0; in xmon_write() local
45 return rv; in xmon_write()
52 rv += udbg_write(p, q - p + 1); in xmon_write()
80 return rv + udbg_write(p, nb - (p - ptr)); in xmon_write()

123