Home
last modified time | relevance | path

Searched refs:dev_dmat (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/scsi/sym53c8xx_2/
Dsym_malloc.c265 static inline m_pool_p ___get_dma_pool(m_pool_ident_t dev_dmat) in ___get_dma_pool() argument
269 mp && !sym_m_pool_match(mp->dev_dmat, dev_dmat); in ___get_dma_pool()
275 static m_pool_p ___cre_dma_pool(m_pool_ident_t dev_dmat) in ___cre_dma_pool() argument
279 mp->dev_dmat = dev_dmat; in ___cre_dma_pool()
312 void *__sym_calloc_dma(m_pool_ident_t dev_dmat, int size, char *name) in __sym_calloc_dma() argument
319 mp = ___get_dma_pool(dev_dmat); in __sym_calloc_dma()
321 mp = ___cre_dma_pool(dev_dmat); in __sym_calloc_dma()
335 void __sym_mfree_dma(m_pool_ident_t dev_dmat, void *m, int size, char *name) in __sym_mfree_dma() argument
341 mp = ___get_dma_pool(dev_dmat); in __sym_mfree_dma()
357 dma_addr_t __vtobus(m_pool_ident_t dev_dmat, void *m) in __vtobus() argument
[all …]
Dsym_hipd.h1164 m_pool_ident_t dev_dmat; /* Identifies the pool (see above) */ member
1181 void *__sym_calloc_dma(m_pool_ident_t dev_dmat, int size, char *name);
1182 void __sym_mfree_dma(m_pool_ident_t dev_dmat, void *m, int size, char *name);
1183 dma_addr_t __vtobus(m_pool_ident_t dev_dmat, void *m);
1211 vaddr = dma_alloc_coherent(mp->dev_dmat, SYM_MEM_CLUSTER_SIZE, &baddr, in sym_m_get_dma_mem_cluster()
1222 dma_free_coherent(mp->dev_dmat, SYM_MEM_CLUSTER_SIZE, vbp->vaddr, in sym_m_free_dma_mem_cluster()