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
207 if (err_code < 0) in cam_get_response16()
208 return err_code; 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
232 if (err_code < 0) in zero_the_pointer()
343 int err_code; in sd_config() local
489 int err_code; in start_cif_cam() local
591 int err_code; in start_vga_cam() local
[all …]
H A Dsn9c2028.c151 int err_code; in sn9c2028_short_command() local
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
247 if (err_code < 0) in run_start_commands()
248 return err_code; in run_start_commands()
805 int err_code; in sd_start() local
[all …]
/openbmc/qemu/target/i386/hvf/
H A Dx86_mmu.c45 int err_code; member
104 pt->err_code |= MMU_PAGE_WT; in test_pt_entry()
107 pt->err_code |= MMU_PAGE_US; in test_pt_entry()
110 pt->err_code |= MMU_PAGE_NX; in test_pt_entry()
122 pt->err_code |= MMU_PAGE_PT; in test_pt_entry()
126 pt->err_code |= MMU_PAGE_PT; in test_pt_entry()
169 static bool walk_gpt(CPUState *cpu, target_ulong addr, int err_code, in walk_gpt() argument
182 pt->user_access = (err_code & MMU_PAGE_US); in walk_gpt()
183 pt->write_access = (err_code & MMU_PAGE_WT); in walk_gpt()
184 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/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/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()
304 u8 err_code) in hidma_cleanup_pending_tre() argument
537 tre->err_code = 0; in hidma_ll_queue_request()
839 u8 err_code; in hidma_ll_status() local
844 err_code = tre->err_code; in hidma_ll_status()
[all …]
H A Dhidma.h42 u8 err_code; /* completion code */ member
157 u8 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
571 if (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
790 err_code = nla_get_u16(nltb[IWPM_NLA_ERR_CODE]); in iwpm_mapping_error_cb()
792 __func__, msg_seq, err_code, nl_client); in iwpm_mapping_error_cb()
[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/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/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
3184 v->err_code); in asc_prt_asc_board_info()
3323 v->err_code); in asc_prt_adv_board_info()
6160 asc_dvc->err_code = err_code; in AscSetLibErrorCode()
6162 err_code); in AscSetLibErrorCode()
6164 return err_code; in AscSetLibErrorCode()
8381 int ret, err_code; in asc_execute_scsi_cmnd() local
8398 err_code = asc_dvc->err_code; in asc_execute_scsi_cmnd()
8424 err_code = adv_dvc->err_code; in asc_execute_scsi_cmnd()
10680 err_code = adv_dvc->err_code; in advansys_wide_init_chip()
[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()
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()
1264 return tst->inject.err_code; in test_fw_upload_complete()
[all …]
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dverbs.c886 int err_code; in irdma_create_qp() local
894 if (err_code) in irdma_create_qp()
933 if (err_code) in irdma_create_qp()
1003 if (err_code) in irdma_create_qp()
2058 int err_code; in irdma_create_cq() local
2062 if (err_code) in irdma_create_cq()
2071 if (err_code) in irdma_create_cq()
2211 if (err_code) in irdma_create_cq()
2578 int err_code; in irdma_alloc_mw() local
2684 int err_code; in irdma_alloc_mr() local
[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/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/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/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/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/kernel/debug/
H A Ddebug_core.h22 int err_code; member
/openbmc/linux/drivers/platform/x86/
H A Dthink-lmi.h17 int err_code; member

12345