Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 3655) sorted by relevance

12345678910>>...147

/drivers/media/dvb-frontends/
Ddrxk_hard.c228 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 …]
Ddrxd_hard.c317 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 …]
Dtda18271c2dd.c255 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 …]
Dcxd2099.c55 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 …]
Dmxl692.c214 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 …]
/drivers/media/usb/cx231xx/
Dcx231xx-avcore.c54 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 …]
/drivers/platform/surface/aggregator/
Dcore.c83 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 …]
/drivers/i2c/busses/
Di2c-amd8111.c103 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 …]
/drivers/acpi/acpica/
Dutxfinit.c40 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 …]
Devxfgpe.c45 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 …]
Ddswexec.c61 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 …]
Dnsxfeval.c50 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 …]
Dhwsleep.c37 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 …]
Devxface.c65 acpi_status status; in acpi_install_notify_handler() local
77 status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE); in acpi_install_notify_handler()
78 if (ACPI_FAILURE(status)) { in acpi_install_notify_handler()
79 return_ACPI_STATUS(status); in acpi_install_notify_handler()
93 status = AE_ALREADY_EXISTS; in acpi_install_notify_handler()
115 status = AE_TYPE; in acpi_install_notify_handler()
128 status = AE_NO_MEMORY; in acpi_install_notify_handler()
134 status = acpi_ns_attach_object(device, obj_desc, node->type); in acpi_install_notify_handler()
136 if (ACPI_FAILURE(status)) { in acpi_install_notify_handler()
148 status = AE_ALREADY_EXISTS; in acpi_install_notify_handler()
[all …]
Dhwxfsleep.c133 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 …]
Dpsloop.c53 acpi_status status = AE_OK; in acpi_ps_get_arguments() local
79 status = acpi_ps_get_next_namepath(walk_state, in acpi_ps_get_arguments()
83 if (ACPI_FAILURE(status)) { in acpi_ps_get_arguments()
84 return_ACPI_STATUS(status); in acpi_ps_get_arguments()
113 status = in acpi_ps_get_arguments()
118 if (ACPI_FAILURE(status)) { in acpi_ps_get_arguments()
119 return_ACPI_STATUS(status); in acpi_ps_get_arguments()
223 acpi_status status = AE_OK; in acpi_ps_parse_loop() local
262 status = in acpi_ps_parse_loop()
266 if (ACPI_FAILURE(status) in acpi_ps_parse_loop()
[all …]
Dexoparg1.c55 acpi_status status = AE_OK; in acpi_ex_opcode_0A_0T_1R() local
71 status = AE_NO_MEMORY; in acpi_ex_opcode_0A_0T_1R()
80 status = AE_AML_BAD_OPCODE; in acpi_ex_opcode_0A_0T_1R()
88 if ((ACPI_FAILURE(status)) || walk_state->result_obj) { in acpi_ex_opcode_0A_0T_1R()
97 return_ACPI_STATUS(status); in acpi_ex_opcode_0A_0T_1R()
116 acpi_status status = AE_OK; in acpi_ex_opcode_1A_0T_0R() local
126 status = acpi_ex_release_mutex(operand[0], walk_state); in acpi_ex_opcode_1A_0T_0R()
131 status = acpi_ex_system_reset_event(operand[0]); in acpi_ex_opcode_1A_0T_0R()
136 status = acpi_ex_system_signal_event(operand[0]); in acpi_ex_opcode_1A_0T_0R()
141 status = acpi_ex_system_do_sleep(operand[0]->integer.value); in acpi_ex_opcode_1A_0T_0R()
[all …]
/drivers/media/tuners/
Dmxl5005s.c1756 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 …]
/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp2_execution.c46 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 …]
Dhdcp1_execution.c65 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 …]
/drivers/staging/qlge/
Dqlge_mpi.c53 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 …]
/drivers/pnp/pnpbios/
Dbioscalls.c87 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 …]
/drivers/net/ethernet/intel/ice/
Dice_nvm.c72 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 …]
/drivers/rtc/
Drtc-dm355evm.c36 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 …]
/drivers/media/cec/platform/seco/
Dseco-cec.c43 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
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()
110 status = smb_rd16(SECOCEC_ENABLE_REG_1, &val); in secocec_adap_enable()
[all …]

12345678910>>...147