Home
last modified time | relevance | path

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

1234

/linux-6.1.9/drivers/media/usb/gspca/
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 …]
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-6.1.9/drivers/platform/x86/intel/ifs/
Dload.c62 u32 err_code; in copy_hashes_authenticate_chunks() local
72 err_code = hashes_status.error_code; in copy_hashes_authenticate_chunks()
76 if (err_code >= ARRAY_SIZE(scan_hash_status)) { in copy_hashes_authenticate_chunks()
77 dev_err(dev, "invalid error code 0x%x for hash copy\n", err_code); in copy_hashes_authenticate_chunks()
80 dev_err(dev, "Hash copy error : %s", scan_hash_status[err_code]); in copy_hashes_authenticate_chunks()
96 err_code = chunk_status.error_code; in copy_hashes_authenticate_chunks()
98 if (err_code) { in copy_hashes_authenticate_chunks()
100 if (err_code >= ARRAY_SIZE(scan_authentication_status)) { in copy_hashes_authenticate_chunks()
102 "invalid error code 0x%x for authentication\n", err_code); in copy_hashes_authenticate_chunks()
106 scan_authentication_status[err_code]); in copy_hashes_authenticate_chunks()
Druntest.c106 enum ifs_status_err_code err_code = status.error_code; in can_restart() local
112 switch (err_code) { in can_restart()
/linux-6.1.9/drivers/base/firmware_loader/
Dsysfs_upload.c46 enum fw_upload_err err_code) in fw_upload_error() argument
50 if (err_code < FW_UPLOAD_ERR_MAX) in fw_upload_error()
51 error = fw_upload_err_str[err_code]; in fw_upload_error()
54 err_code); in fw_upload_error()
78 else if (!fwlp->err_code) in error_show()
83 fw_upload_error(dev, fwlp->err_code)); in error_show()
143 enum fw_upload_err err_code) in fw_upload_set_error() argument
147 fwlp->err_code = err_code; in fw_upload_set_error()
252 fwlp->err_code = 0; in fw_upload_start()
332 fw_upload_priv->err_code = 0; in firmware_upload_register()
Dsysfs_upload.h38 enum fw_upload_err err_code; /* security manager error code */ member
/linux-6.1.9/drivers/dma/qcom/
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 …]
Dhidma.h42 u8 err_code; /* completion code */ member
157 u8 err_code);
/linux-6.1.9/drivers/infiniband/core/
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-6.1.9/drivers/scsi/bnx2i/
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-6.1.9/arch/mips/include/asm/octeon/
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-6.1.9/include/linux/
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-6.1.9/kernel/debug/kdb/
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-6.1.9/drivers/scsi/
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-6.1.9/drivers/infiniband/hw/irdma/
Dverbs.c808 int err_code; in irdma_create_qp() local
818 err_code = irdma_validate_qp_attrs(init_attr, iwdev); in irdma_create_qp()
819 if (err_code) in irdma_create_qp()
820 return err_code; in irdma_create_qp()
859 err_code = irdma_alloc_rsrc(rf, rf->allocated_qps, rf->max_qp, in irdma_create_qp()
861 if (err_code) in irdma_create_qp()
882 err_code = ib_copy_from_udata(&req, udata, in irdma_create_qp()
884 if (err_code) { in irdma_create_qp()
905 err_code = -ENODATA; in irdma_create_qp()
915 err_code = irdma_setup_kmode_qp(iwdev, iwqp, &init_info, init_attr); in irdma_create_qp()
[all …]
/linux-6.1.9/lib/zstd/common/
Dzstd_internal.h115 size_t const err_code = (err); \
116 if (ERR_isError(err_code)) { \
118 __FILE__, __LINE__, ZSTD_QUOTE(err), ERR_getErrorName(err_code)); \
122 return err_code; \
/linux-6.1.9/lib/
Dtest_firmware.c122 enum fw_upload_err err_code; member
1100 tst->inject.err_code = err; in upload_err_inject_error()
1157 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_prepare()
1161 if (tst->inject.err_code == FW_UPLOAD_ERR_CANCELED) in test_fw_upload_prepare()
1164 ret = tst->inject.err_code; in test_fw_upload_prepare()
1171 tst->inject.err_code = FW_UPLOAD_ERR_NONE; in test_fw_upload_prepare()
1193 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_write()
1197 if (tst->inject.err_code == FW_UPLOAD_ERR_CANCELED) in test_fw_upload_write()
1200 return tst->inject.err_code; in test_fw_upload_write()
1211 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_complete()
[all …]
/linux-6.1.9/drivers/staging/octeon/
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-6.1.9/drivers/scsi/aic7xxx/aicasm/
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()
Daicasm.h85 void stop(const char *errstring, int err_code);
/linux-6.1.9/drivers/iio/accel/
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-6.1.9/kernel/debug/
Ddebug_core.h22 int err_code; member
/linux-6.1.9/net/sctp/
Dsm_make_chunk.c3020 __be16 err_code, in sctp_add_asconf_response() argument
3029 if (SCTP_ERROR_NO_ERROR == err_code) { in sctp_add_asconf_response()
3047 if (SCTP_ERROR_NO_ERROR == err_code) in sctp_add_asconf_response()
3051 err_param.cause = err_code; in sctp_add_asconf_response()
3283 __be16 err_code; in sctp_process_asconf() local
3319 err_code = sctp_process_asconf_param(asoc, asconf, in sctp_process_asconf()
3328 if (err_code != SCTP_ERROR_NO_ERROR) in sctp_process_asconf()
3332 err_code, param.addip); in sctp_process_asconf()
3339 if (err_code == SCTP_ERROR_RSRC_LOW) in sctp_process_asconf()
3426 __be16 err_code; in sctp_get_asconf_response() local
[all …]
/linux-6.1.9/tools/testing/selftests/mqueue/
Dmq_perf_tests.c601 goto err_code; in main()
619 goto err_code; in main()
634 goto err_code; in main()
748 err_code: in main()
/linux-6.1.9/drivers/staging/rts5208/
Drtsx_chip.h223 unsigned char err_code; /* error code */ member
478 u8 err_code; member
537 u8 err_code; member
591 u8 err_code; member
630 u8 err_code; member

1234