Lines Matching +full:dma +full:- +full:capable
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 = (1 << 0), /* reset controller; self-clear */
89 HOST_CAP_PART = (1 << 13), /* Partial state capable */
90 HOST_CAP_SSC = (1 << 14), /* Slumber state capable */
92 HOST_CAP_FBS = (1 << 16), /* FIS-based switching support */
98 HOST_CAP_SSS = (1 << 27), /* Staggered Spin-up */
102 HOST_CAP_64 = (1 << 31), /* PCI DAC (64-bit DMA) support */
113 PORT_LST_ADDR = 0x00, /* command list DMA addr */
114 PORT_LST_ADDR_HI = 0x04, /* command list DMA addr hi */
128 PORT_FBS = 0x40, /* FIS-based Switching */
137 PORT_IRQ_IF_NONFATAL = (1 << 26), /* interface non-fatal error */
147 PORT_IRQ_DMAS_FIS = (1 << 2), /* DMA Setup FIS rx'd */
168 PORT_CMD_FBSCP = (1 << 22), /* FBS Capable Port */
170 PORT_CMD_HPCP = (1 << 18), /* HotPlug Capable Port */
172 PORT_CMD_LIST_ON = (1 << 15), /* cmd list DMA engine running */
173 PORT_CMD_FIS_ON = (1 << 14), /* FIS DMA engine running */
174 PORT_CMD_FIS_RX = (1 << 4), /* Enable FIS receive DMA engine */
178 PORT_CMD_START = (1 << 0), /* Enable port DMA engine */
203 /* hpriv->flags bits */
224 error-handling stage) */
229 AHCI_HFLAG_MULTI_MSI = (1 << 20), /* per-port MSI(-X) */
234 AHCI_HFLAG_WAKE_BEFORE_STOP = (1 << 22), /* wake before DMA stop */
243 AHCI_HFLAG_IGN_NOTSUPP_POWER_ON = (1 << 27), /* ignore -EOPNOTSUPP
247 /* ap->flags bits */
268 EM_CTL_SES = (1 << 18), /* SES-2 messages supported */
269 EM_CTL_SAFTE = (1 << 17), /* SAF-TE messages supported */
274 EM_MSG_TYPE_SAFTE = (1 << 1), /* SAF-TE */
275 EM_MSG_TYPE_SES2 = (1 << 2), /* SES-2 */
331 void __iomem * mmio; /* bus-independent mem map */
372 /* only required for per-port MSI(-X) support */
431 struct ahci_host_priv *hpriv = host->private_data; in __ahci_port_base()
432 void __iomem *mmio = hpriv->mmio; in __ahci_port_base()
439 return __ahci_port_base(ap->host, ap->port_no); in ahci_port_base()