Lines Matching refs:cpdma_params
98 struct cpdma_params params;
214 struct cpdma_params *cpdma_params = &ctlr->params; in cpdma_desc_pool_create() local
223 pool->mem_size = cpdma_params->desc_mem_size; in cpdma_desc_pool_create()
225 cpdma_params->desc_align); in cpdma_desc_pool_create()
228 if (cpdma_params->descs_pool_size) { in cpdma_desc_pool_create()
234 pool->num_desc = cpdma_params->descs_pool_size; in cpdma_desc_pool_create()
236 if (pool->mem_size > cpdma_params->desc_mem_size) in cpdma_desc_pool_create()
237 cpdma_params->desc_mem_phys = 0; in cpdma_desc_pool_create()
248 if (cpdma_params->desc_mem_phys) { in cpdma_desc_pool_create()
249 pool->phys = cpdma_params->desc_mem_phys; in cpdma_desc_pool_create()
252 pool->hw_addr = cpdma_params->desc_hw_addr; in cpdma_desc_pool_create()
510 struct cpdma_ctlr *cpdma_ctlr_create(struct cpdma_params *params) in cpdma_ctlr_create()