| /OK3568_Linux_fs/kernel/arch/x86/lib/ |
| H A D | msr-smp.c | 10 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 …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/ |
| H A D | pkcs11_1000.c | 84 CK_RV rv = CKR_GENERAL_ERROR; in init_lib_and_find_token_slot() local 88 rv = C_Initialize(0); in init_lib_and_find_token_slot() 89 if (rv) in init_lib_and_find_token_slot() 90 return rv; in init_lib_and_find_token_slot() 92 rv = C_GetSlotList(CK_TRUE, NULL, &count); in init_lib_and_find_token_slot() 93 if (rv != CKR_OK) in init_lib_and_find_token_slot() 97 rv = CKR_GENERAL_ERROR; in init_lib_and_find_token_slot() 103 rv = CKR_HOST_MEMORY; in init_lib_and_find_token_slot() 107 rv = C_GetSlotList(CK_TRUE, slots, &count); in init_lib_and_find_token_slot() 108 if (rv) in init_lib_and_find_token_slot() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/power/supply/ |
| H A D | max77650-charger.c | 91 int i, rv; in max77650_charger_set_vchgin_min() local 95 rv = regmap_update_bits(chg->map, in max77650_charger_set_vchgin_min() 99 if (rv) in max77650_charger_set_vchgin_min() 100 return rv; in max77650_charger_set_vchgin_min() 112 int i, rv; in max77650_charger_set_ichgin_lim() local 116 rv = regmap_update_bits(chg->map, in max77650_charger_set_ichgin_lim() 120 if (rv) in max77650_charger_set_ichgin_lim() 121 return rv; in max77650_charger_set_ichgin_lim() 132 int rv; in max77650_charger_enable() local 134 rv = regmap_update_bits(chg->map, in max77650_charger_enable() [all …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | kstrtox.c | 53 unsigned int rv; in _parse_integer_limit() local 56 rv = 0; in _parse_integer_limit() 77 rv |= KSTRTOX_OVERFLOW; in _parse_integer_limit() 80 rv++; in _parse_integer_limit() 84 return rv; in _parse_integer_limit() 95 unsigned int rv; in _kstrtoull() local 98 rv = _parse_integer(s, base, &_res); in _kstrtoull() 99 if (rv & KSTRTOX_OVERFLOW) in _kstrtoull() 101 if (rv == 0) in _kstrtoull() 103 s += rv; in _kstrtoull() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/char/ipmi/ |
| H A D | ipmi_si_hotmod.c | 108 int rv; in parse_hotmod_str() local 112 rv = parse_str(hotmod_ops, &ival, "operation", &curr); in parse_hotmod_str() 113 if (rv) in parse_hotmod_str() 114 return rv; in parse_hotmod_str() 117 rv = parse_str(hotmod_si, &ival, "interface type", &curr); in parse_hotmod_str() 118 if (rv) in parse_hotmod_str() 119 return rv; in parse_hotmod_str() 122 rv = parse_str(hotmod_as, &ival, "address space", &curr); in parse_hotmod_str() 123 if (rv) in parse_hotmod_str() 124 return rv; in parse_hotmod_str() [all …]
|
| H A D | ipmi_watchdog.c | 180 int rv = 0; in set_param_timeout() local 190 rv = ipmi_set_timeout(IPMI_SET_TIMEOUT_HB_IF_NECESSARY); in set_param_timeout() 192 return rv; in set_param_timeout() 211 int rv = 0; in set_param_str() local 220 rv = fn(s, NULL); in set_param_str() 221 if (rv) in set_param_str() 226 rv = ipmi_set_timeout(IPMI_SET_TIMEOUT_HB_IF_NECESSARY); in set_param_str() 229 return rv; in set_param_str() 235 int rv, len; in get_param_str() local 237 rv = fn(NULL, buffer); in get_param_str() [all …]
|
| H A D | ipmi_poweroff.c | 52 int rv = param_set_int(val, kp); in set_param_ifnum() local 53 if (rv) in set_param_ifnum() 54 return rv; in set_param_ifnum() 126 int rv; in ipmi_request_wait_for_response() local 131 rv = ipmi_request_supply_msgs(user, addr, 0, send_msg, &comp, in ipmi_request_wait_for_response() 133 if (rv) in ipmi_request_wait_for_response() 134 return rv; in ipmi_request_wait_for_response() 146 int rv; in ipmi_request_in_rc_mode() local 149 rv = ipmi_request_supply_msgs(user, addr, 0, send_msg, NULL, in ipmi_request_in_rc_mode() 151 if (rv) { in ipmi_request_in_rc_mode() [all …]
|
| H A D | ipmi_devintf.c | 90 int rv; in ipmi_open() local 97 rv = ipmi_create_user(if_num, in ipmi_open() 101 if (rv) { in ipmi_open() 119 return rv; in ipmi_open() 125 int rv; in ipmi_release() local 128 rv = ipmi_destroy_user(priv->user); in ipmi_release() 129 if (rv) in ipmi_release() 130 return rv; in ipmi_release() 145 int rv; in handle_send_req() local 165 rv = ipmi_validate_addr(&addr, req->addr_len); in handle_send_req() [all …]
|
| H A D | ipmi_msghandler.c | 737 int index, rv; in ipmi_smi_watcher_register() local 743 rv = ipmi_init_msghandler(); in ipmi_smi_watcher_register() 744 if (rv) in ipmi_smi_watcher_register() 745 return rv; in ipmi_smi_watcher_register() 887 int rv = 0; in deliver_response() local 895 rv = -EINVAL; in deliver_response() 915 rv = -EINVAL; in deliver_response() 919 return rv; in deliver_response() 1013 int rv = 0; in intf_next_seq() local 1046 rv = -EAGAIN; in intf_next_seq() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/include/debug/ |
| H A D | brcmstb.S | 45 #define checkuart(rp, rv, family_id, family) \ argument 49 cmp rp, rv ; \ 55 .macro addruart, rp, rv, tmp 57 ldr \rv, [\rp] @ linked addr is stored there 58 sub \rv, \rv, \rp @ offset between the two 60 sub \tmp, \rp, \rv @ actual brcmstb_uart_config 64 mov \rv, #0 @ yes; record init is done 65 str \rv, [\tmp] 68 mrc p15, 0, \rv, c0, c0, 0 @ get Main ID register 70 and \rv, \rv, \rp [all …]
|
| H A D | tegra.S | 45 #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 …]
|
| /OK3568_Linux_fs/kernel/arch/x86/mm/ |
| H A D | pf_in.c | 122 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 *)®s->ax; in get_reg_w8() 245 rv = (unsigned char *)®s->bx; in get_reg_w8() 248 rv = (unsigned char *)®s->cx; in get_reg_w8() 251 rv = (unsigned char *)®s->dx; in get_reg_w8() 255 rv = (unsigned char *)®s->r8; in get_reg_w8() 258 rv = (unsigned char *)®s->r9; in get_reg_w8() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/sw/siw/ |
| H A D | siw_verbs.c | 50 int rv = -EINVAL; in siw_mmap() local 67 rv = remap_vmalloc_range(vma, entry->address, 0); in siw_mmap() 68 if (rv) { in siw_mmap() 76 return rv; in siw_mmap() 84 int rv; in siw_alloc_ucontext() local 87 rv = -ENOMEM; in siw_alloc_ucontext() 95 rv = -EINVAL; in siw_alloc_ucontext() 98 rv = ib_copy_to_udata(udata, &uresp, sizeof(uresp)); in siw_alloc_ucontext() 99 if (rv) in siw_alloc_ucontext() 109 siw_dbg(base_ctx->device, "failure %d. now %d context(s)\n", rv, in siw_alloc_ucontext() [all …]
|
| H A D | siw_qp_tx.c | 301 int rv = kernel_sendmsg(s, &msg, &iov, 1, in siw_tx_ctrl() local 304 if (rv >= 0) { in siw_tx_ctrl() 305 c_tx->ctrl_sent += rv; in siw_tx_ctrl() 308 rv = 0; in siw_tx_ctrl() 310 rv = -EAGAIN; in siw_tx_ctrl() 312 return rv; in siw_tx_ctrl() 328 int i = 0, rv = 0, sent = 0, in siw_tcp_sendpages() local 340 rv = do_tcp_sendpages(sk, page[i], offset, bytes, flags); in siw_tcp_sendpages() 343 if (rv > 0) { in siw_tcp_sendpages() 344 size -= rv; in siw_tcp_sendpages() [all …]
|
| H A D | siw_qp_rx.c | 36 int pg_off, bytes, rv; in siw_rx_umem() local 57 rv = skb_copy_bits(srx->skb, srx->skb_offset, dest + pg_off, in siw_rx_umem() 60 if (unlikely(rv)) { in siw_rx_umem() 66 qp_id(rx_qp(srx)), __func__, len, p, rv); in siw_rx_umem() 106 int rv; in siw_rx_kva() local 110 rv = skb_copy_bits(srx->skb, srx->skb_offset, kva, len); in siw_rx_kva() 111 if (unlikely(rv)) { in siw_rx_kva() 113 qp_id(rx_qp(srx)), __func__, len, kva, rv); in siw_rx_kva() 115 return rv; in siw_rx_kva() 428 int rv = 0; in siw_proc_send() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/class/ |
| H A D | cdc-wdm.c | 235 int rv = 0; in wdm_int_callback() local 299 rv = usb_submit_urb(desc->response, GFP_ATOMIC); in wdm_int_callback() 300 dev_dbg(&desc->intf->dev, "submit response URB %d\n", rv); in wdm_int_callback() 303 if (rv < 0) { in wdm_int_callback() 305 if (rv == -EPERM) in wdm_int_callback() 307 if (rv == -ENOMEM) { in wdm_int_callback() 309 rv = schedule_work(&desc->rxwork); in wdm_int_callback() 310 if (rv) in wdm_int_callback() 316 rv = usb_submit_urb(urb, GFP_ATOMIC); in wdm_int_callback() 317 if (rv) in wdm_int_callback() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/move/ |
| H A D | core.hpp | 85 class rv class 92 rv(); 93 ~rv() throw(); 94 rv(rv const&); 95 void operator=(rv const&); 141 ::boost::rv< TYPE >& \ 145 ::boost::rv< TYPE<ARG1, ARG2> >& \ 149 ::boost::rv< TYPE<ARG1, ARG2, ARG3> >& \ 153 ::boost::rv< \ 173 const ::boost::rv< TYPE >& \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/char/tpm/ |
| H A D | xen-tpmfront.c | 255 int rv; in setup_ring() local 264 rv = xenbus_grant_ring(dev, priv->shr, 1, &gref); in setup_ring() 265 if (rv < 0) in setup_ring() 266 return rv; in setup_ring() 270 rv = xenbus_alloc_evtchn(dev, &priv->evtchn); in setup_ring() 271 if (rv) in setup_ring() 272 return rv; in setup_ring() 274 rv = bind_evtchn_to_irqhandler(priv->evtchn, tpmif_interrupt, 0, in setup_ring() 276 if (rv <= 0) { in setup_ring() 277 xenbus_dev_fatal(dev, rv, "allocating TPM irq"); in setup_ring() [all …]
|
| /OK3568_Linux_fs/kernel/arch/ia64/kernel/ |
| H A D | brl_emu.c | 61 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/hid/intel-ish-hid/ |
| H A D | ishtp-fw-loader.c | 253 int rv; in get_firmware_variant() local 257 rv = device_property_read_string(devc, "firmware-name", &val); in get_firmware_variant() 258 if (rv < 0) { in get_firmware_variant() 261 return rv; in get_firmware_variant() 282 int rv; in loader_cl_send() local 299 rv = ishtp_cl_send(loader_ishtp_cl, out_msg, out_size); in loader_cl_send() 300 if (rv < 0) { in loader_cl_send() 302 "ishtp_cl_send error %d\n", rv); in loader_cl_send() 303 return rv; in loader_cl_send() 469 int rv; in ish_query_loader_prop() local [all …]
|
| H A D | ishtp-hid-client.c | 367 int rv; in hid_ishtp_set_feature() local 372 rv = ishtp_hid_link_ready_wait(client_data); in hid_ishtp_set_feature() 373 if (rv) { in hid_ishtp_set_feature() 392 rv = ishtp_cl_send(client_data->hid_ishtp_cl, buf, len); in hid_ishtp_set_feature() 393 if (rv) in hid_ishtp_set_feature() 413 int rv; in hid_ishtp_get_report() local 417 rv = ishtp_hid_link_ready_wait(client_data); in hid_ishtp_get_report() 418 if (rv) { in hid_ishtp_get_report() 438 rv = ishtp_cl_send(client_data->hid_ishtp_cl, (uint8_t *)&msg, in hid_ishtp_get_report() 440 if (rv) in hid_ishtp_get_report() [all …]
|
| /OK3568_Linux_fs/kernel/fs/dlm/ |
| H A D | plock.c | 107 int rv; in dlm_posix_lock() local 115 rv = -ENOMEM; in dlm_posix_lock() 144 rv = wait_event_interruptible(recv_wq, (op->done != 0)); in dlm_posix_lock() 145 if (rv == -ERESTARTSYS) { in dlm_posix_lock() 156 rv = FILE_LOCK_DEFERRED; in dlm_posix_lock() 168 rv = op->info.rv; in dlm_posix_lock() 170 if (!rv) { in dlm_posix_lock() 179 return rv; in dlm_posix_lock() 191 int rv = 0; in dlm_plock_callback() local 207 if (op->info.rv) { in dlm_plock_callback() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/s390x/ |
| H A D | sync_regs_test.c | 82 int rv, cap; in main() local 100 rv = _vcpu_run(vm, VCPU_ID); in main() 101 TEST_ASSERT(rv < 0 && errno == EINVAL, in main() 103 rv); in main() 107 rv = _vcpu_run(vm, VCPU_ID); in main() 108 TEST_ASSERT(rv < 0 && errno == EINVAL, in main() 110 rv); in main() 115 rv = _vcpu_run(vm, VCPU_ID); in main() 116 TEST_ASSERT(rv < 0 && errno == EINVAL, in main() 118 rv); in main() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/comedi/drivers/ |
| H A D | ni_routes.c | 57 const u8 *rv = NULL; in ni_find_route_values() local 63 rv = &ni_all_route_values[i]->register_values[0][0]; in ni_find_route_values() 67 return rv; in ni_find_route_values() 102 const u8 *rv; in ni_find_device_routes() local 105 rv = ni_find_route_values(device_family); in ni_find_device_routes() 112 tables->route_values = rv; in ni_find_device_routes() 115 if (!rv || !dr) in ni_find_device_routes() 165 const u8 *rv = tables->route_values; in ni_count_valid_routes() local 167 if (RVi(rv, B(src), B(dest))) in ni_count_valid_routes() 171 (RVi(rv, B(src), B(NI_RGOUT0)) || in ni_count_valid_routes() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/ |
| H A D | vcc.c | 319 int rv = 0; in vcc_ldc_read() local 323 rv = ldc_rx_reset(vio->lp); in vcc_ldc_read() 324 vccdbg("VCC: reset rx q: rv=%d\n", rv); in vcc_ldc_read() 337 rv = ldc_read(vio->lp, &pkt, sizeof(pkt)); in vcc_ldc_read() 338 if (rv <= 0) in vcc_ldc_read() 341 vccdbg("VCC: ldc_read()=%d\n", rv); in vcc_ldc_read() 354 rv = -ECONNRESET; in vcc_ldc_read() 358 WARN_ON(rv != LDC_PACKET_SIZE); in vcc_ldc_read() 362 return rv; in vcc_ldc_read() 370 int rv; in vcc_rx_timer() local [all …]
|