/linux-6.3-rc2/drivers/scsi/bfa/ |
A 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()
|
A 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()
|
A D | bfa_core.c | 1113 memset(iocfc->req_cq_ba[i].kva, 0, per_reqq_sz); 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 1841 dma_info->kva_curp = dma_info->kva; in bfa_attach() 1845 kva_info->kva_curp = kva_info->kva; in bfa_attach() 1849 dma_elem->kva_curp = dma_elem->kva; in bfa_attach() [all …]
|
A 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()
|
A 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])
|
A 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()
|
A 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
|
A 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()
|
A D | bfa_fcpim.c | 3708 fcp->snsbase[idx].kva = bfa_mem_dma_virt(seg_ptr); in bfa_fcp_attach()
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A 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.3-rc2/drivers/net/ethernet/brocade/bna/ |
A D | bfa_msgq.c | 209 dst = (u8 *)cmdq->addr.kva; in __cmd_copy() 219 dst = (u8 *)cmdq->addr.kva; in __cmd_copy() 280 u8 *addr = (u8 *)cmdq->addr.kva; in bfa_msgq_cmdq_copy_rsp() 469 rspq_qe = (u8 *)rspq->addr.kva; in bfa_msgq_rspq_pi_update() 588 bfa_msgq_memclaim(struct bfa_msgq *msgq, u8 *kva, u64 pa) in bfa_msgq_memclaim() argument 590 msgq->cmdq.addr.kva = kva; in bfa_msgq_memclaim() 593 kva += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ); in bfa_msgq_memclaim() 596 msgq->rspq.addr.kva = kva; in bfa_msgq_memclaim() 644 src = (u8 *)rspq->addr.kva; in bfa_msgq_rsp_copy() 655 src = (u8 *)rspq->addr.kva; in bfa_msgq_rsp_copy()
|
A 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()
|
A 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() 1726 kva += bfa_nw_flash_meminfo(); in bna_ioceth_init() 1730 bfa_msgq_memclaim(&bna->msgq, kva, dma); in bna_ioceth_init() [all …]
|
A D | bna_tx_rx.c | 1861 u8 *kva; in bna_rxq_qpt_setup() local 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 1913 kva = page_mem->kva; in bna_rxp_cqpt_setup() 1918 kva += PAGE_SIZE; in bna_rxp_cqpt_setup() 3166 u8 *kva; in bna_txq_qpt_setup() local 3180 kva = page_mem->kva; in bna_txq_qpt_setup() 3184 txq->tcb->sw_qpt[i] = kva; in bna_txq_qpt_setup() [all …]
|
A D | bfa_msgq.h | 119 void bfa_msgq_memclaim(struct bfa_msgq *msgq, u8 *kva, u64 pa);
|
A D | bfa_ioc.h | 39 void *kva; /* ! Kernel virtual address */ member
|
A 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()
|
A D | bna_types.h | 263 void *kva; member
|
A D | bfa_ioc.c | 2586 ioc->attr_dma.kva = dm_kva; in bfa_nw_ioc_mem_claim()
|
/linux-6.3-rc2/drivers/media/platform/qcom/venus/ |
A 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() 242 if (!queue->qmem.kva) in venus_read_queue() 335 if (!desc->kva) in venus_alloc() 786 queue->qmem.kva = desc.kva + offset; in venus_interface_queues_init() 804 tbl_hdr = hdev->ifaceq_table.kva; in venus_interface_queues_init() 824 sfr = hdev->sfr.kva; in venus_interface_queues_init() 1051 struct hfi_sfr *sfr = hdev->sfr.kva; in venus_sfr_print() 1751 tbl_hdr = hdev->ifaceq_table.kva; in venus_hfi_queues_reinit() [all …]
|
/linux-6.3-rc2/arch/mips/kernel/ |
A 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.3-rc2/drivers/infiniband/sw/siw/ |
A 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.3-rc2/drivers/infiniband/hw/cxgb4/ |
A D | iw_cxgb4.h | 394 u64 kva; member 412 u64 kva; member
|
A D | mem.c | 720 if (mhp->kva) in c4iw_dereg_mr() 721 kfree((void *) (unsigned long) mhp->kva); in c4iw_dereg_mr()
|
/linux-6.3-rc2/drivers/infiniband/hw/irdma/ |
A D | verbs.c | 3083 u64 kva = 0; in irdma_get_dma_mr() local 3085 return irdma_reg_phys_mr(pd, 0, 0, acc, &kva); in irdma_get_dma_mr()
|