/drivers/scsi/bfa/ |
D | bfa_hw_ct.c | 36 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); in bfa_hwct_reginit() local 40 bfa_regs->intr_status = (kva + HOSTFN0_INT_STATUS); in bfa_hwct_reginit() 41 bfa_regs->intr_mask = (kva + HOSTFN0_INT_MSK); in bfa_hwct_reginit() 43 bfa_regs->intr_status = (kva + HOSTFN1_INT_STATUS); in bfa_hwct_reginit() 44 bfa_regs->intr_mask = (kva + HOSTFN1_INT_MSK); in bfa_hwct_reginit() 52 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); in bfa_hwct2_reginit() local 54 bfa_regs->intr_status = (kva + CT2_HOSTFN_INT_STATUS); in bfa_hwct2_reginit() 55 bfa_regs->intr_mask = (kva + CT2_HOSTFN_INTR_MASK); in bfa_hwct2_reginit()
|
D | bfa_hw_cb.c | 26 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); in bfa_hwcb_reginit() local 30 bfa_regs->intr_status = (kva + HOSTFN0_INT_STATUS); in bfa_hwcb_reginit() 31 bfa_regs->intr_mask = (kva + HOSTFN0_INT_MSK); in bfa_hwcb_reginit() 33 bfa_regs->intr_status = (kva + HOSTFN1_INT_STATUS); in bfa_hwcb_reginit() 34 bfa_regs->intr_mask = (kva + HOSTFN1_INT_MSK); in bfa_hwcb_reginit()
|
D | bfa_core.c | 1115 iocfc->req_cq_ba[i].kva = bfa_mem_dma_virt(reqq_dma); in bfa_iocfc_mem_claim() 1117 memset(iocfc->req_cq_ba[i].kva, 0, per_reqq_sz); in bfa_iocfc_mem_claim() 1120 iocfc->rsp_cq_ba[i].kva = bfa_mem_dma_virt(rspq_dma); in bfa_iocfc_mem_claim() 1122 memset(iocfc->rsp_cq_ba[i].kva, 0, per_rspq_sz); in bfa_iocfc_mem_claim() 1130 iocfc->req_cq_shadow_ci[i].kva = dm_kva; in bfa_iocfc_mem_claim() 1135 iocfc->rsp_cq_shadow_pi[i].kva = dm_kva; in bfa_iocfc_mem_claim() 1142 bfa->iocfc.cfg_info.kva = dm_kva; in bfa_iocfc_mem_claim() 1149 bfa->iocfc.cfgrsp_dma.kva = dm_kva; in bfa_iocfc_mem_claim() 1244 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); in bfa_iocfc_qreg() local 1248 r->cpe_q_ci[i] = kva + be32_to_cpu(qreg->cpe_q_ci_off[i]); in bfa_iocfc_qreg() [all …]
|
D | bfa_port.c | 100 memcpy(port->stats, port->stats_dma.kva, in bfa_port_get_stats_isr() 218 port->stats_dma.kva = dma_kva; in bfa_port_mem_claim() 540 memcpy(cee->attr, cee->attr_dma.kva, in bfa_cee_get_attr_isr() 573 memcpy(cee->stats, cee->stats_dma.kva, in bfa_cee_get_stats_isr() 638 cee->attr_dma.kva = dma_kva; in bfa_cee_mem_claim() 640 cee->stats_dma.kva = dma_kva + BFA_ROUNDUP( in bfa_cee_mem_claim()
|
D | bfa.h | 45 (*(u32 *)((__bfa)->iocfc.req_cq_shadow_ci[__reqq].kva)) 54 ((void *)((struct bfi_msg_s *)((__bfa)->iocfc.req_cq_ba[__reqq].kva) \ 68 (*(u32 *)((__bfa)->iocfc.rsp_cq_shadow_pi[__rspq].kva)) 72 (&((struct bfi_msg_s *)((__bfa)->iocfc.rsp_cq_ba[__rspq].kva))[__ci])
|
D | bfad.c | 547 vfree(kva_elem->kva); in bfad_hal_mem_release() 554 dma_elem->mem_len, dma_elem->kva, in bfad_hal_mem_release() 616 kva_elem->kva = vmalloc(kva_elem->mem_len); in bfad_hal_mem_alloc() 617 if (kva_elem->kva == NULL) { in bfad_hal_mem_alloc() 622 memset(kva_elem->kva, 0, kva_elem->mem_len); in bfad_hal_mem_alloc() 628 dma_elem->kva = dma_alloc_coherent(&bfad->pcidev->dev, in bfad_hal_mem_alloc() 631 if (dma_elem->kva == NULL) { in bfad_hal_mem_alloc() 637 memset(dma_elem->kva, 0, dma_elem->mem_len); in bfad_hal_mem_alloc()
|
D | bfa_ioc.h | 93 u8 *kva; /* kernel virtual address */ member 103 u8 *kva; /* kernel virtual address */ member 165 void *kva; /* ! Kernel virtual address */ member
|
/drivers/net/ethernet/brocade/bna/ |
D | bfa_msgq.c | 216 dst = (u8 *)cmdq->addr.kva; in __cmd_copy() 226 dst = (u8 *)cmdq->addr.kva; in __cmd_copy() 288 u8 *addr = (u8 *)cmdq->addr.kva; in bfa_msgq_cmdq_copy_rsp() 477 rspq_qe = (u8 *)rspq->addr.kva; in bfa_msgq_rspq_pi_update() 596 bfa_msgq_memclaim(struct bfa_msgq *msgq, u8 *kva, u64 pa) in bfa_msgq_memclaim() argument 598 msgq->cmdq.addr.kva = kva; in bfa_msgq_memclaim() 601 kva += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ); in bfa_msgq_memclaim() 604 msgq->rspq.addr.kva = kva; in bfa_msgq_memclaim() 653 src = (u8 *)rspq->addr.kva; in bfa_msgq_rsp_copy() 664 src = (u8 *)rspq->addr.kva; in bfa_msgq_rsp_copy()
|
D | bfa_cee.c | 82 memcpy(cee->attr, cee->attr_dma.kva, in bfa_cee_get_attr_isr() 102 memcpy(cee->stats, cee->stats_dma.kva, in bfa_cee_get_stats_isr() 148 cee->attr_dma.kva = dma_kva; in bfa_nw_cee_mem_claim() 150 cee->stats_dma.kva = dma_kva + bfa_cee_attr_meminfo(); in bfa_nw_cee_mem_claim()
|
D | bna_enet.c | 1717 u8 *kva; in bna_ioceth_init() local 1731 kva = res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1732 bfa_nw_ioc_mem_claim(&ioceth->ioc, kva, dma); in bna_ioceth_init() 1734 kva = res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1735 bfa_nw_ioc_debug_memclaim(&ioceth->ioc, kva); in bna_ioceth_init() 1743 kva = res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1745 bfa_nw_cee_mem_claim(&bna->cee, kva, dma); in bna_ioceth_init() 1746 kva += bfa_nw_cee_meminfo(); in bna_ioceth_init() 1750 bfa_nw_flash_memclaim(&bna->flash, kva, dma); in bna_ioceth_init() 1751 kva += bfa_nw_flash_meminfo(); in bna_ioceth_init() [all …]
|
D | bna_tx_rx.c | 766 res_info[BNA_RX_RES_MEM_T_RIT].res_u.mem_info.mdl[0].kva; in bna_rxf_init() 2082 u8 *kva; in bna_rxq_qpt_setup() local 2089 rxq->qpt.kv_qpt_ptr = qpt_mem->kva; in bna_rxq_qpt_setup() 2093 rxq->rcb->sw_qpt = (void **) swqpt_mem->kva; in bna_rxq_qpt_setup() 2094 rxq->rcb->sw_q = page_mem->kva; in bna_rxq_qpt_setup() 2096 kva = page_mem->kva; in bna_rxq_qpt_setup() 2100 rxq->rcb->sw_qpt[i] = kva; in bna_rxq_qpt_setup() 2101 kva += PAGE_SIZE; in bna_rxq_qpt_setup() 2120 u8 *kva; in bna_rxp_cqpt_setup() local 2127 rxp->cq.qpt.kv_qpt_ptr = qpt_mem->kva; in bna_rxp_cqpt_setup() [all …]
|
D | bfa_msgq.h | 122 void bfa_msgq_memclaim(struct bfa_msgq *msgq, u8 *kva, u64 pa);
|
D | bfa_ioc.h | 46 void *kva; /* ! Kernel virtual address */ member
|
D | bnad.c | 1332 if (mem_info->mdl[i].kva != NULL) { in bnad_mem_free() 1338 mem_info->mdl[i].kva, dma_pa); in bnad_mem_free() 1340 kfree(mem_info->mdl[i].kva); in bnad_mem_free() 1367 mem_info->mdl[i].kva = in bnad_mem_alloc() 1371 if (mem_info->mdl[i].kva == NULL) in bnad_mem_alloc() 1380 mem_info->mdl[i].kva = kzalloc(mem_info->len, in bnad_mem_alloc() 1382 if (mem_info->mdl[i].kva == NULL) in bnad_mem_alloc()
|
D | bna_types.h | 277 void *kva; member
|
/drivers/misc/mic/host/ |
D | mic_debugfs.c | 45 void *kva; in mic_log_buf_show() local 61 kva = kmalloc(size, GFP_KERNEL); in mic_log_buf_show() 62 if (!kva) in mic_log_buf_show() 65 memcpy_fromio(kva, log_buf_va, size); in mic_log_buf_show() 70 seq_write(s, kva, size); in mic_log_buf_show() 76 kfree(kva); in mic_log_buf_show()
|
/drivers/infiniband/hw/amso1100/ |
D | c2_provider.c | 418 u64 kva = 0; in c2_get_dma_mr() local 425 return c2_reg_phys_mr(pd, &bl, 1, acc, &kva); in c2_get_dma_mr() 432 u64 kva = 0; in c2_reg_user_mr() local 473 kva = virt; in c2_reg_user_mr() 480 &kva, in c2_reg_user_mr() 748 memcpy_fromio(netdev->dev_addr, c2dev->kva + C2_REGS_RDMA_ENADDR, 6); in c2_pseudo_netdev_init()
|
D | c2.c | 1136 c2dev->kva = ioremap_nocache(reg4_start + C2_PCI_REGS_OFFSET, in c2_probe() 1138 if (!c2dev->kva) { in c2_probe() 1160 iounmap(c2dev->kva); in c2_probe() 1216 iounmap(c2dev->kva); in c2_remove()
|
D | c2.h | 299 void __iomem *kva; /* KVA device memory */ member
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.h | 78 u64 kva; member 92 u64 kva; member
|
D | iwch_provider.c | 463 if (mhp->kva) in iwch_dereg_mr() 464 kfree((void *) (unsigned long) mhp->kva); in iwch_dereg_mr() 722 u64 kva; in iwch_get_dma_mr() local 732 kva = 0; in iwch_get_dma_mr() 733 ibmr = iwch_register_phys_mem(pd, &bl, 1, acc, &kva); in iwch_get_dma_mr()
|
/drivers/infiniband/hw/cxgb4/ |
D | iw_cxgb4.h | 389 u64 kva; member 401 u64 kva; member
|
D | mem.c | 948 if (mhp->kva) in c4iw_dereg_mr() 949 kfree((void *) (unsigned long) mhp->kva); in c4iw_dereg_mr()
|
/drivers/media/usb/cpia2/ |
D | cpia2_core.c | 84 unsigned long kva, ret; in kvirt_to_pa() local 86 kva = (unsigned long) page_address(vmalloc_to_page((void *)adr)); in kvirt_to_pa() 87 kva |= adr & (PAGE_SIZE-1); /* restore the offset */ in kvirt_to_pa() 88 ret = __pa(kva); in kvirt_to_pa()
|
/drivers/infiniband/hw/nes/ |
D | nes_verbs.c | 472 pnesfrpl->nes_wqe_pbl.kva = pci_alloc_consistent(nesdev->pcidev, in nes_alloc_fast_reg_page_list() 476 if (!pnesfrpl->nes_wqe_pbl.kva) { in nes_alloc_fast_reg_page_list() 483 pnesfrpl->ibfrpl.page_list, pnesfrpl->nes_wqe_pbl.kva, in nes_alloc_fast_reg_page_list() 504 pnesfrpl->nes_wqe_pbl.kva, in nes_free_fast_reg_page_list() 2285 u64 kva = 0; in nes_get_dma_mr() local 2291 return nes_reg_phys_mr(pd, &bl, 1, acc, &kva); in nes_get_dma_mr() 3418 u64 *dst_page_list = pnesfrpl->nes_wqe_pbl.kva; in nes_post_send()
|