Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/
Dips.c2050 (unsigned long)ha->mem_ptr); in ips_host_info()
2250 writel(0, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2254 if (readb(ha->mem_ptr + IPS_REG_FLDP) != 0x55) in ips_get_bios_version()
2257 writel(1, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2261 if (readb(ha->mem_ptr + IPS_REG_FLDP) != 0xAA) in ips_get_bios_version()
2265 writel(0x1FF, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2269 major = readb(ha->mem_ptr + IPS_REG_FLDP); in ips_get_bios_version()
2272 writel(0x1FE, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2275 minor = readb(ha->mem_ptr + IPS_REG_FLDP); in ips_get_bios_version()
2278 writel(0x1FD, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
[all …]
Dips.h1056 char __iomem *mem_ptr; /* Memory mapped Ptr */ member
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dsdio.c2296 if (entry->mem_ptr) { in mwifiex_sdio_fw_dump()
2297 vfree(entry->mem_ptr); in mwifiex_sdio_fw_dump()
2298 entry->mem_ptr = NULL; in mwifiex_sdio_fw_dump()
2354 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_sdio_fw_dump()
2356 if (!entry->mem_ptr) { in mwifiex_sdio_fw_dump()
2361 dbg_ptr = entry->mem_ptr; in mwifiex_sdio_fw_dump()
2394 entry->mem_name, dbg_ptr - entry->mem_ptr); in mwifiex_sdio_fw_dump()
2417 if (entry->mem_ptr) { in mwifiex_sdio_generic_fw_dump()
2418 vfree(entry->mem_ptr); in mwifiex_sdio_generic_fw_dump()
2419 entry->mem_ptr = NULL; in mwifiex_sdio_generic_fw_dump()
[all …]
Dpcie.c2675 if (entry->mem_ptr) { in mwifiex_pcie_fw_dump()
2676 vfree(entry->mem_ptr); in mwifiex_pcie_fw_dump()
2677 entry->mem_ptr = NULL; in mwifiex_pcie_fw_dump()
2731 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_pcie_fw_dump()
2733 if (!entry->mem_ptr) { in mwifiex_pcie_fw_dump()
2738 dbg_ptr = entry->mem_ptr; in mwifiex_pcie_fw_dump()
2764 memcpy(tmp_ptr, entry->mem_ptr, memory_size); in mwifiex_pcie_fw_dump()
2765 vfree(entry->mem_ptr); in mwifiex_pcie_fw_dump()
2766 entry->mem_ptr = tmp_ptr; in mwifiex_pcie_fw_dump()
2768 dbg_ptr = entry->mem_ptr + memory_size; in mwifiex_pcie_fw_dump()
[all …]
Ddecl.h286 u8 *mem_ptr; member
Dmain.c1210 if (entry->mem_ptr) { in mwifiex_prepare_fw_dump_info()
1242 if (entry->mem_ptr) { in mwifiex_prepare_fw_dump_info()
1252 memcpy(fw_dump_ptr, entry->mem_ptr, entry->mem_size); in mwifiex_prepare_fw_dump_info()
1266 vfree(entry->mem_ptr); in mwifiex_prepare_fw_dump_info()
1267 entry->mem_ptr = NULL; in mwifiex_prepare_fw_dump_info()
/Linux-v4.19/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c1156 ulong win_off, void __iomem **mem_ptr) in netxen_nic_map_indirect_address_128M() argument
1173 *mem_ptr = ioremap(mem_base + (off & PAGE_MASK), PAGE_SIZE); in netxen_nic_map_indirect_address_128M()
1174 if (*mem_ptr) in netxen_nic_map_indirect_address_128M()
1175 addr = *mem_ptr + (off & (PAGE_SIZE - 1)); in netxen_nic_map_indirect_address_128M()
1184 void __iomem *addr, *mem_ptr = NULL; in netxen_nic_hw_write_wx_128M() local
1186 addr = netxen_nic_map_indirect_address_128M(adapter, off, &mem_ptr); in netxen_nic_hw_write_wx_128M()
1201 if (mem_ptr) in netxen_nic_hw_write_wx_128M()
1202 iounmap(mem_ptr); in netxen_nic_hw_write_wx_128M()
1211 void __iomem *addr, *mem_ptr = NULL; in netxen_nic_hw_read_wx_128M() local
1214 addr = netxen_nic_map_indirect_address_128M(adapter, off, &mem_ptr); in netxen_nic_hw_read_wx_128M()
[all …]
/Linux-v4.19/drivers/bluetooth/
Dbtmrvl_sdio.c1340 if (entry->mem_ptr) { in btmrvl_sdio_coredump()
1341 vfree(entry->mem_ptr); in btmrvl_sdio_coredump()
1342 entry->mem_ptr = NULL; in btmrvl_sdio_coredump()
1397 entry->mem_ptr = vzalloc(memory_size + 1); in btmrvl_sdio_coredump()
1399 if (!entry->mem_ptr) { in btmrvl_sdio_coredump()
1410 dbg_ptr = entry->mem_ptr; in btmrvl_sdio_coredump()
1441 dbg_ptr - entry->mem_ptr); in btmrvl_sdio_coredump()
1469 if (entry->mem_ptr) { in btmrvl_sdio_coredump()
1479 memcpy(fw_dump_ptr, entry->mem_ptr, entry->mem_size); in btmrvl_sdio_coredump()
1485 vfree(mem_type_mapping_tbl[idx].mem_ptr); in btmrvl_sdio_coredump()
[all …]
Dbtmrvl_drv.h58 u8 *mem_ptr; member
/Linux-v4.19/drivers/scsi/qla4xxx/
Dql4_nx.c719 void __iomem *mem_ptr = NULL; in qla4_82xx_pci_mem_read_direct() local
747 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE * 2); in qla4_82xx_pci_mem_read_direct()
749 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla4_82xx_pci_mem_read_direct()
751 if (mem_ptr == NULL) { in qla4_82xx_pci_mem_read_direct()
755 addr = mem_ptr; in qla4_82xx_pci_mem_read_direct()
779 if (mem_ptr) in qla4_82xx_pci_mem_read_direct()
780 iounmap(mem_ptr); in qla4_82xx_pci_mem_read_direct()
792 void __iomem *mem_ptr = NULL; in qla4_82xx_pci_mem_write_direct() local
820 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE*2); in qla4_82xx_pci_mem_write_direct()
822 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla4_82xx_pci_mem_write_direct()
[all …]
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_nx.c697 uint8_t __iomem *mem_ptr = NULL; in qla82xx_pci_mem_read_direct() local
726 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE * 2); in qla82xx_pci_mem_read_direct()
728 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_read_direct()
729 if (mem_ptr == NULL) { in qla82xx_pci_mem_read_direct()
733 addr = mem_ptr; in qla82xx_pci_mem_read_direct()
756 if (mem_ptr) in qla82xx_pci_mem_read_direct()
757 iounmap(mem_ptr); in qla82xx_pci_mem_read_direct()
769 uint8_t __iomem *mem_ptr = NULL; in qla82xx_pci_mem_write_direct() local
798 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE*2); in qla82xx_pci_mem_write_direct()
800 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_write_direct()
[all …]
/Linux-v4.19/drivers/md/
Ddm-integrity.c1526 char *mem_ptr; in __journal_read_write() local
1539 mem_ptr = mem + bv.bv_offset; in __journal_read_write()
1542 memcpy(mem_ptr, js, JOURNAL_SECTOR_DATA); in __journal_read_write()
1543 *(commit_id_t *)(mem_ptr + JOURNAL_SECTOR_DATA) = je->last_bytes[s]; in __journal_read_write()
1545 mem_ptr += 1 << SECTOR_SHIFT; in __journal_read_write()