Lines Matching refs:mem_ptr
1140 ulong win_off, void __iomem **mem_ptr) in netxen_nic_map_indirect_address_128M() argument
1157 *mem_ptr = ioremap(mem_base + (off & PAGE_MASK), PAGE_SIZE); in netxen_nic_map_indirect_address_128M()
1158 if (*mem_ptr) in netxen_nic_map_indirect_address_128M()
1159 addr = *mem_ptr + (off & (PAGE_SIZE - 1)); in netxen_nic_map_indirect_address_128M()
1168 void __iomem *addr, *mem_ptr = NULL; in netxen_nic_hw_write_wx_128M() local
1170 addr = netxen_nic_map_indirect_address_128M(adapter, off, &mem_ptr); in netxen_nic_hw_write_wx_128M()
1185 if (mem_ptr) in netxen_nic_hw_write_wx_128M()
1186 iounmap(mem_ptr); in netxen_nic_hw_write_wx_128M()
1195 void __iomem *addr, *mem_ptr = NULL; in netxen_nic_hw_read_wx_128M() local
1198 addr = netxen_nic_map_indirect_address_128M(adapter, off, &mem_ptr); in netxen_nic_hw_read_wx_128M()
1213 if (mem_ptr) in netxen_nic_hw_read_wx_128M()
1214 iounmap(mem_ptr); in netxen_nic_hw_read_wx_128M()
1369 void __iomem *addr, *mem_ptr = NULL; in netxen_nic_pci_mem_access_direct() local
1389 mem_ptr = ioremap(mem_base, PAGE_SIZE); in netxen_nic_pci_mem_access_direct()
1390 if (mem_ptr == NULL) { in netxen_nic_pci_mem_access_direct()
1395 addr = mem_ptr + (start & (PAGE_SIZE-1)); in netxen_nic_pci_mem_access_direct()
1406 if (mem_ptr) in netxen_nic_pci_mem_access_direct()
1407 iounmap(mem_ptr); in netxen_nic_pci_mem_access_direct()