Lines Matching refs:table_pages
251 tmc_pages_free(&sg_table->table_pages, sg_table->dev, DMA_TO_DEVICE); in tmc_free_table_pages()
277 struct tmc_pages *table_pages = &sg_table->table_pages; in tmc_alloc_table_pages() local
279 rc = tmc_pages_alloc(table_pages, sg_table->dev, in tmc_alloc_table_pages()
284 sg_table->table_vaddr = vmap(table_pages->pages, in tmc_alloc_table_pages()
285 table_pages->nr_pages, in tmc_alloc_table_pages()
291 sg_table->table_daddr = table_pages->daddrs[0]; in tmc_alloc_table_pages()
338 sg_table->table_pages.nr_pages = nr_tpages; in tmc_alloc_sg_table()
380 struct tmc_pages *table_pages = &sg_table->table_pages; in tmc_sg_table_sync_table() local
382 for (i = 0; i < table_pages->nr_pages; i++) in tmc_sg_table_sync_table()
383 dma_sync_single_for_device(real_dev, table_pages->daddrs[i], in tmc_sg_table_sync_table()
429 tmc_pages = &sg_table->table_pages; in tmc_sg_daddr_to_vaddr()
504 dma_addr_t *table_daddrs = sg_table->table_pages.daddrs; in tmc_etr_sg_table_populate()