Lines Matching full:etr
36 * etr_perf_buffer - Perf buffer used for ETR
37 * @drvdata - The ETR drvdaga this buffer has been allocated for.
38 * @etr_buf - Actual buffer used by the ETR
53 /* Convert the perf index to an offset within the ETR buffer */
57 /* Lower limit for ETR hardware buffer */
61 * The TMC ETR SG has a page size of 4K. The SG table contains pointers
106 * struct etr_sg_table : ETR SG Table
559 * tmc_init_etr_sg_table: Allocate a TMC ETR SG table, data buffer of @size and
776 * TMC ETR could be connected to a CATU device, which can provide address
778 * (ETR) connected to the input port of the CATU.
786 struct coresight_device *etr = drvdata->csdev; in tmc_etr_get_catu_device() local
794 return coresight_find_output_type(etr->pdata, CORESIGHT_DEV_TYPE_HELPER, in tmc_etr_get_catu_device()
856 * tmc_alloc_etr_buf: Allocate a buffer use by ETR.
857 * @drvdata : ETR device details.
889 * a) The ETR cannot use Scatter-Gather. in tmc_alloc_etr_buf()
1159 /* Reset the ETR buf used by hardware */ in tmc_etr_disable_hw()
1171 * If we are enabling the ETR from disabled state, we need to make in tmc_etr_get_sysfs_buffer()
1248 dev_dbg(&csdev->dev, "TMC-ETR enabled\n"); in tmc_enable_etr_sink_sysfs()
1274 * alloc_etr_buf: Allocate ETR buffer for use by perf.
1301 * Else switch to configured size for this ETR in alloc_etr_buf()
1333 * event but a single etr_buf associated with the ETR is shared between in get_perf_etr_buf_cpu_wide()
1429 * Keep a reference to the ETR this buffer has been allocated for in tmc_etr_setup_perf_buf()
1449 dev_dbg(&csdev->dev, "Unable to allocate ETR buffer\n"); in tmc_alloc_etr_buffer()
1591 * The ETR buffer may be bigger than the space available in the in tmc_update_etr_buffer()
1738 dev_dbg(&csdev->dev, "TMC-ETR disabled\n"); in tmc_disable_etr_sink()
1770 * We can safely allow reads even if the ETR is operating in PERF mode, in tmc_read_prepare_etr()
1811 * The ETR is not tracing and the buffer was just read. in tmc_read_unprepare_etr()