/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 …]
|
/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 …]
|
/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 …]
|
/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 68 status = (hdcp->auth.msg.hdcp1.bstatus & in check_r0p_available_dp() 73 status = MOD_HDCP_STATUS_INVALID_OPERATION; in check_r0p_available_dp() 75 return status; in check_r0p_available_dp() 97 enum mod_hdcp_status status; in check_no_max_cascade() local 100 status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.binfo_dp >> 8) in check_no_max_cascade() 104 status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.bstatus >> 8) in check_no_max_cascade() 107 return status; in check_no_max_cascade() 112 enum mod_hdcp_status status; in check_no_max_devs() local 115 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 …]
|
H A D | hdcp_ddc.c | 205 enum mod_hdcp_status status = MOD_HDCP_STATUS_DDC_FAILURE; in read_repeatedly() local 211 status = read(hdcp, msg_id, buf + data_offset, cur_size); in read_repeatedly() 213 if (status != MOD_HDCP_STATUS_SUCCESS) in read_repeatedly() 220 return status; in read_repeatedly() 288 enum mod_hdcp_status status; in mod_hdcp_read_bstatus() local 291 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_BSTATUS, in mod_hdcp_read_bstatus() 295 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_BSTATUS, in mod_hdcp_read_bstatus() 298 return status; in mod_hdcp_read_bstatus() 311 enum mod_hdcp_status status; in mod_hdcp_read_ksvlist() local 314 status = read_repeatedly(hdcp, MOD_HDCP_MESSAGE_ID_READ_KSV_FIFO, in mod_hdcp_read_ksvlist() [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
H A D | nfs4xdr.c | 959 int32_t status; member 3229 hdr->status = tmp; in decode_compound_hdr() 3241 return nfs4_stat_to_errno(hdr->status); in decode_compound_hdr() 3667 int status = 0; in decode_attr_files_avail() local 3680 return status; in decode_attr_files_avail() 3686 int status = 0; in decode_attr_files_free() local 3699 return status; in decode_attr_files_free() 3705 int status = 0; in decode_attr_files_total() local 3718 return status; in decode_attr_files_total() 3725 int status = 0; in decode_pathname() local [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/linux/drivers/platform/surface/aggregator/ |
H A D | core.c | 86 int status = 0; in ssam_try_set_controller() local 92 status = -EEXIST; in ssam_try_set_controller() 95 return status; in ssam_try_set_controller() 161 if (READ_ONCE(link->status) == DL_STATE_SUPPLIER_UNBIND) { in ssam_client_link() 209 int status; in ssam_client_bind() local 215 status = ssam_client_link(c, client); in ssam_client_bind() 226 return status >= 0 ? c : ERR_PTR(status); in ssam_client_bind() 261 int status; in ssam_log_firmware_version() local 263 status = ssam_get_firmware_version(ctrl, &version); in ssam_log_firmware_version() 264 if (status) in ssam_log_firmware_version() [all …]
|
/linux/drivers/platform/x86/intel/ifs/ |
H A D | runtest.c | 29 union ifs_status status; member 36 union ifs_sbaf_status status; member 77 static void message_not_tested(struct device *dev, int cpu, union ifs_status status) in message_not_tested() argument 86 if (status.control_error) { in message_not_tested() 92 if (status.error_code < ARRAY_SIZE(scan_test_status)) { in message_not_tested() 95 scan_test_status[status.error_code]); in message_not_tested() 96 } else if (status.error_code == IFS_SW_TIMEOUT) { in message_not_tested() 99 } else if (status.error_code == IFS_SW_PARTIAL_COMPLETION) { in message_not_tested() 104 dev_info(dev, "CPU(s) %*pbl: SCAN unknown status %llx\n", in message_not_tested() 105 cpumask_pr_args(cpu_smt_mask(cpu)), status.data); in message_not_tested() [all …]
|
/linux/drivers/pnp/pnpbios/ |
H A 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() 227 printk(KERN_ERR "PnPBIOS: %s: unexpected status 0x%x\n", module, 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() [all …]
|
/linux/sound/pci/emu10k1/ |
H A 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 …]
|
/linux/net/bluetooth/ |
H A D | hci_event.c | 90 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_inquiry_cancel() 94 * which case the latter event should have status of Command in hci_cc_inquiry_cancel() 99 if (rp->status == HCI_ERROR_COMMAND_DISALLOWED && !test_bit(HCI_INQUIRY, &hdev->flags)) { in hci_cc_inquiry_cancel() 101 rp->status = 0x00; in hci_cc_inquiry_cancel() 104 if (rp->status) in hci_cc_inquiry_cancel() 105 return rp->status; in hci_cc_inquiry_cancel() 120 return rp->status; in hci_cc_inquiry_cancel() 128 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_periodic_inq() 130 if (rp->status) in hci_cc_periodic_inq() 131 return rp->status; in hci_cc_periodic_inq() [all …]
|
/linux/arch/mips/boot/dts/brcm/ |
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 …]
|