Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/
Dips.c2034 (unsigned long)ha->mem_ptr); in ips_host_info()
2234 writel(0, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2238 if (readb(ha->mem_ptr + IPS_REG_FLDP) != 0x55) in ips_get_bios_version()
2241 writel(1, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2245 if (readb(ha->mem_ptr + IPS_REG_FLDP) != 0xAA) in ips_get_bios_version()
2249 writel(0x1FF, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2253 major = readb(ha->mem_ptr + IPS_REG_FLDP); in ips_get_bios_version()
2256 writel(0x1FE, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
2259 minor = readb(ha->mem_ptr + IPS_REG_FLDP); in ips_get_bios_version()
2262 writel(0x1FD, ha->mem_ptr + IPS_REG_FLAP); in ips_get_bios_version()
[all …]
Dips.h1047 char __iomem *mem_ptr; /* Memory mapped Ptr */ member
/linux-6.12.1/mm/kasan/
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()
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/
Dsdio.c2775 if (entry->mem_ptr) { in mwifiex_sdio_fw_dump()
2776 vfree(entry->mem_ptr); in mwifiex_sdio_fw_dump()
2777 entry->mem_ptr = NULL; in mwifiex_sdio_fw_dump()
2833 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_sdio_fw_dump()
2835 if (!entry->mem_ptr) { in mwifiex_sdio_fw_dump()
2840 dbg_ptr = entry->mem_ptr; in mwifiex_sdio_fw_dump()
2873 entry->mem_name, dbg_ptr - entry->mem_ptr); in mwifiex_sdio_fw_dump()
2896 if (entry->mem_ptr) { in mwifiex_sdio_generic_fw_dump()
2897 vfree(entry->mem_ptr); in mwifiex_sdio_generic_fw_dump()
2898 entry->mem_ptr = NULL; in mwifiex_sdio_generic_fw_dump()
[all …]
Dpcie.c2697 if (entry->mem_ptr) { in mwifiex_pcie_fw_dump()
2698 vfree(entry->mem_ptr); in mwifiex_pcie_fw_dump()
2699 entry->mem_ptr = NULL; in mwifiex_pcie_fw_dump()
2749 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_pcie_fw_dump()
2751 if (!entry->mem_ptr) { in mwifiex_pcie_fw_dump()
2756 dbg_ptr = entry->mem_ptr; in mwifiex_pcie_fw_dump()
2782 memcpy(tmp_ptr, entry->mem_ptr, memory_size); in mwifiex_pcie_fw_dump()
2783 vfree(entry->mem_ptr); in mwifiex_pcie_fw_dump()
2784 entry->mem_ptr = tmp_ptr; in mwifiex_pcie_fw_dump()
2786 dbg_ptr = entry->mem_ptr + memory_size; in mwifiex_pcie_fw_dump()
[all …]
Ddecl.h296 u8 *mem_ptr; member
Dmain.c1238 if (entry->mem_ptr) { in mwifiex_prepare_fw_dump_info()
1270 if (entry->mem_ptr) { in mwifiex_prepare_fw_dump_info()
1280 memcpy(fw_dump_ptr, entry->mem_ptr, entry->mem_size); in mwifiex_prepare_fw_dump_info()
1294 vfree(entry->mem_ptr); in mwifiex_prepare_fw_dump_info()
1295 entry->mem_ptr = NULL; in mwifiex_prepare_fw_dump_info()
/linux-6.12.1/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c1140 ulong win_off, void __iomem **mem_ptr) in netxen_nic_map_indirect_address_128M() argument
1157 *mem_ptr = ioremap(mem_base + (off & PAGE_MASK), PAGE_SIZE); in netxen_nic_map_indirect_address_128M()
1158 if (*mem_ptr) in netxen_nic_map_indirect_address_128M()
1159 addr = *mem_ptr + (off & (PAGE_SIZE - 1)); in netxen_nic_map_indirect_address_128M()
1168 void __iomem *addr, *mem_ptr = NULL; in netxen_nic_hw_write_wx_128M() local
1170 addr = netxen_nic_map_indirect_address_128M(adapter, off, &mem_ptr); in netxen_nic_hw_write_wx_128M()
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
1198 addr = netxen_nic_map_indirect_address_128M(adapter, off, &mem_ptr); in netxen_nic_hw_read_wx_128M()
[all …]
/linux-6.12.1/drivers/bluetooth/
Dbtmrvl_sdio.c1355 if (entry->mem_ptr) { in btmrvl_sdio_coredump()
1356 vfree(entry->mem_ptr); in btmrvl_sdio_coredump()
1357 entry->mem_ptr = NULL; in btmrvl_sdio_coredump()
1412 entry->mem_ptr = vzalloc(memory_size + 1); in btmrvl_sdio_coredump()
1414 if (!entry->mem_ptr) { in btmrvl_sdio_coredump()
1425 dbg_ptr = entry->mem_ptr; in btmrvl_sdio_coredump()
1454 dbg_ptr - entry->mem_ptr); in btmrvl_sdio_coredump()
1482 if (entry->mem_ptr) { in btmrvl_sdio_coredump()
1488 memcpy(fw_dump_ptr + size, entry->mem_ptr, in btmrvl_sdio_coredump()
1496 vfree(mem_type_mapping_tbl[idx].mem_ptr); in btmrvl_sdio_coredump()
[all …]
Dbtmrvl_drv.h42 u8 *mem_ptr; member
/linux-6.12.1/drivers/scsi/qla4xxx/
Dql4_nx.c709 void __iomem *mem_ptr = NULL; in qla4_82xx_pci_mem_read_direct() local
737 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE * 2); in qla4_82xx_pci_mem_read_direct()
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
810 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE*2); in qla4_82xx_pci_mem_write_direct()
812 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla4_82xx_pci_mem_write_direct()
[all …]
/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_nx.c654 uint8_t __iomem *mem_ptr = NULL; in qla82xx_pci_mem_read_direct() local
683 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE * 2); in qla82xx_pci_mem_read_direct()
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
755 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE*2); in qla82xx_pci_mem_write_direct()
757 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_write_direct()
[all …]
/linux-6.12.1/fs/bcachefs/
Dbtree_cache.h71 ? (void *)(unsigned long)bkey_i_to_btree_ptr_v2_c(k)->v.mem_ptr in btree_node_mem_ptr()
Dextents_format.h245 __u64 mem_ptr; member
Dbtree_update_interior.c417 bp->v.mem_ptr = 0; in bch2_btree_node_alloc()
607 bkey_i_to_btree_ptr_v2(keys->top)->v.mem_ptr = b->c.level + 1; in btree_update_add_key()
649 unsigned level = bkey_i_to_btree_ptr_v2(k)->v.mem_ptr; in btree_update_nodes_written_trans()
658 unsigned level = bkey_i_to_btree_ptr_v2(k)->v.mem_ptr; in btree_update_nodes_written_trans()
Ddebug.c158 ((struct bch_btree_ptr_v2 *) bkeyp_val(&b->format, k))->mem_ptr = 0; in __bch2_btree_verify()
Drecovery.c123 bkey_i_to_btree_ptr_v2(i->k)->v.mem_ptr = 0; in zero_out_btree_mem_ptr()
Dbtree_gc.c94 dst->v.mem_ptr = 0; in btree_ptr_to_v2()
Dbtree_io.c1237 bp.v->mem_ptr = 0; in bch2_btree_node_read_done()
Dbtree_iter.c865 bp->mem_ptr = (unsigned long)b; in btree_node_mem_ptr_set()
/linux-6.12.1/drivers/md/
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()
/linux-6.12.1/drivers/mtd/nand/raw/
Dcadence-nand-controller.c916 char nf_mem, u32 flash_ptr, dma_addr_t mem_ptr, in cadence_nand_cdma_desc_prepare() argument
933 cdma_desc->memory_pointer = mem_ptr; in cadence_nand_cdma_desc_prepare()