Home
last modified time | relevance | path

Searched refs:tmc_pages (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/drivers/hwtracing/coresight/
H A Dcoresight-tmc-etr.c149 tmc_pages_get_offset(struct tmc_pages *tmc_pages, dma_addr_t addr) in tmc_pages_get_offset() argument
168 static void tmc_pages_free(struct tmc_pages *tmc_pages, in tmc_pages_free() argument
175 if (tmc_pages->daddrs && tmc_pages->daddrs[i]) in tmc_pages_free()
178 if (tmc_pages->pages && tmc_pages->pages[i]) in tmc_pages_free()
182 kfree(tmc_pages->pages); in tmc_pages_free()
184 tmc_pages->pages = NULL; in tmc_pages_free()
197 static int tmc_pages_alloc(struct tmc_pages *tmc_pages, in tmc_pages_alloc() argument
207 tmc_pages->daddrs = kcalloc(nr_pages, sizeof(*tmc_pages->daddrs), in tmc_pages_alloc()
209 if (!tmc_pages->daddrs) in tmc_pages_alloc()
211 tmc_pages->pages = kcalloc(nr_pages, sizeof(*tmc_pages->pages), in tmc_pages_alloc()
[all …]
H A Dcoresight-tmc.h291 struct tmc_pages { struct
313 struct tmc_pages table_pages; argument
314 struct tmc_pages data_pages;
H A Dcoresight-catu.c122 struct tmc_pages *table_pages = &catu_table->table_pages; in catu_get_table()