Lines Matching +full:ahci +full:- +full:port
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * AHCI SATA platform driver
5 * Copyright 2004-2005 Red Hat, Inc.
21 #include "ahci.h"
23 #define DRV_NAME "ahci"
45 struct device *dev = &pdev->dev; in ahci_probe()
47 const struct ata_port_info *port; in ahci_probe() local
59 of_property_read_u32(dev->of_node, in ahci_probe()
60 "ports-implemented", &hpriv->force_port_map); in ahci_probe()
62 if (of_device_is_compatible(dev->of_node, "hisilicon,hisi-ahci")) in ahci_probe()
63 hpriv->flags |= AHCI_HFLAG_NO_FBS | AHCI_HFLAG_NO_NCQ; in ahci_probe()
65 port = acpi_device_get_match_data(dev); in ahci_probe()
66 if (!port) in ahci_probe()
67 port = &ahci_port_info; in ahci_probe()
69 rc = ahci_platform_init_host(pdev, hpriv, port, in ahci_probe()
84 { .compatible = "generic-ahci", },
86 { .compatible = "snps,spear-ahci", },
87 { .compatible = "ibm,476gtr-ahci", },
88 { .compatible = "snps,dwc-ahci", },
89 { .compatible = "hisilicon,hisi-ahci", },
90 { .compatible = "cavium,octeon-7130-ahci", },
115 MODULE_DESCRIPTION("AHCI SATA platform driver");
118 MODULE_ALIAS("platform:ahci");