Lines Matching refs:mem
55 void __iomem *ier0 = info->mem[3].internal_addr + IER0_OFFSET; in sercos3_disable_interrupts()
68 void __iomem *ier0 = info->mem[3].internal_addr + IER0_OFFSET; in sercos3_enable_interrupts()
78 void __iomem *isr0 = info->mem[3].internal_addr + ISR0_OFFSET; in sercos3_handler()
79 void __iomem *ier0 = info->mem[3].internal_addr + IER0_OFFSET; in sercos3_handler()
108 info->mem[n].addr = pci_resource_start(dev, pci_bar); in sercos3_setup_iomem()
109 if (!info->mem[n].addr) in sercos3_setup_iomem()
111 info->mem[n].internal_addr = ioremap(pci_resource_start(dev, pci_bar), in sercos3_setup_iomem()
113 if (!info->mem[n].internal_addr) in sercos3_setup_iomem()
115 info->mem[n].size = pci_resource_len(dev, pci_bar); in sercos3_setup_iomem()
116 info->mem[n].memtype = UIO_MEM_PHYS; in sercos3_setup_iomem()
171 if (info->mem[i].internal_addr) in sercos3_pci_probe()
172 iounmap(info->mem[i].internal_addr); in sercos3_pci_probe()
189 if (info->mem[i].internal_addr) in sercos3_pci_remove()
190 iounmap(info->mem[i].internal_addr); in sercos3_pci_remove()