Lines Matching refs:hpriv
260 struct inic_host_priv *hpriv = ap->host->private_data; in inic_port_base() local
262 return hpriv->mmio_base + ap->port_no * PORT_SIZE; in inic_port_base()
416 struct inic_host_priv *hpriv = host->private_data; in inic_interrupt() local
420 host_irq_stat = readw(hpriv->mmio_base + HOST_IRQ_STAT); in inic_interrupt()
792 struct inic_host_priv *hpriv = host->private_data; in inic_pci_device_resume() local
800 rc = init_controller(hpriv->mmio_base, hpriv->cached_hctl); in inic_pci_device_resume()
815 struct inic_host_priv *hpriv; in inic_init_one() local
826 hpriv = devm_kzalloc(&pdev->dev, sizeof(*hpriv), GFP_KERNEL); in inic_init_one()
827 if (!host || !hpriv) in inic_init_one()
830 host->private_data = hpriv; in inic_init_one()
848 hpriv->mmio_base = iomap[mmio_bar]; in inic_init_one()
849 hpriv->cached_hctl = readw(hpriv->mmio_base + HOST_CTL); in inic_init_one()
882 rc = init_controller(hpriv->mmio_base, hpriv->cached_hctl); in inic_init_one()