Home
last modified time | relevance | path

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

12

/drivers/media/usb/gspca/
Dmr97310a.c217 int err_code; in cam_get_response16() local
220 err_code = mr_write(gspca_dev, 1); in cam_get_response16()
221 if (err_code < 0) in cam_get_response16()
222 return err_code; in cam_get_response16()
224 err_code = mr_read(gspca_dev, 16); in cam_get_response16()
225 if (err_code < 0) in cam_get_response16()
226 return err_code; in cam_get_response16()
240 int err_code; in zero_the_pointer() local
244 err_code = cam_get_response16(gspca_dev, 0x21, 0); in zero_the_pointer()
245 if (err_code < 0) in zero_the_pointer()
[all …]
Dsn9c2028.c152 int err_code; in sn9c2028_short_command() local
154 err_code = sn9c2028_command(gspca_dev, command); in sn9c2028_short_command()
155 if (err_code < 0) in sn9c2028_short_command()
156 return err_code; in sn9c2028_short_command()
158 err_code = sn9c2028_read1(gspca_dev); in sn9c2028_short_command()
159 if (err_code < 0) in sn9c2028_short_command()
160 return err_code; in sn9c2028_short_command()
228 int i, err_code = -1; in run_start_commands() local
233 err_code = sn9c2028_long_command(gspca_dev, in run_start_commands()
237 err_code = sn9c2028_short_command(gspca_dev, in run_start_commands()
[all …]
/drivers/media/usb/usbvision/
Dusbvision-core.c321 int err_code = 0; in scratch_get_header() local
335 err_code = USBVISION_HEADER_LENGTH; in scratch_get_header()
342 return err_code; in scratch_get_header()
1280 int err_code = 0; in usbvision_isoc_irq() local
1345 err_code = usb_submit_urb(urb, GFP_ATOMIC); in usbvision_isoc_irq()
1347 if (err_code) { in usbvision_isoc_irq()
1350 __func__, err_code); in usbvision_isoc_irq()
1369 int err_code = 0; in usbvision_read_reg() local
1375 err_code = usb_control_msg(usbvision->dev, usb_rcvctrlpipe(usbvision->dev, 1), in usbvision_read_reg()
1380 if (err_code < 0) { in usbvision_read_reg()
[all …]
Dusbvision-video.c348 int err_code = 0; in usbvision_v4l2_open() local
357 err_code = -EBUSY; in usbvision_v4l2_open()
360 err_code = usbvision_scratch_alloc(usbvision); in usbvision_v4l2_open()
364 err_code = usbvision_decompress_alloc(usbvision); in usbvision_v4l2_open()
366 if (err_code) { in usbvision_v4l2_open()
374 if (!err_code) { in usbvision_v4l2_open()
387 err_code = -EBUSY; in usbvision_v4l2_open()
390 if (!err_code) { in usbvision_v4l2_open()
392 err_code = usbvision_init_isoc(usbvision); in usbvision_v4l2_open()
410 return err_code; in usbvision_v4l2_open()
[all …]
/drivers/scsi/bnx2i/
D57xx_iscsi_hsi.h34 u8 err_code; member
38 u8 err_code; member
162 u8 err_code; member
166 u8 err_code; member
346 u8 err_code; member
350 u8 err_code; member
927 u8 err_code; member
931 u8 err_code; member
1057 u8 err_code; member
1061 u8 err_code; member
[all …]
/drivers/scsi/
Dadvansys.c559 ushort err_code; member
1919 ushort err_code; /* fatal error code */ member
2408 "%d,\n", h->iop_base, h->err_code, h->dvc_cntl, h->bug_fix_cntl); in asc_prt_asc_dvc_var()
2465 (ulong)h->iop_base, h->err_code, (unsigned)h->ultra_able); in asc_prt_adv_dvc_var()
3400 v->err_code); in asc_prt_asc_board_info()
3544 v->err_code); in asc_prt_adv_board_info()
4251 asc_dvc->err_code |= ASC_IERR_SET_PC_ADDR; in AscInitMicroCodeVar()
4256 asc_dvc->err_code |= ASC_IERR_START_STOP_CHIP; in AscInitMicroCodeVar()
4288 if (asc_dvc->err_code != 0) in AscInitAsc1000Driver()
4291 asc_dvc->err_code = ASC_IERR_BAD_SIGNATURE; in AscInitAsc1000Driver()
[all …]
/drivers/staging/octeon/
Dethernet-rx.c151 if ((work->word2.snoip.err_code == 10) && (work->len <= 64)) { in cvm_oct_check_rcv_error()
160 && ((work->word2.snoip.err_code == 5) in cvm_oct_check_rcv_error()
161 || (work->word2.snoip.err_code == 7))) { in cvm_oct_check_rcv_error()
220 work->ipprt, work->word2.snoip.err_code); in cvm_oct_check_rcv_error()
Dethernet-tx.c623 work->word2.s.err_code = 0; in cvm_oct_xmit_pow()
651 work->word2.snoip.err_code = 0; in cvm_oct_xmit_pow()
/drivers/scsi/aic7xxx/aicasm/
Daicasm.c688 stop(const char *string, int err_code) in stop() argument
701 if (err_code != 0) { in stop()
710 if (err_code != 0) { in stop()
719 if (err_code != 0) { in stop()
729 exit(err_code); in stop()
Daicasm.h89 void stop(const char *errstring, int err_code);
/drivers/scsi/pm8001/
Dpm8001_ctl.c365 int err_code; member
586 for (i = 0; flash_error_table[i].err_code != 0; i++) { in pm8001_show_update_fw()
587 if (flash_error_table[i].err_code == pm8001_ha->fw_status) in pm8001_show_update_fw()
594 flash_error_table[i].err_code, in pm8001_show_update_fw()
/drivers/staging/rts5139/
Drts51x_chip.h219 unsigned char err_code; /* error code */ member
378 u8 err_code; member
504 u8 err_code; member
585 u8 err_code; member
Drts51x_scsi.h138 void rts51x_set_sense_data(struct rts51x_chip *chip, unsigned int lun, u8 err_code,
Dsd.c38 static inline void sd_set_reset_fail(struct rts51x_chip *chip, u8 err_code) in sd_set_reset_fail() argument
42 sd_card->sd_reset_fail |= err_code; in sd_set_reset_fail()
52 static inline int sd_check_reset_fail(struct rts51x_chip *chip, u8 err_code) in sd_check_reset_fail() argument
56 return sd_card->sd_reset_fail & err_code; in sd_check_reset_fail()
59 static inline void sd_set_err_code(struct rts51x_chip *chip, u8 err_code) in sd_set_err_code() argument
63 sd_card->err_code |= err_code; in sd_set_err_code()
70 sd_card->err_code = 0; in sd_clr_err_code()
73 static inline int sd_check_err_code(struct rts51x_chip *chip, u8 err_code) in sd_check_err_code() argument
77 return sd_card->err_code & err_code; in sd_check_err_code()
Dms.c40 static inline void ms_set_err_code(struct rts51x_chip *chip, u8 err_code) in ms_set_err_code() argument
44 ms_card->err_code = err_code; in ms_set_err_code()
47 static inline int ms_check_err_code(struct rts51x_chip *chip, u8 err_code) in ms_check_err_code() argument
51 return (ms_card->err_code == err_code); in ms_check_err_code()
124 u8 val, err_code = 0, flag = 0; in ms_transfer_data() local
135 err_code = MS_FLASH_READ_ERROR; in ms_transfer_data()
140 err_code = MS_FLASH_WRITE_ERROR; in ms_transfer_data()
178 ms_set_err_code(chip, err_code); in ms_transfer_data()
185 ms_set_err_code(chip, err_code); in ms_transfer_data()
Drts51x_scsi.c401 void rts51x_set_sense_data(struct rts51x_chip *chip, unsigned int lun, u8 err_code, in rts51x_set_sense_data() argument
407 sense->err_code = err_code; in rts51x_set_sense_data()
/drivers/scsi/aic94xx/
Daic94xx_init.c333 int err_code; member
475 for (i = 0; flash_error_table[i].err_code != 0; i++) { in asd_show_update_bios()
476 if (flash_error_table[i].err_code == asd_ha->bios_status) in asd_show_update_bios()
483 flash_error_table[i].err_code, in asd_show_update_bios()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_init.c648 ahw->idc.err_code = 0; in qlcnic_83xx_idc_update_idc_params()
732 adapter->ahw->idc.err_code = -EIO; in qlcnic_83xx_idc_unknown_state()
919 adapter->ahw->idc.err_code = -EIO; in qlcnic_83xx_idc_failed_state()
1055 adapter->ahw->idc.err_code = 0; in qlcnic_83xx_setup_idc_parameters()
2113 return adapter->ahw->idc.err_code; in qlcnic_83xx_init()
/drivers/edac/
Damd64_edac.c979 err->err_code = ERR_NODE; in k8_map_sysaddr_to_csrow()
986 err->err_code = ERR_CSROW; in k8_map_sysaddr_to_csrow()
1002 err->err_code = ERR_CHANNEL; in k8_map_sysaddr_to_csrow()
1534 err->err_code = ERR_CSROW; in f1x_map_sysaddr_to_csrow()
1819 switch (err->err_code) { in __log_bus_error()
Damd64_edac.h383 int err_code; member
/drivers/net/wireless/iwlwifi/pcie/
Dinternal.h64 u32 err_code; member
/drivers/usb/misc/
Dlegousbtower.c183 __u8 err_code; member
189 __u8 err_code; member
/drivers/input/misc/
Dwistron_btns.c142 goto err_code; in map_bios()
146 err_code: in map_bios()
/drivers/scsi/bnx2fc/
Dbnx2fc_hwi.c24 static void bnx2fc_init_failure(struct bnx2fc_hba *hba, u32 err_code);
1276 static void bnx2fc_init_failure(struct bnx2fc_hba *hba, u32 err_code) in bnx2fc_init_failure() argument
1278 switch (err_code) { in bnx2fc_init_failure()
1297 printk(KERN_ERR PFX "Unknown Error code %d\n", err_code); in bnx2fc_init_failure()
/drivers/mmc/host/
Dmxcmmc.c502 u32 err_code = (stat >> 9) & 0x3; in mxcmci_finish_data() local
503 if (err_code == 2) { /* No CRC response */ in mxcmci_finish_data()

12