Lines Matching refs:dma_hdl
797 DDI_DMA_SLEEP, NULL, &dma_p->dma_hdl); in wpi_alloc_dma_mem()
799 dma_p->dma_hdl = NULL; in wpi_alloc_dma_mem()
806 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize, acc_attr_p, in wpi_alloc_dma_mem()
810 ddi_dma_free_handle(&dma_p->dma_hdl); in wpi_alloc_dma_mem()
811 dma_p->dma_hdl = NULL; in wpi_alloc_dma_mem()
820 err = ddi_dma_addr_bind_handle(dma_p->dma_hdl, NULL, in wpi_alloc_dma_mem()
825 ddi_dma_free_handle(&dma_p->dma_hdl); in wpi_alloc_dma_mem()
827 dma_p->dma_hdl = NULL; in wpi_alloc_dma_mem()
844 if (dma_p->dma_hdl != NULL) { in wpi_free_dma_mem()
846 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); in wpi_free_dma_mem()
849 ddi_dma_free_handle(&dma_p->dma_hdl); in wpi_free_dma_mem()
850 dma_p->dma_hdl = NULL; in wpi_free_dma_mem()
889 c = ddi_dma_cookie_get(dma_p->dma_hdl, i); in wpi_alloc_fw_dma()
907 c = ddi_dma_cookie_get(dma_p->dma_hdl, i); in wpi_alloc_fw_dma()
1024 if (sc->sc_rxq.data[i].dma_data.dma_hdl) in wpi_free_rx_ring()
1030 if (sc->sc_rxq.dma_desc.dma_hdl) in wpi_free_rx_ring()
1154 if (ring->dma_desc.dma_hdl != NULL) in wpi_free_tx_ring()
1158 if (ring->dma_cmd.dma_hdl != NULL) in wpi_free_tx_ring()
1164 if (ring->data[i].dma_data.dma_hdl) in wpi_free_tx_ring()
1610 (void) ddi_dma_sync(dma_p->dma_hdl, 0, size, DDI_DMA_SYNC_FORDEV); in wpi_load_firmware()