Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/
H A Dips.c2052 (unsigned long)ha->mem_ptr); in ips_host_info()
4258 if (ha->mem_ptr) { in ips_free()
4261 ha->mem_ptr = NULL; in ips_free()
4840 readb(ha->mem_ptr + IPS_REG_ISPR); in ips_init_copperhead_memio()
5180 ha->mem_ptr + IPS_REG_SQER); in ips_statinit_memio()
6136 writel(0, ha->mem_ptr + IPS_REG_FLAP); in ips_erase_bios_memio()
6400 writel(0, ha->mem_ptr + IPS_REG_FLAP); in ips_program_bios_memio()
6843 char __iomem *mem_ptr; in ips_init_phase1() local
6887 mem_ptr = ioremap_ptr + offs; in ips_init_phase1()
6890 mem_ptr = NULL; in ips_init_phase1()
[all …]
H A Dips.h1047 char __iomem *mem_ptr; /* Memory mapped Ptr */ member
/openbmc/linux/mm/kasan/
H A Dreport_generic.c299 unsigned long mem_ptr; in get_address_stack_frame_info() local
307 mem_ptr = round_down(aligned_addr, KASAN_GRANULE_SIZE); in get_address_stack_frame_info()
313 mem_ptr -= KASAN_GRANULE_SIZE; in get_address_stack_frame_info()
318 mem_ptr -= KASAN_GRANULE_SIZE; in get_address_stack_frame_info()
324 frame = (const unsigned long *)(mem_ptr + KASAN_GRANULE_SIZE); in get_address_stack_frame_info()
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsdio.c2773 if (entry->mem_ptr) { in mwifiex_sdio_fw_dump()
2774 vfree(entry->mem_ptr); in mwifiex_sdio_fw_dump()
2775 entry->mem_ptr = NULL; in mwifiex_sdio_fw_dump()
2833 if (!entry->mem_ptr) { in mwifiex_sdio_fw_dump()
2894 if (entry->mem_ptr) { in mwifiex_sdio_generic_fw_dump()
2895 vfree(entry->mem_ptr); in mwifiex_sdio_generic_fw_dump()
2896 entry->mem_ptr = NULL; in mwifiex_sdio_generic_fw_dump()
2932 if (!entry->mem_ptr) { in mwifiex_sdio_generic_fw_dump()
2986 if (entry->mem_ptr) { in mwifiex_sdio_generic_fw_dump()
2987 vfree(entry->mem_ptr); in mwifiex_sdio_generic_fw_dump()
[all …]
H A Dpcie.c2864 if (entry->mem_ptr) { in mwifiex_pcie_fw_dump()
2865 vfree(entry->mem_ptr); in mwifiex_pcie_fw_dump()
2866 entry->mem_ptr = NULL; in mwifiex_pcie_fw_dump()
2920 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_pcie_fw_dump()
2922 if (!entry->mem_ptr) { in mwifiex_pcie_fw_dump()
2927 dbg_ptr = entry->mem_ptr; in mwifiex_pcie_fw_dump()
2953 memcpy(tmp_ptr, entry->mem_ptr, memory_size); in mwifiex_pcie_fw_dump()
2954 vfree(entry->mem_ptr); in mwifiex_pcie_fw_dump()
2955 entry->mem_ptr = tmp_ptr; in mwifiex_pcie_fw_dump()
2957 dbg_ptr = entry->mem_ptr + memory_size; in mwifiex_pcie_fw_dump()
[all …]
H A Ddecl.h273 u8 *mem_ptr; member
H A Dmain.c1231 if (entry->mem_ptr) { in mwifiex_prepare_fw_dump_info()
1263 if (entry->mem_ptr) { in mwifiex_prepare_fw_dump_info()
1273 memcpy(fw_dump_ptr, entry->mem_ptr, entry->mem_size); in mwifiex_prepare_fw_dump_info()
1287 vfree(entry->mem_ptr); in mwifiex_prepare_fw_dump_info()
1288 entry->mem_ptr = NULL; in mwifiex_prepare_fw_dump_info()
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_hw.c1158 if (*mem_ptr) in netxen_nic_map_indirect_address_128M()
1168 void __iomem *addr, *mem_ptr = NULL; in netxen_nic_hw_write_wx_128M() local
1185 if (mem_ptr) in netxen_nic_hw_write_wx_128M()
1186 iounmap(mem_ptr); in netxen_nic_hw_write_wx_128M()
1195 void __iomem *addr, *mem_ptr = NULL; in netxen_nic_hw_read_wx_128M() local
1213 if (mem_ptr) in netxen_nic_hw_read_wx_128M()
1214 iounmap(mem_ptr); in netxen_nic_hw_read_wx_128M()
1369 void __iomem *addr, *mem_ptr = NULL; in netxen_nic_pci_mem_access_direct() local
1390 if (mem_ptr == NULL) { in netxen_nic_pci_mem_access_direct()
1406 if (mem_ptr) in netxen_nic_pci_mem_access_direct()
[all …]
/openbmc/linux/drivers/bluetooth/
H A Dbtmrvl_sdio.c1356 if (entry->mem_ptr) { in btmrvl_sdio_coredump()
1357 vfree(entry->mem_ptr); in btmrvl_sdio_coredump()
1358 entry->mem_ptr = NULL; in btmrvl_sdio_coredump()
1413 entry->mem_ptr = vzalloc(memory_size + 1); in btmrvl_sdio_coredump()
1415 if (!entry->mem_ptr) { in btmrvl_sdio_coredump()
1426 dbg_ptr = entry->mem_ptr; in btmrvl_sdio_coredump()
1455 dbg_ptr - entry->mem_ptr); in btmrvl_sdio_coredump()
1483 if (entry->mem_ptr) { in btmrvl_sdio_coredump()
1489 memcpy(fw_dump_ptr + size, entry->mem_ptr, in btmrvl_sdio_coredump()
1497 vfree(mem_type_mapping_tbl[idx].mem_ptr); in btmrvl_sdio_coredump()
[all …]
H A Dbtmrvl_drv.h42 u8 *mem_ptr; member
/openbmc/linux/drivers/scsi/qla4xxx/
H A Dql4_nx.c709 void __iomem *mem_ptr = NULL; in qla4_82xx_pci_mem_read_direct() local
739 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla4_82xx_pci_mem_read_direct()
741 if (mem_ptr == NULL) { in qla4_82xx_pci_mem_read_direct()
745 addr = mem_ptr; in qla4_82xx_pci_mem_read_direct()
769 if (mem_ptr) in qla4_82xx_pci_mem_read_direct()
770 iounmap(mem_ptr); in qla4_82xx_pci_mem_read_direct()
782 void __iomem *mem_ptr = NULL; in qla4_82xx_pci_mem_write_direct() local
813 if (mem_ptr == NULL) in qla4_82xx_pci_mem_write_direct()
816 addr = mem_ptr; in qla4_82xx_pci_mem_write_direct()
839 if (mem_ptr) in qla4_82xx_pci_mem_write_direct()
[all …]
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_nx.c654 uint8_t __iomem *mem_ptr = NULL; in qla82xx_pci_mem_read_direct() local
685 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_read_direct()
686 if (mem_ptr == NULL) { in qla82xx_pci_mem_read_direct()
690 addr = mem_ptr; in qla82xx_pci_mem_read_direct()
713 if (mem_ptr) in qla82xx_pci_mem_read_direct()
714 iounmap(mem_ptr); in qla82xx_pci_mem_read_direct()
726 uint8_t __iomem *mem_ptr = NULL; in qla82xx_pci_mem_write_direct() local
758 if (mem_ptr == NULL) in qla82xx_pci_mem_write_direct()
761 addr = mem_ptr; in qla82xx_pci_mem_write_direct()
783 if (mem_ptr) in qla82xx_pci_mem_write_direct()
[all …]
/openbmc/linux/mm/
H A Dmemory_hotplug.c2070 struct memory_block **mem_ptr = (struct memory_block **)arg; in test_has_altmap_cb() local
2076 *mem_ptr = mem; in test_has_altmap_cb()
/openbmc/linux/drivers/md/
H A Ddm-integrity.c2053 char *mem_ptr; in __journal_read_write() local
2066 mem_ptr = mem + bv.bv_offset; in __journal_read_write()
2069 memcpy(mem_ptr, js, JOURNAL_SECTOR_DATA); in __journal_read_write()
2070 *(commit_id_t *)(mem_ptr + JOURNAL_SECTOR_DATA) = je->last_bytes[s]; in __journal_read_write()
2072 mem_ptr += 1 << SECTOR_SHIFT; in __journal_read_write()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dcadence-nand-controller.c919 char nf_mem, u32 flash_ptr, dma_addr_t mem_ptr, in cadence_nand_cdma_desc_prepare() argument
936 cdma_desc->memory_pointer = mem_ptr; in cadence_nand_cdma_desc_prepare()