Home
last modified time | relevance | path

Searched refs:ret1 (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.1.9/arch/alpha/kernel/
Dsrm_env.c95 unsigned long ret1, ret2; in srm_env_proc_write() local
109 ret1 = callback_setenv(id, buf, count); in srm_env_proc_write()
110 if ((ret1 >> 61) == 0) { in srm_env_proc_write()
114 res = (int) ret1; in srm_env_proc_write()
/linux-6.1.9/net/wireless/
Dap.c66 int ret1 = ___cfg80211_stop_ap(rdev, dev, link, notify); in __cfg80211_stop_ap() local
68 if (ret1) in __cfg80211_stop_ap()
69 ret = ret1; in __cfg80211_stop_ap()
/linux-6.1.9/drivers/crypto/ux500/hash/
Dhash_core.c1388 int ret2, ret1; in ahash_sha1_digest() local
1390 ret1 = ahash_sha1_init(req); in ahash_sha1_digest()
1391 if (ret1) in ahash_sha1_digest()
1394 ret1 = ahash_update(req); in ahash_sha1_digest()
1398 return ret1 ? ret1 : ret2; in ahash_sha1_digest()
1403 int ret2, ret1; in ahash_sha256_digest() local
1405 ret1 = ahash_sha256_init(req); in ahash_sha256_digest()
1406 if (ret1) in ahash_sha256_digest()
1409 ret1 = ahash_update(req); in ahash_sha256_digest()
1413 return ret1 ? ret1 : ret2; in ahash_sha256_digest()
[all …]
/linux-6.1.9/sound/soc/sof/intel/
Dhda-loader.c326 int ret, ret1; in hda_dsp_cl_boot_firmware_iccmax() local
353 ret1 = hda_cl_cleanup(sdev, &dmab_bdl, iccmax_stream); in hda_dsp_cl_boot_firmware_iccmax()
354 if (ret1 < 0) { in hda_dsp_cl_boot_firmware_iccmax()
359 ret = ret1; in hda_dsp_cl_boot_firmware_iccmax()
394 int ret, ret1, i; in hda_dsp_cl_boot_firmware() local
495 ret1 = hda_cl_cleanup(sdev, &dmab, hext_stream); in hda_dsp_cl_boot_firmware()
496 if (ret1 < 0) { in hda_dsp_cl_boot_firmware()
501 ret = ret1; in hda_dsp_cl_boot_firmware()
Dmtl.c187 int ret1; in mtl_disable_interrupts() local
212 ret1 = snd_sof_dsp_read_poll_timeout(sdev, HDA_DSP_BAR, MTL_DSP_REG_HfHIPCIE, hipcie, in mtl_disable_interrupts()
216 if (ret1 < 0) { in mtl_disable_interrupts()
219 ret = ret1; in mtl_disable_interrupts()
226 ret1 = snd_sof_dsp_read_poll_timeout(sdev, HDA_DSP_BAR, MTL_DSP_REG_HfSNDWIE, hipcie, in mtl_disable_interrupts()
230 if (ret1 < 0) { in mtl_disable_interrupts()
233 ret = ret1; in mtl_disable_interrupts()
Dhda-dsp.c1025 int ret, ret1; in hda_dsp_core_get() local
1055 ret1 = hda_dsp_core_reset_power_down(sdev, BIT(core)); in hda_dsp_core_get()
1056 if (ret1 < 0) in hda_dsp_core_get()
1057 dev_err(sdev->dev, "failed to power down core: %d with err: %d\n", core, ret1); in hda_dsp_core_get()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dbpf_iter_test_kern4.c13 volatile const __u32 ret1; variable
39 if (ret1) in dump_bpf_map()
/linux-6.1.9/net/sched/
Dact_ipt.c383 int ret1, ret2; in ipt_init_module() local
385 ret1 = tcf_register_action(&act_xt_ops, &xt_net_ops); in ipt_init_module()
386 if (ret1 < 0) in ipt_init_module()
393 if (ret1 < 0 && ret2 < 0) { in ipt_init_module()
394 return ret1; in ipt_init_module()
/linux-6.1.9/drivers/remoteproc/
Dti_k3_dsp_remoteproc.c683 int ret1; in k3_dsp_rproc_probe() local
814 ret1 = ti_sci_proc_release(kproc->tsp); in k3_dsp_rproc_probe()
815 if (ret1) in k3_dsp_rproc_probe()
816 dev_err(dev, "failed to release proc, ret = %d\n", ret1); in k3_dsp_rproc_probe()
820 ret1 = ti_sci_put_handle(kproc->ti_sci); in k3_dsp_rproc_probe()
821 if (ret1) in k3_dsp_rproc_probe()
822 dev_err(dev, "failed to put ti_sci handle, ret = %d\n", ret1); in k3_dsp_rproc_probe()
Dti_k3_r5_remoteproc.c1212 int ret, ret1; in k3_r5_cluster_rproc_init() local
1282 ret1 = rproc_detach(rproc); in k3_r5_cluster_rproc_init()
1283 if (ret1) { in k3_r5_cluster_rproc_init()
1285 ret1); in k3_r5_cluster_rproc_init()
1286 return ret1; in k3_r5_cluster_rproc_init()
/linux-6.1.9/drivers/cpufreq/
Dimx6q-cpufreq.c157 int ret1; in imx6q_set_target() local
160 ret1 = regulator_set_voltage_tol(arm_reg, volt_old, 0); in imx6q_set_target()
161 if (ret1) in imx6q_set_target()
163 "failed to restore vddarm voltage: %d\n", ret1); in imx6q_set_target()
/linux-6.1.9/sound/soc/codecs/
Drt711-sdca-sdw.c408 int ret1, ret2; in rt711_sdca_dev_system_suspend() local
420 ret1 = sdw_update_no_pm(slave, SDW_SCP_SDCA_INTMASK1, in rt711_sdca_dev_system_suspend()
426 if (ret1 < 0 || ret2 < 0) { in rt711_sdca_dev_system_suspend()
Dalc5632.c1109 int ret, ret1, ret2; in alc5632_i2c_probe() local
1127 ret1 = regmap_read(alc5632->regmap, ALC5632_VENDOR_ID1, &vid1); in alc5632_i2c_probe()
1129 if (ret1 != 0 || ret2 != 0) { in alc5632_i2c_probe()
1131 "Failed to read chip ID: ret1=%d, ret2=%d\n", ret1, ret2); in alc5632_i2c_probe()
/linux-6.1.9/arch/sparc/kernel/
Dhead_64.S179 stx %g0, [%sp + 2047 + 128 + 0x20] ! ret1
208 stx %g0, [%sp + 2047 + 128 + 0x38] ! ret1
227 stx %g0, [%sp + 2047 + 128 + 0x20] ! ret1
251 stx %g0, [%sp + 2047 + 128 + 0x38] ! ret1
354 stx %g0, [%sp + 2047 + 128 + 0x20] ! ret1
380 stx %g0, [%sp + 2047 + 128 + 0x38] ! ret1
/linux-6.1.9/arch/ia64/kernel/
Defi_stub.S77 .ret1: mov ar.rsc=0 // put RSE in enforced lazy, LE mode label
Desi_stub.S88 .ret1: mov ar.rsc=0 // put RSE in enforced lazy, LE mode label
/linux-6.1.9/Documentation/translations/zh_CN/parisc/
Dregisters.rst145 这俩是ret0和ret1。它们是你传入返回值的地方。r28是主返回值。当返回
/linux-6.1.9/drivers/net/dsa/qca/
Dqca8k-8xxx.c505 int ret, ret1; in qca8k_phy_eth_command() local
590 ret = read_poll_timeout(qca8k_phy_eth_busy_wait, ret1, in qca8k_phy_eth_command()
595 if (ret < 0 && ret1 < 0) { in qca8k_phy_eth_command()
596 ret = ret1; in qca8k_phy_eth_command()
677 int ret, ret1; in qca8k_mdio_busy_wait() local
681 ret = read_poll_timeout(qca8k_mii_read32, ret1, !(val & mask), 0, in qca8k_mdio_busy_wait()
688 if (ret < 0 && ret1 < 0) in qca8k_mdio_busy_wait()
689 return ret1; in qca8k_mdio_busy_wait()
/linux-6.1.9/sound/soc/sh/
Dfsi.c585 int ret1, ret2; in fsi_stream_probe() local
588 ret1 = fsi_stream_handler_call(io, probe, fsi, io, dev); in fsi_stream_probe()
593 if (ret1 < 0) in fsi_stream_probe()
594 return ret1; in fsi_stream_probe()
604 int ret1, ret2; in fsi_stream_remove() local
607 ret1 = fsi_stream_handler_call(io, remove, fsi, io); in fsi_stream_remove()
612 if (ret1 < 0) in fsi_stream_remove()
613 return ret1; in fsi_stream_remove()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dport.c901 int ret1; in mlx4_unbond_mac_table() local
937 ret1 = mlx4_set_port_mac_table(dev, 2, t2->entries); in mlx4_unbond_mac_table()
938 if (ret1) { in mlx4_unbond_mac_table()
939 mlx4_warn(dev, "failed to unmirror MAC tables for port 2(%d)\n", ret1); in mlx4_unbond_mac_table()
940 ret = ret1; in mlx4_unbond_mac_table()
1008 int ret1; in mlx4_unbond_vlan_table() local
1044 ret1 = mlx4_set_port_vlan_table(dev, 2, t2->entries); in mlx4_unbond_vlan_table()
1045 if (ret1) { in mlx4_unbond_vlan_table()
1046 mlx4_warn(dev, "failed to unmirror VLAN tables for port 2(%d)\n", ret1); in mlx4_unbond_vlan_table()
1047 ret = ret1; in mlx4_unbond_vlan_table()
/linux-6.1.9/fs/gfs2/
Dfile.c743 int ret = 0, ret1 = 0; in gfs2_fsync() local
746 ret1 = filemap_fdatawrite_range(mapping, start, end); in gfs2_fsync()
747 if (ret1 == -EIO) in gfs2_fsync()
748 return ret1; in gfs2_fsync()
770 return ret ? ret : ret1; in gfs2_fsync()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dbpf_iter.c638 static void test_overflow(bool test_e2big_overflow, bool ret1) in test_overflow() argument
676 } else if (!ret1) { in test_overflow()
683 skel->rodata->ret1 = ret1; in test_overflow()
725 } else if (!ret1) { in test_overflow()
/linux-6.1.9/sound/pci/ac97/
Dac97_patch.c2261 int ret1; in snd_ac97_ad1986_lososel_put() local
2271 ret1 = snd_ac97_update_bits(ac97, AC97_AD_MISC, AC97_AD1986_SOSEL, in snd_ac97_ad1986_lososel_put()
2275 if (ret1 < 0) in snd_ac97_ad1986_lososel_put()
2276 return ret1; in snd_ac97_ad1986_lososel_put()
2278 return (ret0 > 0 || ret1 > 0) ? 1 : 0; in snd_ac97_ad1986_lososel_put()
2297 int ret1; in snd_ac97_ad1986_spread_put() local
2307 ret1 = snd_ac97_update_bits(ac97, AC97_AD_MISC, AC97_AD1986_SOSEL, in snd_ac97_ad1986_spread_put()
2311 if (ret1 < 0) in snd_ac97_ad1986_spread_put()
2312 return ret1; in snd_ac97_ad1986_spread_put()
2314 return (ret0 > 0 || ret1 > 0) ? 1 : 0; in snd_ac97_ad1986_spread_put()
/linux-6.1.9/arch/s390/mm/
Dextmem.c134 unsigned long *ret1, unsigned long *ret2) in dcss_diag() argument
148 *ret1 = rx; in dcss_diag()
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dhfi_venus.c1032 int ret1, ret2; in venus_are_queues_empty() local
1034 ret1 = venus_get_queue_size(hdev, IFACEQ_MSG_IDX); in venus_are_queues_empty()
1035 if (ret1 < 0) in venus_are_queues_empty()
1036 return ret1; in venus_are_queues_empty()
1042 if (!ret1 && !ret2) in venus_are_queues_empty()

12