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>
81 HOST_RESET = BIT(0), /* reset controller; self-clear */
87 HOST_CAP_SXS = BIT(5), /* Supports External SATA */
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 */
124 PORT_SCR_STAT = 0x28, /* SATA phy register: SStatus */
125 PORT_SCR_CTL = 0x2c, /* SATA phy register: SControl */
126 PORT_SCR_ERR = 0x30, /* SATA phy register: SError */
127 PORT_SCR_ACT = 0x34, /* SATA phy register: SActive */
128 PORT_SCR_NTF = 0x3c, /* SATA phy register: SNotification */
129 PORT_FBS = 0x40, /* FIS-based Switching */
138 PORT_IRQ_IF_NONFATAL = BIT(26), /* interface non-fatal error */
170 PORT_CMD_ESP = BIT(21), /* External Sata Port */
204 /* hpriv->flags bits */
211 AHCI_HFLAG_32BIT_ONLY = BIT(3), /* force 32bit */
216 AHCI_HFLAG_YES_NCQ = BIT(9), /* force NCQ cap on */
222 AHCI_HFLAG_YES_FBS = BIT(14), /* force FBS cap on */
225 error-handling stage) */
230 AHCI_HFLAG_MULTI_MSI = BIT(20), /* per-port MSI(-X) */
236 AHCI_HFLAG_YES_ALPM = BIT(23), /* force ALPM cap on */
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 */
329 u32 force_port_map; /* force port map */
332 void __iomem * mmio; /* bus-independent mem map */
352 * the PHY position in this array.
354 struct phy **phys;
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()