/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | drxk_hard.c | 228 int status; in i2c_write() local 239 status = drxk_i2c_transfer(state, &msg, 1); in i2c_write() 240 if (status >= 0 && status != 1) in i2c_write() 241 status = -EIO; in i2c_write() 243 if (status < 0) in i2c_write() 246 return status; in i2c_write() 252 int status; in i2c_read() local 260 status = drxk_i2c_transfer(state, msgs, 2); in i2c_read() 261 if (status != 2) { in i2c_read() 264 if (status >= 0) in i2c_read() [all …]
|
D | drxd_hard.c | 317 int status = 0; in WriteTable() local 322 while (!status) { in WriteTable() 335 status = WriteBlock(state, Address, Length * 2, pTable, 0); in WriteTable() 338 return status; in WriteTable() 357 int status; in InitCE() local 361 status = WriteTable(state, state->m_InitCE); in InitCE() 362 if (status < 0) in InitCE() 370 status = Write16(state, CE_REG_TAPSET__A, 0x0000, 0); in InitCE() 371 if (status < 0) in InitCE() 374 status = Write16(state, CE_REG_TAPSET__A, 0x0001, 0); in InitCE() [all …]
|
D | tda18271c2dd.c | 255 int status = 0; in ThermometerRead() local 260 status = UpdateReg(state, TM); in ThermometerRead() 261 if (status < 0) in ThermometerRead() 263 status = Read(state, Regs); in ThermometerRead() 264 if (status < 0) in ThermometerRead() 269 status = UpdateReg(state, TM); in ThermometerRead() 270 if (status < 0) in ThermometerRead() 273 status = Read(state, Regs); in ThermometerRead() 274 if (status < 0) in ThermometerRead() 281 status = UpdateReg(state, TM); in ThermometerRead() [all …]
|
D | cxd2099.c | 64 int status = 0; in read_block() local 67 status = regmap_write(ci->regmap, 0, adr); in read_block() 68 if (!status) { in read_block() 76 status = regmap_raw_read(ci->regmap, 1, data, len); in read_block() 77 if (status) in read_block() 78 return status; in read_block() 83 return status; in read_block() 93 int status; in read_pccard() local 96 status = regmap_raw_write(ci->regmap, 2, addr, 2); in read_pccard() 97 if (!status) in read_pccard() [all …]
|
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
D | sja1105_ethtool.c | 102 struct sja1105_port_status_mac *status) in sja1105_port_status_mac_unpack() argument 107 sja1105_unpack(p + 0x0, &status->n_runt, 31, 24, 4); in sja1105_port_status_mac_unpack() 108 sja1105_unpack(p + 0x0, &status->n_soferr, 23, 16, 4); in sja1105_port_status_mac_unpack() 109 sja1105_unpack(p + 0x0, &status->n_alignerr, 15, 8, 4); in sja1105_port_status_mac_unpack() 110 sja1105_unpack(p + 0x0, &status->n_miierr, 7, 0, 4); in sja1105_port_status_mac_unpack() 111 sja1105_unpack(p + 0x1, &status->typeerr, 27, 27, 4); in sja1105_port_status_mac_unpack() 112 sja1105_unpack(p + 0x1, &status->sizeerr, 26, 26, 4); in sja1105_port_status_mac_unpack() 113 sja1105_unpack(p + 0x1, &status->tctimeout, 25, 25, 4); in sja1105_port_status_mac_unpack() 114 sja1105_unpack(p + 0x1, &status->priorerr, 24, 24, 4); in sja1105_port_status_mac_unpack() 115 sja1105_unpack(p + 0x1, &status->nomaster, 23, 23, 4); in sja1105_port_status_mac_unpack() [all …]
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | utxfinit.c | 40 acpi_status status; in acpi_initialize_subsystem() local 49 status = acpi_os_initialize(); in acpi_initialize_subsystem() 50 if (ACPI_FAILURE(status)) { in acpi_initialize_subsystem() 51 ACPI_EXCEPTION((AE_INFO, status, "During OSL initialization")); in acpi_initialize_subsystem() 52 return_ACPI_STATUS(status); in acpi_initialize_subsystem() 57 status = acpi_ut_init_globals(); in acpi_initialize_subsystem() 58 if (ACPI_FAILURE(status)) { in acpi_initialize_subsystem() 59 ACPI_EXCEPTION((AE_INFO, status, in acpi_initialize_subsystem() 61 return_ACPI_STATUS(status); in acpi_initialize_subsystem() 66 status = acpi_ut_mutex_initialize(); in acpi_initialize_subsystem() [all …]
|
D | hwsleep.c | 37 acpi_status status; in acpi_hw_legacy_sleep() local 48 status = acpi_write_bit_register(ACPI_BITREG_WAKE_STATUS, in acpi_hw_legacy_sleep() 50 if (ACPI_FAILURE(status)) { in acpi_hw_legacy_sleep() 51 return_ACPI_STATUS(status); in acpi_hw_legacy_sleep() 55 status = acpi_hw_disable_all_gpes(); in acpi_hw_legacy_sleep() 56 if (ACPI_FAILURE(status)) { in acpi_hw_legacy_sleep() 57 return_ACPI_STATUS(status); in acpi_hw_legacy_sleep() 59 status = acpi_hw_clear_acpi_status(); in acpi_hw_legacy_sleep() 60 if (ACPI_FAILURE(status)) { in acpi_hw_legacy_sleep() 61 return_ACPI_STATUS(status); in acpi_hw_legacy_sleep() [all …]
|
D | evxfgpe.c | 45 acpi_status status; in acpi_update_all_gpes() local 50 status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); in acpi_update_all_gpes() 51 if (ACPI_FAILURE(status)) { in acpi_update_all_gpes() 52 return_ACPI_STATUS(status); in acpi_update_all_gpes() 59 status = acpi_ev_walk_gpe_list(acpi_ev_initialize_gpe_block, in acpi_update_all_gpes() 61 if (ACPI_SUCCESS(status)) { in acpi_update_all_gpes() 74 return_ACPI_STATUS(status); in acpi_update_all_gpes() 94 acpi_status status = AE_BAD_PARAMETER; in ACPI_EXPORT_SYMBOL() local 111 status = acpi_ev_add_gpe_reference(gpe_event_info, TRUE); in ACPI_EXPORT_SYMBOL() 112 if (ACPI_SUCCESS(status) && in ACPI_EXPORT_SYMBOL() [all …]
|
D | nsxfeval.c | 50 acpi_status status; in acpi_evaluate_object_typed() local 71 status = acpi_get_handle(handle, pathname, &target_handle); in acpi_evaluate_object_typed() 72 if (ACPI_FAILURE(status)) { in acpi_evaluate_object_typed() 73 return_ACPI_STATUS(status); in acpi_evaluate_object_typed() 84 status = acpi_evaluate_object(target_handle, NULL, external_params, in acpi_evaluate_object_typed() 86 if (ACPI_FAILURE(status)) { in acpi_evaluate_object_typed() 102 status = AE_NULL_OBJECT; in acpi_evaluate_object_typed() 134 status = AE_TYPE; in acpi_evaluate_object_typed() 138 return_ACPI_STATUS(status); in acpi_evaluate_object_typed() 168 acpi_status status; in ACPI_EXPORT_SYMBOL() local [all …]
|
D | dswexec.c | 61 acpi_status status = AE_OK; in acpi_ds_get_predicate_value() local 70 status = acpi_ds_result_pop(&obj_desc, walk_state); in acpi_ds_get_predicate_value() 71 if (ACPI_FAILURE(status)) { in acpi_ds_get_predicate_value() 72 ACPI_EXCEPTION((AE_INFO, status, in acpi_ds_get_predicate_value() 75 return_ACPI_STATUS(status); in acpi_ds_get_predicate_value() 78 status = acpi_ds_create_operand(walk_state, walk_state->op, 0); in acpi_ds_get_predicate_value() 79 if (ACPI_FAILURE(status)) { in acpi_ds_get_predicate_value() 80 return_ACPI_STATUS(status); in acpi_ds_get_predicate_value() 83 status = in acpi_ds_get_predicate_value() 86 if (ACPI_FAILURE(status)) { in acpi_ds_get_predicate_value() [all …]
|
D | hwxfsleep.c | 133 acpi_status status; in ACPI_EXPORT_SYMBOL() local 139 status = in ACPI_EXPORT_SYMBOL() 141 if (ACPI_FAILURE(status)) { in ACPI_EXPORT_SYMBOL() 142 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL() 145 status = acpi_hw_clear_acpi_status(); in ACPI_EXPORT_SYMBOL() 146 if (ACPI_FAILURE(status)) { in ACPI_EXPORT_SYMBOL() 147 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL() 154 status = acpi_hw_disable_all_gpes(); in ACPI_EXPORT_SYMBOL() 155 if (ACPI_FAILURE(status)) { in ACPI_EXPORT_SYMBOL() 156 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL() [all …]
|
/kernel/linux/linux-5.10/include/sound/ |
D | cs8403.h | 28 diga->status[0] |= IEC958_AES0_NONAUDIO; in SND_CS8403_DECODE() 30 diga->status[0] |= IEC958_AES0_CON_NOT_COPYRIGHT; in SND_CS8403_DECODE() 32 case 0x10: diga->status[0] |= IEC958_AES0_CON_EMPHASIS_NONE; break; in SND_CS8403_DECODE() 33 case 0x00: diga->status[0] |= IEC958_AES0_CON_EMPHASIS_5015; break; in SND_CS8403_DECODE() 36 diga->status[1] |= IEC958_AES1_CON_ORIGINAL; in SND_CS8403_DECODE() 38 case 0x00: diga->status[1] |= IEC958_AES1_CON_MAGNETIC_ID; break; in SND_CS8403_DECODE() 39 case 0x20: diga->status[1] |= IEC958_AES1_CON_DIGDIGCONV_ID; break; in SND_CS8403_DECODE() 40 case 0x40: diga->status[1] |= IEC958_AES1_CON_LASEROPT_ID; break; in SND_CS8403_DECODE() 41 case 0x60: diga->status[1] |= IEC958_AES1_CON_GENERAL; break; in SND_CS8403_DECODE() 44 case 0x00: diga->status[3] |= IEC958_AES3_CON_FS_44100; break; in SND_CS8403_DECODE() [all …]
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-amd8111.c | 103 int status; in amd_ec_read() local 105 status = amd_ec_wait_write(smbus); in amd_ec_read() 106 if (status) in amd_ec_read() 107 return status; in amd_ec_read() 110 status = amd_ec_wait_write(smbus); in amd_ec_read() 111 if (status) in amd_ec_read() 112 return status; in amd_ec_read() 115 status = amd_ec_wait_read(smbus); in amd_ec_read() 116 if (status) in amd_ec_read() 117 return status; in amd_ec_read() [all …]
|
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
D | cx231xx-avcore.c | 54 int status; in verve_read_byte() local 57 status = cx231xx_read_i2c_data(dev, VERVE_I2C_ADDRESS, in verve_read_byte() 60 return status; in verve_read_byte() 106 int status; in afe_read_byte() local 109 status = cx231xx_read_i2c_data(dev, AFE_DEVICE_ADDRESS, in afe_read_byte() 112 return status; in afe_read_byte() 117 int status = 0; in cx231xx_afe_init_super_block() local 124 status = afe_write_byte(dev, SUP_BLK_TUNE2, temp); in cx231xx_afe_init_super_block() 125 if (status < 0) in cx231xx_afe_init_super_block() 126 return status; in cx231xx_afe_init_super_block() [all …]
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | namei.c | 100 int status; in ocfs2_lookup() local 115 status = ocfs2_inode_lock_nested(dir, NULL, 0, OI_LS_PARENT); in ocfs2_lookup() 116 if (status < 0) { in ocfs2_lookup() 117 if (status != -ENOENT) in ocfs2_lookup() 118 mlog_errno(status); in ocfs2_lookup() 119 ret = ERR_PTR(status); in ocfs2_lookup() 123 status = ocfs2_lookup_ino_from_name(dir, dentry->d_name.name, in ocfs2_lookup() 125 if (status < 0) in ocfs2_lookup() 161 status = ocfs2_dentry_attach_lock(dentry, inode, in ocfs2_lookup() 163 if (status) { in ocfs2_lookup() [all …]
|
D | quota_local.c | 99 int status; in ocfs2_modify_bh() local 104 status = PTR_ERR(handle); in ocfs2_modify_bh() 105 mlog_errno(status); in ocfs2_modify_bh() 106 return status; in ocfs2_modify_bh() 108 status = ocfs2_journal_access_dq(handle, INODE_CACHE(inode), bh, in ocfs2_modify_bh() 110 if (status < 0) { in ocfs2_modify_bh() 111 mlog_errno(status); in ocfs2_modify_bh() 113 return status; in ocfs2_modify_bh() 120 status = ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_modify_bh() 121 if (status < 0) { in ocfs2_modify_bh() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/ |
D | hdcp2_execution.c | 46 enum mod_hdcp_status status; in check_hdcp2_capable() local 49 status = (hdcp->auth.msg.hdcp2.rxcaps_dp[0] == HDCP_2_2_RX_CAPS_VERSION_VAL) && in check_hdcp2_capable() 54 status = (hdcp->auth.msg.hdcp2.hdcp2version_hdmi & HDCP_2_2_HDMI_SUPPORT_MASK) ? in check_hdcp2_capable() 57 return status; in check_hdcp2_capable() 86 enum mod_hdcp_status status; in check_ake_cert_available() local 90 status = MOD_HDCP_STATUS_SUCCESS; in check_ake_cert_available() 92 status = mod_hdcp_read_rxstatus(hdcp); in check_ake_cert_available() 93 if (status == MOD_HDCP_STATUS_SUCCESS) { in check_ake_cert_available() 96 status = (size == sizeof(hdcp->auth.msg.hdcp2.ake_cert)) ? in check_ake_cert_available() 101 return status; in check_ake_cert_available() [all …]
|
D | hdcp1_execution.c | 65 enum mod_hdcp_status status; in check_r0p_available_dp() local 67 status = (hdcp->auth.msg.hdcp1.bstatus & in check_r0p_available_dp() 72 status = MOD_HDCP_STATUS_INVALID_OPERATION; in check_r0p_available_dp() 74 return status; in check_r0p_available_dp() 96 enum mod_hdcp_status status; in check_no_max_cascade() local 99 status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.binfo_dp >> 8) in check_no_max_cascade() 103 status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.bstatus >> 8) in check_no_max_cascade() 106 return status; in check_no_max_cascade() 111 enum mod_hdcp_status status; in check_no_max_devs() local 114 status = DRM_HDCP_MAX_DEVICE_EXCEEDED(hdcp->auth.msg.hdcp1.binfo_dp) ? in check_no_max_devs() [all …]
|
/kernel/linux/linux-5.10/drivers/media/tuners/ |
D | mxl5005s.c | 1756 u16 status = 0; in MXL_OverwriteICDefault() local 1758 status += MXL_ControlWrite(fe, OVERRIDE_1, 1); in MXL_OverwriteICDefault() 1759 status += MXL_ControlWrite(fe, OVERRIDE_2, 1); in MXL_OverwriteICDefault() 1760 status += MXL_ControlWrite(fe, OVERRIDE_3, 1); in MXL_OverwriteICDefault() 1761 status += MXL_ControlWrite(fe, OVERRIDE_4, 1); in MXL_OverwriteICDefault() 1763 return status; in MXL_OverwriteICDefault() 1769 u16 status = 0; in MXL_BlockInit() local 1771 status += MXL_OverwriteICDefault(fe); in MXL_BlockInit() 1774 status += MXL_ControlWrite(fe, DN_IQTN_AMP_CUT, state->Mode ? 1 : 0); in MXL_BlockInit() 1777 status += MXL_ControlWrite(fe, BB_MODE, state->Mode ? 0 : 1); in MXL_BlockInit() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/qlge/ |
D | qlge_mpi.c | 53 int status; in ql_read_mpi_reg() local 55 status = ql_wait_reg_rdy(qdev, PROC_ADDR, PROC_ADDR_RDY, PROC_ADDR_ERR); in ql_read_mpi_reg() 56 if (status) in ql_read_mpi_reg() 61 status = ql_wait_reg_rdy(qdev, PROC_ADDR, PROC_ADDR_RDY, PROC_ADDR_ERR); in ql_read_mpi_reg() 62 if (status) in ql_read_mpi_reg() 67 return status; in ql_read_mpi_reg() 72 int status = 0; in ql_write_mpi_reg() local 74 status = ql_wait_reg_rdy(qdev, PROC_ADDR, PROC_ADDR_RDY, PROC_ADDR_ERR); in ql_write_mpi_reg() 75 if (status) in ql_write_mpi_reg() 82 status = ql_wait_reg_rdy(qdev, PROC_ADDR, PROC_ADDR_RDY, PROC_ADDR_ERR); in ql_write_mpi_reg() [all …]
|
/kernel/linux/linux-5.10/drivers/pnp/pnpbios/ |
D | bioscalls.c | 87 u16 status; in call_pnp_bios() local 129 "popl %%ebp\n\t":"=a"(status) in call_pnp_bios() 151 return status; in call_pnp_bios() 154 void pnpbios_print_status(const char *module, u16 status) in pnpbios_print_status() argument 156 switch (status) { in pnpbios_print_status() 228 status); in pnpbios_print_status() 256 u16 status; in __pnp_bios_dev_node_info() local 260 status = call_pnp_bios(PNP_GET_NUM_SYS_DEV_NODES, 0, PNP_TS1, 2, in __pnp_bios_dev_node_info() 264 return status; in __pnp_bios_dev_node_info() 269 int status = __pnp_bios_dev_node_info(data); in pnp_bios_dev_node_info() local [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/membarrier/ |
D | membarrier_test_impl.h | 229 int status; in test_membarrier_fail() local 231 status = test_membarrier_cmd_fail(); in test_membarrier_fail() 232 if (status) in test_membarrier_fail() 233 return status; in test_membarrier_fail() 234 status = test_membarrier_flags_fail(); in test_membarrier_fail() 235 if (status) in test_membarrier_fail() 236 return status; in test_membarrier_fail() 237 status = test_membarrier_private_expedited_fail(); in test_membarrier_fail() 238 if (status) in test_membarrier_fail() 239 return status; in test_membarrier_fail() [all …]
|
/kernel/linux/linux-5.10/drivers/rtc/ |
D | rtc-dm355evm.c | 36 int status; in dm355evm_rtc_read_time() local 45 status = dm355evm_msp_read(DM355EVM_MSP_RTC_0); in dm355evm_rtc_read_time() 46 if (status < 0) in dm355evm_rtc_read_time() 47 return status; in dm355evm_rtc_read_time() 48 if (tries && time.bytes[0] == status) in dm355evm_rtc_read_time() 50 time.bytes[0] = status; in dm355evm_rtc_read_time() 52 status = dm355evm_msp_read(DM355EVM_MSP_RTC_1); in dm355evm_rtc_read_time() 53 if (status < 0) in dm355evm_rtc_read_time() 54 return status; in dm355evm_rtc_read_time() 55 if (tries && time.bytes[1] == status) in dm355evm_rtc_read_time() [all …]
|
/kernel/liteos_a/arch/arm/arm/include/ |
D | los_atomic.h | 122 UINT32 status; in LOS_AtomicAdd() local 128 : "=&r"(status), "=&r"(val) in LOS_AtomicAdd() 131 } while (__builtin_expect(status != 0, 0)); in LOS_AtomicAdd() 160 UINT32 status; in LOS_AtomicSub() local 166 : "=&r"(status), "=&r"(val) in LOS_AtomicSub() 169 } while (__builtin_expect(status != 0, 0)); in LOS_AtomicSub() 196 UINT32 status; in LOS_AtomicInc() local 202 : "=&r"(val), "=&r"(status), "+m"(*v) in LOS_AtomicInc() 205 } while (__builtin_expect(status != 0, 0)); in LOS_AtomicInc() 230 UINT32 status; in LOS_AtomicIncRet() local [all …]
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/ |
D | process_test_004.cpp | 36 int status; in Testcase() local 44 ret = waitpid(0, &status, 0); in Testcase() 46 …ICUNIT_ASSERT_EQUAL(WEXITSTATUS(status), 5, status); // 5, assert that function Result is equal to… in Testcase() 47 ICUNIT_ASSERT_EQUAL(WIFEXITED(status), 1, status); in Testcase() 57 ret = waitpid(0, &status, 0); in Testcase() 58 status = WEXITSTATUS(status); in Testcase() 60 ICUNIT_ASSERT_EQUAL(status, 6, status); // 6, assert that function Result is equal to this. in Testcase() 70 ret = wait(&status); in Testcase() 71 status = WEXITSTATUS(status); in Testcase() 73 ICUNIT_ASSERT_EQUAL(status, 1, status); in Testcase() [all …]
|