/linux-6.1.9/drivers/scsi/bfa/ |
D | bfa_hw_ct.c | 29 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); in bfa_hwct_reginit() local 33 bfa_regs->intr_status = (kva + HOSTFN0_INT_STATUS); in bfa_hwct_reginit() 34 bfa_regs->intr_mask = (kva + HOSTFN0_INT_MSK); in bfa_hwct_reginit() 36 bfa_regs->intr_status = (kva + HOSTFN1_INT_STATUS); in bfa_hwct_reginit() 37 bfa_regs->intr_mask = (kva + HOSTFN1_INT_MSK); in bfa_hwct_reginit() 45 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); in bfa_hwct2_reginit() local 47 bfa_regs->intr_status = (kva + CT2_HOSTFN_INT_STATUS); in bfa_hwct2_reginit() 48 bfa_regs->intr_mask = (kva + CT2_HOSTFN_INTR_MASK); in bfa_hwct2_reginit()
|
D | bfa_hw_cb.c | 19 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); in bfa_hwcb_reginit() local 23 bfa_regs->intr_status = (kva + HOSTFN0_INT_STATUS); in bfa_hwcb_reginit() 24 bfa_regs->intr_mask = (kva + HOSTFN0_INT_MSK); in bfa_hwcb_reginit() 26 bfa_regs->intr_status = (kva + HOSTFN1_INT_STATUS); in bfa_hwcb_reginit() 27 bfa_regs->intr_mask = (kva + HOSTFN1_INT_MSK); in bfa_hwcb_reginit()
|
D | bfa_core.c | 1111 iocfc->req_cq_ba[i].kva = bfa_mem_dma_virt(reqq_dma); in bfa_iocfc_mem_claim() 1113 memset(iocfc->req_cq_ba[i].kva, 0, per_reqq_sz); in bfa_iocfc_mem_claim() 1116 iocfc->rsp_cq_ba[i].kva = bfa_mem_dma_virt(rspq_dma); in bfa_iocfc_mem_claim() 1118 memset(iocfc->rsp_cq_ba[i].kva, 0, per_rspq_sz); in bfa_iocfc_mem_claim() 1126 iocfc->req_cq_shadow_ci[i].kva = dm_kva; in bfa_iocfc_mem_claim() 1131 iocfc->rsp_cq_shadow_pi[i].kva = dm_kva; in bfa_iocfc_mem_claim() 1138 bfa->iocfc.cfg_info.kva = dm_kva; in bfa_iocfc_mem_claim() 1145 bfa->iocfc.cfgrsp_dma.kva = dm_kva; in bfa_iocfc_mem_claim() 1248 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); in bfa_iocfc_qreg() local 1252 r->cpe_q_ci[i] = kva + be32_to_cpu(qreg->cpe_q_ci_off[i]); in bfa_iocfc_qreg() [all …]
|
D | bfa_port.c | 91 memcpy(port->stats, port->stats_dma.kva, in bfa_port_get_stats_isr() 205 port->stats_dma.kva = dma_kva; in bfa_port_mem_claim() 524 memcpy(cee->attr, cee->attr_dma.kva, in bfa_cee_get_attr_isr() 557 memcpy(cee->stats, cee->stats_dma.kva, in bfa_cee_get_stats_isr() 622 cee->attr_dma.kva = dma_kva; in bfa_cee_mem_claim() 624 cee->stats_dma.kva = dma_kva + BFA_ROUNDUP( in bfa_cee_mem_claim()
|
D | bfa.h | 38 (*(u32 *)((__bfa)->iocfc.req_cq_shadow_ci[__reqq].kva)) 47 ((void *)((struct bfi_msg_s *)((__bfa)->iocfc.req_cq_ba[__reqq].kva) \ 60 (*(u32 *)((__bfa)->iocfc.rsp_cq_shadow_pi[__rspq].kva)) 64 (&((struct bfi_msg_s *)((__bfa)->iocfc.rsp_cq_ba[__rspq].kva))[__ci])
|
D | bfad.c | 536 vfree(kva_elem->kva); in bfad_hal_mem_release() 543 dma_elem->mem_len, dma_elem->kva, in bfad_hal_mem_release() 605 kva_elem->kva = vzalloc(kva_elem->mem_len); in bfad_hal_mem_alloc() 606 if (kva_elem->kva == NULL) { in bfad_hal_mem_alloc() 616 dma_elem->kva = dma_alloc_coherent(&bfad->pcidev->dev, in bfad_hal_mem_alloc() 619 if (dma_elem->kva == NULL) { in bfad_hal_mem_alloc() 625 memset(dma_elem->kva, 0, dma_elem->mem_len); in bfad_hal_mem_alloc()
|
D | bfa_ioc.h | 86 u8 *kva; /* kernel virtual address */ member 96 u8 *kva; /* kernel virtual address */ member 162 void *kva; /* ! Kernel virtual address */ member
|
D | bfa_ioc.c | 2484 ioc->attr_dma.kva = dm_kva; in bfa_ioc_mem_claim() 3291 memcpy(ablk->cfg, ablk->dma_addr.kva, in bfa_ablk_isr() 3367 ablk->dma_addr.kva = dma_kva; in bfa_ablk_memclaim()
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | early_32.c | 21 unsigned long kva, offset = reloc_offset(); in early_init() local 23 kva = *PTRRELOC(&kernstart_virt_addr); in early_init() 26 if (kva == KERNELBASE) in early_init() 37 return kva + offset; in early_init()
|
/linux-6.1.9/drivers/net/ethernet/brocade/bna/ |
D | bfa_msgq.c | 210 dst = (u8 *)cmdq->addr.kva; in __cmd_copy() 220 dst = (u8 *)cmdq->addr.kva; in __cmd_copy() 282 u8 *addr = (u8 *)cmdq->addr.kva; in bfa_msgq_cmdq_copy_rsp() 471 rspq_qe = (u8 *)rspq->addr.kva; in bfa_msgq_rspq_pi_update() 590 bfa_msgq_memclaim(struct bfa_msgq *msgq, u8 *kva, u64 pa) in bfa_msgq_memclaim() argument 592 msgq->cmdq.addr.kva = kva; in bfa_msgq_memclaim() 595 kva += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ); in bfa_msgq_memclaim() 598 msgq->rspq.addr.kva = kva; in bfa_msgq_memclaim() 646 src = (u8 *)rspq->addr.kva; in bfa_msgq_rsp_copy() 657 src = (u8 *)rspq->addr.kva; in bfa_msgq_rsp_copy()
|
D | bfa_cee.c | 75 memcpy(cee->attr, cee->attr_dma.kva, in bfa_cee_get_attr_isr() 95 memcpy(cee->stats, cee->stats_dma.kva, in bfa_cee_get_stats_isr() 137 cee->attr_dma.kva = dma_kva; in bfa_nw_cee_mem_claim() 139 cee->stats_dma.kva = dma_kva + bfa_cee_attr_meminfo(); in bfa_nw_cee_mem_claim()
|
D | bna_enet.c | 1692 u8 *kva; in bna_ioceth_init() local 1706 kva = res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1707 bfa_nw_ioc_mem_claim(&ioceth->ioc, kva, dma); in bna_ioceth_init() 1709 kva = res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1710 bfa_nw_ioc_debug_memclaim(&ioceth->ioc, kva); in bna_ioceth_init() 1718 kva = res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1720 bfa_nw_cee_mem_claim(&bna->cee, kva, dma); in bna_ioceth_init() 1721 kva += bfa_nw_cee_meminfo(); in bna_ioceth_init() 1725 bfa_nw_flash_memclaim(&bna->flash, kva, dma); in bna_ioceth_init() 1726 kva += bfa_nw_flash_meminfo(); in bna_ioceth_init() [all …]
|
D | bna_tx_rx.c | 628 res_info[BNA_RX_RES_MEM_T_RIT].res_u.mem_info.mdl[0].kva; in bna_rxf_init() 1861 u8 *kva; in bna_rxq_qpt_setup() local 1868 rxq->qpt.kv_qpt_ptr = qpt_mem->kva; in bna_rxq_qpt_setup() 1872 rxq->rcb->sw_qpt = (void **) swqpt_mem->kva; in bna_rxq_qpt_setup() 1873 rxq->rcb->sw_q = page_mem->kva; in bna_rxq_qpt_setup() 1875 kva = page_mem->kva; in bna_rxq_qpt_setup() 1879 rxq->rcb->sw_qpt[i] = kva; in bna_rxq_qpt_setup() 1880 kva += PAGE_SIZE; in bna_rxq_qpt_setup() 1899 u8 *kva; in bna_rxp_cqpt_setup() local 1906 rxp->cq.qpt.kv_qpt_ptr = qpt_mem->kva; in bna_rxp_cqpt_setup() [all …]
|
D | bfa_msgq.h | 115 void bfa_msgq_memclaim(struct bfa_msgq *msgq, u8 *kva, u64 pa);
|
D | bfa_ioc.h | 39 void *kva; /* ! Kernel virtual address */ member
|
D | bnad.c | 1321 if (mem_info->mdl[i].kva != NULL) { in bnad_mem_free() 1327 mem_info->mdl[i].kva, dma_pa); in bnad_mem_free() 1329 kfree(mem_info->mdl[i].kva); in bnad_mem_free() 1356 mem_info->mdl[i].kva = in bnad_mem_alloc() 1360 if (mem_info->mdl[i].kva == NULL) in bnad_mem_alloc() 1369 mem_info->mdl[i].kva = kzalloc(mem_info->len, in bnad_mem_alloc() 1371 if (mem_info->mdl[i].kva == NULL) in bnad_mem_alloc()
|
D | bna_types.h | 263 void *kva; member
|
D | bfa_ioc.c | 2586 ioc->attr_dma.kva = dm_kva; in bfa_nw_ioc_mem_claim()
|
/linux-6.1.9/drivers/media/platform/qcom/venus/ |
D | hfi_venus.c | 99 void *kva; /* kernel virtual address */ member 172 if (!queue->qmem.kva) in venus_write_queue() 208 wr_ptr = (u32 *)(queue->qmem.kva + (wr_idx << 2)); in venus_write_queue() 217 memcpy(queue->qmem.kva, packet + len, new_wr_idx << 2); in venus_write_queue() 242 if (!queue->qmem.kva) in venus_read_queue() 275 rd_ptr = (u32 *)(queue->qmem.kva + (rd_idx << 2)); in venus_read_queue() 290 memcpy(pkt + len, queue->qmem.kva, new_rd_idx << 2); in venus_read_queue() 333 desc->kva = dma_alloc_attrs(dev, desc->size, &desc->da, GFP_KERNEL, in venus_alloc() 335 if (!desc->kva) in venus_alloc() 345 dma_free_attrs(dev, mem->size, mem->kva, mem->da, mem->attrs); in venus_free() [all …]
|
/linux-6.1.9/arch/mips/kernel/ |
D | bmips_5xxx_init.S | 28 #define cacheop(kva, size, linesize, op) \ argument 30 addu t1, kva, size ; \ 33 and t0, kva, t2 ; \
|
/linux-6.1.9/drivers/infiniband/sw/siw/ |
D | siw_qp_rx.c | 104 static int siw_rx_kva(struct siw_rx_stream *srx, void *kva, int len) in siw_rx_kva() argument 108 siw_dbg_qp(rx_qp(srx), "kva: 0x%pK, len: %u\n", kva, len); in siw_rx_kva() 110 rv = skb_copy_bits(srx->skb, srx->skb_offset, kva, len); in siw_rx_kva() 113 qp_id(rx_qp(srx)), __func__, len, kva, rv); in siw_rx_kva() 118 crypto_shash_update(srx->mpa_crc_hd, (u8 *)kva, len); in siw_rx_kva()
|
/linux-6.1.9/drivers/infiniband/hw/cxgb4/ |
D | mem.c | 720 if (mhp->kva) in c4iw_dereg_mr() 721 kfree((void *) (unsigned long) mhp->kva); in c4iw_dereg_mr()
|
D | iw_cxgb4.h | 394 u64 kva; member 412 u64 kva; member
|
/linux-6.1.9/drivers/staging/media/deprecated/cpia2/ |
D | cpia2_core.c | 72 unsigned long kva, ret; in kvirt_to_pa() local 74 kva = (unsigned long) page_address(vmalloc_to_page((void *)adr)); in kvirt_to_pa() 75 kva |= adr & (PAGE_SIZE-1); /* restore the offset */ in kvirt_to_pa() 76 ret = __pa(kva); in kvirt_to_pa()
|
/linux-6.1.9/drivers/infiniband/hw/irdma/ |
D | verbs.c | 2977 u64 kva = 0; in irdma_get_dma_mr() local 2979 return irdma_reg_phys_mr(pd, 0, 0, acc, &kva); in irdma_get_dma_mr()
|