Lines Matching refs:port
309 static int ahci_platform_get_phy(struct ahci_host_priv *hpriv, u32 port,
314 hpriv->phys[port] = devm_of_phy_get(dev, node, NULL);
316 if (!IS_ERR(hpriv->phys[port]))
319 rc = PTR_ERR(hpriv->phys[port]);
332 hpriv->phys[port] = NULL;
350 static int ahci_platform_get_regulator(struct ahci_host_priv *hpriv, u32 port,
359 hpriv->target_pwrs[port] = target_pwr;
491 u32 port;
497 if (of_property_read_u32(child, "reg", &port)) {
503 if (port >= hpriv->nports) {
504 dev_warn(dev, "invalid port number %d\n", port);
507 mask_port_map |= BIT(port);
515 rc = ahci_platform_get_regulator(hpriv, port,
524 rc = ahci_platform_get_phy(hpriv, port, dev, child);
533 dev_warn(dev, "No port enabled\n");
616 * port, at other times, that of the last possible port, so
617 * determining the maximum port number requires looking at
641 ata_port_desc(ap, "port 0x%x", 0x100 + ap->port_no * 0x80);
647 /* disabled/not-implemented port */
701 /* Disable port interrupts */
705 /* Stop the port DMA engines */