Home
last modified time | relevance | path

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

123

/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 …]
/drivers/platform/x86/intel/ifs/
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()
Druntest.c108 enum ifs_status_err_code err_code = status.error_code; in can_restart() local
114 switch (err_code) { in can_restart()
/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
/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);
/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 …]
Diwpm_util.h70 u16 err_code; member
/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 …]
/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 …]
/drivers/infiniband/hw/irdma/
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 …]
/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()
/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);
/drivers/net/wireless/ath/ath12k/
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()
/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()
/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
Dspi.c19 static inline void spi_set_err_code(struct rtsx_chip *chip, u8 err_code) in spi_set_err_code() argument
23 spi->err_code = err_code; in spi_set_err_code()
441 spi->err_code); in spi_get_status()
442 rtsx_stor_set_xfer_buf(&spi->err_code, in spi_get_status()
Drtsx_scsi.h126 void set_sense_data(struct rtsx_chip *chip, unsigned int lun, u8 err_code,
/drivers/platform/x86/
Dthink-lmi.h17 int err_code; member
/drivers/net/ethernet/mscc/
Docelot_fdma.c579 u32 ident, llp, frm, err, err_code; in ocelot_fdma_interrupt() local
595 err_code = ocelot_fdma_readl(ocelot, MSCC_FDMA_EVT_ERR_CODE); in ocelot_fdma_interrupt()
598 err, err_code); in ocelot_fdma_interrupt()
601 ocelot_fdma_writel(ocelot, MSCC_FDMA_EVT_ERR_CODE, err_code); in ocelot_fdma_interrupt()
/drivers/net/wireless/ath/ath11k/
Dhal_rx.c325 enum hal_reo_dest_ring_error_code err_code; in ath11k_hal_desc_reo_parse_err() local
329 err_code = FIELD_GET(HAL_REO_DEST_RING_INFO0_ERROR_CODE, in ath11k_hal_desc_reo_parse_err()
331 ab->soc_stats.reo_error[err_code]++; in ath11k_hal_desc_reo_parse_err()
387 rel_info->err_code = in ath11k_hal_wbm_desc_parse_err()
394 rel_info->err_code = in ath11k_hal_wbm_desc_parse_err()
545 status->u.flush_cache.err_code = in ath11k_hal_reo_flush_cache_status()
548 if (!status->u.flush_cache.err_code) in ath11k_hal_reo_flush_cache_status()
/drivers/edac/
Dmce_amd.c1301 goto err_code; in amd_decode_mce()
1309 goto err_code; in amd_decode_mce()
1344 err_code: in amd_decode_mce()

123