Lines Matching refs:hpriv
266 struct inic_host_priv *hpriv = ap->host->private_data; in inic_port_base() local
268 return hpriv->mmio_base + ap->port_no * PORT_SIZE; in inic_port_base()
422 struct inic_host_priv *hpriv = host->private_data; in inic_interrupt() local
426 host_irq_stat = readw(hpriv->mmio_base + HOST_IRQ_STAT); in inic_interrupt()
796 struct inic_host_priv *hpriv = host->private_data; in inic_pci_device_resume() local
804 rc = init_controller(hpriv->mmio_base, hpriv->cached_hctl); in inic_pci_device_resume()
819 struct inic_host_priv *hpriv; in inic_init_one() local
830 hpriv = devm_kzalloc(&pdev->dev, sizeof(*hpriv), GFP_KERNEL); in inic_init_one()
831 if (!host || !hpriv) in inic_init_one()
834 host->private_data = hpriv; in inic_init_one()
852 hpriv->mmio_base = iomap[mmio_bar]; in inic_init_one()
853 hpriv->cached_hctl = readw(hpriv->mmio_base + HOST_CTL); in inic_init_one()
869 rc = init_controller(hpriv->mmio_base, hpriv->cached_hctl); in inic_init_one()