Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/bpf/progs/
H A Dkfunc_module_order.c11 int ret1, ret2; in call_kfunc_xy() local
13 ret1 = bpf_test_modorder_retx(); in call_kfunc_xy()
16 return ret1 == 'x' && ret2 == 'y' ? 0 : -1; in call_kfunc_xy()
22 int ret1, ret2; in call_kfunc_yx() local
24 ret1 = bpf_test_modorder_rety(); in call_kfunc_yx()
27 return ret1 == 'y' && ret2 == 'x' ? 0 : -1; in call_kfunc_yx()
H A Dtest_ldsx_insn.c21 int done1, done2, ret1, ret2; variable
32 ret1 = 1; in rdonly_map_prog()
/linux/sound/soc/sof/intel/
H A Dhda-sdw-bpt.c261 int ret1; in hda_sdw_bpt_open() local
282 ret1 = hda_sdw_bpt_dma_deprepare(dev, *bpt_tx_stream, dmab_tx_bdl); in hda_sdw_bpt_open()
283 if (ret1 < 0) in hda_sdw_bpt_open()
285 __func__, ret1); in hda_sdw_bpt_open()
313 ret1 = hda_sdw_bpt_close(dev, *bpt_tx_stream, dmab_tx_bdl, *bpt_rx_stream, dmab_rx_bdl); in hda_sdw_bpt_open()
314 if (ret1 < 0) in hda_sdw_bpt_open()
316 __func__, ret1); in hda_sdw_bpt_open()
325 int ret1; in hda_sdw_bpt_send_async() local
340 ret1 = hda_sdw_bpt_dma_disable(dev, bpt_tx_stream); in hda_sdw_bpt_send_async()
341 if (ret1 < 0) in hda_sdw_bpt_send_async()
[all …]
H A Dhda-loader.c367 int ret, ret1; in hda_dsp_cl_boot_firmware_iccmax() local
392 ret1 = hda_cl_cleanup(sdev->dev, &hda->iccmax_dmab, in hda_dsp_cl_boot_firmware_iccmax()
394 if (ret1 < 0) { in hda_dsp_cl_boot_firmware_iccmax()
399 ret = ret1; in hda_dsp_cl_boot_firmware_iccmax()
435 int ret, ret1, i; in hda_dsp_cl_boot_firmware() local
548 ret1 = hda_cl_cleanup(sdev->dev, &hda->cl_dmab, in hda_dsp_cl_boot_firmware()
550 if (ret1 < 0) { in hda_dsp_cl_boot_firmware()
555 ret = ret1; in hda_dsp_cl_boot_firmware()
580 int ret, ret1; in hda_dsp_ipc4_load_library() local
668 ret1 = hda_cl_trigger(sdev->dev, hext_stream, SNDRV_PCM_TRIGGER_STOP); in hda_dsp_ipc4_load_library()
[all …]
/linux/tools/testing/selftests/namespaces/
H A Dlistns_test.c134 ssize_t ret1, ret2; in TEST() local
137 ret1 = sys_listns(&req, batch1, ARRAY_SIZE(batch1), 0); in TEST()
138 if (ret1 < 0) { in TEST()
144 ASSERT_GE(ret1, 0); in TEST()
146 if (ret1 == 0) in TEST()
149 TH_LOG("First batch: %zd namespaces", ret1); in TEST()
152 if (ret1 == ARRAY_SIZE(batch1)) { in TEST()
153 req.ns_id = batch1[ret1 - 1]; in TEST()
162 ASSERT_GT(batch2[0], batch1[ret1 - 1]); in TEST()
165 (unsigned long long)batch1[ret1 - 1]); in TEST()
/linux/arch/alpha/kernel/
H A 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/net/wireless/
H A 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/drivers/soundwire/
H A Dintel_ace2x.c79 int ret1; in intel_ace2x_bpt_open_stream() local
258 ret1 = hda_sdw_bpt_close(cdns->dev->parent, /* PCI device */ in intel_ace2x_bpt_open_stream()
261 if (ret1 < 0) in intel_ace2x_bpt_open_stream()
263 __func__, ret1); in intel_ace2x_bpt_open_stream()
269 ret1 = sdw_stream_remove_master(&cdns->bus, cdns->bus.bpt_stream); in intel_ace2x_bpt_open_stream()
270 if (ret1 < 0) in intel_ace2x_bpt_open_stream()
272 __func__, ret1); in intel_ace2x_bpt_open_stream()
275 ret1 = sdw_stream_remove_slave(slave, cdns->bus.bpt_stream); in intel_ace2x_bpt_open_stream()
276 if (ret1 < 0) in intel_ace2x_bpt_open_stream()
278 __func__, ret1); in intel_ace2x_bpt_open_stream()
/linux/drivers/cpufreq/
H A Dimx6q-cpufreq.c159 int ret1; in imx6q_set_target() local
162 ret1 = regulator_set_voltage_tol(arm_reg, volt_old, 0); in imx6q_set_target()
163 if (ret1) in imx6q_set_target()
165 "failed to restore vddarm voltage: %d\n", ret1); in imx6q_set_target()
/linux/tools/perf/util/
H A Dpmus.c685 int ret1, ret2 = 0; in build_format_string() local
696 ret1 = strbuf_addf(&args->long_string, "%s", name); in build_format_string()
700 ret1 = strbuf_addf(&args->long_string, "%s=0..0x%llx", name, in build_format_string()
707 ret1 = strbuf_addf(&args->long_string, "%s=0..%llu", name, in build_format_string()
714 return ret1 < 0 ? ret1 : (ret2 < 0 ? ret2 : 0); in build_format_string()
/linux/sound/soc/codecs/
H A Drt722-sdca-sdw.c474 int ret1, ret2; in rt722_sdca_dev_system_suspend()
486 ret1 = sdw_update_no_pm(slave, SDW_SCP_SDCA_INTMASK1, in rt722_sdca_dev_system_suspend()
492 if (ret1 < 0 || ret2 < 0) { in rt722_sdca_dev_system_suspend()
472 int ret1, ret2; rt722_sdca_dev_system_suspend() local
/linux/arch/sparc/kernel/
H A 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
H A Dpci_sun4v.c1081 unsigned long ret1, ret2; in pci_sun4v_msiq_alloc() local
1094 &ret1, &ret2); in pci_sun4v_msiq_alloc()
1100 if (ret1 != base || ret2 != pbm->msiq_ent_count) { in pci_sun4v_msiq_alloc()
1104 ret1, ret2); in pci_sun4v_msiq_alloc()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c881 int ret1; in mlx4_unbond_mac_table() local
917 ret1 = mlx4_set_port_mac_table(dev, 2, t2->entries); in mlx4_unbond_mac_table()
918 if (ret1) { in mlx4_unbond_mac_table()
919 mlx4_warn(dev, "failed to unmirror MAC tables for port 2(%d)\n", ret1); in mlx4_unbond_mac_table()
920 ret = ret1; in mlx4_unbond_mac_table()
988 int ret1; in mlx4_unbond_vlan_table() local
1024 ret1 = mlx4_set_port_vlan_table(dev, 2, t2->entries); in mlx4_unbond_vlan_table()
1025 if (ret1) { in mlx4_unbond_vlan_table()
1026 mlx4_warn(dev, "failed to unmirror VLAN tables for port 2(%d)\n", ret1); in mlx4_unbond_vlan_table()
1027 ret = ret1; in mlx4_unbond_vlan_table()
/linux/Documentation/translations/zh_CN/arch/parisc/
H A Dregisters.rst145 这俩是ret0和ret1。它们是你传入返回值的地方。r28是主返回值。当返回
/linux/Documentation/translations/zh_TW/arch/parisc/
H A Dregisters.rst145 這倆是ret0和ret1。它們是你傳入返回值的地方。r28是主返回值。當返回
/linux/drivers/net/dsa/qca/
H A Dqca8k-8xxx.c630 int ret, ret1; in qca8k_phy_eth_command() local
725 ret = read_poll_timeout(qca8k_phy_eth_busy_wait, ret1, in qca8k_phy_eth_command()
730 if (ret < 0 && ret1 < 0) { in qca8k_phy_eth_command()
731 ret = ret1; in qca8k_phy_eth_command()
798 int ret, ret1; in qca8k_mdio_busy_wait() local
802 ret = read_poll_timeout(qca8k_mii_read_hi, ret1, !(val & mask), 0, in qca8k_mdio_busy_wait()
809 if (ret < 0 && ret1 < 0) in qca8k_mdio_busy_wait()
810 return ret1; in qca8k_mdio_busy_wait()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_ldsx_insn.c37 ASSERT_EQ(skel->bss->ret1, 1, "ret1"); in test_map_val_and_probed_memory()
H A Dbpf_iter.c718 static void test_overflow(bool test_e2big_overflow, bool ret1) in test_overflow() argument
754 } else if (!ret1) { in test_overflow()
761 skel->rodata->ret1 = ret1; in test_overflow()
800 } else if (!ret1) { in test_overflow()
/linux/arch/parisc/include/asm/
H A Dasmregs.h18 ret1: .reg %r29
/linux/drivers/iio/adc/
H A Dstm32-dfsdm-adc.c321 int ret0, ret1; in stm32_dfsdm_compute_all_osrs() local
327 ret1 = stm32_dfsdm_compute_osrs(fl, 1, oversamp); in stm32_dfsdm_compute_all_osrs()
328 if (ret0 < 0 && ret1 < 0) { in stm32_dfsdm_compute_all_osrs()
331 ret0, ret1); in stm32_dfsdm_compute_all_osrs()
/linux/fs/ocfs2/
H A Daops.c1639 int try_free = 1, ret1; in ocfs2_write_begin_nolock() local
1849 ret1 = ocfs2_try_to_free_truncate_log(osb, clusters_need); in ocfs2_write_begin_nolock()
1850 if (ret1 == 1) in ocfs2_write_begin_nolock()
1853 if (ret1 < 0) in ocfs2_write_begin_nolock()
1854 mlog_errno(ret1); in ocfs2_write_begin_nolock()
/linux/drivers/net/wireless/ath/ath10k/
H A Dpci.c3795 int ret1, ret2; in ath10k_pci_init() local
3797 ret1 = pci_register_driver(&ath10k_pci_driver); in ath10k_pci_init()
3798 if (ret1) in ath10k_pci_init()
3800 ret1); in ath10k_pci_init()
3806 if (ret1 && ret2) in ath10k_pci_init()
3807 return ret1; in ath10k_pci_init()
/linux/arch/parisc/lib/
H A Dlusercopy.S107 save_dst = ret1
/linux/Documentation/arch/parisc/
H A Dregisters.rst140 are ret0 and ret1. They are what you pass return values

12