Lines Matching refs:hpriv

131 	struct ahci_host_priv *hpriv = host->private_data;  in acard_ahci_pci_device_suspend()  local
132 void __iomem *mmio = hpriv->mmio; in acard_ahci_pci_device_suspend()
136 hpriv->flags & AHCI_HFLAG_NO_SUSPEND) { in acard_ahci_pci_device_suspend()
326 struct ahci_host_priv *hpriv = ap->host->private_data; in acard_ahci_port_start() local
338 if ((hpriv->cap & HOST_CAP_FBS) && sata_pmp_supported(ap)) { in acard_ahci_port_start()
343 else if (hpriv->flags & AHCI_HFLAG_YES_FBS) { in acard_ahci_port_start()
409 struct ahci_host_priv *hpriv; in acard_ahci_init_one() local
433 hpriv = devm_kzalloc(dev, sizeof(*hpriv), GFP_KERNEL); in acard_ahci_init_one()
434 if (!hpriv) in acard_ahci_init_one()
437 hpriv->irq = pdev->irq; in acard_ahci_init_one()
438 hpriv->flags |= (unsigned long)pi.private_data; in acard_ahci_init_one()
440 if (!(hpriv->flags & AHCI_HFLAG_NO_MSI)) in acard_ahci_init_one()
443 hpriv->mmio = pcim_iomap_table(pdev)[AHCI_PCI_BAR]; in acard_ahci_init_one()
446 ahci_save_initial_config(&pdev->dev, hpriv); in acard_ahci_init_one()
449 if (hpriv->cap & HOST_CAP_NCQ) in acard_ahci_init_one()
452 if (hpriv->cap & HOST_CAP_PMP) in acard_ahci_init_one()
455 ahci_set_em_messages(hpriv, &pi); in acard_ahci_init_one()
462 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); in acard_ahci_init_one()
467 host->private_data = hpriv; in acard_ahci_init_one()
469 if (!(hpriv->cap & HOST_CAP_SSS) || ahci_ignore_sss) in acard_ahci_init_one()
486 if (!(hpriv->port_map & (1 << i))) in acard_ahci_init_one()
491 rc = acard_ahci_configure_dma_masks(pdev, hpriv->cap & HOST_CAP_64); in acard_ahci_init_one()