Lines Matching +full:fis +full:- +full:based
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * ahci.h - Common AHCI SATA definitions and declarations
6 * Please ALWAYS copy linux-ide@vger.kernel.org
9 * Copyright 2004-2005 Red Hat, Inc.
12 * as Documentation/driver-api/libata.rst
65 RX_FIS_PIO_SETUP = 0x20, /* offset of PIO Setup FIS data */
66 RX_FIS_D2H_REG = 0x40, /* offset of D2H Register FIS data */
67 RX_FIS_SDB = 0x58, /* offset of SDB FIS data */
68 RX_FIS_UNK = 0x60, /* offset of Unknown FIS data */
81 HOST_RESET = BIT(0), /* reset controller; self-clear */
93 HOST_CAP_FBS = BIT(16), /* FIS-based switching support */
99 HOST_CAP_SSS = BIT(27), /* Staggered Spin-up */
103 HOST_CAP_64 = BIT(31), /* PCI DAC (64-bit DMA) support */
116 PORT_FIS_ADDR = 0x08, /* FIS rx buf addr */
117 PORT_FIS_ADDR_HI = 0x0c, /* FIS rx buf addr hi */
129 PORT_FBS = 0x40, /* FIS-based Switching */
138 PORT_IRQ_IF_NONFATAL = BIT(26), /* interface non-fatal error */
146 PORT_IRQ_UNK_FIS = BIT(4), /* unknown FIS rx'd */
147 PORT_IRQ_SDB_FIS = BIT(3), /* Set Device Bits FIS rx'd */
148 PORT_IRQ_DMAS_FIS = BIT(2), /* DMA Setup FIS rx'd */
149 PORT_IRQ_PIOS_FIS = BIT(1), /* PIO Setup FIS rx'd */
150 PORT_IRQ_D2H_REG_FIS = BIT(0), /* D2H Register FIS rx'd */
174 PORT_CMD_FIS_ON = BIT(14), /* FIS DMA engine running */
175 PORT_CMD_FIS_RX = BIT(4), /* Enable FIS receive DMA engine */
204 /* hpriv->flags bits */
225 error-handling stage) */
230 AHCI_HFLAG_MULTI_MSI = BIT(20), /* per-port MSI(-X) */
244 AHCI_HFLAG_IGN_NOTSUPP_POWER_ON = BIT(27), /* ignore -EOPNOTSUPP
248 /* ap->flags bits */
269 EM_CTL_SES = BIT(18), /* SES-2 messages supported */
270 EM_CTL_SAFTE = BIT(17), /* SAF-TE messages supported */
275 EM_MSG_TYPE_SAFTE = BIT(1), /* SAF-TE */
276 EM_MSG_TYPE_SES2 = BIT(2), /* SES-2 */
320 int fbs_last_dev; /* save FBS.DEV of last FIS */
332 void __iomem * mmio; /* bus-independent mem map */
373 /* only required for per-port MSI(-X) support */
432 struct ahci_host_priv *hpriv = host->private_data; in __ahci_port_base()
433 void __iomem *mmio = hpriv->mmio; in __ahci_port_base()
440 return __ahci_port_base(ap->host, ap->port_no); in ahci_port_base()