/openbmc/linux/drivers/media/dvb-frontends/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
/openbmc/qemu/target/m68k/ |
H A D | softfloat.c | 31 static floatx80 propagateFloatx80NaNOneArg(floatx80 a, float_status *status) in propagateFloatx80NaNOneArg() argument 33 if (floatx80_is_signaling_nan(a, status)) { in propagateFloatx80NaNOneArg() 34 float_raise(float_flag_invalid, status); in propagateFloatx80NaNOneArg() 35 a = floatx80_silence_nan(a, status); in propagateFloatx80NaNOneArg() 38 if (status->default_nan_mode) { in propagateFloatx80NaNOneArg() 39 return floatx80_default_nan(status); in propagateFloatx80NaNOneArg() 50 floatx80 floatx80_getman(floatx80 a, float_status *status) in floatx80_getman() argument 62 return propagateFloatx80NaNOneArg(a , status); in floatx80_getman() 64 float_raise(float_flag_invalid , status); in floatx80_getman() 65 return floatx80_default_nan(status); in floatx80_getman() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-amd8111.c | 47 #define AMD_EC_SC 0x04 /* status of controller */ 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() [all …]
|
/openbmc/linux/fs/ocfs2/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A 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 …]
|
H A 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 …]
|
H A D | hdcp.c | 29 enum mod_hdcp_status status) in push_error_status() argument 34 trace->errors[trace->error_count].status = status; in push_error_status() 37 HDCP_ERROR_TRACE(hdcp, status); in push_error_status() 95 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in execution() local 110 status = mod_hdcp_hdcp1_execution(hdcp, event_ctx, &input->hdcp1); in execution() 112 status = mod_hdcp_hdcp1_dp_execution(hdcp, in execution() 115 status = mod_hdcp_hdcp2_execution(hdcp, event_ctx, &input->hdcp2); in execution() 117 status = mod_hdcp_hdcp2_dp_execution(hdcp, in execution() 124 return status; in execution() 132 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in transition() local [all …]
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfad_bsg.h | 154 bfa_status_t status; member 160 bfa_status_t status; member 168 bfa_status_t status; member 174 bfa_status_t status; member 183 bfa_status_t status; member 190 bfa_status_t status; member 197 bfa_status_t status; member 223 bfa_status_t status; member 230 bfa_status_t status; member 237 bfa_status_t status; member [all …]
|
/openbmc/linux/drivers/media/usb/cx231xx/ |
H A 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 …]
|
/openbmc/linux/drivers/staging/qlge/ |
H A 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 …]
|
/openbmc/linux/fs/nfs/ |
H A D | nfs42xdr.c | 87 1 /* status */ + 1 /* opnum */) 434 *p++ = cpu_to_be32(error->status); in encode_device_error() 809 int status, count; in decode_write_response() local 818 status = decode_opaque_fixed(xdr, &res->stateid, in decode_write_response() 820 if (unlikely(status)) in decode_write_response() 837 int status; in decode_nl4_server() local 847 status = decode_opaque_inline(xdr, &dummy, &dummy_str); in decode_nl4_server() 848 if (unlikely(status)) in decode_nl4_server() 849 return status; in decode_nl4_server() 859 status = decode_opaque_inline(xdr, &dummy, &dummy_str); in decode_nl4_server() [all …]
|
/openbmc/linux/include/sound/ |
H A 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 …]
|
/openbmc/linux/drivers/media/cec/platform/seco/ |
H A D | seco-cec.c | 43 int status = 0; in smb_word_op() local 75 status = -EBUSY; in smb_word_op() 80 status = -EIO; in smb_word_op() 89 return status; in smb_word_op() 97 int status; in secocec_adap_enable() local 100 /* Clear the status register */ in secocec_adap_enable() 101 status = smb_rd16(SECOCEC_STATUS_REG_1, &val); in secocec_adap_enable() 102 if (status) in secocec_adap_enable() 105 status = smb_wr16(SECOCEC_STATUS_REG_1, val); in secocec_adap_enable() 106 if (status) in secocec_adap_enable() [all …]
|
/openbmc/linux/arch/mips/boot/dts/brcm/ |
H A D | bcm97346dbsmb.dts | 23 status = "okay"; 27 status = "okay"; 31 status = "okay"; 35 status = "okay"; 39 status = "okay"; 43 status = "okay"; 47 status = "okay"; 51 status = "okay"; 55 status = "okay"; 59 status = "okay"; [all …]
|
H A D | bcm97435svmb.dts | 25 status = "okay"; 29 status = "okay"; 33 status = "okay"; 37 status = "okay"; 41 status = "okay"; 45 status = "okay"; 49 status = "okay"; 53 status = "okay"; 57 status = "okay"; 61 status = "okay"; [all …]
|
/openbmc/linux/tools/perf/ |
H A D | builtin-version.c | 29 static void on_off_print(const char *status) in on_off_print() argument 33 if (!strcmp(status, "OFF")) in on_off_print() 34 color_fprintf(stdout, PERF_COLOR_RED, "%-3s", status); in on_off_print() 36 color_fprintf(stdout, PERF_COLOR_GREEN, "%-3s", status); in on_off_print() 42 const char *status) in status_print() argument 45 on_off_print(status); in status_print() 49 #define STATUS(__d, __m) \ macro 59 STATUS(HAVE_DWARF_SUPPORT, dwarf); in library_status() 60 STATUS(HAVE_DWARF_GETLOCATIONS_SUPPORT, dwarf_getlocations); in library_status() 62 STATUS(HAVE_LIBAUDIT_SUPPORT, libaudit); in library_status() [all …]
|
/openbmc/webui-vue/docs/guide/components/status-icon/ |
H A D | readme.md | 14 2. Add the `<status-icon />` tag 15 3. Add the optional status prop and set the value to one of the statuses 22 ## Status icon with default status 25 <status-icon /> 30 ## Status icon with success status 33 <status-icon :status="success" /> 38 ## Status icon with info status 41 <status-icon :status="info" /> 46 ## Status icon with warning status 49 <status-icon :status="warning" /> [all …]
|
/openbmc/linux/drivers/media/tuners/ |
H A 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 …]
|
/openbmc/qemu/include/fpu/ |
H A D | softfloat-helpers.h | 56 static inline void set_float_detect_tininess(bool val, float_status *status) in set_float_detect_tininess() argument 58 status->tininess_before_rounding = val; in set_float_detect_tininess() 62 float_status *status) in set_float_rounding_mode() argument 64 status->float_rounding_mode = val; in set_float_rounding_mode() 67 static inline void set_float_exception_flags(int val, float_status *status) in set_float_exception_flags() argument 69 status->float_exception_flags = val; in set_float_exception_flags() 73 float_status *status) in set_floatx80_rounding_precision() argument 75 status->floatx80_rounding_precision = val; in set_floatx80_rounding_precision() 79 float_status *status) in set_float_2nan_prop_rule() argument 81 status->float_2nan_prop_rule = rule; in set_float_2nan_prop_rule() [all …]
|
/openbmc/linux/drivers/platform/surface/aggregator/ |
H A 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 …]
|