/linux-6.6.21/drivers/media/dvb-frontends/ |
D | drxk_hard.c | 228 int status; in i2c_write() local 234 status = drxk_i2c_transfer(state, &msg, 1); in i2c_write() 235 if (status >= 0 && status != 1) in i2c_write() 236 status = -EIO; in i2c_write() 238 if (status < 0) in i2c_write() 241 return status; in i2c_write() 247 int status; in i2c_read() local 255 status = drxk_i2c_transfer(state, msgs, 2); in i2c_read() 256 if (status != 2) { in i2c_read() 259 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 | 55 int status = 0; in read_block() local 58 status = regmap_write(ci->regmap, 0, adr); in read_block() 59 if (!status) { in read_block() 67 status = regmap_raw_read(ci->regmap, 1, data, len); in read_block() 68 if (status) in read_block() 69 return status; in read_block() 74 return status; in read_block() 84 int status; in read_pccard() local 87 status = regmap_raw_write(ci->regmap, 2, addr, 2); in read_pccard() 88 if (!status) in read_pccard() [all …]
|
D | mxl692.c | 214 int status = 0; in mxl692_validate_fw_header() local 223 status = -EINVAL; in mxl692_validate_fw_header() 231 status = -EINVAL; in mxl692_validate_fw_header() 239 status = -EINVAL; in mxl692_validate_fw_header() 242 if (status) in mxl692_validate_fw_header() 244 return status; in mxl692_validate_fw_header() 250 int status = 0; in mxl692_write_fw_block() local 264 while ((total_len > 0) && (status == 0)) { in mxl692_write_fw_block() 281 status = -EREMOTEIO; in mxl692_write_fw_block() 291 status = -EINVAL; in mxl692_write_fw_block() [all …]
|
/linux-6.6.21/drivers/platform/surface/aggregator/ |
D | core.c | 83 int status = 0; in ssam_try_set_controller() local 89 status = -EEXIST; in ssam_try_set_controller() 92 return status; in ssam_try_set_controller() 158 if (READ_ONCE(link->status) == DL_STATE_SUPPLIER_UNBIND) { in ssam_client_link() 206 int status; in ssam_client_bind() local 212 status = ssam_client_link(c, client); in ssam_client_bind() 223 return status >= 0 ? c : ERR_PTR(status); in ssam_client_bind() 258 int status; in ssam_log_firmware_version() local 260 status = ssam_get_firmware_version(ctrl, &version); in ssam_log_firmware_version() 261 if (status) in ssam_log_firmware_version() [all …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/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 | 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 | 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 | 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 | 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 | 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 …]
|
/linux-6.6.21/fs/ocfs2/ |
D | namei.c | 99 int status; in ocfs2_lookup() local 114 status = ocfs2_inode_lock_nested(dir, NULL, 0, OI_LS_PARENT); in ocfs2_lookup() 115 if (status < 0) { in ocfs2_lookup() 116 if (status != -ENOENT) in ocfs2_lookup() 117 mlog_errno(status); in ocfs2_lookup() 118 ret = ERR_PTR(status); in ocfs2_lookup() 122 status = ocfs2_lookup_ino_from_name(dir, dentry->d_name.name, in ocfs2_lookup() 124 if (status < 0) in ocfs2_lookup() 160 status = ocfs2_dentry_attach_lock(dentry, inode, in ocfs2_lookup() 162 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 …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/drivers/staging/qlge/ |
D | qlge_mpi.c | 53 int status; in qlge_read_mpi_reg() local 55 status = qlge_wait_reg_rdy(qdev, PROC_ADDR, PROC_ADDR_RDY, PROC_ADDR_ERR); in qlge_read_mpi_reg() 56 if (status) in qlge_read_mpi_reg() 61 status = qlge_wait_reg_rdy(qdev, PROC_ADDR, PROC_ADDR_RDY, PROC_ADDR_ERR); in qlge_read_mpi_reg() 62 if (status) in qlge_read_mpi_reg() 67 return status; in qlge_read_mpi_reg() 72 int status = 0; in qlge_write_mpi_reg() local 74 status = qlge_wait_reg_rdy(qdev, PROC_ADDR, PROC_ADDR_RDY, PROC_ADDR_ERR); in qlge_write_mpi_reg() 75 if (status) in qlge_write_mpi_reg() 82 status = qlge_wait_reg_rdy(qdev, PROC_ADDR, PROC_ADDR_RDY, PROC_ADDR_ERR); in qlge_write_mpi_reg() [all …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_nvm.c | 72 int status; in ice_read_flat_nvm() local 96 status = ice_aq_read_nvm(hw, ICE_AQC_NVM_START_POINT, in ice_read_flat_nvm() 100 if (status) in ice_read_flat_nvm() 108 return status; in ice_read_flat_nvm() 192 int status; in ice_read_sr_word_aq() local 197 status = ice_read_flat_nvm(hw, offset * sizeof(u16), &bytes, in ice_read_sr_word_aq() 199 if (status) in ice_read_sr_word_aq() 200 return status; in ice_read_sr_word_aq() 324 int status; in ice_read_flash_module() local 334 status = ice_acquire_nvm(hw, ICE_RES_READ); in ice_read_flash_module() [all …]
|
/linux-6.6.21/tools/testing/selftests/membarrier/ |
D | membarrier_test_impl.h | 262 int status; in test_membarrier_fail() local 264 status = test_membarrier_cmd_fail(); in test_membarrier_fail() 265 if (status) in test_membarrier_fail() 266 return status; in test_membarrier_fail() 267 status = test_membarrier_flags_fail(); in test_membarrier_fail() 268 if (status) in test_membarrier_fail() 269 return status; in test_membarrier_fail() 270 status = test_membarrier_private_expedited_fail(); in test_membarrier_fail() 271 if (status) in test_membarrier_fail() 272 return status; in test_membarrier_fail() [all …]
|
/linux-6.6.21/sound/pci/emu10k1/ |
D | irq.c | 15 unsigned int status, orig_status; in snd_emu10k1_interrupt() local 19 while ((status = inl(emu->port + IPR)) != 0) { in snd_emu10k1_interrupt() 21 if ((status & 0xffffffff) == 0xffffffff) { in snd_emu10k1_interrupt() 30 orig_status = status; in snd_emu10k1_interrupt() 31 if (status & IPR_PCIERROR) { in snd_emu10k1_interrupt() 34 status &= ~IPR_PCIERROR; in snd_emu10k1_interrupt() 36 if (status & (IPR_VOLINCR|IPR_VOLDECR|IPR_MUTE)) { in snd_emu10k1_interrupt() 38 emu->hwvol_interrupt(emu, status); in snd_emu10k1_interrupt() 41 status &= ~(IPR_VOLINCR|IPR_VOLDECR|IPR_MUTE); in snd_emu10k1_interrupt() 43 if (status & IPR_CHANNELLOOP) { in snd_emu10k1_interrupt() [all …]
|