Searched refs:io_handle (Results 1 – 6 of 6) sorted by relevance
22 (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF)); in asd_write_byte()24 writeb(val, asd_ha->io_handle[0].addr + offs); in asd_write_byte()33 (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF)); in asd_write_word()35 writew(val, asd_ha->io_handle[0].addr + offs); in asd_write_word()44 (unsigned long)asd_ha->io_handle[0].addr + (offs & 0xFF)); in asd_write_dword()46 writel(val, asd_ha->io_handle[0].addr + offs); in asd_write_dword()56 val = inb((unsigned long) asd_ha->io_handle[0].addr in asd_read_byte()59 val = readb(asd_ha->io_handle[0].addr + offs); in asd_read_byte()69 val = inw((unsigned long)asd_ha->io_handle[0].addr in asd_read_word()72 val = readw(asd_ha->io_handle[0].addr + offs); in asd_read_word()[all …]
68 struct asd_ha_addrspace *io_handle; in asd_map_memio() local72 io_handle = &asd_ha->io_handle[i==0?0:1]; in asd_map_memio()73 io_handle->start = pci_resource_start(asd_ha->pcidev, i); in asd_map_memio()74 io_handle->len = pci_resource_len(asd_ha->pcidev, i); in asd_map_memio()75 io_handle->flags = pci_resource_flags(asd_ha->pcidev, i); in asd_map_memio()77 if (!io_handle->start || !io_handle->len) { in asd_map_memio()88 io_handle->addr = ioremap(io_handle->start, io_handle->len); in asd_map_memio()89 if (!io_handle->addr) { in asd_map_memio()102 io_handle = &asd_ha->io_handle[0]; in asd_map_memio()103 iounmap(io_handle->addr); in asd_map_memio()[all …]
63 struct asd_ha_addrspace *io_handle = &asd_ha->io_handle[1]; \64 type val = read##S (io_handle->addr + (unsigned long) offs); \77 struct asd_ha_addrspace *io_handle = &asd_ha->io_handle[1]; \78 write##S (val, io_handle->addr + (unsigned long) offs); \
171 asd_ha->io_handle[0].swa_base = REG_BASE_ADDR; in asd_init_sw()172 asd_ha->io_handle[0].swb_base = REG_BASE_ADDR_CSEQCIO; in asd_init_sw()173 asd_ha->io_handle[0].swc_base = REG_BASE_ADDR_EXSI; in asd_init_sw()174 MBAR0_SWB_SIZE = asd_ha->io_handle[0].len - 0x80; in asd_init_sw()178 asd_ha->io_handle[1].swa_base = OCM_BASE_ADDR; in asd_init_sw()
190 struct asd_ha_addrspace io_handle[2]; member
315 io_handle = open("device", O_RDWR)