Lines Matching refs:device_base

53 	void __iomem *device_base = priv->device_base;  in isl_upload_firmware()  local
56 reg = readl(device_base + ISL38XX_CTRL_STAT_REG); in isl_upload_firmware()
59 writel(reg, device_base + ISL38XX_CTRL_STAT_REG); in isl_upload_firmware()
65 writel(reg, device_base + ISL38XX_CTRL_STAT_REG); in isl_upload_firmware()
71 writel(reg, device_base + ISL38XX_CTRL_STAT_REG); in isl_upload_firmware()
108 u32 __iomem *dev_fw_ptr = device_base + ISL38XX_DIRECT_MEM_WIN; in isl_upload_firmware()
111 isl38xx_w32_flush(device_base, reg, in isl_upload_firmware()
129 (void) readl(device_base + ISL38XX_PCI_POSTING_FLUSH); in isl_upload_firmware()
146 reg = readl(device_base + ISL38XX_CTRL_STAT_REG); in isl_upload_firmware()
150 isl38xx_w32_flush(device_base, reg, ISL38XX_CTRL_STAT_REG); in isl_upload_firmware()
157 writel(reg, device_base + ISL38XX_CTRL_STAT_REG); in isl_upload_firmware()
164 writel(reg, device_base + ISL38XX_CTRL_STAT_REG); in isl_upload_firmware()
182 void __iomem *device = priv->device_base; in islpci_interrupt()
329 priv->device_base); in islpci_interrupt()
339 &powerstate, priv->device_base); in islpci_interrupt()
411 void __iomem *device_base = priv->device_base; in prism54_bring_down() local
417 isl38xx_disable_interrupts(priv->device_base); in prism54_bring_down()
425 reg = readl(device_base + ISL38XX_CTRL_STAT_REG); in prism54_bring_down()
427 writel(reg, device_base + ISL38XX_CTRL_STAT_REG); in prism54_bring_down()
432 writel(reg, device_base + ISL38XX_CTRL_STAT_REG); in prism54_bring_down()
438 writel(reg, device_base + ISL38XX_CTRL_STAT_REG); in prism54_bring_down()
486 isl38xx_interface_reset(priv->device_base, priv->device_host_address); in islpci_reset_if()
521 isl38xx_enable_common_interrupts(priv->device_base); in islpci_reset_if()
554 isl38xx_disable_interrupts(priv->device_base); in islpci_reset()
622 if (!(priv->device_base = in islpci_alloc_memory()
724 if (priv->device_base) in islpci_free_memory()
725 iounmap(priv->device_base); in islpci_free_memory()
726 priv->device_base = NULL; in islpci_free_memory()
848 ndev->mem_start = (unsigned long) priv->device_base; in islpci_setup()
852 DEBUG(SHOW_TRACING, "PCI Memory remapped to 0x%p\n", priv->device_base); in islpci_setup()