Home
last modified time | relevance | path

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

12345678910>>...22

/openbmc/linux/arch/x86/lib/
H A Dmsr-smp.c41 memset(&rv, 0, sizeof(rv)); in rdmsr_on_cpu()
57 memset(&rv, 0, sizeof(rv)); in rdmsrl_on_cpu()
72 memset(&rv, 0, sizeof(rv)); in wrmsr_on_cpu()
88 memset(&rv, 0, sizeof(rv)); in wrmsrl_on_cpu()
106 memset(&rv, 0, sizeof(rv)); in __rwmsr_on_cpus()
158 rv->msr.err = rdmsr_safe(rv->msr.msr_no, &rv->msr.reg.l, &rv->msr.reg.h); in __rdmsr_safe_on_cpu()
166 rv->err = wrmsr_safe(rv->msr_no, rv->reg.l, rv->reg.h); in __wrmsr_safe_on_cpu()
177 memset(&rv, 0, sizeof(rv)); in rdmsr_safe_on_cpu()
198 memset(&rv, 0, sizeof(rv)); in wrmsr_safe_on_cpu()
214 memset(&rv, 0, sizeof(rv)); in wrmsrl_safe_on_cpu()
[all …]
/openbmc/linux/drivers/char/ipmi/
H A Dipmi_si_hotmod.c107 int rv; in parse_hotmod_str() local
112 if (rv) in parse_hotmod_str()
113 return rv; in parse_hotmod_str()
117 if (rv) in parse_hotmod_str()
118 return rv; in parse_hotmod_str()
122 if (rv) in parse_hotmod_str()
123 return rv; in parse_hotmod_str()
132 if (rv) { in parse_hotmod_str()
187 int rv; in hotmod_handler() local
207 if (rv) in hotmod_handler()
[all …]
H A Dipmi_poweroff.c53 if (rv) in set_param_ifnum()
54 return rv; in set_param_ifnum()
129 if (rv) in ipmi_request_wait_for_response()
142 int rv; in ipmi_request_in_rc_mode() local
147 if (rv) { in ipmi_request_in_rc_mode()
343 if (rv) in ipmi_poweroff_cpi1()
358 if (rv) in ipmi_poweroff_cpi1()
393 if (rv) in ipmi_poweroff_cpi1()
407 if (rv) in ipmi_poweroff_cpi1()
670 int rv; in ipmi_poweroff_init() local
[all …]
H A Dipmi_watchdog.c221 if (rv) in set_param_str()
238 if (rv) in get_param_str()
252 if (rv) in set_param_wdog_ifnum()
416 if (rv) in __ipmi_set_timeout()
427 int rv; in _ipmi_set_timeout() local
454 int rv; in ipmi_set_timeout() local
483 int rv; in panic_halt_ipmi_heartbeat() local
509 if (rv) in panic_halt_ipmi_heartbeat()
527 int rv; in panic_halt_ipmi_set_timeout() local
550 int rv; in __ipmi_heartbeat() local
[all …]
H A Dipmi_devintf.c101 if (rv) { in ipmi_open()
119 return rv; in ipmi_open()
129 if (rv) in ipmi_release()
166 if (rv) in handle_send_req()
271 if (rv) in handle_recv()
442 if (rv) in ipmi_ioctl()
473 if (rv) in ipmi_ioctl()
507 if (rv) in ipmi_ioctl()
540 if (rv) in ipmi_ioctl()
858 int rv; in init_ipmi_devintf() local
[all …]
/openbmc/linux/lib/
H A Dkstrtox.c59 rv = 0; in _parse_integer_limit()
83 rv++; in _parse_integer_limit()
107 s += rv; in _kstrtoull()
159 int rv; in kstrtoll() local
184 int rv; in _kstrtoul() local
200 int rv; in _kstrtol() local
231 int rv; in kstrtouint() local
262 int rv; in kstrtoint() local
278 int rv; in kstrtou16() local
294 int rv; in kstrtos16() local
[all …]
/openbmc/linux/drivers/power/supply/
H A Dmax77650-charger.c99 if (rv) in max77650_charger_set_vchgin_min()
120 if (rv) in max77650_charger_set_ichgin_lim()
132 int rv; in max77650_charger_enable() local
138 if (rv) in max77650_charger_enable()
146 int rv; in max77650_charger_disable() local
152 if (rv) in max77650_charger_disable()
162 if (rv) { in max77650_charger_check_status()
198 if (rv) in max77650_charger_get_property()
231 if (rv) in max77650_charger_get_property()
238 if (rv) in max77650_charger_get_property()
[all …]
/openbmc/linux/arch/arm/include/debug/
H A Dbrcmstb.S40 cmp rp, rv ; \
46 .macro addruart, rp, rv, tmp
49 sub \rv, \rv, \rp @ offset between the two
55 mov \rv, #0 @ yes; record init is done
56 str \rv, [\tmp]
61 and \rv, \rv, \rp
63 cmp \rv, \rp
68 ands \rv, \rv, #REG_PHYS_BASE
74 ARM_BE8( rev \rv, \rv )
75 and \rv, \rv, #0xffffff00 @ strip revision bits [7:0]
[all …]
H A Dtegra.S67 .macro addruart, rp, rv, tmp
70 sub \rv, \rv, \rp @ offset between the two
77 str \rv, [\tmp]
84 and \rv, \rv, #3
90 and \rv, #7
91 cmp \rv, #0 @ UART 0?
93 cmp \rv, #1 @ UART 1?
95 cmp \rv, #2 @ UART 2?
97 cmp \rv, #3 @ UART 3?
99 cmp \rv, #4 @ UART 4?
[all …]
/openbmc/google-misc/subprojects/libcr51sign/src/
H A Dlibcr51sign.c184 int rv; in validate_transition() local
234 int rv; in read_and_hash_update() local
265 return rv; in read_and_hash_update()
286 int rv; in validate_payload_regions() local
373 return rv; in validate_payload_regions()
555 int rv; in validate_signature() local
567 return rv; in validate_signature()
579 return rv; in validate_signature()
595 return rv; in validate_signature()
648 int rv; in validate_descriptor() local
[all …]
/openbmc/linux/drivers/hwmon/pmbus/
H A Dfsp-3y.c76 int rv; in set_page() local
88 if (rv < 0) in set_page()
89 return rv; in set_page()
110 int rv; in fsp3y_read_byte_data() local
119 if (rv < 0) in fsp3y_read_byte_data()
120 return rv; in fsp3y_read_byte_data()
129 int rv; in fsp3y_read_word_data() local
167 rv = sign_extend32(rv, 10) & 0xffff; in fsp3y_read_word_data()
169 return rv; in fsp3y_read_word_data()
205 int rv; in fsp3y_detect() local
[all …]
/openbmc/linux/arch/x86/mm/
H A Dpf_in.c122 rv = type; \
144 return rv; in get_ins_type()
283 if (rv) in get_reg_w8()
284 return rv; in get_reg_w8()
326 if (!rv) in get_reg_w8()
329 return rv; in get_reg_w8()
338 rv = &regs->ax; in get_reg_w32()
341 rv = &regs->bx; in get_reg_w32()
344 rv = &regs->cx; in get_reg_w32()
347 rv = &regs->dx; in get_reg_w32()
[all …]
/openbmc/linux/drivers/infiniband/sw/siw/
H A Dsiw_verbs.c69 if (rv) { in siw_mmap()
77 return rv; in siw_mmap()
85 int rv; in siw_alloc_ucontext() local
100 if (rv) in siw_alloc_ucontext()
113 return rv; in siw_alloc_ucontext()
169 int rv; in siw_query_port() local
205 if (rv) in siw_get_port_immutable()
264 int rv; in siw_mmap_entry_insert() local
360 if (rv) in siw_create_qp()
470 if (rv) in siw_create_qp()
[all …]
H A Dsiw_qp_tx.c307 rv = 0; in siw_tx_ctrl()
311 return rv; in siw_tx_ctrl()
358 if (rv == -EAGAIN || rv == 0) in siw_tcp_sendpages()
453 if (rv) in siw_tx_hdt()
637 rv = 0; in siw_tx_hdt()
651 if (rv) { in siw_tx_hdt()
676 return rv; in siw_tx_hdt()
898 if (!rv) { in siw_qp_sq_proc_tx()
925 return rv; in siw_qp_sq_proc_tx()
987 int rv; in siw_qp_sq_proc_local() local
[all …]
/openbmc/linux/arch/ia64/kernel/
H A 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()
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()
154 rv.arg1 = next_ip; in ia64_emulate_brl()
182 return rv; in ia64_emulate_brl()
[all …]
/openbmc/linux/drivers/usb/class/
H A Dcdc-wdm.c331 if (rv) in wdm_int_callback()
428 rv = r; in wdm_write()
460 rv = usb_translate_errors(rv); in wdm_write()
746 rv = usb_translate_errors(rv); in wdm_open()
881 int rv; in wdm_wwan_port_tx() local
884 if (rv) in wdm_wwan_port_tx()
907 if (rv) in wdm_wwan_port_tx()
990 if (rv < 0 && rv != -EPERM) { in wdm_rxwork()
1197 int rv; in usb_cdc_wdm_register() local
1302 int rv; in wdm_resume() local
[all …]
/openbmc/linux/fs/dlm/
H A Dplock.c103 int rv; in do_lock_cancel() local
116 rv = op->info.rv; in do_lock_cancel()
128 int rv; in dlm_posix_lock() local
226 rv = op->info.rv; in dlm_posix_lock()
297 int rv; in dlm_posix_unlock() local
346 rv = op->info.rv; in dlm_posix_unlock()
372 int rv; in dlm_posix_cancel() local
434 int rv; in dlm_posix_get() local
466 rv = op->info.rv; in dlm_posix_get()
626 int rv; in dlm_plock_init() local
[all …]
/openbmc/linux/tools/testing/selftests/kvm/s390x/
H A Dsync_regs_test.c79 int rv; in test_read_invalid() local
86 rv); in test_read_invalid()
93 rv); in test_read_invalid()
100 int rv; in test_set_invalid() local
107 rv); in test_set_invalid()
114 rv); in test_set_invalid()
123 int rv; in test_req_and_verify_all_valid_regs() local
128 TEST_ASSERT(rv == 0, "vcpu_run failed: %d\n", rv); in test_req_and_verify_all_valid_regs()
149 int rv; in test_set_and_verify_various_reg_values() local
164 TEST_ASSERT(rv == 0, "vcpu_run failed: %d\n", rv); in test_set_and_verify_various_reg_values()
[all …]
/openbmc/linux/drivers/char/tpm/
H A Dxen-tpmfront.c255 int rv; in setup_ring() local
263 if (rv) in setup_ring()
276 if (rv) { in setup_ring()
283 if (rv) { in setup_ring()
290 if (rv) { in setup_ring()
296 if (rv) { in setup_ring()
304 if (rv) { in setup_ring()
318 return rv; in setup_ring()
338 int rv; in tpmfront_probe() local
347 if (rv) { in tpmfront_probe()
[all …]
/openbmc/linux/tools/testing/selftests/proc/
H A Dproc-empty-vm.c193 assert(rv == 0); in test_proc_pid_maps()
196 assert(rv == len); in test_proc_pid_maps()
221 assert(rv == 0); in test_proc_pid_numa_maps()
245 assert(rv == 0); in test_proc_pid_smaps()
249 assert(rv > len); in test_proc_pid_smaps()
308 int rv = EXIT_SUCCESS; in main() local
337 if (rv != 0) { in main()
380 if (rv == EXIT_SUCCESS) { in main()
383 if (rv == EXIT_SUCCESS) { in main()
386 if (rv == EXIT_SUCCESS) { in main()
[all …]
/openbmc/linux/samples/bpf/
H A Dtcp_clamp_kern.c31 int rv = 0; in bpf_clamp() local
58 rv = to_init; in bpf_clamp()
64 rv += bpf_setsockopt(skops, SOL_SOCKET, in bpf_clamp()
69 rv = bpf_setsockopt(skops, SOL_TCP, in bpf_clamp()
75 rv = bpf_setsockopt(skops, SOL_TCP, in bpf_clamp()
78 rv += bpf_setsockopt(skops, SOL_SOCKET, in bpf_clamp()
81 rv += bpf_setsockopt(skops, SOL_SOCKET, in bpf_clamp()
86 rv = -1; in bpf_clamp()
89 rv = -1; in bpf_clamp()
92 bpf_printk("Returning %d\n", rv); in bpf_clamp()
[all …]
/openbmc/linux/drivers/tty/
H A Dvcc.c362 int rv; in vcc_rx_timer() local
389 int rv; in vcc_tx_timer() local
437 int rv; in vcc_event() local
482 int rv; in domain_show() local
496 int rv; in vcc_send_ctl() local
568 int rv; in vcc_probe() local
589 if (rv) in vcc_probe()
596 if (rv) in vcc_probe()
640 if (rv) in vcc_probe()
1022 int rv; in vcc_tty_init() local
[all …]
/openbmc/linux/arch/ia64/include/asm/sn/
H A Dsn_sal.h52 struct ia64_sal_retval rv; in sn_partition_reserved_page_pa() local
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()
119 struct ia64_sal_retval rv; in sn_mq_watchlist_free() local
[all …]
/openbmc/linux/drivers/hid/intel-ish-hid/
H A Dishtp-fw-loader.c257 int rv; in get_firmware_variant() local
265 return rv; in get_firmware_variant()
287 int rv; in loader_cl_send() local
474 int rv; in ish_query_loader_prop() local
557 int rv; in ish_fw_xfer_ishtp() local
638 int rv; in ish_fw_xfer_direct_dma() local
750 int rv; in load_fw_from_host() local
818 rv); in load_fw_from_host()
845 int rv; in loader_init() local
906 int rv; in reset_handler() local
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Dni_routes.c55 const u8 *rv = NULL; in ni_find_route_values() local
64 return rv; in ni_find_route_values()
98 const u8 *rv; in ni_find_device_routes() local
108 tables->route_values = rv; in ni_find_device_routes()
111 if (!rv || !dr) in ni_find_device_routes()
163 if (RVi(rv, B(src), B(dest))) in ni_count_valid_routes()
167 (RVi(rv, B(src), B(NI_RGOUT0)) || in ni_count_valid_routes()
218 if (RVi(rv, B(src), B(dest))) in ni_get_valid_routes()
469 const u8 *rv; in ni_route_to_register() local
483 rv = tables->route_values; in ni_route_to_register()
[all …]

12345678910>>...22