Searched refs:etr_buf (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/drivers/hwtracing/coresight/ |
| H A D | coresight-tmc-etr.c | 48 struct etr_buf *etr_buf; member 670 if (etr_buf->offset + etr_buf->len > etr_buf->size) in tmc_etr_sync_flat_buf() 942 struct etr_buf *etr_buf; in tmc_alloc_etr_buf() local 1034 struct etr_buf *etr_buf = drvdata->etr_buf; in tmc_sync_etr_buf() local 1064 struct etr_buf *etr_buf = drvdata->etr_buf; in __tmc_etr_enable_hw() local 1196 struct etr_buf *etr_buf = drvdata->etr_buf; in tmc_etr_sync_sysfs_buf() local 1361 struct etr_buf *etr_buf; in alloc_etr_buf() local 1401 struct etr_buf *etr_buf; in get_perf_etr_buf_cpu_wide() local 1541 struct etr_buf *buf, *etr_buf = etr_perf->etr_buf; in tmc_free_etr_buffer() local 1582 struct etr_buf *etr_buf = etr_perf->etr_buf; in tmc_etr_sync_perf_buffer() local [all …]
|
| H A D | coresight-catu.c | 286 static void catu_free_etr_buf(struct etr_buf *etr_buf) in catu_free_etr_buf() argument 290 if (!etr_buf || etr_buf->mode != ETR_MODE_CATU || !etr_buf->private) in catu_free_etr_buf() 298 static ssize_t catu_get_data_etr_buf(struct etr_buf *etr_buf, u64 offset, in catu_get_data_etr_buf() argument 306 static void catu_sync_etr_buf(struct etr_buf *etr_buf, u64 rrp, u64 rwp) in catu_sync_etr_buf() argument 319 if (!etr_buf->full) { in catu_sync_etr_buf() 322 etr_buf->len += etr_buf->size; in catu_sync_etr_buf() 324 etr_buf->len = etr_buf->size; in catu_sync_etr_buf() 332 struct etr_buf *etr_buf, int node, void **pages) in catu_alloc_etr_buf() argument 405 struct etr_buf *etr_buf = NULL; in catu_enable_hw() local 430 if (IS_ERR(etr_buf)) in catu_enable_hw() [all …]
|
| H A D | coresight-tmc.h | 182 struct etr_buf { struct 258 struct etr_buf *etr_buf; /* TMC ETR */ member 270 struct etr_buf *sysfs_buf; 271 struct etr_buf *perf_buf; 277 int (*alloc)(struct tmc_drvdata *drvdata, struct etr_buf *etr_buf, 279 void (*sync)(struct etr_buf *etr_buf, u64 rrp, u64 rwp); 280 ssize_t (*get_data)(struct etr_buf *etr_buf, u64 offset, size_t len, 282 void (*free)(struct etr_buf *etr_buf); 442 struct etr_buf *tmc_etr_get_buffer(struct coresight_device *csdev,
|