Lines Matching refs:daddrs
147 page_start = tmc_pages->daddrs[i]; in tmc_pages_get_offset()
167 if (tmc_pages->daddrs && tmc_pages->daddrs[i]) in tmc_pages_free()
168 dma_unmap_page(real_dev, tmc_pages->daddrs[i], in tmc_pages_free()
175 kfree(tmc_pages->daddrs); in tmc_pages_free()
177 tmc_pages->daddrs = NULL; in tmc_pages_free()
199 tmc_pages->daddrs = kcalloc(nr_pages, sizeof(*tmc_pages->daddrs), in tmc_pages_alloc()
201 if (!tmc_pages->daddrs) in tmc_pages_alloc()
206 kfree(tmc_pages->daddrs); in tmc_pages_alloc()
207 tmc_pages->daddrs = NULL; in tmc_pages_alloc()
225 tmc_pages->daddrs[i] = paddr; in tmc_pages_alloc()
284 sg_table->table_daddr = table_pages->daddrs[0]; in tmc_alloc_table_pages()
362 dma_sync_single_for_cpu(real_dev, data->daddrs[index], in tmc_sg_table_sync_data_range()
376 dma_sync_single_for_device(real_dev, table_pages->daddrs[i], in tmc_sg_table_sync_table()
497 dma_addr_t *table_daddrs = sg_table->table_pages.daddrs; in tmc_etr_sg_table_populate()
498 dma_addr_t *data_daddrs = sg_table->data_pages.daddrs; in tmc_etr_sg_table_populate()