Home
last modified time | relevance | path

Searched refs:mem_page (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_nx.c656 unsigned long mem_page; in qla82xx_pci_mem_read_direct() local
678 mem_page = start & PAGE_MASK; in qla82xx_pci_mem_read_direct()
682 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla82xx_pci_mem_read_direct()
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()
728 unsigned long mem_page; in qla82xx_pci_mem_write_direct() local
750 mem_page = start & PAGE_MASK; in qla82xx_pci_mem_write_direct()
754 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla82xx_pci_mem_write_direct()
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()
/linux-6.1.9/drivers/scsi/qla4xxx/
Dql4_nx.c711 unsigned long mem_page; in qla4_82xx_pci_mem_read_direct() local
732 mem_page = start & PAGE_MASK; in qla4_82xx_pci_mem_read_direct()
736 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla4_82xx_pci_mem_read_direct()
737 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE * 2); in qla4_82xx_pci_mem_read_direct()
739 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla4_82xx_pci_mem_read_direct()
784 unsigned long mem_page; in qla4_82xx_pci_mem_write_direct() local
805 mem_page = start & PAGE_MASK; in qla4_82xx_pci_mem_write_direct()
809 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla4_82xx_pci_mem_write_direct()
810 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE*2); in qla4_82xx_pci_mem_write_direct()
812 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla4_82xx_pci_mem_write_direct()