io_handle 171 drivers/scsi/aic94xx/aic94xx_hwi.c asd_ha->io_handle[0].swa_base = REG_BASE_ADDR; io_handle 172 drivers/scsi/aic94xx/aic94xx_hwi.c asd_ha->io_handle[0].swb_base = REG_BASE_ADDR_CSEQCIO; io_handle 173 drivers/scsi/aic94xx/aic94xx_hwi.c asd_ha->io_handle[0].swc_base = REG_BASE_ADDR_EXSI; io_handle 174 drivers/scsi/aic94xx/aic94xx_hwi.c MBAR0_SWB_SIZE = asd_ha->io_handle[0].len - 0x80; io_handle 178 drivers/scsi/aic94xx/aic94xx_hwi.c asd_ha->io_handle[1].swa_base = OCM_BASE_ADDR; io_handle 190 drivers/scsi/aic94xx/aic94xx_hwi.h struct asd_ha_addrspace io_handle[2]; io_handle 63 drivers/scsi/aic94xx/aic94xx_init.c struct asd_ha_addrspace *io_handle; io_handle 67 drivers/scsi/aic94xx/aic94xx_init.c io_handle = &asd_ha->io_handle[i==0?0:1]; io_handle 68 drivers/scsi/aic94xx/aic94xx_init.c io_handle->start = pci_resource_start(asd_ha->pcidev, i); io_handle 69 drivers/scsi/aic94xx/aic94xx_init.c io_handle->len = pci_resource_len(asd_ha->pcidev, i); io_handle 70 drivers/scsi/aic94xx/aic94xx_init.c io_handle->flags = pci_resource_flags(asd_ha->pcidev, i); io_handle 72 drivers/scsi/aic94xx/aic94xx_init.c if (!io_handle->start || !io_handle->len) { io_handle 83 drivers/scsi/aic94xx/aic94xx_init.c io_handle->addr = ioremap(io_handle->start, io_handle->len); io_handle 84 drivers/scsi/aic94xx/aic94xx_init.c if (!io_handle->addr) { io_handle 97 drivers/scsi/aic94xx/aic94xx_init.c io_handle = &asd_ha->io_handle[0]; io_handle 98 drivers/scsi/aic94xx/aic94xx_init.c iounmap(io_handle->addr); io_handle 106 drivers/scsi/aic94xx/aic94xx_init.c struct asd_ha_addrspace *io_handle; io_handle 108 drivers/scsi/aic94xx/aic94xx_init.c io_handle = &asd_ha->io_handle[1]; io_handle 109 drivers/scsi/aic94xx/aic94xx_init.c iounmap(io_handle->addr); io_handle 112 drivers/scsi/aic94xx/aic94xx_init.c io_handle = &asd_ha->io_handle[0]; io_handle 113 drivers/scsi/aic94xx/aic94xx_init.c iounmap(io_handle->addr); io_handle 120 drivers/scsi/aic94xx/aic94xx_init.c struct asd_ha_addrspace *io_handle = &asd_ha->io_handle[0]; io_handle 123 drivers/scsi/aic94xx/aic94xx_init.c io_handle->start = pci_resource_start(asd_ha->pcidev, i); io_handle 124 drivers/scsi/aic94xx/aic94xx_init.c io_handle->len = pci_resource_len(asd_ha->pcidev, i); io_handle 125 drivers/scsi/aic94xx/aic94xx_init.c io_handle->flags = pci_resource_flags(asd_ha->pcidev, i); io_handle 126 drivers/scsi/aic94xx/aic94xx_init.c io_handle->addr = (void __iomem *) io_handle->start; io_handle 127 drivers/scsi/aic94xx/aic94xx_init.c if (!io_handle->start || !io_handle->len) { io_handle 22 drivers/scsi/aic94xx/aic94xx_reg.c (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF)); io_handle 24 drivers/scsi/aic94xx/aic94xx_reg.c writeb(val, asd_ha->io_handle[0].addr + offs); io_handle 33 drivers/scsi/aic94xx/aic94xx_reg.c (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF)); io_handle 35 drivers/scsi/aic94xx/aic94xx_reg.c writew(val, asd_ha->io_handle[0].addr + offs); io_handle 44 drivers/scsi/aic94xx/aic94xx_reg.c (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF)); io_handle 46 drivers/scsi/aic94xx/aic94xx_reg.c writel(val, asd_ha->io_handle[0].addr + offs); io_handle 56 drivers/scsi/aic94xx/aic94xx_reg.c val = inb((unsigned long) asd_ha->io_handle[0].addr io_handle 59 drivers/scsi/aic94xx/aic94xx_reg.c val = readb(asd_ha->io_handle[0].addr + offs); io_handle 69 drivers/scsi/aic94xx/aic94xx_reg.c val = inw((unsigned long)asd_ha->io_handle[0].addr io_handle 72 drivers/scsi/aic94xx/aic94xx_reg.c val = readw(asd_ha->io_handle[0].addr + offs); io_handle 82 drivers/scsi/aic94xx/aic94xx_reg.c val = inl((unsigned long) asd_ha->io_handle[0].addr io_handle 85 drivers/scsi/aic94xx/aic94xx_reg.c val = readl(asd_ha->io_handle[0].addr + offs); io_handle 112 drivers/scsi/aic94xx/aic94xx_reg.c struct asd_ha_addrspace *io_handle = &asd_ha->io_handle[0]; \ io_handle 113 drivers/scsi/aic94xx/aic94xx_reg.c u32 map_offs = (reg - io_handle->ww##_base) + asd_mem_offs_##ww();\ io_handle 121 drivers/scsi/aic94xx/aic94xx_reg.c struct asd_ha_addrspace *io_handle = &asd_ha->io_handle[0]; \ io_handle 122 drivers/scsi/aic94xx/aic94xx_reg.c u32 map_offs = (reg - io_handle->ww##_base) + asd_mem_offs_##ww();\ io_handle 174 drivers/scsi/aic94xx/aic94xx_reg.c asd_ha->io_handle[0].swb_base = base; io_handle 179 drivers/scsi/aic94xx/aic94xx_reg.c struct asd_ha_addrspace *io_handle=&asd_ha->io_handle[0]; io_handle 181 drivers/scsi/aic94xx/aic94xx_reg.c if (io_handle->swa_base <= reg io_handle 182 drivers/scsi/aic94xx/aic94xx_reg.c && reg < io_handle->swa_base + MBAR0_SWA_SIZE) io_handle 184 drivers/scsi/aic94xx/aic94xx_reg.c else if (io_handle->swb_base <= reg io_handle 185 drivers/scsi/aic94xx/aic94xx_reg.c && reg < io_handle->swb_base + MBAR0_SWB_SIZE) io_handle 187 drivers/scsi/aic94xx/aic94xx_reg.c else if (io_handle->swc_base <= reg io_handle 188 drivers/scsi/aic94xx/aic94xx_reg.c && reg < io_handle->swc_base + MBAR0_SWC_SIZE) io_handle 200 drivers/scsi/aic94xx/aic94xx_reg.c struct asd_ha_addrspace *io_handle=&asd_ha->io_handle[0]; \ io_handle 204 drivers/scsi/aic94xx/aic94xx_reg.c if (io_handle->swa_base <= reg \ io_handle 205 drivers/scsi/aic94xx/aic94xx_reg.c && reg < io_handle->swa_base + MBAR0_SWA_SIZE) \ io_handle 207 drivers/scsi/aic94xx/aic94xx_reg.c else if (io_handle->swb_base <= reg \ io_handle 208 drivers/scsi/aic94xx/aic94xx_reg.c && reg < io_handle->swb_base + MBAR0_SWB_SIZE) \ io_handle 210 drivers/scsi/aic94xx/aic94xx_reg.c else if (io_handle->swc_base <= reg \ io_handle 211 drivers/scsi/aic94xx/aic94xx_reg.c && reg < io_handle->swc_base + MBAR0_SWC_SIZE) \ io_handle 227 drivers/scsi/aic94xx/aic94xx_reg.c struct asd_ha_addrspace *io_handle=&asd_ha->io_handle[0]; io_handle 230 drivers/scsi/aic94xx/aic94xx_reg.c if (io_handle->swa_base <= reg io_handle 231 drivers/scsi/aic94xx/aic94xx_reg.c && reg < io_handle->swa_base + MBAR0_SWA_SIZE) io_handle 233 drivers/scsi/aic94xx/aic94xx_reg.c else if (io_handle->swb_base <= reg io_handle 234 drivers/scsi/aic94xx/aic94xx_reg.c && reg < io_handle->swb_base + MBAR0_SWB_SIZE) io_handle 236 drivers/scsi/aic94xx/aic94xx_reg.c else if (io_handle->swc_base <= reg io_handle 237 drivers/scsi/aic94xx/aic94xx_reg.c && reg < io_handle->swc_base + MBAR0_SWC_SIZE) io_handle 250 drivers/scsi/aic94xx/aic94xx_reg.c struct asd_ha_addrspace *io_handle=&asd_ha->io_handle[0]; \ io_handle 255 drivers/scsi/aic94xx/aic94xx_reg.c if (io_handle->swa_base <= reg \ io_handle 256 drivers/scsi/aic94xx/aic94xx_reg.c && reg < io_handle->swa_base + MBAR0_SWA_SIZE) \ io_handle 258 drivers/scsi/aic94xx/aic94xx_reg.c else if (io_handle->swb_base <= reg \ io_handle 259 drivers/scsi/aic94xx/aic94xx_reg.c && reg < io_handle->swb_base + MBAR0_SWB_SIZE) \ io_handle 261 drivers/scsi/aic94xx/aic94xx_reg.c else if (io_handle->swc_base <= reg \ io_handle 262 drivers/scsi/aic94xx/aic94xx_reg.c && reg < io_handle->swc_base + MBAR0_SWC_SIZE) \ io_handle 63 drivers/scsi/aic94xx/aic94xx_reg.h struct asd_ha_addrspace *io_handle = &asd_ha->io_handle[1]; \ io_handle 64 drivers/scsi/aic94xx/aic94xx_reg.h type val = read##S (io_handle->addr + (unsigned long) offs); \ io_handle 77 drivers/scsi/aic94xx/aic94xx_reg.h struct asd_ha_addrspace *io_handle = &asd_ha->io_handle[1]; \ io_handle 78 drivers/scsi/aic94xx/aic94xx_reg.h write##S (val, io_handle->addr + (unsigned long) offs); \