Lines Matching +full:spi +full:- +full:crc

1 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
6 * Copyright (c) 1994-2001 Justin T. Gibbs.
7 * Copyright (c) 2000-2001 Adaptec Inc.
21 * 3. Neither the names of the above-listed copyright holders nor the names
79 (((scsiid) & ((((ahc)->features & AHC_TWIN) != 0) ? TWIN_TID : TID)) \
84 ((((ahc)->features & AHC_TWIN) != 0) \
88 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
90 SCSIID_OUR_ID((scb)->hscb->scsiid)
92 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
94 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid)
96 ((scb)->hscb->lun & LID)
104 && (((scb)->flags & SCB_SILENT) != 0))
107 (((scb)->flags & SCB_SILENT) != 0)
112 (tcl & (AHC_NUM_LUNS - 1))
149 * Sequencer Control Blocks (SCBs) store per-transaction information. Although
227 AHC_SG_PRELOAD = 0x00080, /* Can perform auto-SG preload */
229 AHC_MULTI_TID = 0x00200, /* Has bitmask of TIDs for select-in */
233 AHC_MULTI_FUNC = 0x02000, /* Multi-Function Twin Channel Device */
239 AHC_REMOVABLE = 0x80000, /* Hot-Swap supported */
255 * the initiator role to allow multi-scsi-id target mode
281 * work during scsi->HostBus transfers.
300 * PCI 2.1 Retry failure on non-empty data fifo.
399 * complete abnormally (non-zero status byte).
415 uint8_t data_phase; /* Data-In or Data-Out */
496 * 13->32. We store them here
559 * We detected a parity or CRC
643 * Connection descriptor for select-in requests in target mode.
715 uint8_t transport_version; /* SPI Revision level */
723 * Per-initiator current, goal and user transfer negotiation information. */
734 * for each initiator<->target mapping. For the initiator role we pretend
780 * Phase -> name and message out response
795 uint16_t device_flags[16]; /* words 0-15 */
801 #define CFSYNCSINGLE 0x0080 /* Single-Transition signalling */
806 #define CFWBCACHEENB 0x4000 /* Enable W-Behind Cache on disks */
807 #define CFWBCACHENOP 0xc000 /* Don't touch W-Behind Cache */
820 #define CFCTRL_A 0x0020 /* BIOS displays Ctrl-A message */
828 #define CFBOOTCD 0x0800 /* Support Bootable CD-ROM */
868 uint16_t res_1[10]; /* words 20-29 */
928 #define AIC_SCB_DATA(softc) ((softc)->scb_data)
957 * Per-target queue of untagged-transactions. The
1093 * work-around a DMA bug for chips <= aic7880
1109 * We auto-disable parity error checking after seeing
1118 /* Per-Unit descriptive information */
1300 AHC_NEG_IF_NON_ASYNC, /* Renegotiate so long as goal is non-async. */