Home
last modified time | relevance | path

Searched full:asc (Results 1 – 25 of 140) sorted by relevance

123456

/Linux-v6.1/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()
119 * the 29h ASC family, see spc4r17 Table D.1 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()
149 pr_debug("Allocated UNIT ATTENTION, mapped LUN: %llu, 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()
[all …]
Dtarget_core_transport.c3247 u8 asc; member
3258 .asc = 0x25 /* LOGICAL UNIT NOT SUPPORTED */
3262 .asc = 0x20, /* INVALID COMMAND OPERATION CODE */
3266 .asc = 0x20, /* INVALID COMMAND OPERATION CODE */
3270 .asc = 0x24, /* INVALID FIELD IN CDB */
3274 .asc = 0x29, /* BUS DEVICE RESET FUNCTION OCCURRED */
3279 .asc = 0x0c, /* WRITE ERROR */
3284 .asc = 0x24, /* INVALID FIELD IN CDB */
3288 .asc = 0x26, /* INVALID FIELD IN PARAMETER LIST */
3292 .asc = 0x26,
[all …]
/Linux-v6.1/drivers/hid/
Dhid-apple.c375 struct apple_sc *asc = hid_get_drvdata(hid); in hidinput_apple_event() local
384 asc->fn_on = !!value; in hidinput_apple_event()
391 real_fnmode = (asc->quirks & APPLE_IS_NON_APPLE) ? 2 : 1; in hidinput_apple_event()
445 do_translate = !asc->fn_on; in hidinput_apple_event()
448 do_translate = asc->fn_on; in hidinput_apple_event()
455 do_translate = asc->fn_on; in hidinput_apple_event()
466 if (asc->quirks & APPLE_NUMLOCK_EMULATION && in hidinput_apple_event()
467 (test_bit(usage->code, asc->pressed_numlock) || in hidinput_apple_event()
475 asc->pressed_numlock); in hidinput_apple_event()
478 asc->pressed_numlock); in hidinput_apple_event()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/serial/
Dlantiq_asc.txt1 Lantiq SoC ASC serial controller
4 - 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";
/Linux-v6.1/Documentation/devicetree/bindings/mailbox/
Dapple,mailbox.yaml26 ASC mailboxes are the most common variant found on the M1 used
31 - apple,t8103-asc-mailbox
32 - apple,t6000-asc-mailbox
33 - const: apple,asc-mailbox-v4
80 compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
/Linux-v6.1/Documentation/devicetree/bindings/iio/pressure/
Dasc,dlhl60d.yaml4 $id: http://devicetree.org/schemas/iio/pressure/asc,dlhl60d.yaml#
21 - asc,dlhl60d
22 - asc,dlhl60g
47 compatible = "asc,dlhl60d";
/Linux-v6.1/arch/m68k/mac/
Dmacboing.c8 * rewrote some functions, added support for Enhanced ASC (Quadras)
9 * after the NetBSD asc.c console bell patch by Colin Wood/Frederick Bruck
35 * where the ASC hides ...
106 * current location of the Apple Sound Chip--ASC--in other Macs.) The in mac_init_asc()
157 * Does the job for simple ASC, calls other routines else.
217 * regular ASC: stop whining ..
248 /* set up the ASC registers */ in mac_quadra_start_bell()
281 * using the asc interrupt will give better results in the future in mac_quadra_ring_bell()
/Linux-v6.1/drivers/scsi/
Dscsi_common.c37 "ASC IT8 ",
38 "ASC IT8 ",
139 * asc, ascq and additional_length (only for descriptor format).
167 sshdr->asc = sense_buffer[2]; in scsi_normalize_sense()
182 sshdr->asc = sense_buffer[12]; in scsi_normalize_sense()
237 * @asc: Additional sense code
241 void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq) in scsi_build_sense_buffer() argument
246 buf[2] = asc; in scsi_build_sense_buffer()
253 buf[12] = asc; in scsi_build_sense_buffer()
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()
Dsr_ioctl.c226 if (sshdr->asc == 0x04 && in sr_do_ioctl()
250 if (sshdr->asc == 0x20 && in sr_do_ioctl()
303 /* SK/ASC/ASCQ of 2/4/1 means "unit is becoming ready" */ in sr_drive_status()
305 && sshdr.asc == 0x04 && sshdr.ascq == 0x01) in sr_drive_status()
318 * SK/ASC/ASCQ of 2/4/2 means "initialization required" in sr_drive_status()
323 && sshdr.asc == 0x04 && sshdr.ascq == 0x02) in sr_drive_status()
329 if (sshdr.sense_key == NOT_READY && sshdr.asc == 0x04) in sr_drive_status()
339 sshdr.asc == 0x3a) in sr_drive_status()
Dscsi_error.c459 if (sshdr->asc == 0x3f && sshdr->ascq == 0x03) { in scsi_report_sense()
463 } else if (sshdr->asc == 0x3f && sshdr->ascq == 0x0e) { in scsi_report_sense()
470 } else if (sshdr->asc == 0x3f) in scsi_report_sense()
476 if (sshdr->asc == 0x38 && sshdr->ascq == 0x07) { in scsi_report_sense()
484 if (sshdr->asc == 0x29) { in scsi_report_sense()
495 if (sshdr->asc == 0x2a && sshdr->ascq == 0x01) { in scsi_report_sense()
499 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x06) { in scsi_report_sense()
503 } else if (sshdr->asc == 0x2a && sshdr->ascq == 0x09) { in scsi_report_sense()
507 } else if (sshdr->asc == 0x2a) in scsi_report_sense()
592 if (sshdr.asc == 0x10) /* DIF */ in scsi_check_sense()
[all …]
Dps3rom.c247 unsigned char *asc, unsigned char *ascq) in DEF_SCSI_QCMD()
253 *asc = (status >> 8) & 0xff; in DEF_SCSI_QCMD()
266 unsigned char sense_key, asc, ascq; in ps3rom_interrupt() local
313 if (decode_lv1_status(status, &sense_key, &asc, &ascq)) { in ps3rom_interrupt()
318 scsi_build_sense(cmd, 0, sense_key, asc, ascq); in ps3rom_interrupt()
/Linux-v6.1/drivers/pinctrl/
Dpinctrl-xway.c120 MFP_XWAY(GPIO4, GPIO, STP, NONE, ASC),
122 MFP_XWAY(GPIO6, GPIO, STP, GPT, ASC),
125 MFP_XWAY(GPIO9, GPIO, ASC, SPI, EXIN),
126 MFP_XWAY(GPIO10, GPIO, ASC, SPI, NONE),
127 MFP_XWAY(GPIO11, GPIO, ASC, PCI, SPI),
128 MFP_XWAY(GPIO12, GPIO, ASC, NONE, NONE),
141 MFP_XWAY(GPIO25, GPIO, TDM, NONE, ASC),
143 MFP_XWAY(GPIO27, GPIO, TDM, NONE, ASC),
259 GRP_MUX("asc0", ASC, pins_asc0),
260 GRP_MUX("asc0 cts rts", ASC, pins_asc0_cts_rts),
[all …]
Dpinctrl-falcon.c122 MFP_FALCON(GPIO32, ASC, GPIO, NONE, NONE),
123 MFP_FALCON(GPIO33, ASC, GPIO, NONE, NONE),
134 MFP_FALCON(GPIO44, SLIC, GPIO, PCM, ASC),
135 MFP_FALCON(GPIO45, SLIC, GPIO, PCM, ASC),
189 GRP_MUX("asc0", ASC, pins_asc0),
197 GRP_MUX("asc1", ASC, pins_asc1),
216 {"asc", ARRAY_AND_SIZE(ltq_asc_grps)},
/Linux-v6.1/drivers/scsi/mpt3sas/
Dmpt3sas_trigger_diag.c331 * @asc: ?
336 mpt3sas_trigger_scsi(struct MPT3SAS_ADAPTER *ioc, u8 sense_key, u8 asc, in mpt3sas_trigger_scsi() argument
362 ioc_info(ioc, "%s: enter - sense_key = 0x%02x, asc = 0x%02x, ascq = 0x%02x\n", in mpt3sas_trigger_scsi()
363 __func__, sense_key, asc, ascq)); in mpt3sas_trigger_scsi()
377 if (!(scsi_trigger->ASC == 0xFF || scsi_trigger->ASC == asc)) in mpt3sas_trigger_scsi()
395 event_data.u.scsi.ASC = asc; in mpt3sas_trigger_scsi()
/Linux-v6.1/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
/Linux-v6.1/arch/mips/include/asm/dec/
Dinterrupts.h31 #define DEC_IRQ_ASC 4 /* ASC (NCR53C94) SCSI */
50 #define DEC_IRQ_ASC_MERR 21 /* ASC memory read error */
51 #define DEC_IRQ_ASC_ERR 22 /* ASC page overrun */
52 #define DEC_IRQ_ASC_DMA 23 /* ASC buffer pointer loaded */
Dioasic_ints.h33 #define IO_INR_ASC_DMA 19 /* ASC buffer pointer loaded */
34 #define IO_INR_ASC_ERR 18 /* ASC page overrun */
35 #define IO_INR_ASC_MERR 17 /* ASC memory read error */
/Linux-v6.1/drivers/scsi/device_handler/
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_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_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()
/Linux-v6.1/drivers/ata/
Dlibata-zpodd.c107 unsigned int ret, asc, ascq, add_len; in zpready() local
125 /* has asc and ascq */ in zpready()
129 asc = sense_buf[12]; in zpready()
134 return asc == 0x3a; in zpready()
137 return asc == 0x3a && ascq == 0x01; in zpready()
/Linux-v6.1/drivers/tty/serial/
Dst-asc.c3 * st-asc.c: ST Asynchronous serial controller (ASC) driver
26 #define DRIVER_NAME "st-asc"
217 * This section contains code to support the use of the ASC as a
257 * don't think the ASC has any way to do that. in asc_transmit_chars()
397 * We use ASC's hardware for CTS/RTS when hardware flow-control is in asc_set_mctrl()
489 * Disable the ASC baud rate generator, which is as close as in asc_pm()
804 { .compatible = "st,asc", },
982 KERN_INFO "STMicroelectronics ASC driver initialized\n"; in asc_init()
1008 MODULE_DESCRIPTION("STMicroelectronics ASC serial port driver");
/Linux-v6.1/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);

123456