Searched refs:io_handle (Results 1 – 5 of 5) sorted by relevance
40 (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF)); in asd_write_byte()42 writeb(val, asd_ha->io_handle[0].addr + offs); in asd_write_byte()51 (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF)); in asd_write_word()53 writew(val, asd_ha->io_handle[0].addr + offs); in asd_write_word()62 (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF)); in asd_write_dword()64 writel(val, asd_ha->io_handle[0].addr + offs); in asd_write_dword()74 val = inb((unsigned long) asd_ha->io_handle[0].addr in asd_read_byte()77 val = readb(asd_ha->io_handle[0].addr + offs); in asd_read_byte()87 val = inw((unsigned long)asd_ha->io_handle[0].addr in asd_read_word()90 val = readw(asd_ha->io_handle[0].addr + offs); in asd_read_word()[all …]
91 struct asd_ha_addrspace *io_handle; in asd_map_memio() local95 io_handle = &asd_ha->io_handle[i==0?0:1]; in asd_map_memio()96 io_handle->start = pci_resource_start(asd_ha->pcidev, i); in asd_map_memio()97 io_handle->len = pci_resource_len(asd_ha->pcidev, i); in asd_map_memio()98 io_handle->flags = pci_resource_flags(asd_ha->pcidev, i); in asd_map_memio()100 if (!io_handle->start || !io_handle->len) { in asd_map_memio()111 if (io_handle->flags & IORESOURCE_CACHEABLE) in asd_map_memio()112 io_handle->addr = ioremap(io_handle->start, in asd_map_memio()113 io_handle->len); in asd_map_memio()115 io_handle->addr = ioremap_nocache(io_handle->start, in asd_map_memio()[all …]
81 struct asd_ha_addrspace *io_handle = &asd_ha->io_handle[1]; \82 type val = read##S (io_handle->addr + (unsigned long) offs); \95 struct asd_ha_addrspace *io_handle = &asd_ha->io_handle[1]; \96 write##S (val, io_handle->addr + (unsigned long) offs); \
189 asd_ha->io_handle[0].swa_base = REG_BASE_ADDR; in asd_init_sw()190 asd_ha->io_handle[0].swb_base = REG_BASE_ADDR_CSEQCIO; in asd_init_sw()191 asd_ha->io_handle[0].swc_base = REG_BASE_ADDR_EXSI; in asd_init_sw()192 MBAR0_SWB_SIZE = asd_ha->io_handle[0].len - 0x80; in asd_init_sw()196 asd_ha->io_handle[1].swa_base = OCM_BASE_ADDR; in asd_init_sw()
208 struct asd_ha_addrspace io_handle[2]; member