Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/scsi/
Dips.c2061 (unsigned long)ha->mem_ptr); in ips_host_info()
2264 writel(0, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2268 if (readb(ha->mem_ptr + IPS_REG_FLDP) != 0x55) in ips_get_bios_version()
2271 writel(1, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2275 if (readb(ha->mem_ptr + IPS_REG_FLDP) != 0xAA) in ips_get_bios_version()
2279 writel(0x1FF, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2283 major = readb(ha->mem_ptr + IPS_REG_FLDP); in ips_get_bios_version()
2286 writel(0x1FE, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2289 minor = readb(ha->mem_ptr + IPS_REG_FLDP); in ips_get_bios_version()
2292 writel(0x1FD, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
[all …]
Dips.h1065 char __iomem *mem_ptr; /* Memory mapped Ptr */ member
/linux-4.1.27/drivers/net/wireless/mwifiex/
Dethtool.c117 if (!entry->mem_ptr) in mwifiex_get_dump_data()
120 memcpy(p, entry->mem_ptr, entry->mem_size); in mwifiex_get_dump_data()
123 vfree(entry->mem_ptr); in mwifiex_get_dump_data()
124 entry->mem_ptr = NULL; in mwifiex_get_dump_data()
Dinit.c427 if (entry->mem_ptr) { in mwifiex_adapter_cleanup()
428 vfree(entry->mem_ptr); in mwifiex_adapter_cleanup()
429 entry->mem_ptr = NULL; in mwifiex_adapter_cleanup()
Dsdio.c2135 if (entry->mem_ptr) { in mwifiex_sdio_fw_dump_work()
2136 vfree(entry->mem_ptr); in mwifiex_sdio_fw_dump_work()
2137 entry->mem_ptr = NULL; in mwifiex_sdio_fw_dump_work()
2186 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_sdio_fw_dump_work()
2188 if (!entry->mem_ptr) { in mwifiex_sdio_fw_dump_work()
2193 dbg_ptr = entry->mem_ptr; in mwifiex_sdio_fw_dump_work()
2225 entry->mem_name, dbg_ptr - entry->mem_ptr); in mwifiex_sdio_fw_dump_work()
Dpcie.c2280 if (entry->mem_ptr) { in mwifiex_pcie_fw_dump_work()
2281 vfree(entry->mem_ptr); in mwifiex_pcie_fw_dump_work()
2282 entry->mem_ptr = NULL; in mwifiex_pcie_fw_dump_work()
2326 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_pcie_fw_dump_work()
2328 if (!entry->mem_ptr) { in mwifiex_pcie_fw_dump_work()
2333 dbg_ptr = entry->mem_ptr; in mwifiex_pcie_fw_dump_work()
2362 entry->mem_name, dbg_ptr - entry->mem_ptr); in mwifiex_pcie_fw_dump_work()
Dmain.h442 u8 *mem_ptr; member
/linux-4.1.27/drivers/bluetooth/
Dbtmrvl_sdio.c1234 if (entry->mem_ptr) { in btmrvl_sdio_dump_firmware()
1235 vfree(entry->mem_ptr); in btmrvl_sdio_dump_firmware()
1236 entry->mem_ptr = NULL; in btmrvl_sdio_dump_firmware()
1285 entry->mem_ptr = vzalloc(memory_size + 1); in btmrvl_sdio_dump_firmware()
1287 if (!entry->mem_ptr) { in btmrvl_sdio_dump_firmware()
1298 dbg_ptr = entry->mem_ptr; in btmrvl_sdio_dump_firmware()
1329 dbg_ptr - entry->mem_ptr); in btmrvl_sdio_dump_firmware()
1356 if (entry->mem_ptr) { in btmrvl_sdio_dump_firmware()
1366 memcpy(fw_dump_ptr, entry->mem_ptr, entry->mem_size); in btmrvl_sdio_dump_firmware()
1372 vfree(mem_type_mapping_tbl[idx].mem_ptr); in btmrvl_sdio_dump_firmware()
[all …]
Dbtmrvl_drv.h48 u8 *mem_ptr; member
/linux-4.1.27/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 …]
/linux-4.1.27/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 …]
/linux-4.1.27/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 …]