/kernel/uniproton/src/om/cpup/ |
H A D | prt_cpup_minor.c | 22 U32 ret; in PRT_CpupNow() local 25 ret = OsCpupLazyInit(); in PRT_CpupNow() 26 if (ret != OS_OK) { in PRT_CpupNow() 27 OS_REPORT_ERROR(ret); in PRT_CpupNow()
|
/third_party/jerryscript/jerry-libm/ |
H A D | fabs.c | 36 double_accessor ret; in fabs() local 37 ret.dbl = x; in fabs() 38 ret.as_int.hi &= 0x7fffffff; in fabs() 39 return ret.dbl; in fabs()
|
/third_party/ltp/testcases/kernel/syscalls/eventfd2/ |
H A D | eventfd2.h | 11 int ret; in eventfd2() local 13 ret = tst_syscall(__NR_eventfd2, count, flags); in eventfd2() 14 if (ret == -1) in eventfd2() 17 return ret; in eventfd2()
|
/third_party/node/deps/openssl/openssl/crypto/des/ |
H A D | rand_key.c | 19 int DES_random_key(DES_cblock *ret) in DES_random_key() argument 22 if (RAND_priv_bytes((unsigned char *)ret, sizeof(DES_cblock)) != 1) in DES_random_key() 24 } while (DES_is_weak_key(ret)); in DES_random_key() 25 DES_set_odd_parity(ret); in DES_random_key()
|
/third_party/openssl/crypto/des/ |
H A D | rand_key.c | 19 int DES_random_key(DES_cblock *ret) in DES_random_key() argument 22 if (RAND_priv_bytes((unsigned char *)ret, sizeof(DES_cblock)) != 1) in DES_random_key() 24 } while (DES_is_weak_key(ret)); in DES_random_key() 25 DES_set_odd_parity(ret); in DES_random_key()
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | cfg80211.c | 102 int ret; in mwifiex_get_chan_type() local 104 ret = mwifiex_get_chan_info(priv, &channel_band); in mwifiex_get_chan_type() 106 if (!ret) { in mwifiex_get_chan_type() 299 int ret; in mwifiex_cfg80211_remain_on_channel() local 313 ret = mwifiex_remain_on_chan_cfg(priv, HostCmd_ACT_GEN_SET, chan, in mwifiex_cfg80211_remain_on_channel() 316 if (!ret) { in mwifiex_cfg80211_remain_on_channel() 328 return ret; in mwifiex_cfg80211_remain_on_channel() 339 int ret; in mwifiex_cfg80211_cancel_remain_on_channel() local 344 ret = mwifiex_remain_on_chan_cfg(priv, HostCmd_ACT_GEN_REMOVE, in mwifiex_cfg80211_cancel_remain_on_channel() 347 if (!ret) { in mwifiex_cfg80211_cancel_remain_on_channel() 407 int ret = mwifiex_send_cmd(priv, HostCmd_CMD_RF_TX_PWR, mwifiex_cfg80211_get_tx_power() local 724 int ret; mwifiex_cfg80211_set_wiphy_params() local 2171 int ret, auth_type = 0; mwifiex_cfg80211_assoc() local 2329 int ret; mwifiex_cfg80211_connect() local 2481 int ret = 0; mwifiex_cfg80211_join_ibss() local 2549 int i, offset, ret; mwifiex_cfg80211_scan() local 2883 int ret; mwifiex_add_virtual_intf() local 3296 int i, filt_num = 0, ret = 0; mwifiex_set_wowlan_mef_entry() local 3377 int ret = 0, num_entries = 1; mwifiex_set_mef_filter() local 3422 int i, ret = 0, retry_num = 10; mwifiex_cfg80211_suspend() local 3678 int i, ret; mwifiex_cfg80211_set_coalesce() local 3719 int ret; mwifiex_cfg80211_tdls_mgmt() local 3986 int ret = -ENODATA; mwifiex_cfg80211_get_channel() local 4141 int ret; mwifiex_cfg80211_change_station() local 4290 int ret; mwifiex_register_cfg80211() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
H A D | csio_hw.c | 305 int i, ret, ec, sn, addr; in csio_hw_get_vpd_params() local 314 ret = csio_pci_capability(hw->pdev, PCI_CAP_ID_VPD, in csio_hw_get_vpd_params() 316 if (ret) in csio_hw_get_vpd_params() 327 ret = csio_hw_seeprom_read(hw, VPD_BASE, (uint32_t *)(vpd)); in csio_hw_get_vpd_params() 331 ret = csio_hw_seeprom_read(hw, addr + i, (uint32_t *)(vpd + i)); in csio_hw_get_vpd_params() 332 if (ret) { in csio_hw_get_vpd_params() 334 return ret; in csio_hw_get_vpd_params() 395 int ret; in csio_hw_sf1_read() local 404 ret = csio_hw_wait_op_done_val(hw, SF_OP_A, SF_BUSY_F, 0, SF_ATTEMPTS, in csio_hw_sf1_read() 406 if (!ret) in csio_hw_sf1_read() 451 int ret; csio_hw_flash_wait_op() local 489 int ret; csio_hw_read_flash() local 530 int ret = -EINVAL; csio_hw_write_flash() local 592 int ret = 0; csio_hw_flash_erase_sectors() local 672 int ret; csio_hw_fw_dload() local 777 int ret; csio_hw_get_flash_params() local 1326 int reset, ret; csio_hw_fw_upgrade() local 1970 int ret = 0; csio_hw_flash_config() local 2319 int ret, card_fw_usable, fs_fw_usable; csio_hw_prep_fw() local 2408 int ret = -ECANCELED; csio_hw_flash_fw() local 3823 int n, ret = 0; csio_enqueue_evt_lock() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
H A D | cfg80211.c | 90 int ret; in mwifiex_get_chan_type() local 92 ret = mwifiex_get_chan_info(priv, &channel_band); in mwifiex_get_chan_type() 94 if (!ret) { in mwifiex_get_chan_type() 288 int ret; in mwifiex_cfg80211_remain_on_channel() local 302 ret = mwifiex_remain_on_chan_cfg(priv, HostCmd_ACT_GEN_SET, chan, in mwifiex_cfg80211_remain_on_channel() 305 if (!ret) { in mwifiex_cfg80211_remain_on_channel() 317 return ret; in mwifiex_cfg80211_remain_on_channel() 328 int ret; in mwifiex_cfg80211_cancel_remain_on_channel() local 333 ret = mwifiex_remain_on_chan_cfg(priv, HostCmd_ACT_GEN_REMOVE, in mwifiex_cfg80211_cancel_remain_on_channel() 336 if (!ret) { in mwifiex_cfg80211_cancel_remain_on_channel() 396 int ret = mwifiex_send_cmd(priv, HostCmd_CMD_RF_TX_PWR, mwifiex_cfg80211_get_tx_power() local 720 int ret; mwifiex_cfg80211_set_wiphy_params() local 2238 int ret, auth_type = 0; mwifiex_cfg80211_assoc() local 2410 int ret; mwifiex_cfg80211_connect() local 2562 int ret = 0; mwifiex_cfg80211_join_ibss() local 2629 int i, offset, ret; mwifiex_cfg80211_scan() local 2963 int ret; mwifiex_add_virtual_intf() local 3341 int i, filt_num = 0, ret = 0; mwifiex_set_wowlan_mef_entry() local 3422 int ret = 0, num_entries = 1; mwifiex_set_mef_filter() local 3467 int i, ret = 0, retry_num = 10; mwifiex_cfg80211_suspend() local 3723 int i, ret; mwifiex_cfg80211_set_coalesce() local 3764 int ret; mwifiex_cfg80211_tdls_mgmt() local 4032 int ret = -ENODATA; mwifiex_cfg80211_get_channel() local 4187 int ret; mwifiex_cfg80211_change_station() local 4336 int ret; mwifiex_register_cfg80211() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/csiostor/ |
H A D | csio_hw.c | 305 int i, ret, ec, sn, addr; in csio_hw_get_vpd_params() local 314 ret = csio_pci_capability(hw->pdev, PCI_CAP_ID_VPD, in csio_hw_get_vpd_params() 316 if (ret) in csio_hw_get_vpd_params() 327 ret = csio_hw_seeprom_read(hw, VPD_BASE, (uint32_t *)(vpd)); in csio_hw_get_vpd_params() 331 ret = csio_hw_seeprom_read(hw, addr + i, (uint32_t *)(vpd + i)); in csio_hw_get_vpd_params() 332 if (ret) { in csio_hw_get_vpd_params() 334 return ret; in csio_hw_get_vpd_params() 395 int ret; in csio_hw_sf1_read() local 404 ret = csio_hw_wait_op_done_val(hw, SF_OP_A, SF_BUSY_F, 0, SF_ATTEMPTS, in csio_hw_sf1_read() 406 if (!ret) in csio_hw_sf1_read() 451 int ret; csio_hw_flash_wait_op() local 489 int ret; csio_hw_read_flash() local 530 int ret = -EINVAL; csio_hw_write_flash() local 592 int ret = 0; csio_hw_flash_erase_sectors() local 672 int ret; csio_hw_fw_dload() local 777 int ret; csio_hw_get_flash_params() local 1326 int reset, ret; csio_hw_fw_upgrade() local 1970 int ret = 0; csio_hw_flash_config() local 2319 int ret, card_fw_usable, fs_fw_usable; csio_hw_prep_fw() local 2408 int ret = -ECANCELED; csio_hw_flash_fw() local 3823 int n, ret = 0; csio_enqueue_evt_lock() local [all...] |
/drivers/peripheral/camera/test/hdi/v1_2/src/ |
H A D | camera_hdi_uttest_v1_2.cpp | 45 int ret = FindCameraMetadataItem(data, tag, &entry);
in IsTagValueExistsU8() local 46 if (ret == HDI::Camera::V1_0::NO_ERROR && entry.data.u8 != nullptr && entry.count > 0) {
in IsTagValueExistsU8() 113 int ret = cameraTest->imageProcessSession_->GetPendingImages(pendingImages);
in RemovePendingImages() local 114 EXPECT_EQ(ret, 0);
in RemovePendingImages() 117 ret = cameraTest->imageProcessSession_->RemoveImage(*imageId);
in RemovePendingImages() 118 EXPECT_EQ(ret, 0);
in RemovePendingImages() 131 int ret = 0;
in HWTEST_F() local 141 ret = cameraTest->DefferredImageTestInit();
in HWTEST_F() 142 EXPECT_EQ(ret, 0);
in HWTEST_F() 143 if (ret ! in HWTEST_F() 163 ProcessPendingImages(int ret) ProcessPendingImages() argument 200 int ret = 0; HWTEST_F() local 235 int ret = FindCameraMetadataItem(data, OHOS_ABILITY_SKETCH_ENABLE_RATIO, &entry); HWTEST_F() local 267 int ret = FindCameraMetadataItem(data, OHOS_ABILITY_SKETCH_REFERENCE_FOV_RATIO, &entry); HWTEST_F() local 496 int ret = FindCameraMetadataItem(data, OHOS_ABILITY_SUPPORTED_COLOR_MODES, &entry); HWTEST_F() local 557 int ret = FindCameraMetadataItem(data, OHOS_ABILITY_SUPPORTED_COLOR_MODES, &entry); HWTEST_F() local 632 int ret = FindCameraMetadataItem(data, OHOS_ABILITY_NIGHT_MODE_SUPPORTED_EXPOSURE_TIME, &entry); HWTEST_F() local 653 int ret = FindCameraMetadataItem(data, OHOS_ABILITY_NIGHT_MODE_SUPPORTED_EXPOSURE_TIME, &entry); HWTEST_F() local 688 int ret = FindCameraMetadataItem(data, OHOS_ABILITY_NIGHT_MODE_SUPPORTED_EXPOSURE_TIME, &entry); HWTEST_F() local 723 int ret = FindCameraMetadataItem(data, OHOS_CAMERA_MESURE_EXPOSURE_TIME, &entry); HWTEST_F() local 744 int ret = FindCameraMetadataItem(data, OHOS_CAMERA_EXPOSURE_MODE_PREVIEW_STATE, &entry); HWTEST_F() local 932 int ret = FindCameraMetadataItem(data, OHOS_ABILITY_AVAILABLE_COLOR_SPACES, &entry); HWTEST_F() local 1069 int ret = FindCameraMetadataItem(data, OHOS_ABILITY_AVAILABLE_COLOR_SPACES, &entry); HWTEST_F() local 1192 int ret = FindCameraMetadataItem(data, OHOS_ABILITY_CAMERA_MACRO_SUPPORTED, &entry); HWTEST_F() local 1218 int ret = FindCameraMetadataItem(data, OHOS_ABILITY_CAMERA_MACRO_SUPPORTED, &entry); HWTEST_F() local 1241 int ret = FindCameraMetadataItem(data, OHOS_CAMERA_MACRO_STATUS, &entry); HWTEST_F() local 1645 int ret = FindCameraMetadataItem(data, OHOS_ABILITY_MOON_CAPTURE_BOOST, &entry); HWTEST_F() local 1671 int ret = FindCameraMetadataItem(data, OHOS_ABILITY_MOON_CAPTURE_BOOST, &entry); HWTEST_F() local 1703 int ret = FindCameraMetadataItem(data, OHOS_STATUS_MOON_CAPTURE_DETECTION, &entry); HWTEST_F() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | sa2ul.c | 854 int ret; in sa_cipher_cra_init() local 859 ret = sa_init_ctx_info(&ctx->enc, data); in sa_cipher_cra_init() 860 if (ret) in sa_cipher_cra_init() 861 return ret; in sa_cipher_cra_init() 862 ret = sa_init_ctx_info(&ctx->dec, data); in sa_cipher_cra_init() 863 if (ret) { in sa_cipher_cra_init() 865 return ret; in sa_cipher_cra_init() 892 int ret; in sa_cipher_setkey() local 908 ret = crypto_skcipher_setkey(child, key, keylen); in sa_cipher_setkey() 909 if (ret) in sa_cipher_setkey() 1092 int ret; sa_run() local 1418 int ret = 0; sa_sha_run() local 1496 int ret; sa_sha_cra_init_alg() local 1735 int ret; sa_cra_init_aead() local 1928 int ret; sa_aead_run() local 2281 int ret; sa_dma_init() local 2400 int ret; sa_ul_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 280 int ret = -EINVAL; in hfi1_modify_qp0_ah() local 288 ret = rdma_modify_ah(&ah->ibah, &attr); in hfi1_modify_qp0_ah() 290 return ret; in hfi1_modify_qp0_ah() 697 int ret = 0; in check_mkey() local 736 ret = 1; in check_mkey() 740 return ret; in check_mkey() 1197 int ret, logical_allowed, physical_allowed; in port_states_transition_allowed() local 1199 ret = logical_transition_allowed(logical_old, logical_new); in port_states_transition_allowed() 1200 logical_allowed = ret; in port_states_transition_allowed() 1202 if (ret in port_states_transition_allowed() 1245 int ret; set_port_states() local 1371 int ret, i, invalid = 0, call_set_mtu = 0; __subn_set_opa_portinfo() local 2097 int ret, invalid = 0; __subn_set_opa_psi() local 2141 int ret; __subn_get_opa_cable_info() local 4095 int ret; subn_get_opa_sma() local 4185 int ret; subn_set_opa_sma() local 4521 int ret; process_subn_opa() local 4622 int ret; process_subn() local 4682 int ret = IB_MAD_RESULT_FAILURE; process_perf() local 4742 int ret; process_perf_opa() local 4825 int ret; hfi1_process_opa_mad() local 4878 int ret; hfi1_process_ib_mad() local [all...] |
H A D | debugfs.c | 549 int ret = 0; in asic_flags_read() local 586 ret = simple_read_from_buffer(buf, count, ppos, tmp, used); in asic_flags_read() 588 return ret; in asic_flags_read() 597 int ret; in asic_flags_write() local 610 ret = kstrtoull(buff, 0, &value); in asic_flags_write() 611 if (ret) in asic_flags_write() 629 ret = count; in asic_flags_write() 633 return ret; in asic_flags_write() 752 int ret; in qsfp_debugfs_dump() local 759 ret in qsfp_debugfs_dump() 772 int ret; __i2c_debugfs_write() local 826 int ret; __i2c_debugfs_read() local 886 int ret; __qsfp_debugfs_write() local 933 int ret; __qsfp_debugfs_read() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 238 int ret = -EINVAL; in hfi1_modify_qp0_ah() local 246 ret = rdma_modify_ah(&ah->ibah, &attr); in hfi1_modify_qp0_ah() 248 return ret; in hfi1_modify_qp0_ah() 655 int ret = 0; in check_mkey() local 694 ret = 1; in check_mkey() 698 return ret; in check_mkey() 1155 int ret, logical_allowed, physical_allowed; in port_states_transition_allowed() local 1157 ret = logical_transition_allowed(logical_old, logical_new); in port_states_transition_allowed() 1158 logical_allowed = ret; in port_states_transition_allowed() 1160 if (ret in port_states_transition_allowed() 1203 int ret; set_port_states() local 1329 int ret, i, invalid = 0, call_set_mtu = 0; __subn_set_opa_portinfo() local 2055 int ret, invalid = 0; __subn_set_opa_psi() local 2099 int ret; __subn_get_opa_cable_info() local 4053 int ret; subn_get_opa_sma() local 4143 int ret; subn_set_opa_sma() local 4479 int ret; process_subn_opa() local 4580 int ret; process_subn() local 4640 int ret = IB_MAD_RESULT_FAILURE; process_perf() local 4700 int ret; process_perf_opa() local 4783 int ret; hfi1_process_opa_mad() local 4836 int ret; hfi1_process_ib_mad() local [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | namespace.c | 345 int ret = 0; in __mnt_want_write() local 383 ret = -EROFS; in __mnt_want_write() 387 return ret; in __mnt_want_write() 401 int ret; in mnt_want_write() local 404 ret = __mnt_want_write(m); in mnt_want_write() 405 if (ret) in mnt_want_write() 407 return ret; in mnt_want_write() 445 int ret; in mnt_want_write_file() local 448 ret = __mnt_want_write_file(file); in mnt_want_write_file() 449 if (ret) in mnt_want_write_file() 571 int ret; mnt_make_readonly() local 799 int ret; get_mountpoint() local 1127 int ret = 0; vfs_kern_mount() local 1418 struct mount *mnt, *ret = NULL; mnt_list_next() local 1547 int ret = 1; may_umount() local 1686 int ret = 0; do_umount_root() local 1890 int ret; path_umount() local 1906 int ret; ksys_umount() local 2822 int ret; do_reconfigure_mnt() local 2922 bool ret = false; check_for_nsfs_mounts() local 3602 int ret; path_mount() local 3681 int ret; do_mount() local 3723 int ret; alloc_mnt_ns() local 3875 int ret; SYSCALL_DEFINE5() local 3950 long ret; SYSCALL_DEFINE3() local 4076 int ret = 0; SYSCALL_DEFINE5() local [all...] |
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | ste_dma40.c | 731 int ret = -EINVAL; in d40_lcla_alloc_one() local 745 ret = i; in d40_lcla_alloc_one() 752 return ret; in d40_lcla_alloc_one() 760 int ret = -EINVAL; in d40_lcla_free_all() local 774 ret = 0; in d40_lcla_free_all() 782 return ret; in d40_lcla_free_all() 1051 int ret; in d40_sg_2_dmalen() local 1054 ret = d40_size_2_dmalen(sg_dma_len(sg), in d40_sg_2_dmalen() 1056 if (ret < 0) in d40_sg_2_dmalen() 1057 return ret; in d40_sg_2_dmalen() 1069 int ret = 0; __d40_execute_command_phy() local 1294 int ret = 0; __d40_execute_command_log() local 2142 int ret; d40_prep_sg_log() local 2171 int ret; d40_prep_sg_phy() local 2200 int ret; d40_prep_desc() local 2242 int ret; d40_prep_sg() local 2566 enum dma_status ret; d40_tx_status() local 2608 int ret; d40_terminate_all() local 2688 int ret; d40_set_runtime_config_write() local 2932 int ret; dma40_suspend() local 2946 int ret = 0; dma40_resume() local 3150 int ret; d40_hw_detect_init() local 3373 int ret; d40_lcla_allocate() local 3512 int ret; d40_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | dmatest.c | 583 int ret; in dmatest_func() local 601 ret = -ENOMEM; in dmatest_func() 738 src->off, dst->off, len, ret); in dmatest_func() 751 ret = dma_mapping_error(dev->dev, um->addr[i]); in dmatest_func() 752 if (ret) { in dmatest_func() 754 src->off, dst->off, len, ret); in dmatest_func() 768 ret = dma_mapping_error(dev->dev, dsts[i]); in dmatest_func() 769 if (ret) { in dmatest_func() 771 src->off, dst->off, len, ret); in dmatest_func() 801 dst->off, len, ret); in dmatest_func() 936 int ret; dmatest_cleanup_channel() local 1180 int ret; dmatest_run_set() local 1221 int ret; dmatest_chan_set() local [all...] |
H A D | sprd-dma.c | 263 int ret; in sprd_dma_enable() local 265 ret = clk_prepare_enable(sdev->clk); in sprd_dma_enable() 266 if (ret) in sprd_dma_enable() 267 return ret; in sprd_dma_enable() 274 ret = clk_prepare_enable(sdev->ashb_clk); in sprd_dma_enable() 276 return ret; in sprd_dma_enable() 668 enum dma_status ret; in sprd_dma_tx_status() local 671 ret = dma_cookie_status(chan, cookie, txstate); in sprd_dma_tx_status() 672 if (ret == DMA_COMPLETE || !txstate) in sprd_dma_tx_status() 673 return ret; in sprd_dma_tx_status() 966 int ret, i; sprd_dma_prep_slave_sg() local 1121 int ret, i; sprd_dma_probe() local 1278 int ret; sprd_dma_runtime_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
H A D | omap_dmm_tiler.c | 316 int ret; in dmm_txn_init() local 321 ret = wait_event_interruptible(omap_dmm->engine_queue, in dmm_txn_init() 323 if (ret) in dmm_txn_init() 324 return ERR_PTR(ret); in dmm_txn_init() 400 int ret = 0; in dmm_txn_commit() local 406 ret = -EINVAL; in dmm_txn_commit() 427 ret = wait_status(engine, DMM_PATSTATUS_READY); in dmm_txn_commit() 428 if (ret) { in dmm_txn_commit() 429 ret = -EFAULT; in dmm_txn_commit() 446 ret in dmm_txn_commit() 469 int ret = 0; fill() local 517 int ret; tiler_pin() local 540 int ret; tiler_reserve_2d() local 604 int ret = tcm_free(&block->area); tiler_release() local 779 int ret = -EFAULT, i; omap_dmm_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/dm1105/ |
H A D | dm1105.c | 845 int ret; in frontend_init() local 935 ret = dvb_register_frontend(&dev->dvb_adapter, dev->fe); in frontend_init() 936 if (ret < 0) { in frontend_init() 940 return ret; in frontend_init() 975 int ret = -ENOMEM; in dm1105_probe() local 1009 ret = pci_enable_device(pdev); in dm1105_probe() 1010 if (ret < 0) in dm1105_probe() 1013 ret = pci_set_dma_mask(pdev, DMA_BIT_MASK(32)); in dm1105_probe() 1014 if (ret < 0) in dm1105_probe() 1019 ret in dm1105_probe() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/ |
H A D | main.c | 205 int ret; in ath6kl_diag_read32() local 207 ret = ath6kl_hif_diag_read32(ar, address, value); in ath6kl_diag_read32() 208 if (ret) { in ath6kl_diag_read32() 210 ret); in ath6kl_diag_read32() 211 return ret; in ath6kl_diag_read32() 223 int ret; in ath6kl_diag_write32() local 225 ret = ath6kl_hif_diag_write32(ar, address, value); in ath6kl_diag_write32() 227 if (ret) { in ath6kl_diag_write32() 230 return ret; in ath6kl_diag_write32() 239 int ret; in ath6kl_diag_read() local 257 int ret; ath6kl_diag_write() local 276 int ret, loop; ath6kl_read_fwlogs() local 1163 int ret; ath6kl_set_multicast_list() local [all...] |
/kernel/linux/linux-5.10/drivers/phy/rockchip/ |
H A D | phy-rockchip-typec.c | 725 int ret, i; in tcphy_phy_init() local 728 ret = clk_prepare_enable(tcphy->clk_core); in tcphy_phy_init() 729 if (ret) { in tcphy_phy_init() 731 return ret; in tcphy_phy_init() 734 ret = clk_prepare_enable(tcphy->clk_ref); in tcphy_phy_init() 735 if (ret) { in tcphy_phy_init() 775 ret = readx_poll_timeout(readl, tcphy->base + PMA_CMN_CTRL1, in tcphy_phy_init() 778 if (ret < 0) { in tcphy_phy_init() 780 ret = -ETIMEDOUT; in tcphy_phy_init() 794 return ret; in tcphy_phy_init() 812 int ret, ufp, dp; tcphy_get_mode() local 870 int timeout, new_mode, ret = 0; rockchip_usb3_phy_power_on() local 948 int new_mode, ret = 0; rockchip_dp_phy_power_on() local 1108 int index, ret; rockchip_typec_phy_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-bcm-qspi.c | 663 int ret = TRANS_STATUS_BREAK_NONE; in update_qspi_trans_byte_count() local 676 ret |= TRANS_STATUS_BREAK_DELAY; in update_qspi_trans_byte_count() 679 ret |= TRANS_STATUS_BREAK_CS_CHANGE; in update_qspi_trans_byte_count() 682 ret |= TRANS_STATUS_BREAK_EOM; in update_qspi_trans_byte_count() 684 ret |= TRANS_STATUS_BREAK_NO_BYTES; in update_qspi_trans_byte_count() 689 dev_dbg(&qspi->pdev->dev, "trans %p len %d byte %d ret %x\n", in update_qspi_trans_byte_count() 690 qt->trans, qt->trans ? qt->trans->len : 0, qt->byte, ret); in update_qspi_trans_byte_count() 691 return ret; in update_qspi_trans_byte_count() 867 int ret = 0; in bcm_qspi_bspi_exec_mem_op() local 936 ret in bcm_qspi_bspi_exec_mem_op() 984 int ret, i; bcm_qspi_mspi_exec_mem_op() local 1022 int ret = 0; bcm_qspi_exec_mem_op() local 1150 irqreturn_t ret = IRQ_NONE; bcm_qspi_l1_isr() local 1318 int irq, ret = 0, num_ints = 0; bcm_qspi_probe() local 1540 int ret = 0; bcm_qspi_resume() local [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | sta350.c | 313 int i, ret = 0; in sta350_coefficient_get() local 332 ret = -EINVAL; in sta350_coefficient_get() 344 return ret; in sta350_coefficient_get() 686 int ret; in sta350_hw_params() local 794 ret = regmap_update_bits(sta350->regmap, STA350_CONFA, in sta350_hw_params() 797 if (ret < 0) in sta350_hw_params() 798 return ret; in sta350_hw_params() 800 ret = regmap_update_bits(sta350->regmap, STA350_CONFB, in sta350_hw_params() 803 if (ret < 0) in sta350_hw_params() 804 return ret; in sta350_hw_params() 837 int ret; sta350_set_bias_level() local 914 int i, ret = 0, thermal = 0; sta350_probe() local 1195 int ret, i; sta350_i2c_probe() local [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | radix-tree.c | 236 struct radix_tree_node *ret = NULL; in radix_tree_node_alloc() local 251 ret = kmem_cache_alloc(radix_tree_node_cachep, in radix_tree_node_alloc() 253 if (ret) in radix_tree_node_alloc() 263 ret = rtp->nodes; in radix_tree_node_alloc() 264 rtp->nodes = ret->parent; in radix_tree_node_alloc() 271 kmemleak_update_trace(ret); in radix_tree_node_alloc() 274 ret = kmem_cache_alloc(radix_tree_node_cachep, gfp_mask); in radix_tree_node_alloc() 276 BUG_ON(radix_tree_is_internal_node(ret)); in radix_tree_node_alloc() 277 if (ret) { in radix_tree_node_alloc() 278 ret in radix_tree_node_alloc() 324 int ret = -ENOMEM; __radix_tree_preload() local 1264 unsigned int ret = 0; radix_tree_gang_lookup() local 1305 unsigned int ret = 0; radix_tree_gang_lookup_tag() local 1346 unsigned int ret = 0; radix_tree_gang_lookup_tag_slot() local 1593 int ret; radix_tree_init() local [all...] |