Lines Matching +full:coresight +full:- +full:catu
1 /* SPDX-License-Identifier: GPL-2.0 */
10 #include <linux/dma-mapping.h>
45 /* TMC_CTL - 0x020 */
47 /* TMC_STS - 0x00C */
53 * TMC_AXICTL - 0x110
55 * TMC AXICTL format for SoC-400
56 * Bits [0-1] : ProtCtrlBit0-1
57 * Bits [2-5] : CacheCtrlBits 0-3 (AXCACHE)
60 * Bits [8-11] : WrBurstLen
61 * Bits [12-31] : Reserved.
62 * TMC AXICTL format for SoC-600, as above except:
63 * Bits [2-5] : AXI WCACHE
64 * Bits [16-19] : AXI RCACHE
65 * Bits [20-31] : Reserved
75 /* Write-back Read and Write-allocate */
79 /* TMC_FFCR - 0x304 */
121 * TMC_ETR_SAVE_RESTORE - Values of RRP/RWP/STS.Full are
130 /* Coresight SoC-600 TMC-ETR unadvertised capabilities */
136 ETR_MODE_ETR_SG, /* Uses in-built TMC ETR SG mechanism */
137 ETR_MODE_CATU, /* Use SG mechanism in CATU */
144 * struct etr_buf - Details of the buffer used by ETR
168 * struct tmc_drvdata - specifics associated to an TMC component
178 * @etr_buf: details of buffer used in TMC-ETR
182 * TMC-ETR on AXI bus.
229 * struct tmc_pages - Collection of pages used for SG.
241 * struct tmc_sg_table - Generic SG table for TMC
288 return csdev_access_relaxed_read_pair(&drvdata->csdev->access, lo_off, hi_off); \
293 csdev_access_relaxed_write_pair(&drvdata->csdev->access, val, lo_off, hi_off); \
303 WARN_ON(drvdata->etr_caps); in TMC_REG_PAIR()
304 drvdata->etr_caps = dev_caps; in TMC_REG_PAIR()
309 drvdata->etr_caps |= cap; in tmc_etr_set_cap()
314 return !!(drvdata->etr_caps & cap); in tmc_etr_has_cap()
331 return (unsigned long)sg_table->data_pages.nr_pages << PAGE_SHIFT; in tmc_sg_table_buf_size()
336 void tmc_etr_set_catu_ops(const struct etr_buf_operations *catu);