Lines Matching refs:dma_handle
55 # define bfin_mac_alloc(dma_handle, size, num) l1_data_sram_zalloc(size*num) argument
56 # define bfin_mac_free(dma_handle, ptr, num) l1_data_sram_free(ptr) argument
58 # define bfin_mac_alloc(dma_handle, size, num) \ argument
59 dma_alloc_coherent(NULL, size*num, dma_handle, GFP_KERNEL)
60 # define bfin_mac_free(dma_handle, ptr, num) \ argument
61 dma_free_coherent(NULL, sizeof(*ptr)*num, ptr, dma_handle)
84 dma_addr_t dma_handle = 0; in desc_list_free() local
98 bfin_mac_free(dma_handle, tx_desc, CONFIG_BFIN_TX_DESC_NUM); in desc_list_free()
112 bfin_mac_free(dma_handle, rx_desc, CONFIG_BFIN_RX_DESC_NUM); in desc_list_free()
125 dma_addr_t dma_handle; in desc_list_init() local
128 tx_desc = bfin_mac_alloc(&dma_handle, in desc_list_init()
134 rx_desc = bfin_mac_alloc(&dma_handle, in desc_list_init()