Lines Matching refs:table_pages
243 tmc_pages_free(&sg_table->table_pages, sg_table->dev, DMA_TO_DEVICE); in tmc_free_table_pages()
268 struct tmc_pages *table_pages = &sg_table->table_pages; in tmc_alloc_table_pages() local
270 rc = tmc_pages_alloc(table_pages, sg_table->dev, in tmc_alloc_table_pages()
275 sg_table->table_vaddr = vmap(table_pages->pages, in tmc_alloc_table_pages()
276 table_pages->nr_pages, in tmc_alloc_table_pages()
282 sg_table->table_daddr = table_pages->daddrs[0]; in tmc_alloc_table_pages()
329 sg_table->table_pages.nr_pages = nr_tpages; in tmc_alloc_sg_table()
372 struct tmc_pages *table_pages = &sg_table->table_pages; in tmc_sg_table_sync_table() local
374 for (i = 0; i < table_pages->nr_pages; i++) in tmc_sg_table_sync_table()
375 dma_sync_single_for_device(real_dev, table_pages->daddrs[i], in tmc_sg_table_sync_table()
421 tmc_pages = &sg_table->table_pages; in tmc_sg_daddr_to_vaddr()
496 dma_addr_t *table_daddrs = sg_table->table_pages.daddrs; in tmc_etr_sg_table_populate()