| /Linux-v4.19/drivers/scsi/ |
| D | ips.c | 2050 (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 …]
|
| D | ips.h | 1056 char __iomem *mem_ptr; /* Memory mapped Ptr */ member
|
| /Linux-v4.19/drivers/net/wireless/marvell/mwifiex/ |
| D | sdio.c | 2296 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 …]
|
| D | pcie.c | 2675 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 …]
|
| D | decl.h | 286 u8 *mem_ptr; member
|
| D | main.c | 1210 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/ |
| D | netxen_nic_hw.c | 1156 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/ |
| D | btmrvl_sdio.c | 1340 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 …]
|
| D | btmrvl_drv.h | 58 u8 *mem_ptr; member
|
| /Linux-v4.19/drivers/scsi/qla4xxx/ |
| D | ql4_nx.c | 719 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/ |
| D | qla_nx.c | 697 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/ |
| D | dm-integrity.c | 1526 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()
|