/kernel/linux/linux-6.6/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drxj.c | 1376 pr_debug("drx3933 i2c operation addr=%x i2c=%p, wc=%x rc=%x\n", in drxbsp_i2c_write_read() 1421 int rc; in drxdap_fasi_read_block() local 1483 rc = drxbsp_i2c_write_read(dev_addr, bufx, buf, in drxdap_fasi_read_block() 1485 if (rc == 0) in drxdap_fasi_read_block() 1486 rc = drxbsp_i2c_write_read(NULL, 0, NULL, dev_addr, todo, data); in drxdap_fasi_read_block() 1489 rc = drxbsp_i2c_write_read(dev_addr, bufx, buf, dev_addr, todo, in drxdap_fasi_read_block() 1495 } while (datasize && rc == 0); in drxdap_fasi_read_block() 1497 return rc; in drxdap_fasi_read_block() 1524 int rc; in drxdap_fasi_read_reg16() local 1529 rc in drxdap_fasi_read_reg16() 1557 int rc; drxdap_fasi_read_reg32() local 1767 int rc = -EIO; drxdap_fasi_read_modify_write_reg16() local 1840 int rc; drxj_dap_rm_write_reg16short() local 2108 int rc; drxj_dap_atomic_read_write_block() local 2185 int rc; drxj_dap_atomic_read_reg32() local 2238 int rc; hi_cfg_command() local 2282 int rc; hi_command() local 2394 int rc; init_hi() local 2481 int rc; get_device_capabilities() local 2733 int rc; ctrl_set_cfg_mpeg_output() local 3375 int rc; set_mpegtei_handling() local 3448 int rc; bit_reverse_mpeg_output() local 3492 int rc; set_mpeg_start_width() local 3538 int rc; ctrl_set_uio_cfg() local 3673 int rc; ctrl_uio_write() local 3918 int rc; smart_ant_init() local 3981 int rc; scu_command() local 4146 int rc; drxj_dap_scu_atomic_read_write_block() local 4210 int rc; drxj_dap_scu_atomic_read_reg16() local 4238 int rc; drxj_dap_scu_atomic_write_reg16() local 4261 int rc; adc_sync_measurement() local 4324 int rc; adc_synchronization() local 4391 int rc; init_agc() local 4767 int rc; set_frequency() local 4864 int rc; get_acc_pkt_err() local 4917 int rc; set_agc_rf() local 5133 int rc; set_agc_if() local 5357 int rc; set_iqm_af() local 5409 int rc; power_down_vsb() local 5499 int rc; set_vsb_leak_n_gain() local 5716 int rc; set_vsb() local 6220 int rc; get_vsb_post_rs_pck_err() local 6259 int rc; get_vs_bpost_viterbi_ber() local 6305 int rc; get_vs_bpre_viterbi_ber() local 6325 int rc; get_vsbmer() local 6367 int rc; power_down_qam() local 6479 int rc; set_qam_measurement() local 6677 int rc; set_qam16() local 6912 int rc; set_qam32() local 7147 int rc; set_qam64() local 7383 int rc; set_qam128() local 7618 int rc; set_qam256() local 7861 int rc; set_qam() local 8678 int rc; qam_flip_spec() local 8875 int rc; qam64auto() local 9023 int rc; qam256auto() local 9101 int rc; set_qam_channel() local 9308 int rc; get_qamrs_err_count() local 9385 int rc; get_sig_strength() local 9468 int rc; ctrl_get_qam_sig_quality() local 9755 int rc; power_down_atv() local 9845 int rc; power_down_aud() local 9873 int rc; set_orx_nsu_aox() local 9923 int rc; ctrl_set_oob() local 10446 int rc; ctrl_set_channel() local 10685 int rc; ctrl_sig_quality() local 10801 int rc; ctrl_lock_status() local 10883 int rc; ctrl_set_standard() local 11043 int rc; ctrl_power_mode() local 11199 int rc; ctrl_set_cfg_pre_saw() local 11262 int rc; ctrl_set_cfg_afe_gain() local 11355 int rc; drxj_open() local 11565 int rc; drxj_close() local 11745 int rc; drx_ctrl_u_code() local 12223 int rc = 0; drx39xxj_init() local [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drxj.c | 1376 pr_debug("drx3933 i2c operation addr=%x i2c=%p, wc=%x rc=%x\n", in drxbsp_i2c_write_read() 1421 int rc; in drxdap_fasi_read_block() local 1483 rc = drxbsp_i2c_write_read(dev_addr, bufx, buf, in drxdap_fasi_read_block() 1485 if (rc == 0) in drxdap_fasi_read_block() 1486 rc = drxbsp_i2c_write_read(NULL, 0, NULL, dev_addr, todo, data); in drxdap_fasi_read_block() 1489 rc = drxbsp_i2c_write_read(dev_addr, bufx, buf, dev_addr, todo, in drxdap_fasi_read_block() 1495 } while (datasize && rc == 0); in drxdap_fasi_read_block() 1497 return rc; in drxdap_fasi_read_block() 1524 int rc; in drxdap_fasi_read_reg16() local 1529 rc in drxdap_fasi_read_reg16() 1557 int rc; drxdap_fasi_read_reg32() local 1767 int rc = -EIO; drxdap_fasi_read_modify_write_reg16() local 1840 int rc; drxj_dap_rm_write_reg16short() local 2108 int rc; drxj_dap_atomic_read_write_block() local 2185 int rc; drxj_dap_atomic_read_reg32() local 2238 int rc; hi_cfg_command() local 2282 int rc; hi_command() local 2394 int rc; init_hi() local 2481 int rc; get_device_capabilities() local 2733 int rc; ctrl_set_cfg_mpeg_output() local 3375 int rc; set_mpegtei_handling() local 3448 int rc; bit_reverse_mpeg_output() local 3492 int rc; set_mpeg_start_width() local 3538 int rc; ctrl_set_uio_cfg() local 3676 int rc; ctrl_uio_write() local 3921 int rc; smart_ant_init() local 3984 int rc; scu_command() local 4149 int rc; drxj_dap_scu_atomic_read_write_block() local 4213 int rc; drxj_dap_scu_atomic_read_reg16() local 4241 int rc; drxj_dap_scu_atomic_write_reg16() local 4264 int rc; adc_sync_measurement() local 4327 int rc; adc_synchronization() local 4394 int rc; init_agc() local 4770 int rc; set_frequency() local 4867 int rc; get_acc_pkt_err() local 4920 int rc; set_agc_rf() local 5136 int rc; set_agc_if() local 5360 int rc; set_iqm_af() local 5412 int rc; power_down_vsb() local 5502 int rc; set_vsb_leak_n_gain() local 5719 int rc; set_vsb() local 6223 int rc; get_vsb_post_rs_pck_err() local 6262 int rc; get_vs_bpost_viterbi_ber() local 6308 int rc; get_vs_bpre_viterbi_ber() local 6328 int rc; get_vsbmer() local 6370 int rc; power_down_qam() local 6482 int rc; set_qam_measurement() local 6680 int rc; set_qam16() local 6915 int rc; set_qam32() local 7150 int rc; set_qam64() local 7386 int rc; set_qam128() local 7621 int rc; set_qam256() local 7864 int rc; set_qam() local 8681 int rc; qam_flip_spec() local 8878 int rc; qam64auto() local 9026 int rc; qam256auto() local 9104 int rc; set_qam_channel() local 9311 int rc; get_qamrs_err_count() local 9388 int rc; get_sig_strength() local 9471 int rc; ctrl_get_qam_sig_quality() local 9757 int rc; power_down_atv() local 9847 int rc; power_down_aud() local 9875 int rc; set_orx_nsu_aox() local 9925 int rc; ctrl_set_oob() local 10448 int rc; ctrl_set_channel() local 10687 int rc; ctrl_sig_quality() local 10803 int rc; ctrl_lock_status() local 10885 int rc; ctrl_set_standard() local 11045 int rc; ctrl_power_mode() local 11202 int rc; ctrl_set_cfg_pre_saw() local 11265 int rc; ctrl_set_cfg_afe_gain() local 11358 int rc; drxj_open() local 11567 int rc; drxj_close() local 11747 int rc; drx_ctrl_u_code() local 12226 int rc = 0; drx39xxj_init() local [all...] |
/kernel/linux/linux-5.10/drivers/media/tuners/ |
H A D | r820t.c | 355 int rc, size, pos = 0; in r820t_write() local 370 rc = tuner_i2c_xfer_send(&priv->i2c_props, priv->buf, size + 1); in r820t_write() 371 if (rc != size + 1) { in r820t_write() 373 __func__, rc, reg, size, size, &priv->buf[1]); in r820t_write() 374 if (rc < 0) in r820t_write() 375 return rc; in r820t_write() 410 int rc = r820t_read_cache_reg(priv, reg); in r820t_write_reg_mask() local 412 if (rc < 0) in r820t_write_reg_mask() 413 return rc; in r820t_write_reg_mask() 415 tmp = (rc in r820t_write_reg_mask() 422 int rc, i; r820t_read() local 453 int i, rc; r820t_set_mux() local 522 int rc, i; r820t_set_pll() local 703 int rc; r820t_sysfreq_sel() local 933 int rc, i; r820t_set_tv_standard() local 1187 int rc; r820t_read_gain() local 1292 int rc; generic_set_freq() local 1335 int rc; r820t_standby() local 1385 int rc, i; r820t_xtal_check() local 1443 int rc; r820t_imr_prepare() local 1501 int rc, i; r820t_multi_read() local 1531 int i, rc; r820t_imr_cross() local 1611 int rc; r820t_compre_step() local 1662 int rc, i; r820t_iq_tree() local 1724 int rc; r820t_section() local 1782 int rc; r820t_vga_adjust() local 1807 int rc; r820t_iq() local 1872 int rc; r820t_f_imr() local 1890 int rc; r820t_imr() local 2041 int rc, i; r820t_imr_callibrate() local 2127 int rc; r820t_init() local 2156 int rc; r820t_sleep() local 2179 int rc; r820t_set_analog_freq() local 2210 int rc; r820t_set_params() local 2239 int rc = 0; r820t_signal() local 2318 int rc = -ENODEV; r820t_attach() local [all...] |
/kernel/linux/linux-6.6/drivers/media/tuners/ |
H A D | r820t.c | 375 int rc, size, pos = 0; in r820t_write() local 390 rc = tuner_i2c_xfer_send(&priv->i2c_props, priv->buf, size + 1); in r820t_write() 391 if (rc != size + 1) { in r820t_write() 393 __func__, rc, reg, size, size, &priv->buf[1]); in r820t_write() 394 if (rc < 0) in r820t_write() 395 return rc; in r820t_write() 430 int rc = r820t_read_cache_reg(priv, reg); in r820t_write_reg_mask() local 432 if (rc < 0) in r820t_write_reg_mask() 433 return rc; in r820t_write_reg_mask() 435 tmp = (rc in r820t_write_reg_mask() 442 int rc, i; r820t_read() local 473 int i, rc; r820t_set_mux() local 542 int rc, i; r820t_set_pll() local 723 int rc; r820t_sysfreq_sel() local 953 int rc, i; r820t_set_tv_standard() local 1207 int rc; r820t_read_gain() local 1312 int rc; generic_set_freq() local 1355 int rc; r820t_standby() local 1405 int rc, i; r820t_xtal_check() local 1463 int rc; r820t_imr_prepare() local 1521 int rc, i; r820t_multi_read() local 1551 int i, rc; r820t_imr_cross() local 1631 int rc; r820t_compre_step() local 1682 int rc, i; r820t_iq_tree() local 1744 int rc; r820t_section() local 1802 int rc; r820t_vga_adjust() local 1827 int rc; r820t_iq() local 1892 int rc; r820t_f_imr() local 1910 int rc; r820t_imr() local 2061 int rc, i; r820t_imr_callibrate() local 2147 int rc; r820t_init() local 2176 int rc; r820t_sleep() local 2199 int rc; r820t_set_analog_freq() local 2230 int rc; r820t_set_params() local 2259 int rc = 0; r820t_signal() local 2338 int rc = -ENODEV; r820t_attach() local [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | mb86a20s.c | 219 int rc; in mb86a20s_i2c_writereg() local 221 rc = i2c_transfer(state->i2c, &msg, 1); in mb86a20s_i2c_writereg() 222 if (rc != 1) { in mb86a20s_i2c_writereg() 224 "%s: writereg error (rc == %i, reg == 0x%02x, data == 0x%02x)\n", in mb86a20s_i2c_writereg() 225 __func__, rc, reg, data); in mb86a20s_i2c_writereg() 226 return rc; in mb86a20s_i2c_writereg() 235 int i, rc; in mb86a20s_i2c_writeregdata() local 238 rc = mb86a20s_i2c_writereg(state, i2c_addr, rd[i].reg, in mb86a20s_i2c_writeregdata() 240 if (rc < 0) in mb86a20s_i2c_writeregdata() 241 return rc; in mb86a20s_i2c_writeregdata() 250 int rc; mb86a20s_i2c_readreg() local 322 int rc; mb86a20s_read_signal_strength() local 379 int rc; mb86a20s_get_modulation() local 411 int rc; mb86a20s_get_fec() local 446 int rc; mb86a20s_get_interleaving() local 472 int rc, count; mb86a20s_get_segment_count() local 609 int layer, rc, rate, counter; mb86a20s_get_frontend() local 732 int rc, val; mb86a20s_reset_counters() local 797 int rc, val; mb86a20s_get_pre_ber() local 931 int rc, val; mb86a20s_get_post_ber() local 1058 int rc, val; mb86a20s_get_blk_error() local 1380 int rc, val; mb86a20s_get_main_CNR() local 1427 int rc, val, layer; mb86a20s_get_blk_error_layer_CNR() local 1566 int rc = 0, layer; mb86a20s_get_stats() local 1749 int rc; mb86a20s_initfe() local 1864 int rc, if_freq; mb86a20s_set_frontend() local 1938 int rc, status_nr; mb86a20s_read_status_and_stats() local 2020 int rc = 0; mb86a20s_tune() local [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | mb86a20s.c | 219 int rc; in mb86a20s_i2c_writereg() local 221 rc = i2c_transfer(state->i2c, &msg, 1); in mb86a20s_i2c_writereg() 222 if (rc != 1) { in mb86a20s_i2c_writereg() 224 "%s: writereg error (rc == %i, reg == 0x%02x, data == 0x%02x)\n", in mb86a20s_i2c_writereg() 225 __func__, rc, reg, data); in mb86a20s_i2c_writereg() 226 return rc; in mb86a20s_i2c_writereg() 235 int i, rc; in mb86a20s_i2c_writeregdata() local 238 rc = mb86a20s_i2c_writereg(state, i2c_addr, rd[i].reg, in mb86a20s_i2c_writeregdata() 240 if (rc < 0) in mb86a20s_i2c_writeregdata() 241 return rc; in mb86a20s_i2c_writeregdata() 250 int rc; mb86a20s_i2c_readreg() local 322 int rc; mb86a20s_read_signal_strength() local 379 int rc; mb86a20s_get_modulation() local 411 int rc; mb86a20s_get_fec() local 446 int rc; mb86a20s_get_interleaving() local 472 int rc, count; mb86a20s_get_segment_count() local 609 int layer, rc, rate, counter; mb86a20s_get_frontend() local 732 int rc, val; mb86a20s_reset_counters() local 797 int rc, val; mb86a20s_get_pre_ber() local 931 int rc, val; mb86a20s_get_post_ber() local 1058 int rc, val; mb86a20s_get_blk_error() local 1380 int rc, val; mb86a20s_get_main_CNR() local 1427 int rc, val, layer; mb86a20s_get_blk_error_layer_CNR() local 1566 int rc = 0, layer; mb86a20s_get_stats() local 1746 int rc; mb86a20s_initfe() local 1861 int rc, if_freq; mb86a20s_set_frontend() local 1935 int rc, status_nr; mb86a20s_read_status_and_stats() local 2017 int rc = 0; mb86a20s_tune() local [all...] |
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/ |
H A D | It_posix_pthread_083.cpp | 35 int rc; in pthread_f01() local 38 rc = pthread_mutex_lock(&g_td.mutex); in pthread_f01() 39 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in pthread_f01() 43 rc = pthread_cond_wait(&g_td.cond, &g_td.mutex); in pthread_f01() 44 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in pthread_f01() 48 rc = pthread_mutex_unlock(&g_td.mutex); in pthread_f01() 49 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXI in pthread_f01() 56 int i, rc; Testcase() local [all...] |
H A D | It_posix_pthread_089.cpp | 38 int rc; in PthreadSignalHandlerF01() local 39 rc = pthread_cond_broadcast(&g_pthreadCondTest100); in PthreadSignalHandlerF01() 40 ICUNIT_ASSERT_EQUAL_VOID(rc, 0, rc); in PthreadSignalHandlerF01() 55 int rc = 0; in pthread_f01() local 59 rc = pthread_setschedparam(pthread_self(), SCHED_RR, ¶m); in pthread_f01() 60 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in pthread_f01() 62 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); in pthread_f01() 63 ICUNIT_GOTO_EQUAL(rc, in pthread_f01() 93 int rc = 0; pthread_f02() local 128 int rc = 0; Testcase() local [all...] |
H A D | It_posix_pthread_088.cpp | 37 int rc; in PthreadSignalHandlerF01() local 39 rc = pthread_cond_signal(&g_pthreadCondTest100); in PthreadSignalHandlerF01() 40 ICUNIT_ASSERT_EQUAL_VOID(rc, 0, rc); in PthreadSignalHandlerF01() 55 int rc = 0; in pthread_f01() local 59 rc = pthread_setschedparam(pthread_self(), SCHED_RR, ¶m); in pthread_f01() 60 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in pthread_f01() 62 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); in pthread_f01() 63 ICUNIT_GOTO_EQUAL(rc, in pthread_f01() 92 int rc = 0; pthread_f02() local 124 int rc = 0; Testcase() local [all...] |
H A D | It_posix_pthread_092.cpp | 38 int rc; in pthread_f01() local 41 rc = pthread_mutex_lock(&g_td.mutex); in pthread_f01() 42 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in pthread_f01() 50 rc = pthread_cond_wait(&g_td.cond, &g_td.mutex); in pthread_f01() 51 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in pthread_f01() 56 rc = pthread_mutex_unlock(&g_td.mutex); in pthread_f01() 57 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXI in pthread_f01() 65 int rc; pthread_f02() local 81 int i, rc; Testcase() local [all...] |
H A D | It_posix_pthread_084.cpp | 35 int rc; in pthread_f01() local 38 rc = pthread_mutex_lock(&g_td.mutex); in pthread_f01() 39 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in pthread_f01() 43 rc = pthread_cond_wait(&g_td.cond, &g_td.mutex); in pthread_f01() 44 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in pthread_f01() 46 rc = pthread_mutex_trylock(&g_td.mutex); in pthread_f01() 47 ICUNIT_GOTO_NOT_EQUAL(rc, 0, rc, EXI in pthread_f01() 59 int i, rc; Testcase() local [all...] |
H A D | It_posix_pthread_081.cpp | 35 int rc; in pthread_f01() local 38 rc = pthread_mutex_lock(&g_td.mutex); in pthread_f01() 39 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in pthread_f01() 43 rc = pthread_cond_wait(&g_td.cond, &g_td.mutex); in pthread_f01() 44 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in pthread_f01() 46 rc = pthread_mutex_trylock(&g_td.mutex); in pthread_f01() 47 ICUNIT_GOTO_NOT_EQUAL(rc, 0, rc, EXI in pthread_f01() 60 int i, rc; Testcase() local [all...] |
H A D | It_posix_pthread_087.cpp | 35 int rc; in pthread_f01() local 39 rc = pthread_mutex_lock(&g_td.mutex); in pthread_f01() 40 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in pthread_f01() 44 rc = gettimeofday(&curtime, NULL); in pthread_f01() 45 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in pthread_f01() 50 rc = pthread_cond_timedwait(&g_td.cond, &g_td.mutex, &timeout); in pthread_f01() 51 ICUNIT_GOTO_EQUAL(rc, ETIMEDOUT, rc, EXI in pthread_f01() 66 int rc; Testcase() local [all...] |
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/ |
H A D | It_posix_pthread_089.c | 42 int rc; in PthreadSignalHandlerF01() local 43 rc = pthread_cond_broadcast(&g_pthreadCondTest1); in PthreadSignalHandlerF01() 44 ICUNIT_ASSERT_EQUAL_VOID(rc, 0, rc); in PthreadSignalHandlerF01() 59 int rc; in PthreadF01() local 63 rc = pthread_setschedparam(pthread_self(), SCHED_RR, ¶m); in PthreadF01() 64 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in PthreadF01() 66 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); in PthreadF01() 67 ICUNIT_GOTO_EQUAL(rc, in PthreadF01() 97 int rc; PthreadF02() local 132 int rc; Testcase() local [all...] |
H A D | It_posix_pthread_088.c | 42 int rc; in PthreadSignalHandlerF01() local 44 rc = pthread_cond_signal(&g_pthreadCondTest1); in PthreadSignalHandlerF01() 45 ICUNIT_ASSERT_EQUAL_VOID(rc, 0, rc); in PthreadSignalHandlerF01() 60 int rc; in PthreadF01() local 64 rc = pthread_setschedparam(pthread_self(), SCHED_RR, ¶m); in PthreadF01() 65 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in PthreadF01() 67 rc = pthread_getschedparam(pthread_self(), &policy, ¶m); in PthreadF01() 68 ICUNIT_GOTO_EQUAL(rc, in PthreadF01() 98 int rc; PthreadF02() local 130 int rc; Testcase() local [all...] |
H A D | It_posix_pthread_084.c | 42 int rc; in PthreadF01() local 44 rc = pthread_mutex_lock(&g_td.mutex); in PthreadF01() 45 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in PthreadF01() 49 rc = pthread_cond_wait(&g_td.cond, &g_td.mutex); in PthreadF01() 50 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in PthreadF01() 52 rc = pthread_mutex_trylock(&g_td.mutex); in PthreadF01() 53 ICUNIT_GOTO_NOT_EQUAL(rc, 0, rc, EXI in PthreadF01() 65 int i, rc; Testcase() local [all...] |
H A D | It_posix_pthread_081.c | 42 int rc; in PthreadF01() local 44 rc = pthread_mutex_lock(&g_td.mutex); in PthreadF01() 45 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in PthreadF01() 49 rc = pthread_cond_wait(&g_td.cond, &g_td.mutex); in PthreadF01() 50 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in PthreadF01() 52 rc = pthread_mutex_trylock(&g_td.mutex); in PthreadF01() 53 ICUNIT_GOTO_NOT_EQUAL(rc, 0, rc, EXI in PthreadF01() 66 int i, rc; Testcase() local [all...] |
/kernel/linux/linux-5.10/drivers/iio/pressure/ |
H A D | dps310.c | 63 #define DPS310_POLL_TIMEOUT_US(rc) ((rc) <= 0 ? 1000000 : 1000000 / (rc)) 113 int rc; in dps310_get_coefs() local 119 rc = regmap_bulk_read(data->regmap, DPS310_COEF_BASE, coef, in dps310_get_coefs() 121 if (rc < 0) in dps310_get_coefs() 122 return rc; in dps310_get_coefs() 170 int rc; in dps310_temp_workaround() local 173 rc = regmap_read(data->regmap, 0x32, ®); in dps310_temp_workaround() 174 if (rc) in dps310_temp_workaround() 205 int rc; dps310_startup() local 261 int rc; dps310_get_pres_precision() local 273 int rc; dps310_get_temp_precision() local 290 int rc; dps310_set_pres_precision() local 309 int rc; dps310_set_temp_precision() local 355 int rc; dps310_get_pres_samp_freq() local 367 int rc; dps310_get_temp_samp_freq() local 379 int rc = dps310_get_pres_precision(data); dps310_get_pres_k() local 389 int rc = dps310_get_temp_precision(data); dps310_get_temp_k() local 399 int rc; dps310_reset_wait() local 412 int rc; dps310_reset_reinit() local 432 int rc; dps310_ready() local 458 int rc; dps310_read_pres_raw() local 490 int rc; dps310_read_temp_ready() local 506 int rc; dps310_read_temp_raw() local 567 int rc; dps310_write_raw() local 618 int rc; dps310_calculate_pressure() local 696 int rc; dps310_read_pressure() local 755 int rc; dps310_read_temp() local 835 int rc; dps310_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/iio/pressure/ |
H A D | dps310.c | 63 #define DPS310_POLL_TIMEOUT_US(rc) ((rc) <= 0 ? 1000000 : 1000000 / (rc)) 113 int rc; in dps310_get_coefs() local 119 rc = regmap_bulk_read(data->regmap, DPS310_COEF_BASE, coef, in dps310_get_coefs() 121 if (rc < 0) in dps310_get_coefs() 122 return rc; in dps310_get_coefs() 170 int rc; in dps310_temp_workaround() local 173 rc = regmap_read(data->regmap, 0x32, ®); in dps310_temp_workaround() 174 if (rc) in dps310_temp_workaround() 205 int rc; dps310_startup() local 261 int rc; dps310_get_pres_precision() local 273 int rc; dps310_get_temp_precision() local 290 int rc; dps310_set_pres_precision() local 309 int rc; dps310_set_temp_precision() local 355 int rc; dps310_get_pres_samp_freq() local 367 int rc; dps310_get_temp_samp_freq() local 379 int rc = dps310_get_pres_precision(data); dps310_get_pres_k() local 389 int rc = dps310_get_temp_precision(data); dps310_get_temp_k() local 399 int rc; dps310_reset_wait() local 412 int rc; dps310_reset_reinit() local 432 int rc; dps310_ready() local 458 int rc; dps310_read_pres_raw() local 490 int rc; dps310_read_temp_ready() local 506 int rc; dps310_read_temp_raw() local 567 int rc; dps310_write_raw() local 618 int rc; dps310_calculate_pressure() local 696 int rc; dps310_read_pressure() local 755 int rc; dps310_read_temp() local 835 int rc; dps310_probe() local [all...] |
/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | policydb.c | 386 int rc; in roles_init() local 393 rc = -EINVAL; in roles_init() 398 rc = -ENOMEM; in roles_init() 403 rc = symtab_insert(&p->p_roles, key, role); in roles_init() 404 if (rc) in roles_init() 411 return rc; in roles_init() 720 int i, rc; in policydb_index() local 763 rc = cond_init_bool_indexes(p); in policydb_index() 764 if (rc) in policydb_index() 774 rc in policydb_index() 872 int rc; policydb_load_isids() local 980 int rc; mls_read_range_helper() local 1040 int rc; context_read_and_validate() local 1077 int rc; str_read() local 1102 int rc; perm_read() local 1137 int i, rc; common_read() local 1184 int rc; type_set_read() local 1208 int rc, i, j, depth; read_cons_helper() local 1301 int i, rc; class_read() local 1394 int rc, to_read = 2; role_read() local 1450 int rc, to_read = 3; type_read() local 1501 int rc; mls_read_level() local 1524 int rc, to_read = 2; user_read() local 1574 int rc; sens_read() local 1615 int rc; cat_read() local 1760 int rc; policydb_bounds_sanity_check() local 1816 int i, rc; range_read() local 1896 int rc; filename_trans_read_helper_compat() local 1980 int rc; filename_trans_read_helper() local 2066 int rc, i; filename_trans_read() local 2105 int i, j, rc; genfs_read() local 2219 int i, j, rc; ocontext_read() local 2407 int i, j, rc; policydb_read() local 2724 int rc; mls_write_level() local 2746 int rc, eq; mls_write_range_helper() local 2785 int rc; sens_write() local 2813 int rc; cat_write() local 2838 int rc; role_trans_write_one() local 2859 int rc; role_trans_write() local 2874 int rc; role_allow_write() local 2900 int rc; context_write() local 2930 int rc; perm_write() local 2954 int rc; common_write() local 2978 int rc; type_set_write() local 3001 int rc; write_cons_helper() local 3052 int rc; class_write() local 3135 int rc; role_write() local 3173 int rc; type_write() local 3215 int rc; user_write() local 3263 unsigned int i, j, rc; ocontext_write() local 3396 int rc; genfs_write() local 3450 int rc; range_write_helper() local 3473 int rc; range_write() local 3499 int rc; filename_write_helper_compat() local 3535 int rc; filename_write_helper() local 3581 int rc; filename_trans_write() local 3613 int rc; policydb_write() local [all...] |
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | policydb.c | 381 int rc; in roles_init() local 388 rc = -EINVAL; in roles_init() 393 rc = -ENOMEM; in roles_init() 398 rc = symtab_insert(&p->p_roles, key, role); in roles_init() 399 if (rc) in roles_init() 406 return rc; in roles_init() 717 int i, rc; in policydb_index() local 758 rc = cond_init_bool_indexes(p); in policydb_index() 759 if (rc) in policydb_index() 769 rc in policydb_index() 867 int rc; policydb_load_isids() local 975 int rc; mls_read_range_helper() local 1035 int rc; context_read_and_validate() local 1072 int rc; str_read() local 1097 int rc; perm_read() local 1132 int rc; common_read() local 1179 int rc; type_set_read() local 1203 int rc, depth; read_cons_helper() local 1296 int rc; class_read() local 1389 int rc; role_read() local 1446 int rc; type_read() local 1498 int rc; mls_read_level() local 1521 int rc; user_read() local 1572 int rc; sens_read() local 1613 int rc; cat_read() local 1758 int rc; policydb_bounds_sanity_check() local 1814 int rc; range_read() local 1894 int rc; filename_trans_read_helper_compat() local 1978 int rc; filename_trans_read_helper() local 2064 int rc; filename_trans_read() local 2103 int rc; genfs_read() local 2217 int rc; ocontext_read() local 2410 int rc; policydb_read() local 2726 int rc; mls_write_level() local 2748 int rc, eq; mls_write_range_helper() local 2787 int rc; sens_write() local 2815 int rc; cat_write() local 2840 int rc; role_trans_write_one() local 2861 int rc; role_trans_write() local 2876 int rc; role_allow_write() local 2902 int rc; context_write() local 2932 int rc; perm_write() local 2956 int rc; common_write() local 2980 int rc; type_set_write() local 3003 int rc; write_cons_helper() local 3054 int rc; class_write() local 3137 int rc; role_write() local 3175 int rc; type_write() local 3217 int rc; user_write() local 3264 int rc; ocontext_write() local 3397 int rc; genfs_write() local 3451 int rc; range_write_helper() local 3474 int rc; range_write() local 3500 int rc; filename_write_helper_compat() local 3536 int rc; filename_write_helper() local 3582 int rc; filename_trans_write() local 3614 int rc; policydb_write() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | ucode_loader.c | 42 int rc; in brcms_ucode_data_init() local 44 rc = brcms_check_firmwares(wl); in brcms_ucode_data_init() 46 rc = rc < 0 ? rc : in brcms_ucode_data_init() 49 rc = rc < 0 ? in brcms_ucode_data_init() 50 rc : brcms_ucode_init_buf(wl, (void **)&ucode->d11lcn0initvals24, in brcms_ucode_data_init() 52 rc = rc < in brcms_ucode_data_init() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | ucode_loader.c | 42 int rc; in brcms_ucode_data_init() local 44 rc = brcms_check_firmwares(wl); in brcms_ucode_data_init() 46 rc = rc < 0 ? rc : in brcms_ucode_data_init() 49 rc = rc < 0 ? in brcms_ucode_data_init() 50 rc : brcms_ucode_init_buf(wl, (void **)&ucode->d11lcn0initvals24, in brcms_ucode_data_init() 52 rc = rc < in brcms_ucode_data_init() [all...] |
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/ |
H A D | pthread_cond_test_002.cpp | 39 int rc; in PthreadF01() local 43 rc = pthread_mutex_lock(&g_pthreadMuxTest1); in PthreadF01() 44 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in PthreadF01() 46 rc = pthread_cond_wait(&g_pthrdCondTest1, &g_pthreadMuxTest1); in PthreadF01() 47 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in PthreadF01() 49 rc = pthread_mutex_unlock(&g_pthreadMuxTest1); in PthreadF01() 50 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXI in PthreadF01() 62 int rc; PthreadF02() local 84 int rc; TestCase() local [all...] |
H A D | pthread_cond_test_001.cpp | 38 int rc; in PthreadF01() local 40 rc = pthread_mutex_lock(&g_pthreadMuxTest1); in PthreadF01() 41 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in PthreadF01() 48 rc = pthread_cond_wait(&g_pthdCondTest1, &g_pthreadMuxTest1); in PthreadF01() 49 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXIT); in PthreadF01() 52 rc = pthread_mutex_unlock(&g_pthreadMuxTest1); in PthreadF01() 53 ICUNIT_GOTO_EQUAL(rc, 0, rc, EXI in PthreadF01() 62 int rc; PthreadF02() local 90 int rc; TestCase() local [all...] |