Searched refs:jzchan (Results 1 – 1 of 1) sorted by relevance
177 struct jz4780_dma_chan *jzchan) in jz4780_dma_chan_parent() argument179 return container_of(jzchan->vchan.chan.device, struct jz4780_dma_dev, in jz4780_dma_chan_parent()231 jz4780_dma_desc_alloc(struct jz4780_dma_chan *jzchan, unsigned int count, in jz4780_dma_desc_alloc() argument244 desc->desc = dma_pool_alloc(jzchan->desc_pool, GFP_NOWAIT, in jz4780_dma_desc_alloc()255 desc->transfer_type = jzchan->transfer_type_rx; in jz4780_dma_desc_alloc()257 desc->transfer_type = jzchan->transfer_type_tx; in jz4780_dma_desc_alloc()265 struct jz4780_dma_chan *jzchan = to_jz4780_dma_chan(vdesc->tx.chan); in jz4780_dma_desc_free() local267 dma_pool_free(jzchan->desc_pool, desc->desc, desc->desc_phys); in jz4780_dma_desc_free()271 static u32 jz4780_dma_transfer_size(struct jz4780_dma_chan *jzchan, in jz4780_dma_transfer_size() argument274 struct jz4780_dma_dev *jzdma = jz4780_dma_chan_parent(jzchan); in jz4780_dma_transfer_size()[all …]