Lines Matching refs:mem_ptr
697 uint8_t __iomem *mem_ptr = NULL; in qla82xx_pci_mem_read_direct() local
726 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE * 2); in qla82xx_pci_mem_read_direct()
728 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_read_direct()
729 if (mem_ptr == NULL) { in qla82xx_pci_mem_read_direct()
733 addr = mem_ptr; in qla82xx_pci_mem_read_direct()
756 if (mem_ptr) in qla82xx_pci_mem_read_direct()
757 iounmap(mem_ptr); in qla82xx_pci_mem_read_direct()
769 uint8_t __iomem *mem_ptr = NULL; in qla82xx_pci_mem_write_direct() local
798 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE*2); in qla82xx_pci_mem_write_direct()
800 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_write_direct()
801 if (mem_ptr == NULL) in qla82xx_pci_mem_write_direct()
804 addr = mem_ptr; in qla82xx_pci_mem_write_direct()
826 if (mem_ptr) in qla82xx_pci_mem_write_direct()
827 iounmap(mem_ptr); in qla82xx_pci_mem_write_direct()