Home
last modified time | relevance | path

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

12345

/openbmc/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 …]
/openbmc/qemu/target/i386/hvf/
H A Dx86_mmu.c46 int err_code; member
105 pt->err_code |= MMU_PAGE_WT; in test_pt_entry()
108 pt->err_code |= MMU_PAGE_US; in test_pt_entry()
111 pt->err_code |= MMU_PAGE_NX; in test_pt_entry()
123 pt->err_code |= MMU_PAGE_PT; in test_pt_entry()
127 pt->err_code |= MMU_PAGE_PT; in test_pt_entry()
179 static bool walk_gpt(CPUState *cpu, target_ulong addr, int err_code, in walk_gpt() argument
192 pt->user_access = (err_code & MMU_PAGE_US); in walk_gpt()
193 pt->write_access = (err_code & MMU_PAGE_WT); in walk_gpt()
194 pt->exec_access = (err_code & MMU_PAGE_NX); in walk_gpt()
[all …]
/openbmc/linux/drivers/platform/x86/intel/ifs/
H A Dload.c98 u32 err_code; in copy_hashes_authenticate_chunks() local
108 err_code = hashes_status.error_code; in copy_hashes_authenticate_chunks()
112 if (err_code >= ARRAY_SIZE(scan_hash_status)) { in copy_hashes_authenticate_chunks()
113 dev_err(dev, "invalid error code 0x%x for hash copy\n", err_code); in copy_hashes_authenticate_chunks()
116 dev_err(dev, "Hash copy error : %s", scan_hash_status[err_code]); in copy_hashes_authenticate_chunks()
132 err_code = chunk_status.error_code; in copy_hashes_authenticate_chunks()
134 if (err_code) { in copy_hashes_authenticate_chunks()
136 if (err_code >= ARRAY_SIZE(scan_authentication_status)) { in copy_hashes_authenticate_chunks()
138 "invalid error code 0x%x for authentication\n", err_code); in copy_hashes_authenticate_chunks()
142 scan_authentication_status[err_code]); in copy_hashes_authenticate_chunks()
/openbmc/linux/drivers/base/firmware_loader/
H A 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()
H A Dsysfs_upload.h38 enum fw_upload_err err_code; /* security manager error code */ member
/openbmc/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);
/openbmc/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; \
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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;
/openbmc/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,
/openbmc/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()
/openbmc/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 …]
/openbmc/linux/lib/
H A Dtest_firmware.c124 enum fw_upload_err err_code; member
1146 tst->inject.err_code = err; in upload_err_inject_error()
1203 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_prepare()
1207 if (tst->inject.err_code == FW_UPLOAD_ERR_CANCELED) in test_fw_upload_prepare()
1210 ret = tst->inject.err_code; in test_fw_upload_prepare()
1217 tst->inject.err_code = FW_UPLOAD_ERR_NONE; in test_fw_upload_prepare()
1239 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_write()
1243 if (tst->inject.err_code == FW_UPLOAD_ERR_CANCELED) in test_fw_upload_write()
1246 return tst->inject.err_code; in test_fw_upload_write()
1257 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_complete()
[all …]
/openbmc/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 …]
/openbmc/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()
/openbmc/linux/kernel/trace/
H A Dtrace_functions_graph.c635 unsigned long err_code = 0; in print_graph_retval() local
644 err_code = (unsigned long)(s32)retval; in print_graph_retval()
646 err_code = retval; in print_graph_retval()
649 if (!IS_ERR_VALUE(err_code)) in print_graph_retval()
650 err_code = 0; in print_graph_retval()
654 if (hex_format || (err_code == 0)) in print_graph_retval()
659 func, err_code); in print_graph_retval()
661 if (hex_format || (err_code == 0)) in print_graph_retval()
666 func, err_code); in print_graph_retval()
/openbmc/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);
/openbmc/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()
/openbmc/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()
/openbmc/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 …]
/openbmc/linux/kernel/debug/
H A Ddebug_core.h22 int err_code; member

12345