Lines Matching +full:force +full:- +full:external +full:- +full:phy

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
25 #include <linux/phy/phy.h>
79 HOST_RESET = (1 << 0), /* reset controller; self-clear */
85 HOST_CAP_SXS = (1 << 5), /* Supports External SATA */
91 HOST_CAP_FBS = (1 << 16), /* FIS-based switching support */
97 HOST_CAP_SSS = (1 << 27), /* Staggered Spin-up */
101 HOST_CAP_64 = (1 << 31), /* PCI DAC (64-bit DMA) support */
122 PORT_SCR_STAT = 0x28, /* SATA phy register: SStatus */
123 PORT_SCR_CTL = 0x2c, /* SATA phy register: SControl */
124 PORT_SCR_ERR = 0x30, /* SATA phy register: SError */
125 PORT_SCR_ACT = 0x34, /* SATA phy register: SActive */
126 PORT_SCR_NTF = 0x3c, /* SATA phy register: SNotification */
127 PORT_FBS = 0x40, /* FIS-based Switching */
136 PORT_IRQ_IF_NONFATAL = (1 << 26), /* interface non-fatal error */
168 PORT_CMD_ESP = (1 << 21), /* External Sata Port */
208 /* hpriv->flags bits */
215 AHCI_HFLAG_32BIT_ONLY = (1 << 3), /* force 32bit */
220 AHCI_HFLAG_YES_NCQ = (1 << 9), /* force NCQ cap on */
226 AHCI_HFLAG_YES_FBS = (1 << 14), /* force FBS cap on */
229 error-handling stage) */
234 AHCI_HFLAG_MULTI_MSI = (1 << 20), /* per-port MSI(-X) */
240 AHCI_HFLAG_YES_ALPM = (1 << 23), /* force ALPM cap on */
250 /* ap->flags bits */
271 EM_CTL_SES = (1 << 18), /* SES-2 messages supported */
272 EM_CTL_SAFTE = (1 << 17), /* SAF-TE messages supported */
277 EM_MSG_TYPE_SAFTE = (1 << 1), /* SAF-TE */
278 EM_MSG_TYPE_SES2 = (1 << 2), /* SES-2 */
333 void __iomem * mmio; /* bus-independent mem map */
356 * the PHY position in this array.
358 struct phy **phys;
377 /* only required for per-port MSI(-X) support */
439 void __iomem *mmio = hpriv->mmio; in __ahci_port_base()
446 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_port_base()
448 return __ahci_port_base(hpriv, ap->port_no); in ahci_port_base()