Home
last modified time | relevance | path

Searched refs:dma_vaddr (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/dev/qat/qat_common/
H A Dqat_freebsd.c70 &mem->dma_vaddr, in bus_dma_mem_create()
80 mem->dma_vaddr, in bus_dma_mem_create()
100 if (mem->dma_vaddr != NULL) in bus_dma_mem_free()
101 bus_dmamem_free(mem->dma_tag, mem->dma_vaddr, mem->dma_map); in bus_dma_mem_free()
H A Dadf_freebsd_admin.c485 admin->virt_addr = admin->dma_mem.dma_vaddr; in adf_init_admin_comms()
562 admin->virt_hb_addr = admin->dma_hb.dma_vaddr; in adf_init_admin_comms()
H A Dadf_transport.c330 ring->base_addr = ring->dma_mem.dma_vaddr; in adf_init_ring()
H A Dqat_uclo.c1589 dram_desc->dram_base_addr_v = dram_desc->dram_mem.dma_vaddr; in qat_uclo_simg_alloc()
/freebsd/sys/dev/glxsb/
H A Dglxsb.c164 caddr_t dma_vaddr; /* virtual address */ member
393 rc = bus_dmamem_alloc(sc->sc_dmat, (void **)&dma->dma_vaddr, in glxsb_dma_alloc()
402 rc = bus_dmamap_load(sc->sc_dmat, dma->dma_map, dma->dma_vaddr, in glxsb_dma_alloc()
414 bus_dmamem_free(sc->sc_dmat, dma->dma_vaddr, dma->dma_map); in glxsb_dma_alloc()
441 bus_dmamem_free(sc->sc_dmat, dma->dma_vaddr, dma->dma_map); in glxsb_dma_free()
645 op_src = sc->sc_dma.dma_vaddr; in glxsb_crypto_encdec()
646 op_dst = (char *)sc->sc_dma.dma_vaddr + xlen; in glxsb_crypto_encdec()
699 bzero(sc->sc_dma.dma_vaddr, xlen * 2); in glxsb_crypto_encdec()
/freebsd/sys/dev/vmware/vmci/
H A Dvmci.c250 if (sc->vmci_notifications_bitmap.dma_vaddr != NULL) in vmci_detach()
415 memset(sc->vmci_notifications_bitmap.dma_vaddr, 0, in vmci_config_capabilities()
513 error = bus_dmamem_alloc(dma->dma_tag, (void **)&dma->dma_vaddr, in vmci_dma_malloc_int()
520 error = bus_dmamap_load(dma->dma_tag, dma->dma_map, dma->dma_vaddr, in vmci_dma_malloc_int()
591 if (dma->dma_vaddr != NULL) in vmci_dma_free_int()
592 bus_dmamem_free(dma->dma_tag, dma->dma_vaddr, in vmci_dma_free_int()
985 if (vmci_sc->vmci_notifications_bitmap.dma_vaddr == NULL) in process_bitmap()
989 vmci_sc->vmci_notifications_bitmap.dma_vaddr); in process_bitmap()
H A Dvmci_kernel_if.c538 if (!queue->kernel_if->dmas[i].dma_vaddr) { in vmci_alloc_queue()
546 queue->q_header = (void *)queue->kernel_if->dmas[0].dma_vaddr; in vmci_alloc_queue()
832 va = (void *)kernel_if->dmas[page_index + 1].dma_vaddr; in __vmci_memcpy_to_queue()
889 va = (void *)kernel_if->dmas[page_index + 1].dma_vaddr; in __vmci_memcpy_from_queue()
H A Dvmci.h31 caddr_t dma_vaddr; member
/freebsd/usr.sbin/bhyve/
H A Dpci_hda.c94 void *dma_vaddr; member
173 static void hda_dma_st_dword(void *dma_vaddr, uint32_t data);
174 static uint32_t hda_dma_ld_dword(void *dma_vaddr);
731 DPRINTF("%s dma_vaddr: %p", p->name, p->dma_vaddr); in hda_print_cmd_ctl_data()
766 corb->dma_vaddr = hda_dma_get_vaddr(sc, corbpaddr, in hda_corb_start()
768 if (!corb->dma_vaddr) { in hda_corb_start()
801 verb = hda_dma_ld_dword((uint8_t *)corb->dma_vaddr + in hda_corb_run()
842 rirb->dma_vaddr = hda_dma_get_vaddr(sc, rirbpaddr, in hda_rirb_start()
844 if (!rirb->dma_vaddr) { in hda_rirb_start()
870 hda_dma_st_dword(void *dma_vaddr, uint32_t data) in hda_dma_st_dword() argument
[all …]
/freebsd/sys/dev/sec/
H A Dsec.c158 if (dma_mem->dma_vaddr != NULL) in sec_sync_dma_mem()
166 return (desc->sd_ptr_dmem[n].dma_vaddr); in sec_get_pointer_data()
290 (struct sec_hw_desc*)(sc->sc_desc_dmem.dma_vaddr) + i; in sec_attach()
297 (struct sec_hw_lt*)(sc->sc_lt_dmem.dma_vaddr) + i; in sec_attach()
781 if (dma_mem->dma_vaddr != NULL) in sec_alloc_dma_mem()
800 error = bus_dmamem_alloc(dma_mem->dma_tag, &(dma_mem->dma_vaddr), in sec_alloc_dma_mem()
810 dma_mem->dma_vaddr, size, sec_alloc_dma_mem_cb, dma_mem, in sec_alloc_dma_mem()
823 bus_dmamem_free(dma_mem->dma_tag, dma_mem->dma_vaddr, dma_mem->dma_map); in sec_alloc_dma_mem()
827 dma_mem->dma_vaddr = NULL; in sec_alloc_dma_mem()
837 if (dma_mem->dma_vaddr != NULL) in sec_desc_map_dma()
[all …]
H A Dsec.h124 void *dma_vaddr; member
/freebsd/sys/dev/qat/qat/
H A Dqat_ocf_mem_pool.c218 &dma_mem->dma_vaddr, in qat_ocf_alloc_dma_mem()
230 dma_mem->dma_vaddr, in qat_ocf_alloc_dma_mem()
244 bus_dmamem_free(dma_mem->dma_tag, dma_mem->dma_vaddr, dma_mem->dma_map); in qat_ocf_alloc_dma_mem()
254 if (qdm->dma_tag != NULL && qdm->dma_vaddr != NULL) { in qat_ocf_free_dma_mem()
256 bus_dmamem_free(qdm->dma_tag, qdm->dma_vaddr, qdm->dma_map); in qat_ocf_free_dma_mem()
425 qat_cookie = entry_dma_mem->dma_vaddr; in qat_ocf_cookie_pool_init()
/freebsd/sys/dev/sound/pci/hda/
H A Dhdac.c638 result = bus_dmamem_alloc(dma->dma_tag, (void **)&dma->dma_vaddr, in hdac_dma_alloc()
655 (void *)dma->dma_vaddr, roundsz, hdac_dma_cb, (void *)dma, 0); in hdac_dma_alloc()
693 if (dma->dma_vaddr != NULL) { in hdac_dma_free()
694 bus_dmamem_free(dma->dma_tag, dma->dma_vaddr, dma->dma_map); in hdac_dma_free()
695 dma->dma_vaddr = NULL; in hdac_dma_free()
961 rirb_base = (struct hdac_rirb *)sc->rirb_dma.dma_vaddr; in hdac_rirb_flush()
1039 corb = (uint32_t *)sc->corb_dma.dma_vaddr; in hdac_send_command()
1963 if (sc->pos_dma.dma_vaddr != NULL) in hdac_stream_alloc()
1964 *dmapos = (uint32_t *)(sc->pos_dma.dma_vaddr + ss * 8); in hdac_stream_alloc()
2004 bdle = (struct hdac_bdle *)sc->streams[ss].bdl.dma_vaddr; in hdac_stream_start()
H A Dhdac_private.h123 caddr_t dma_vaddr; member
/freebsd/sys/dev/qat/include/common/
H A Dqat_freebsd.h67 void *dma_vaddr; member
/freebsd/sys/dev/qat/include/
H A Dqat_ocf_mem_pool.h34 void *dma_vaddr; member
/freebsd/sys/dev/safe/
H A Dsafe.c324 sc->sc_ring = (struct safe_ringentry *) sc->sc_ringalloc.dma_vaddr; in safe_attach()
355 sc->sc_spring = (struct safe_pdesc *) sc->sc_spalloc.dma_vaddr; in safe_attach()
370 sc->sc_dpring = (struct safe_pdesc *) sc->sc_dpalloc.dma_vaddr; in safe_attach()
1552 r = bus_dmamem_alloc(dma->dma_tag, (void**) &dma->dma_vaddr, in safe_dma_malloc()
1561 r = bus_dmamap_load(dma->dma_tag, dma->dma_map, dma->dma_vaddr, in safe_dma_malloc()
1577 bus_dmamem_free(dma->dma_tag, dma->dma_vaddr, dma->dma_map); in safe_dma_malloc()
1589 bus_dmamem_free(dma->dma_tag, dma->dma_vaddr, dma->dma_map); in safe_dma_free()
H A Dsafevar.h59 caddr_t dma_vaddr; /* virtual address */ member
/freebsd/sys/dev/ixgbe/
H A Dixgbe.h245 caddr_t dma_vaddr; member