Home
last modified time | relevance | path

Searched refs:asc (Results 1 – 25 of 81) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_ua.c77 u8 asc, in core_scsi3_ua_allocate() argument
89 ua->ua_asc = asc; in core_scsi3_ua_allocate()
97 if ((ua_p->ua_asc == asc) && (ua_p->ua_ascq == ascq)) { in core_scsi3_ua_allocate()
122 if ((asc == 0x29) && (ascq > ua_p->ua_ascq)) in core_scsi3_ua_allocate()
133 if ((asc == 0x29) || (ascq > ua_p->ua_asc)) in core_scsi3_ua_allocate()
151 asc, ascq); in core_scsi3_ua_allocate()
157 u32 unpacked_lun, u8 asc, u8 ascq) in target_ua_allocate_lun() argument
171 core_scsi3_ua_allocate(deve, asc, ascq); in target_ua_allocate_lun()
193 bool core_scsi3_ua_for_check_condition(struct se_cmd *cmd, u8 *key, u8 *asc, in core_scsi3_ua_for_check_condition() argument
217 *asc = 0x25; /* LOGICAL UNIT NOT SUPPORTED */ in core_scsi3_ua_for_check_condition()
[all …]
Dtarget_core_transport.c3136 u8 asc; member
3147 .asc = 0x25 /* LOGICAL UNIT NOT SUPPORTED */
3151 .asc = 0x20, /* INVALID COMMAND OPERATION CODE */
3155 .asc = 0x20, /* INVALID COMMAND OPERATION CODE */
3159 .asc = 0x24, /* INVALID FIELD IN CDB */
3163 .asc = 0x29, /* BUS DEVICE RESET FUNCTION OCCURRED */
3168 .asc = 0x0c, /* WRITE ERROR */
3173 .asc = 0x24, /* INVALID FIELD IN CDB */
3177 .asc = 0x26, /* INVALID FIELD IN PARAMETER LIST */
3181 .asc = 0x26,
[all …]
/kernel/linux/linux-5.10/drivers/hid/
Dhid-apple.c193 struct apple_sc *asc = hid_get_drvdata(hid); in hidinput_apple_event() local
201 asc->fn_on = !!value; in hidinput_apple_event()
227 do_translate = !asc->fn_on; in hidinput_apple_event()
230 do_translate = asc->fn_on; in hidinput_apple_event()
237 do_translate = asc->fn_on; in hidinput_apple_event()
247 if (asc->quirks & APPLE_NUMLOCK_EMULATION && in hidinput_apple_event()
248 (test_bit(usage->code, asc->pressed_numlock) || in hidinput_apple_event()
256 asc->pressed_numlock); in hidinput_apple_event()
259 asc->pressed_numlock); in hidinput_apple_event()
301 struct apple_sc *asc = hid_get_drvdata(hdev); in apple_event() local
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/serial/
Dlantiq_asc.txt4 - compatible : Should be "lantiq,asc"
11 - clock-names: Should be "freq" and "asc"
16 compatible = "lantiq,asc";
23 clock-names = "freq", "asc";
27 compatible = "lantiq,asc";
Dst-asc.txt1 *st-asc(Serial Port)
4 - compatible : Should be "st,asc".
11 - st,force-m1 bool flat to force asc to be in Mode-1 recommeded
15 compatible = "st,asc";
/kernel/linux/linux-5.10/drivers/ide/
Dide-cd_verbose.c24 (sense->sense_key == NOT_READY && (sense->asc == 4 || in ide_cd_log_error()
25 sense->asc == 0x3a))) in ide_cd_log_error()
31 sense->asc, sense->ascq); in ide_cd_log_error()
276 if (sense->asc == 0x40) { in ide_cd_log_error()
284 key |= (sense->asc << 8); in ide_cd_log_error()
303 if (sense->asc > 0x80) in ide_cd_log_error()
310 s, sense->asc, sense->ascq); in ide_cd_log_error()
Dide-cd_ioctl.c65 if (sshdr.sense_key == NOT_READY && sshdr.asc == 0x04 in ide_cdrom_drive_status()
75 if (sshdr.asc == 0x3a && sshdr.ascq == 1) in ide_cdrom_drive_status()
161 (sshdr.asc == 0x24 || sshdr.asc == 0x20)) { in ide_cd_lockdoor()
169 if (stat != 0 && sshdr.sense_key == NOT_READY && sshdr.asc == 0x3a) in ide_cd_lockdoor()
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_common.c158 sshdr->asc = sense_buffer[2]; in scsi_normalize_sense()
173 sshdr->asc = sense_buffer[12]; in scsi_normalize_sense()
232 void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq) in scsi_build_sense_buffer() argument
237 buf[2] = asc; in scsi_build_sense_buffer()
244 buf[12] = asc; in scsi_build_sense_buffer()
Dscsi_error.c414 if (sshdr->asc == 0x3f && sshdr->ascq == 0x03) { in scsi_report_sense()
418 } else if (sshdr->asc == 0x3f && sshdr->ascq == 0x0e) { in scsi_report_sense()
426 } else if (sshdr->asc == 0x3f) in scsi_report_sense()
433 if (sshdr->asc == 0x38 && sshdr->ascq == 0x07) { in scsi_report_sense()
441 if (sshdr->asc == 0x29) { in scsi_report_sense()
447 if (sshdr->asc == 0x2a && sshdr->ascq == 0x01) { in scsi_report_sense()
451 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x06) { in scsi_report_sense()
455 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x09) { in scsi_report_sense()
459 } else if (sshdr->asc == 0x2a) in scsi_report_sense()
538 if (sshdr.asc == 0x10) /* DIF */ in scsi_check_sense()
[all …]
Dps3rom.c251 unsigned char *asc, unsigned char *ascq) in DEF_SCSI_QCMD()
257 *asc = (status >> 8) & 0xff; in DEF_SCSI_QCMD()
270 unsigned char sense_key, asc, ascq; in ps3rom_interrupt() local
317 if (decode_lv1_status(status, &sense_key, &asc, &ascq)) { in ps3rom_interrupt()
322 scsi_build_sense_buffer(0, cmd->sense_buffer, sense_key, asc, ascq); in ps3rom_interrupt()
Dsr_ioctl.c220 if (sshdr->asc == 0x04 && in sr_do_ioctl()
244 if (sshdr->asc == 0x20 && in sr_do_ioctl()
299 && sshdr.asc == 0x04 && sshdr.ascq == 0x01) in sr_drive_status()
317 && sshdr.asc == 0x04 && sshdr.ascq == 0x02) in sr_drive_status()
323 if (sshdr.sense_key == NOT_READY && sshdr.asc == 0x04) in sr_drive_status()
333 sshdr.asc == 0x3a) in sr_drive_status()
Dconstants.c378 scsi_extd_sense_format(unsigned char asc, unsigned char ascq, const char **fmt) in scsi_extd_sense_format() argument
381 unsigned short code = ((asc << 8) | ascq); in scsi_extd_sense_format()
391 if (additional2[i].code1 == asc && in scsi_extd_sense_format()
Dscsi_logging.c241 unsigned char asc, unsigned char ascq) in scsi_format_extd_sense() argument
245 const char *extd_sense_str = scsi_extd_sense_format(asc, ascq, in scsi_format_extd_sense()
255 if (asc >= 0x80) in scsi_format_extd_sense()
258 "ASC=0x%x ", asc); in scsi_format_extd_sense()
337 sshdr->asc, sshdr->ascq); in scsi_log_print_sense_hdr()
Dch.c126 unsigned char asc; member
134 .asc = 0x21,
139 .asc = 0x28,
144 .asc = 0x3B,
149 .asc = 0x3B,
154 .asc = 0x20,
170 sshdr->asc != 0) { in ch_find_errno()
173 ch_err[i].asc == sshdr->asc && in ch_find_errno()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-iio-scd3010 calibration procedure (asc).
13 deactivate asc.
15 Upon reading current asc status is returned.
/kernel/linux/linux-5.10/drivers/scsi/device_handler/
Dscsi_dh_hp_sw.c53 if (sshdr->asc == 0x04 && sshdr->ascq == 2) { in tur_done()
67 HP_SW_NAME, sshdr->sense_key, sshdr->asc, in tur_done()
139 if (sshdr.asc == 0x04 && sshdr.ascq == 3) { in hp_sw_start_stop()
155 sshdr.sense_key, sshdr.asc, sshdr.ascq); in hp_sw_start_stop()
Dscsi_dh_rdac.c501 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x01) in mode_select_handle_sense()
508 if (sense_hdr->asc == 0x91 && sense_hdr->ascq == 0x36) in mode_select_handle_sense()
521 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in mode_select_handle_sense()
667 sense_hdr->sense_key, sense_hdr->asc, sense_hdr->ascq); in rdac_check_sense()
671 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x01) in rdac_check_sense()
677 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x81) in rdac_check_sense()
684 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0xA1) in rdac_check_sense()
690 if (sense_hdr->asc == 0xA1 && sense_hdr->ascq == 0x02) in rdac_check_sense()
698 if (sense_hdr->asc == 0x94 && sense_hdr->ascq == 0x01) { in rdac_check_sense()
708 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in rdac_check_sense()
[all …]
Dscsi_dh_emc.c108 sshdr->asc, sshdr->ascq); in trespass_endio()
110 if (sshdr->sense_key == 0x05 && sshdr->asc == 0x04 && in trespass_endio()
120 } else if (sshdr->sense_key == 0x02 && sshdr->asc == 0x04 && in trespass_endio()
288 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x03) in clariion_check_sense()
305 if (sense_hdr->asc == 0x25 && sense_hdr->ascq == 0x01) in clariion_check_sense()
319 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) in clariion_check_sense()
Dscsi_dh_alua.c413 if (sense_hdr->asc == 0x04 && sense_hdr->ascq == 0x0a) { in alua_check_sense()
422 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x00) { in alua_check_sense()
431 if (sense_hdr->asc == 0x29 && sense_hdr->ascq == 0x04) in alua_check_sense()
436 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x01) in alua_check_sense()
441 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x06) { in alua_check_sense()
448 if (sense_hdr->asc == 0x2a && sense_hdr->ascq == 0x07) { in alua_check_sense()
455 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x03) in alua_check_sense()
460 if (sense_hdr->asc == 0x3f && sense_hdr->ascq == 0x0e) in alua_check_sense()
489 sense_hdr.asc == 0x04 && sense_hdr.ascq == 0x0a) in alua_tur()
583 sense_hdr.asc == 0x04 && sense_hdr.ascq == 0x0a) { in alua_rtpg()
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-zpodd.c107 unsigned int ret, asc, ascq, add_len; in zpready() local
129 asc = sense_buf[12]; in zpready()
134 return asc == 0x3a; in zpready()
137 return asc == 0x3a && ascq == 0x01; in zpready()
/kernel/linux/linux-5.10/include/scsi/
Dscsi_common.h53 u8 asc; member
72 extern void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq);
/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/
Dmpt3sas_trigger_diag.c302 mpt3sas_trigger_scsi(struct MPT3SAS_ADAPTER *ioc, u8 sense_key, u8 asc, in mpt3sas_trigger_scsi() argument
329 __func__, sense_key, asc, ascq)); in mpt3sas_trigger_scsi()
343 if (!(scsi_trigger->ASC == 0xFF || scsi_trigger->ASC == asc)) in mpt3sas_trigger_scsi()
361 event_data.u.scsi.ASC = asc; in mpt3sas_trigger_scsi()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dlantiq,pinctrl-xway.txt57 spi, asc, cgu, jtag, exin, stp, gpt, nmi, pci, ebu
69 spi, asc, cgu, jtag, exin, stp, gpt, nmi, pci, ebu, mdio, gphy
74 spi_cs3, spi_cs4, spi_cs5, spi_cs6, asc, stp, gpt1, gpt2, gpt3, clkout0,
78 spi, asc, cgu, jtag, exin, stp, gpt, mdio, ephy, dfe
89 spi, asc, cgu, jtag, exin, stp, gpt, nmi, pci, ebu, dfe
101 spi, asc, cgu, exin, stp, gpt, nmi, pci, ebu, mdio, dfe
/kernel/linux/linux-5.10/drivers/usb/storage/
Ddebug.c146 unsigned char asc, in usb_stor_show_sense() argument
152 what = scsi_extd_sense_format(asc, ascq, &fmt); in usb_stor_show_sense()
Ddebug.h35 unsigned char asc, unsigned char ascq);

1234