Searched refs:tmc_pages (Results 1 – 3 of 3) sorted by relevance
140 tmc_pages_get_offset(struct tmc_pages *tmc_pages, dma_addr_t addr) in tmc_pages_get_offset() argument145 for (i = 0; i < tmc_pages->nr_pages; i++) { in tmc_pages_get_offset()146 page_start = tmc_pages->daddrs[i]; in tmc_pages_get_offset()159 static void tmc_pages_free(struct tmc_pages *tmc_pages, in tmc_pages_free() argument165 for (i = 0; i < tmc_pages->nr_pages; i++) { in tmc_pages_free()166 if (tmc_pages->daddrs && tmc_pages->daddrs[i]) in tmc_pages_free()167 dma_unmap_page(real_dev, tmc_pages->daddrs[i], in tmc_pages_free()169 if (tmc_pages->pages && tmc_pages->pages[i]) in tmc_pages_free()170 __free_page(tmc_pages->pages[i]); in tmc_pages_free()173 kfree(tmc_pages->pages); in tmc_pages_free()[all …]
231 struct tmc_pages { struct253 struct tmc_pages table_pages; argument254 struct tmc_pages data_pages;
120 struct tmc_pages *table_pages = &catu_table->table_pages; in catu_get_table()