Lines Matching refs:dmat
843 bus_dma_tag_t dmat; in ahc_dma_tag_create() local
845 dmat = kmalloc(sizeof(*dmat), GFP_ATOMIC); in ahc_dma_tag_create()
846 if (dmat == NULL) in ahc_dma_tag_create()
856 dmat->alignment = alignment; in ahc_dma_tag_create()
857 dmat->boundary = boundary; in ahc_dma_tag_create()
858 dmat->maxsize = maxsize; in ahc_dma_tag_create()
859 *ret_tag = dmat; in ahc_dma_tag_create()
864 ahc_dma_tag_destroy(struct ahc_softc *ahc, bus_dma_tag_t dmat) in ahc_dma_tag_destroy() argument
866 kfree(dmat); in ahc_dma_tag_destroy()
870 ahc_dmamem_alloc(struct ahc_softc *ahc, bus_dma_tag_t dmat, void** vaddr, in ahc_dmamem_alloc() argument
874 dmat->maxsize, mapp); in ahc_dmamem_alloc()
881 ahc_dmamem_free(struct ahc_softc *ahc, bus_dma_tag_t dmat, in ahc_dmamem_free() argument
884 pci_free_consistent(ahc->dev_softc, dmat->maxsize, in ahc_dmamem_free()
889 ahc_dmamap_load(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map, in ahc_dmamap_load() argument
900 stack_sg.ds_len = dmat->maxsize; in ahc_dmamap_load()
906 ahc_dmamap_destroy(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map) in ahc_dmamap_destroy() argument
911 ahc_dmamap_unload(struct ahc_softc *ahc, bus_dma_tag_t dmat, bus_dmamap_t map) in ahc_dmamap_unload() argument