| .. | .. |
|---|
| 165 | 165 | /** |
|---|
| 166 | 166 | * struct tmc_drvdata - specifics associated to an TMC component |
|---|
| 167 | 167 | * @base: memory mapped base address for this component. |
|---|
| 168 | | - * @dev: the device entity associated to this component. |
|---|
| 169 | 168 | * @csdev: component vitals needed by the framework. |
|---|
| 170 | 169 | * @miscdev: specifics to handle "/dev/xyz.tmc" entry. |
|---|
| 171 | 170 | * @spinlock: only one at a time pls. |
|---|
| .. | .. |
|---|
| 188 | 187 | */ |
|---|
| 189 | 188 | struct tmc_drvdata { |
|---|
| 190 | 189 | void __iomem *base; |
|---|
| 191 | | - struct device *dev; |
|---|
| 192 | 190 | struct coresight_device *csdev; |
|---|
| 193 | 191 | struct miscdevice miscdev; |
|---|
| 194 | 192 | spinlock_t spinlock; |
|---|
| .. | .. |
|---|
| 270 | 268 | /* ETR functions */ |
|---|
| 271 | 269 | int tmc_read_prepare_etr(struct tmc_drvdata *drvdata); |
|---|
| 272 | 270 | int tmc_read_unprepare_etr(struct tmc_drvdata *drvdata); |
|---|
| 271 | +void tmc_etr_disable_hw(struct tmc_drvdata *drvdata); |
|---|
| 273 | 272 | extern const struct coresight_ops tmc_etr_cs_ops; |
|---|
| 274 | 273 | ssize_t tmc_etr_get_sysfs_trace(struct tmc_drvdata *drvdata, |
|---|
| 275 | 274 | loff_t pos, size_t len, char **bufpp); |
|---|
| .. | .. |
|---|
| 327 | 326 | |
|---|
| 328 | 327 | struct coresight_device *tmc_etr_get_catu_device(struct tmc_drvdata *drvdata); |
|---|
| 329 | 328 | |
|---|
| 329 | +void tmc_etr_set_catu_ops(const struct etr_buf_operations *catu); |
|---|
| 330 | +void tmc_etr_remove_catu_ops(void); |
|---|
| 331 | + |
|---|
| 330 | 332 | #endif |
|---|