Searched refs:dmamem (Results 1 – 8 of 8) sorted by relevance
/openbsd/sys/dev/pci/ |
H A D | if_vmx.c | 84 struct vmx_dmamem dmamem; member 96 struct vmx_dmamem dmamem; member 110 struct vmx_dmamem dmamem; member 685 memset(VMX_DMA_KVA(&ring->dmamem), 0, in vmxnet3_txinit() 686 VMX_DMA_LEN(&ring->dmamem)); in vmxnet3_txinit() 690 VMX_DMA_LEN(&comp_ring->dmamem)); in vmxnet3_txinit() 759 0, VMX_DMA_LEN(&ring->dmamem), in vmxnet3_rxfill() 798 memset(VMX_DMA_KVA(&ring->dmamem), 0, in vmxnet3_rxinit() 799 VMX_DMA_LEN(&ring->dmamem)); in vmxnet3_rxinit() 815 VMX_DMA_LEN(&comp_ring->dmamem)); in vmxnet3_rxinit() [all …]
|
H A D | emuxkivar.h | 43 struct dmamem { struct 79 struct dmamem *dmamem; member 235 struct dmamem *ptb; 236 struct dmamem *silentpage;
|
H A D | if_qwz_pci.c | 278 struct qwz_dmamem *dmamem; member 298 struct qwz_dmamem *dmamem; member 318 struct qwz_dmamem *dmamem; member 1096 if (ring->dmamem) { in qwz_pci_free_xfer_rings() 1098 ring->dmamem = NULL; in qwz_pci_free_xfer_rings() 1117 if (ring->dmamem == NULL) in qwz_pci_alloc_xfer_ring() 1249 if (ring->dmamem) { in qwz_pci_free_event_rings() 1251 ring->dmamem = NULL; in qwz_pci_free_event_rings() 1268 if (ring->dmamem == NULL) in qwz_pci_alloc_event_ring() 1307 if (ring->dmamem) in qwz_pci_free_cmd_ring() [all …]
|
H A D | if_qwx_pci.c | 274 struct qwx_dmamem *dmamem; member 294 struct qwx_dmamem *dmamem; member 314 struct qwx_dmamem *dmamem; member 1191 if (ring->dmamem) { in qwx_pci_free_xfer_rings() 1193 ring->dmamem = NULL; in qwx_pci_free_xfer_rings() 1212 if (ring->dmamem == NULL) in qwx_pci_alloc_xfer_ring() 1344 if (ring->dmamem) { in qwx_pci_free_event_rings() 1346 ring->dmamem = NULL; in qwx_pci_free_event_rings() 1363 if (ring->dmamem == NULL) in qwx_pci_alloc_event_ring() 1402 if (ring->dmamem) in qwx_pci_free_cmd_ring() [all …]
|
H A D | emuxki.c | 81 void emuxki_dmamem_free(struct dmamem *, int); 255 struct dmamem * 259 struct dmamem *mem; in emuxki_dmamem_alloc() 998 emuxki_dmamem_free(mem->dmamem, type); in emuxki_mem_delete() 1031 htole32((((DMAADDR(mem->dmamem) + in emuxki_pmem_alloc() 1036 return (KERNADDR(mem->dmamem)); in emuxki_pmem_alloc() 1056 return (KERNADDR(mem->dmamem)); in emuxki_rmem_alloc() 1653 if (KERNADDR(mem->dmamem) != ptr) in emuxki_voice_set_bufparms() 1695 DMAADDR(mem->dmamem)); in emuxki_voice_set_bufparms() 2193 if (KERNADDR(mem->dmamem) != ptr) in emuxki_freem() [all …]
|
H A D | ips.c | 373 struct dmamem { struct 405 struct dmamem sc_infom; 409 struct dmamem sc_cmdbm; 417 struct dmamem sc_sqm; 482 int ips_dmamem_alloc(struct dmamem *, bus_dma_tag_t, bus_size_t); 483 void ips_dmamem_free(struct dmamem *); 2034 ips_dmamem_alloc(struct dmamem *dm, bus_dma_tag_t tag, bus_size_t size) in ips_dmamem_alloc() 2066 ips_dmamem_free(struct dmamem *dm) in ips_dmamem_free()
|
H A D | if_nxe.c | 1071 } __packed *dmamem; in nxe_up() local 1091 sc->sc_ctx = nxe_dmamem_alloc(sc, sizeof(*dmamem), PAGE_SIZE); in nxe_up() 1095 dmamem = NXE_DMA_KVA(sc->sc_ctx); in nxe_up() 1098 ctx = &dmamem->ctx; in nxe_up() 1099 ctx->ctx_cmd_consumer_addr = htole64(dva + sizeof(dmamem->ctx)); in nxe_up() 1102 sc->sc_cmd_consumer = &dmamem->cmd_consumer; in nxe_up()
|
/openbsd/sys/arch/arm64/dev/ |
H A D | rtkit.c | 134 struct rtkit_dmamem dmamem[32]; member 170 if (state->ndmamem >= nitems(state->dmamem)) in rtkit_alloc() 208 state->dmamem[state->ndmamem].rdm_map = map; in rtkit_alloc() 209 state->dmamem[state->ndmamem].rdm_seg = seg; in rtkit_alloc() 210 state->dmamem[state->ndmamem].rdm_size = size; in rtkit_alloc() 211 state->dmamem[state->ndmamem].rdm_kva = kva; in rtkit_alloc() 891 state->dmamem[i].rdm_seg.ds_addr, in rtkit_shutdown() 892 state->dmamem[i].rdm_seg.ds_len); in rtkit_shutdown() 894 bus_dmamap_unload(rk->rk_dmat, state->dmamem[i].rdm_map); in rtkit_shutdown() 896 bus_dmamem_unmap(rk->rk_dmat, state->dmamem[i].rdm_kva, in rtkit_shutdown() [all …]
|