Home
last modified time | relevance | path

Searched refs:mem_ptr (Results 1 – 10 of 10) sorted by relevance

/drivers/scsi/
Dips.c2058 (unsigned long)ha->mem_ptr); in ips_host_info()
2261 writel(0, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2265 if (readb(ha->mem_ptr + IPS_REG_FLDP) != 0x55) in ips_get_bios_version()
2268 writel(1, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2272 if (readb(ha->mem_ptr + IPS_REG_FLDP) != 0xAA) in ips_get_bios_version()
2276 writel(0x1FF, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2280 major = readb(ha->mem_ptr + IPS_REG_FLDP); in ips_get_bios_version()
2283 writel(0x1FE, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2286 minor = readb(ha->mem_ptr + IPS_REG_FLDP); in ips_get_bios_version()
2289 writel(0x1FD, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
[all …]
Dips.h1065 char __iomem *mem_ptr; /* Memory mapped Ptr */ member
/drivers/net/wireless/mwifiex/
Dethtool.c108 if (!entry->mem_ptr) in mwifiex_get_dump_data()
111 memcpy(p, entry->mem_ptr, entry->mem_size); in mwifiex_get_dump_data()
114 vfree(entry->mem_ptr); in mwifiex_get_dump_data()
115 entry->mem_ptr = NULL; in mwifiex_get_dump_data()
Dinit.c405 if (entry->mem_ptr) { in mwifiex_adapter_cleanup()
406 vfree(entry->mem_ptr); in mwifiex_adapter_cleanup()
407 entry->mem_ptr = NULL; in mwifiex_adapter_cleanup()
Dsdio.c2030 if (entry->mem_ptr) { in mwifiex_sdio_fw_dump_work()
2031 vfree(entry->mem_ptr); in mwifiex_sdio_fw_dump_work()
2032 entry->mem_ptr = NULL; in mwifiex_sdio_fw_dump_work()
2081 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_sdio_fw_dump_work()
2083 if (!entry->mem_ptr) { in mwifiex_sdio_fw_dump_work()
2088 dbg_ptr = entry->mem_ptr; in mwifiex_sdio_fw_dump_work()
2120 entry->mem_name, dbg_ptr - entry->mem_ptr); in mwifiex_sdio_fw_dump_work()
Dpcie.c2285 if (entry->mem_ptr) { in mwifiex_pcie_fw_dump_work()
2286 vfree(entry->mem_ptr); in mwifiex_pcie_fw_dump_work()
2287 entry->mem_ptr = NULL; in mwifiex_pcie_fw_dump_work()
2331 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_pcie_fw_dump_work()
2333 if (!entry->mem_ptr) { in mwifiex_pcie_fw_dump_work()
2338 dbg_ptr = entry->mem_ptr; in mwifiex_pcie_fw_dump_work()
2367 entry->mem_name, dbg_ptr - entry->mem_ptr); in mwifiex_pcie_fw_dump_work()
Dmain.h420 u8 *mem_ptr; member
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c1181 ulong win_off, void __iomem **mem_ptr) in netxen_nic_map_indirect_address_128M() argument
1198 *mem_ptr = ioremap(mem_base + (off & PAGE_MASK), PAGE_SIZE); in netxen_nic_map_indirect_address_128M()
1199 if (*mem_ptr) in netxen_nic_map_indirect_address_128M()
1200 addr = *mem_ptr + (off & (PAGE_SIZE - 1)); in netxen_nic_map_indirect_address_128M()
1209 void __iomem *addr, *mem_ptr = NULL; in netxen_nic_hw_write_wx_128M() local
1211 addr = netxen_nic_map_indirect_address_128M(adapter, off, &mem_ptr); in netxen_nic_hw_write_wx_128M()
1226 if (mem_ptr) in netxen_nic_hw_write_wx_128M()
1227 iounmap(mem_ptr); in netxen_nic_hw_write_wx_128M()
1236 void __iomem *addr, *mem_ptr = NULL; in netxen_nic_hw_read_wx_128M() local
1239 addr = netxen_nic_map_indirect_address_128M(adapter, off, &mem_ptr); in netxen_nic_hw_read_wx_128M()
[all …]
/drivers/scsi/qla2xxx/
Dqla_nx.c684 uint8_t __iomem *mem_ptr = NULL; in qla82xx_pci_mem_read_direct() local
713 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE * 2); in qla82xx_pci_mem_read_direct()
715 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_read_direct()
716 if (mem_ptr == NULL) { in qla82xx_pci_mem_read_direct()
720 addr = mem_ptr; in qla82xx_pci_mem_read_direct()
743 if (mem_ptr) in qla82xx_pci_mem_read_direct()
744 iounmap(mem_ptr); in qla82xx_pci_mem_read_direct()
756 uint8_t __iomem *mem_ptr = NULL; in qla82xx_pci_mem_write_direct() local
785 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE*2); in qla82xx_pci_mem_write_direct()
787 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_write_direct()
[all …]
/drivers/scsi/qla4xxx/
Dql4_nx.c717 void __iomem *mem_ptr = NULL; in qla4_82xx_pci_mem_read_direct() local
745 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE * 2); in qla4_82xx_pci_mem_read_direct()
747 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla4_82xx_pci_mem_read_direct()
749 if (mem_ptr == NULL) { in qla4_82xx_pci_mem_read_direct()
753 addr = mem_ptr; in qla4_82xx_pci_mem_read_direct()
777 if (mem_ptr) in qla4_82xx_pci_mem_read_direct()
778 iounmap(mem_ptr); in qla4_82xx_pci_mem_read_direct()
790 void __iomem *mem_ptr = NULL; in qla4_82xx_pci_mem_write_direct() local
818 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE*2); in qla4_82xx_pci_mem_write_direct()
820 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla4_82xx_pci_mem_write_direct()
[all …]