Lines Matching refs:device_base

61 	void __iomem *device_base = priv->device_base;  in isl_upload_firmware()  local
64 reg = readl(device_base + ISL38XX_CTRL_STAT_REG); in isl_upload_firmware()
67 writel(reg, device_base + ISL38XX_CTRL_STAT_REG); in isl_upload_firmware()
73 writel(reg, device_base + ISL38XX_CTRL_STAT_REG); in isl_upload_firmware()
79 writel(reg, device_base + ISL38XX_CTRL_STAT_REG); in isl_upload_firmware()
116 u32 __iomem *dev_fw_ptr = device_base + ISL38XX_DIRECT_MEM_WIN; in isl_upload_firmware()
119 isl38xx_w32_flush(device_base, reg, in isl_upload_firmware()
137 (void) readl(device_base + ISL38XX_PCI_POSTING_FLUSH); in isl_upload_firmware()
154 reg = readl(device_base + ISL38XX_CTRL_STAT_REG); in isl_upload_firmware()
158 isl38xx_w32_flush(device_base, reg, ISL38XX_CTRL_STAT_REG); in isl_upload_firmware()
165 writel(reg, device_base + ISL38XX_CTRL_STAT_REG); in isl_upload_firmware()
172 writel(reg, device_base + ISL38XX_CTRL_STAT_REG); in isl_upload_firmware()
190 void __iomem *device = priv->device_base; in islpci_interrupt()
337 priv->device_base); in islpci_interrupt()
347 &powerstate, priv->device_base); in islpci_interrupt()
410 void __iomem *device_base = priv->device_base; in prism54_bring_down() local
416 isl38xx_disable_interrupts(priv->device_base); in prism54_bring_down()
424 reg = readl(device_base + ISL38XX_CTRL_STAT_REG); in prism54_bring_down()
426 writel(reg, device_base + ISL38XX_CTRL_STAT_REG); in prism54_bring_down()
431 writel(reg, device_base + ISL38XX_CTRL_STAT_REG); in prism54_bring_down()
437 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()
522 isl38xx_enable_common_interrupts(priv->device_base); in islpci_reset_if()
555 isl38xx_disable_interrupts(priv->device_base); in islpci_reset()
635 if (!(priv->device_base = in islpci_alloc_memory()
735 if (priv->device_base) in islpci_free_memory()
736 iounmap(priv->device_base); in islpci_free_memory()
737 priv->device_base = NULL; in islpci_free_memory()
849 ndev->mem_start = (unsigned long) priv->device_base; in islpci_setup()
853 DEBUG(SHOW_TRACING, "PCI Memory remapped to 0x%p\n", priv->device_base); in islpci_setup()