Lines Matching +full:suspend +full:- +full:override
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
80 HOST_RESET = BIT(0), /* reset controller; self-clear */
92 HOST_CAP_FBS = BIT(16), /* FIS-based switching support */
95 HOST_CAP_CLO = BIT(24), /* Command List Override support */
98 HOST_CAP_SSS = BIT(27), /* Staggered Spin-up */
102 HOST_CAP_64 = BIT(31), /* PCI DAC (64-bit DMA) support */
128 PORT_FBS = 0x40, /* FIS-based Switching */
137 PORT_IRQ_IF_NONFATAL = BIT(26), /* interface non-fatal error */
177 PORT_CMD_CLO = BIT(3), /* Command list override */
209 /* hpriv->flags bits */
222 AHCI_HFLAG_NO_SUSPEND = BIT(10), /* don't suspend */
230 error-handling stage) */
235 AHCI_HFLAG_MULTI_MSI = BIT(20), /* per-port MSI(-X) */
245 suspend/resume */
251 /* ap->flags bits */
272 EM_CTL_SES = BIT(18), /* SES-2 messages supported */
273 EM_CTL_SAFTE = BIT(17), /* SAF-TE messages supported */
278 EM_MSG_TYPE_SAFTE = BIT(1), /* SAF-TE */
279 EM_MSG_TYPE_SES2 = BIT(2), /* SES-2 */
335 void __iomem * mmio; /* bus-independent mem map */
365 * Optional ahci_start_engine override, if not set this gets set to the
371 * Optional ahci_stop_engine override, if not set this gets set to the
379 /* only required for per-port MSI(-X) support */
391 if (portid >= hpriv->nports) in ahci_ignore_port()
394 if (!hpriv->mask_port_map) in ahci_ignore_port()
396 return !(hpriv->mask_port_map & (1 << portid)); in ahci_ignore_port()
456 void __iomem *mmio = hpriv->mmio; in __ahci_port_base()
463 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_port_base()
465 return __ahci_port_base(hpriv, ap->port_no); in ahci_port_base()