Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/
Dips.c2057 (unsigned long)ha->mem_ptr); in ips_host_info()
2260 writel(0, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2264 if (readb(ha->mem_ptr + IPS_REG_FLDP) != 0x55) in ips_get_bios_version()
2267 writel(1, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2271 if (readb(ha->mem_ptr + IPS_REG_FLDP) != 0xAA) in ips_get_bios_version()
2275 writel(0x1FF, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2279 major = readb(ha->mem_ptr + IPS_REG_FLDP); in ips_get_bios_version()
2282 writel(0x1FE, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2285 minor = readb(ha->mem_ptr + IPS_REG_FLDP); in ips_get_bios_version()
2288 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.4.14/drivers/net/wireless/mwifiex/
Dsdio.c2247 if (entry->mem_ptr) { in mwifiex_sdio_fw_dump()
2248 vfree(entry->mem_ptr); in mwifiex_sdio_fw_dump()
2249 entry->mem_ptr = NULL; in mwifiex_sdio_fw_dump()
2305 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_sdio_fw_dump()
2307 if (!entry->mem_ptr) { in mwifiex_sdio_fw_dump()
2312 dbg_ptr = entry->mem_ptr; in mwifiex_sdio_fw_dump()
2345 entry->mem_name, dbg_ptr - entry->mem_ptr); in mwifiex_sdio_fw_dump()
2368 if (entry->mem_ptr) { in mwifiex_sdio_generic_fw_dump()
2369 vfree(entry->mem_ptr); in mwifiex_sdio_generic_fw_dump()
2370 entry->mem_ptr = NULL; in mwifiex_sdio_generic_fw_dump()
[all …]
Dmain.c1101 if (entry->mem_ptr) { in mwifiex_upload_device_dump()
1133 if (entry->mem_ptr) { in mwifiex_upload_device_dump()
1143 memcpy(fw_dump_ptr, entry->mem_ptr, entry->mem_size); in mwifiex_upload_device_dump()
1163 if (entry->mem_ptr) { in mwifiex_upload_device_dump()
1164 vfree(entry->mem_ptr); in mwifiex_upload_device_dump()
1165 entry->mem_ptr = NULL; in mwifiex_upload_device_dump()
Dinit.c430 if (entry->mem_ptr) { in mwifiex_adapter_cleanup()
431 vfree(entry->mem_ptr); in mwifiex_adapter_cleanup()
432 entry->mem_ptr = NULL; in mwifiex_adapter_cleanup()
Dpcie.c2332 if (entry->mem_ptr) { in mwifiex_pcie_fw_dump()
2333 vfree(entry->mem_ptr); in mwifiex_pcie_fw_dump()
2334 entry->mem_ptr = NULL; in mwifiex_pcie_fw_dump()
2378 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_pcie_fw_dump()
2380 if (!entry->mem_ptr) { in mwifiex_pcie_fw_dump()
2385 dbg_ptr = entry->mem_ptr; in mwifiex_pcie_fw_dump()
2415 entry->mem_name, dbg_ptr - entry->mem_ptr); in mwifiex_pcie_fw_dump()
Dmain.h495 u8 *mem_ptr; member
/linux-4.4.14/drivers/bluetooth/
Dbtmrvl_sdio.c1269 if (entry->mem_ptr) { in btmrvl_sdio_dump_firmware()
1270 vfree(entry->mem_ptr); in btmrvl_sdio_dump_firmware()
1271 entry->mem_ptr = NULL; in btmrvl_sdio_dump_firmware()
1326 entry->mem_ptr = vzalloc(memory_size + 1); in btmrvl_sdio_dump_firmware()
1328 if (!entry->mem_ptr) { in btmrvl_sdio_dump_firmware()
1339 dbg_ptr = entry->mem_ptr; in btmrvl_sdio_dump_firmware()
1370 dbg_ptr - entry->mem_ptr); in btmrvl_sdio_dump_firmware()
1397 if (entry->mem_ptr) { in btmrvl_sdio_dump_firmware()
1407 memcpy(fw_dump_ptr, entry->mem_ptr, entry->mem_size); in btmrvl_sdio_dump_firmware()
1413 vfree(mem_type_mapping_tbl[idx].mem_ptr); in btmrvl_sdio_dump_firmware()
[all …]
Dbtmrvl_drv.h48 u8 *mem_ptr; member
/linux-4.4.14/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.4.14/drivers/scsi/qla2xxx/
Dqla_nx.c692 uint8_t __iomem *mem_ptr = NULL; in qla82xx_pci_mem_read_direct() local
721 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE * 2); in qla82xx_pci_mem_read_direct()
723 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_read_direct()
724 if (mem_ptr == NULL) { in qla82xx_pci_mem_read_direct()
728 addr = mem_ptr; in qla82xx_pci_mem_read_direct()
751 if (mem_ptr) in qla82xx_pci_mem_read_direct()
752 iounmap(mem_ptr); in qla82xx_pci_mem_read_direct()
764 uint8_t __iomem *mem_ptr = NULL; in qla82xx_pci_mem_write_direct() local
793 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE*2); in qla82xx_pci_mem_write_direct()
795 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_write_direct()
[all …]
/linux-4.4.14/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 …]