/drivers/scsi/bfa/ |
D | bfa_hw_ct.c | 37 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); in bfa_hwct_reginit() local 41 bfa_regs->intr_status = (kva + HOSTFN0_INT_STATUS); in bfa_hwct_reginit() 42 bfa_regs->intr_mask = (kva + HOSTFN0_INT_MSK); in bfa_hwct_reginit() 44 bfa_regs->intr_status = (kva + HOSTFN1_INT_STATUS); in bfa_hwct_reginit() 45 bfa_regs->intr_mask = (kva + HOSTFN1_INT_MSK); in bfa_hwct_reginit() 53 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); in bfa_hwct2_reginit() local 55 bfa_regs->intr_status = (kva + CT2_HOSTFN_INT_STATUS); in bfa_hwct2_reginit() 56 bfa_regs->intr_mask = (kva + CT2_HOSTFN_INTR_MASK); in bfa_hwct2_reginit()
|
D | bfa_hw_cb.c | 27 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); in bfa_hwcb_reginit() local 31 bfa_regs->intr_status = (kva + HOSTFN0_INT_STATUS); in bfa_hwcb_reginit() 32 bfa_regs->intr_mask = (kva + HOSTFN0_INT_MSK); in bfa_hwcb_reginit() 34 bfa_regs->intr_status = (kva + HOSTFN1_INT_STATUS); in bfa_hwcb_reginit() 35 bfa_regs->intr_mask = (kva + HOSTFN1_INT_MSK); in bfa_hwcb_reginit()
|
D | bfa_core.c | 1119 iocfc->req_cq_ba[i].kva = bfa_mem_dma_virt(reqq_dma); in bfa_iocfc_mem_claim() 1121 memset(iocfc->req_cq_ba[i].kva, 0, per_reqq_sz); in bfa_iocfc_mem_claim() 1124 iocfc->rsp_cq_ba[i].kva = bfa_mem_dma_virt(rspq_dma); in bfa_iocfc_mem_claim() 1126 memset(iocfc->rsp_cq_ba[i].kva, 0, per_rspq_sz); in bfa_iocfc_mem_claim() 1134 iocfc->req_cq_shadow_ci[i].kva = dm_kva; in bfa_iocfc_mem_claim() 1139 iocfc->rsp_cq_shadow_pi[i].kva = dm_kva; in bfa_iocfc_mem_claim() 1146 bfa->iocfc.cfg_info.kva = dm_kva; in bfa_iocfc_mem_claim() 1153 bfa->iocfc.cfgrsp_dma.kva = dm_kva; in bfa_iocfc_mem_claim() 1256 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); in bfa_iocfc_qreg() local 1260 r->cpe_q_ci[i] = kva + be32_to_cpu(qreg->cpe_q_ci_off[i]); in bfa_iocfc_qreg() [all …]
|
D | bfa_port.c | 101 memcpy(port->stats, port->stats_dma.kva, in bfa_port_get_stats_isr() 219 port->stats_dma.kva = dma_kva; in bfa_port_mem_claim() 541 memcpy(cee->attr, cee->attr_dma.kva, in bfa_cee_get_attr_isr() 574 memcpy(cee->stats, cee->stats_dma.kva, in bfa_cee_get_stats_isr() 639 cee->attr_dma.kva = dma_kva; in bfa_cee_mem_claim() 641 cee->stats_dma.kva = dma_kva + BFA_ROUNDUP( in bfa_cee_mem_claim()
|
D | bfa.h | 46 (*(u32 *)((__bfa)->iocfc.req_cq_shadow_ci[__reqq].kva)) 55 ((void *)((struct bfi_msg_s *)((__bfa)->iocfc.req_cq_ba[__reqq].kva) \ 69 (*(u32 *)((__bfa)->iocfc.rsp_cq_shadow_pi[__rspq].kva)) 73 (&((struct bfi_msg_s *)((__bfa)->iocfc.rsp_cq_ba[__rspq].kva))[__ci])
|
D | bfad.c | 544 vfree(kva_elem->kva); in bfad_hal_mem_release() 551 dma_elem->mem_len, dma_elem->kva, in bfad_hal_mem_release() 613 kva_elem->kva = vmalloc(kva_elem->mem_len); in bfad_hal_mem_alloc() 614 if (kva_elem->kva == NULL) { in bfad_hal_mem_alloc() 619 memset(kva_elem->kva, 0, kva_elem->mem_len); in bfad_hal_mem_alloc() 625 dma_elem->kva = dma_alloc_coherent(&bfad->pcidev->dev, in bfad_hal_mem_alloc() 628 if (dma_elem->kva == NULL) { in bfad_hal_mem_alloc() 634 memset(dma_elem->kva, 0, dma_elem->mem_len); in bfad_hal_mem_alloc()
|
D | bfa_ioc.h | 94 u8 *kva; /* kernel virtual address */ member 104 u8 *kva; /* kernel virtual address */ member 170 void *kva; /* ! Kernel virtual address */ member
|
D | bfa_ioc.c | 2499 ioc->attr_dma.kva = dm_kva; in bfa_ioc_mem_claim() 3306 memcpy(ablk->cfg, ablk->dma_addr.kva, in bfa_ablk_isr() 3381 ablk->dma_addr.kva = dma_kva; in bfa_ablk_memclaim()
|
/drivers/misc/mic/cosm/ |
D | cosm_debugfs.c | 41 void *kva; in cosm_log_buf_show() local 68 kva = kmalloc(size, GFP_KERNEL); in cosm_log_buf_show() 69 if (!kva) in cosm_log_buf_show() 72 memcpy_fromio(kva, log_buf_va, size); in cosm_log_buf_show() 73 seq_write(s, kva, size); in cosm_log_buf_show() 74 kfree(kva); in cosm_log_buf_show()
|
/drivers/net/ethernet/brocade/bna/ |
D | bfa_msgq.c | 218 dst = (u8 *)cmdq->addr.kva; in __cmd_copy() 228 dst = (u8 *)cmdq->addr.kva; in __cmd_copy() 290 u8 *addr = (u8 *)cmdq->addr.kva; in bfa_msgq_cmdq_copy_rsp() 479 rspq_qe = (u8 *)rspq->addr.kva; in bfa_msgq_rspq_pi_update() 598 bfa_msgq_memclaim(struct bfa_msgq *msgq, u8 *kva, u64 pa) in bfa_msgq_memclaim() argument 600 msgq->cmdq.addr.kva = kva; in bfa_msgq_memclaim() 603 kva += roundup(BFA_MSGQ_CMDQ_SIZE, BFA_DMA_ALIGN_SZ); in bfa_msgq_memclaim() 606 msgq->rspq.addr.kva = kva; in bfa_msgq_memclaim() 654 src = (u8 *)rspq->addr.kva; in bfa_msgq_rsp_copy() 665 src = (u8 *)rspq->addr.kva; in bfa_msgq_rsp_copy()
|
D | bfa_cee.c | 83 memcpy(cee->attr, cee->attr_dma.kva, in bfa_cee_get_attr_isr() 103 memcpy(cee->stats, cee->stats_dma.kva, in bfa_cee_get_stats_isr() 149 cee->attr_dma.kva = dma_kva; in bfa_nw_cee_mem_claim() 151 cee->stats_dma.kva = dma_kva + bfa_cee_attr_meminfo(); in bfa_nw_cee_mem_claim()
|
D | bna_enet.c | 1700 u8 *kva; in bna_ioceth_init() local 1714 kva = res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1715 bfa_nw_ioc_mem_claim(&ioceth->ioc, kva, dma); in bna_ioceth_init() 1717 kva = res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1718 bfa_nw_ioc_debug_memclaim(&ioceth->ioc, kva); in bna_ioceth_init() 1726 kva = res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1728 bfa_nw_cee_mem_claim(&bna->cee, kva, dma); in bna_ioceth_init() 1729 kva += bfa_nw_cee_meminfo(); in bna_ioceth_init() 1733 bfa_nw_flash_memclaim(&bna->flash, kva, dma); in bna_ioceth_init() 1734 kva += bfa_nw_flash_meminfo(); in bna_ioceth_init() [all …]
|
D | bna_tx_rx.c | 636 res_info[BNA_RX_RES_MEM_T_RIT].res_u.mem_info.mdl[0].kva; in bna_rxf_init() 1869 u8 *kva; in bna_rxq_qpt_setup() local 1876 rxq->qpt.kv_qpt_ptr = qpt_mem->kva; in bna_rxq_qpt_setup() 1880 rxq->rcb->sw_qpt = (void **) swqpt_mem->kva; in bna_rxq_qpt_setup() 1881 rxq->rcb->sw_q = page_mem->kva; in bna_rxq_qpt_setup() 1883 kva = page_mem->kva; in bna_rxq_qpt_setup() 1887 rxq->rcb->sw_qpt[i] = kva; in bna_rxq_qpt_setup() 1888 kva += PAGE_SIZE; in bna_rxq_qpt_setup() 1907 u8 *kva; in bna_rxp_cqpt_setup() local 1914 rxp->cq.qpt.kv_qpt_ptr = qpt_mem->kva; in bna_rxp_cqpt_setup() [all …]
|
D | bfa_msgq.h | 123 void bfa_msgq_memclaim(struct bfa_msgq *msgq, u8 *kva, u64 pa);
|
D | bfa_ioc.h | 47 void *kva; /* ! Kernel virtual address */ member
|
D | bnad.c | 1329 if (mem_info->mdl[i].kva != NULL) { in bnad_mem_free() 1335 mem_info->mdl[i].kva, dma_pa); in bnad_mem_free() 1337 kfree(mem_info->mdl[i].kva); in bnad_mem_free() 1364 mem_info->mdl[i].kva = in bnad_mem_alloc() 1368 if (mem_info->mdl[i].kva == NULL) in bnad_mem_alloc() 1377 mem_info->mdl[i].kva = kzalloc(mem_info->len, in bnad_mem_alloc() 1379 if (mem_info->mdl[i].kva == NULL) in bnad_mem_alloc()
|
D | bna_types.h | 271 void *kva; member
|
/drivers/media/platform/qcom/venus/ |
D | hfi_venus.c | 113 void *kva; /* kernel virtual address */ member 186 if (!queue->qmem.kva) in venus_write_queue() 222 wr_ptr = (u32 *)(queue->qmem.kva + (wr_idx << 2)); in venus_write_queue() 231 memcpy(queue->qmem.kva, packet + len, new_wr_idx << 2); in venus_write_queue() 256 if (!queue->qmem.kva) in venus_read_queue() 289 rd_ptr = (u32 *)(queue->qmem.kva + (rd_idx << 2)); in venus_read_queue() 304 memcpy(pkt + len, queue->qmem.kva, new_rd_idx << 2); in venus_read_queue() 347 desc->kva = dma_alloc_attrs(dev, desc->size, &desc->da, GFP_KERNEL, in venus_alloc() 349 if (!desc->kva) in venus_alloc() 359 dma_free_attrs(dev, mem->size, mem->kva, mem->da, mem->attrs); in venus_free() [all …]
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.h | 78 u64 kva; member 94 u64 kva; member
|
D | iwch_provider.c | 468 if (mhp->kva) in iwch_dereg_mr() 469 kfree((void *) (unsigned long) mhp->kva); in iwch_dereg_mr()
|
/drivers/infiniband/hw/cxgb4/ |
D | iw_cxgb4.h | 395 u64 kva; member 412 u64 kva; member
|
D | mem.c | 767 if (mhp->kva) in c4iw_dereg_mr() 768 kfree((void *) (unsigned long) mhp->kva); in c4iw_dereg_mr()
|
/drivers/media/usb/cpia2/ |
D | cpia2_core.c | 81 unsigned long kva, ret; in kvirt_to_pa() local 83 kva = (unsigned long) page_address(vmalloc_to_page((void *)adr)); in kvirt_to_pa() 84 kva |= adr & (PAGE_SIZE-1); /* restore the offset */ in kvirt_to_pa() 85 ret = __pa(kva); in kvirt_to_pa()
|
/drivers/infiniband/hw/nes/ |
D | nes_hw.h | 1195 u64 *kva; member
|
/drivers/infiniband/hw/i40iw/ |
D | i40iw_verbs.c | 2033 u64 kva = 0; in i40iw_get_dma_mr() local 2035 return i40iw_reg_phys_mr(pd, 0, 0, acc, &kva); in i40iw_get_dma_mr()
|