Lines Matching refs:mem_ptr
654 uint8_t __iomem *mem_ptr = NULL; in qla82xx_pci_mem_read_direct() local
683 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE * 2); in qla82xx_pci_mem_read_direct()
685 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_read_direct()
686 if (mem_ptr == NULL) { in qla82xx_pci_mem_read_direct()
690 addr = mem_ptr; in qla82xx_pci_mem_read_direct()
713 if (mem_ptr) in qla82xx_pci_mem_read_direct()
714 iounmap(mem_ptr); in qla82xx_pci_mem_read_direct()
726 uint8_t __iomem *mem_ptr = NULL; in qla82xx_pci_mem_write_direct() local
755 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE*2); in qla82xx_pci_mem_write_direct()
757 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_write_direct()
758 if (mem_ptr == NULL) in qla82xx_pci_mem_write_direct()
761 addr = mem_ptr; in qla82xx_pci_mem_write_direct()
783 if (mem_ptr) in qla82xx_pci_mem_write_direct()
784 iounmap(mem_ptr); in qla82xx_pci_mem_write_direct()