Lines Matching full:etr
30 * etr_perf_buffer - Perf buffer used for ETR
31 * @drvdata - The ETR drvdaga this buffer has been allocated for.
32 * @etr_buf - Actual buffer used by the ETR
47 /* Convert the perf index to an offset within the ETR buffer */
50 /* Lower limit for ETR hardware buffer */
54 * The TMC ETR SG has a page size of 4K. The SG table contains pointers
99 * struct etr_sg_table : ETR SG Table
552 * tmc_init_etr_sg_table: Allocate a TMC ETR SG table, data buffer of @size and
768 * TMC ETR could be connected to a CATU device, which can provide address
770 * (ETR) connected to the input port of the CATU.
779 struct coresight_device *tmp, *etr = drvdata->csdev; in tmc_etr_get_catu_device() local
784 for (i = 0; i < etr->pdata->nr_outport; i++) { in tmc_etr_get_catu_device()
785 tmp = etr->pdata->conns[i].child_dev; in tmc_etr_get_catu_device()
853 * tmc_alloc_etr_buf: Allocate a buffer use by ETR.
854 * @drvdata : ETR device details.
887 * a) The ETR cannot use Scatter-Gather. in tmc_alloc_etr_buf()
1054 * If this ETR is connected to a CATU, enable it before we turn in tmc_etr_enable_hw()
1152 /* Disable CATU device if this ETR is connected to one */ in tmc_etr_disable_hw()
1155 /* Reset the ETR buf used by hardware */ in tmc_etr_disable_hw()
1167 * If we are enabling the ETR from disabled state, we need to make in tmc_enable_etr_sink_sysfs()
1226 dev_dbg(&csdev->dev, "TMC-ETR enabled\n"); in tmc_enable_etr_sink_sysfs()
1232 * alloc_etr_buf: Allocate ETR buffer for use by perf.
1259 * Else switch to configured size for this ETR in alloc_etr_buf()
1291 * event but a single etr_buf associated with the ETR is shared between in get_perf_etr_buf_cpu_wide()
1387 * Keep a reference to the ETR this buffer has been allocated for in tmc_etr_setup_perf_buf()
1407 dev_dbg(&csdev->dev, "Unable to allocate ETR buffer\n"); in tmc_alloc_etr_buffer()
1549 * The ETR buffer may be bigger than the space available in the in tmc_update_etr_buffer()
1697 dev_dbg(&csdev->dev, "TMC-ETR disabled\n"); in tmc_disable_etr_sink()
1729 * We can safely allow reads even if the ETR is operating in PERF mode, in tmc_read_prepare_etr()
1770 * The ETR is not tracing and the buffer was just read. in tmc_read_unprepare_etr()