Home
last modified time | relevance | path

Searched refs:err_code (Results 1 – 25 of 85) sorted by relevance

1234

/linux/drivers/media/usb/gspca/
H A Dmr97310a.c203 int err_code; in cam_get_response16() local
206 err_code = mr_write(gspca_dev, 1); in cam_get_response16()
207 if (err_code < 0) in cam_get_response16()
208 return err_code; in cam_get_response16()
210 err_code = mr_read(gspca_dev, 16); in cam_get_response16()
211 if (err_code < 0) in cam_get_response16()
212 return err_code; in cam_get_response16()
227 int err_code; in zero_the_pointer() local
231 err_code = cam_get_response16(gspca_dev, 0x21, 0); in zero_the_pointer()
232 if (err_code < 0) in zero_the_pointer()
[all …]
H A Dsn9c2028.c151 int err_code; in sn9c2028_short_command() local
153 err_code = sn9c2028_command(gspca_dev, command); in sn9c2028_short_command()
154 if (err_code < 0) in sn9c2028_short_command()
155 return err_code; in sn9c2028_short_command()
157 err_code = sn9c2028_read1(gspca_dev); in sn9c2028_short_command()
158 if (err_code < 0) in sn9c2028_short_command()
159 return err_code; in sn9c2028_short_command()
230 int i, err_code = -1; in run_start_commands() local
235 err_code = sn9c2028_long_command(gspca_dev, in run_start_commands()
239 err_code = sn9c2028_short_command(gspca_dev, in run_start_commands()
[all …]
/linux/drivers/platform/x86/intel/ifs/
H A Dload.c92 static void hashcopy_err_message(struct device *dev, u32 err_code) in hashcopy_err_message() argument
94 if (err_code >= ARRAY_SIZE(scan_hash_status)) in hashcopy_err_message()
95 dev_err(dev, "invalid error code 0x%x for hash copy\n", err_code); in hashcopy_err_message()
97 dev_err(dev, "Hash copy error : %s\n", scan_hash_status[err_code]); in hashcopy_err_message()
100 static void auth_err_message(struct device *dev, u32 err_code) in auth_err_message() argument
102 if (err_code >= ARRAY_SIZE(scan_authentication_status)) in auth_err_message()
103 dev_err(dev, "invalid error code 0x%x for authentication\n", err_code); in auth_err_message()
106 scan_authentication_status[err_code]); in auth_err_message()
125 u32 err_code; in copy_hashes_authenticate_chunks() local
136 err_code = hashes_status.error_code; in copy_hashes_authenticate_chunks()
[all …]
H A Druntest.c128 enum ifs_status_err_code err_code = status.error_code; in can_restart() local
134 switch (err_code) { in can_restart()
478 enum sbaf_status_err_code err_code = status.error_code; in sbaf_can_restart() local
485 switch (err_code) { in sbaf_can_restart()
/linux/drivers/base/firmware_loader/
H A Dsysfs_upload.c47 enum fw_upload_err err_code) in fw_upload_error() argument
51 if (err_code < FW_UPLOAD_ERR_MAX) in fw_upload_error()
52 error = fw_upload_err_str[err_code]; in fw_upload_error()
55 err_code); in fw_upload_error()
79 else if (!fwlp->err_code) in error_show()
84 fw_upload_error(dev, fwlp->err_code)); in error_show()
144 enum fw_upload_err err_code) in fw_upload_set_error() argument
148 fwlp->err_code = err_code; in fw_upload_set_error()
253 fwlp->err_code = 0; in fw_upload_start()
333 fw_upload_priv->err_code = 0; in firmware_upload_register()
H A Dsysfs_upload.h38 enum fw_upload_err err_code; /* security manager error code */ member
/linux/drivers/dma/qcom/
H A Dhidma_ll.c100 enum err_code { enum
161 tre->err_code = 0; in hidma_ll_request()
189 u8 err_code) in hidma_post_completed() argument
222 tre->err_code = err_code; in hidma_post_completed()
240 u32 err_info, err_code, evre_write_off; in hidma_handle_tre_completion() local
264 err_code = in hidma_handle_tre_completion()
267 if (hidma_post_completed(lldev, err_info, err_code)) in hidma_handle_tre_completion()
304 u8 err_code) in hidma_cleanup_pending_tre() argument
307 if (hidma_post_completed(lldev, err_info, err_code)) in hidma_cleanup_pending_tre()
537 tre->err_code = 0; in hidma_ll_queue_request()
[all …]
H A Dhidma.h42 u8 err_code; /* completion code */ member
157 u8 err_code);
/linux/lib/zstd/common/
H A Derror_private.h133 size_t const err_code = (err); \
134 if (ERR_isError(err_code)) { \
136 __FILE__, __LINE__, ERR_QUOTE(err), ERR_getErrorName(err_code)); \
140 return err_code; \
/linux/drivers/infiniband/core/
H A Diwpm_msg.c420 nlmsg_request->err_code = IWPM_USER_LIB_INFO_ERR; in iwpm_register_pid_cb()
488 nlmsg_request->err_code = IWPM_USER_LIB_INFO_ERR; in iwpm_add_mapping_cb()
494 nlmsg_request->err_code = IWPM_USER_LIB_INFO_ERR; in iwpm_add_mapping_cb()
545 u16 err_code; in iwpm_add_and_query_mapping_cb() local
570 err_code = nla_get_u16(nltb[IWPM_NLA_RQUERY_MAPPING_ERR]); in iwpm_add_and_query_mapping_cb()
571 if (err_code == IWPM_REMOTE_QUERY_REJECT) { in iwpm_add_and_query_mapping_cb()
574 nlmsg_request->err_code = IWPM_REMOTE_QUERY_REJECT; in iwpm_add_and_query_mapping_cb()
579 nlmsg_request->err_code = IWPM_USER_LIB_INFO_ERR; in iwpm_add_and_query_mapping_cb()
586 nlmsg_request->err_code = IWPM_USER_LIB_INFO_ERR; in iwpm_add_and_query_mapping_cb()
782 u16 err_code; in iwpm_mapping_error_cb() local
[all …]
/linux/drivers/scsi/bnx2i/
H A D57xx_iscsi_hsi.h36 u8 err_code; member
40 u8 err_code; member
164 u8 err_code; member
168 u8 err_code; member
348 u8 err_code; member
352 u8 err_code; member
933 u8 err_code; member
937 u8 err_code; member
1063 u8 err_code; member
1067 u8 err_code; member
[all …]
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-wqe.h169 uint64_t err_code:8; member
171 uint64_t err_code:8;
218 uint64_t err_code:8; member
220 uint64_t err_code:8;
379 uint64_t err_code:8; member
381 uint64_t err_code:8;
/linux/include/linux/
H A Dkgdb.h175 kgdb_arch_handle_exception(int vector, int signo, int err_code,
331 kgdb_handle_exception(int ex_vector, int signo, int err_code,
334 extern int kgdb_nmicallin(int cpu, int trapnr, void *regs, int err_code,
/linux/drivers/scsi/
H A Dadvansys.c489 ushort err_code; member
1808 ushort err_code; /* fatal error code */ member
2300 "%d,\n", h->iop_base, h->err_code, h->dvc_cntl, h->bug_fix_cntl); in asc_prt_asc_dvc_var()
2356 (ulong)h->iop_base, h->err_code, (unsigned)h->ultra_able); in asc_prt_adv_dvc_var()
3184 v->err_code); in asc_prt_asc_board_info()
3323 v->err_code); in asc_prt_adv_board_info()
4009 asc_dvc->err_code |= ASC_IERR_SET_PC_ADDR; in AscInitMicroCodeVar()
4014 asc_dvc->err_code |= ASC_IERR_START_STOP_CHIP; in AscInitMicroCodeVar()
4046 if (asc_dvc->err_code != 0) in AscInitAsc1000Driver()
4049 asc_dvc->err_code = ASC_IERR_BAD_SIGNATURE; in AscInitAsc1000Driver()
[all …]
/linux/kernel/debug/kdb/
H A Dkdb_debugger.c72 if (ks->err_code == KDB_REASON_SYSTEM_NMI && ks->signo == SIGTRAP) in kdb_stub()
121 if (ks->err_code == DIE_OOPS || reason == KDB_REASON_OOPS) { in kdb_stub()
135 ks->err_code, db_result, ks->linux_regs); in kdb_stub()
/linux/lib/
H A Dtest_firmware.c124 enum fw_upload_err err_code; member
1147 tst->inject.err_code = err; in upload_err_inject_error()
1204 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_prepare()
1208 if (tst->inject.err_code == FW_UPLOAD_ERR_CANCELED) in test_fw_upload_prepare()
1211 ret = tst->inject.err_code; in test_fw_upload_prepare()
1218 tst->inject.err_code = FW_UPLOAD_ERR_NONE; in test_fw_upload_prepare()
1240 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_write()
1244 if (tst->inject.err_code == FW_UPLOAD_ERR_CANCELED) in test_fw_upload_write()
1247 return tst->inject.err_code; in test_fw_upload_write()
1258 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_complete()
[all …]
/linux/drivers/infiniband/hw/irdma/
H A Dverbs.c886 int err_code; in irdma_create_qp() local
893 err_code = irdma_validate_qp_attrs(init_attr, iwdev); in irdma_create_qp()
894 if (err_code) in irdma_create_qp()
895 return err_code; in irdma_create_qp()
931 err_code = irdma_alloc_rsrc(rf, rf->allocated_qps, rf->max_qp, in irdma_create_qp()
933 if (err_code) in irdma_create_qp()
955 err_code = irdma_setup_umode_qp(udata, iwdev, iwqp, &init_info, in irdma_create_qp()
960 err_code = irdma_setup_kmode_qp(iwdev, iwqp, &init_info, init_attr); in irdma_create_qp()
963 if (err_code) { in irdma_create_qp()
987 err_code = irdma_sc_qp_init(qp, &init_info); in irdma_create_qp()
[all …]
/linux/drivers/staging/octeon/
H A Dethernet-rx.c72 if ((work->word2.snoip.err_code == 10) && (work->word1.len <= 64)) in cvm_oct_check_rcv_error()
81 if (work->word2.snoip.err_code == 5 || in cvm_oct_check_rcv_error()
82 work->word2.snoip.err_code == 7) { in cvm_oct_check_rcv_error()
137 port, work->word2.snoip.err_code); in cvm_oct_check_rcv_error()
/linux/drivers/iio/accel/
H A Dmma9551_core.c116 u8 req_len, err_code; in mma9551_transfer() local
180 err_code = rsp.coco_err & ~MMA9551_RESPONSE_COCO; in mma9551_transfer()
181 if (err_code != MMA9551_MCI_ERROR_NONE) { in mma9551_transfer()
182 dev_err(&client->dev, "read returned error %x\n", err_code); in mma9551_transfer()
/linux/drivers/scsi/aic7xxx/aicasm/
H A Daicasm.c687 stop(const char *string, int err_code) in stop() argument
700 if (err_code != 0) { in stop()
709 if (err_code != 0) { in stop()
718 if (err_code != 0) { in stop()
728 exit(err_code); in stop()
H A Daicasm.h85 void stop(const char *errstring, int err_code);
/linux/drivers/net/wireless/ath/ath12k/
H A Dhal_rx.c322 enum hal_reo_dest_ring_error_code err_code; in ath12k_hal_desc_reo_parse_err() local
327 err_code = le32_get_bits(desc->info0, in ath12k_hal_desc_reo_parse_err()
329 ab->soc_stats.reo_error[err_code]++; in ath12k_hal_desc_reo_parse_err()
423 rel_info->err_code = in ath12k_hal_wbm_desc_parse_err()
430 rel_info->err_code = in ath12k_hal_wbm_desc_parse_err()
559 status->u.flush_cache.err_code = in ath12k_hal_reo_flush_cache_status()
562 if (!status->u.flush_cache.err_code) in ath12k_hal_reo_flush_cache_status()
/linux/net/sctp/
H A Dsm_make_chunk.c3012 __be16 err_code, in sctp_add_asconf_response() argument
3021 if (SCTP_ERROR_NO_ERROR == err_code) { in sctp_add_asconf_response()
3039 if (SCTP_ERROR_NO_ERROR == err_code) in sctp_add_asconf_response()
3043 err_param.cause = err_code; in sctp_add_asconf_response()
3275 __be16 err_code; in sctp_process_asconf() local
3311 err_code = sctp_process_asconf_param(asoc, asconf, in sctp_process_asconf()
3320 if (err_code != SCTP_ERROR_NO_ERROR) in sctp_process_asconf()
3324 err_code, param.addip); in sctp_process_asconf()
3331 if (err_code == SCTP_ERROR_RSRC_LOW) in sctp_process_asconf()
3418 __be16 err_code; in sctp_get_asconf_response() local
[all …]
/linux/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c603 goto err_code; in main()
621 goto err_code; in main()
636 goto err_code; in main()
750 err_code: in main()
/linux/kernel/debug/
H A Ddebug_core.h22 int err_code; member

1234