mirror_ubuntu-kernels/drivers/hwtracing/coresight
James Clark 08e9fa5f36 coresight: Re-use same function for similar sysfs register accessors
Currently each accessor macro creates an identical function which wastes
space in the text area and pollutes the ftrace function names. Change it
so that the same function is used, but the register to access is passed
in as parameter rather than baked into each function.

Signed-off-by: James Clark <james.clark@arm.com>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Link: https://lore.kernel.org/r/20220830172614.340962-4-james.clark@arm.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2022-08-31 10:55:28 -06:00
..
coresight-catu.c coresight: Re-use same function for similar sysfs register accessors 2022-08-31 10:55:28 -06:00
coresight-catu.h
coresight-cfg-afdo.c
coresight-cfg-preload.c
coresight-cfg-preload.h
coresight-config.c
coresight-config.h coresight: syscfg: Update load and unload operations 2022-06-29 09:35:58 -06:00
coresight-core.c coresight: Re-use same function for similar sysfs register accessors 2022-08-31 10:55:28 -06:00
coresight-cpu-debug.c coresight: cpu-debug: Replace mutex with mutex_trylock on panic notifier 2022-05-09 16:03:24 +01:00
coresight-cti-core.c
coresight-cti-platform.c
coresight-cti-sysfs.c
coresight-cti.h
coresight-etb10.c coresight: Re-use same function for similar sysfs register accessors 2022-08-31 10:55:28 -06:00
coresight-etm3x-core.c coresight: etm3x: Cleanup ETMTECR1 register accesses 2022-04-13 11:05:17 -06:00
coresight-etm3x-sysfs.c coresight: Re-use same function for similar sysfs register accessors 2022-08-31 10:55:28 -06:00
coresight-etm4x-cfg.c
coresight-etm4x-cfg.h
coresight-etm4x-core.c asm-generic: updates for 6.0 2022-08-05 10:07:23 -07:00
coresight-etm4x-sysfs.c coresight: etm4x: Expose default timestamp source in sysfs 2022-08-26 13:37:52 -06:00
coresight-etm4x.h asm-generic: updates for 6.0 2022-08-05 10:07:23 -07:00
coresight-etm-cp14.c
coresight-etm-perf.c coresight: Add config flag to enable branch broadcast 2022-07-06 16:32:08 +01:00
coresight-etm-perf.h
coresight-etm.h
coresight-funnel.c
coresight-platform.c
coresight-priv.h coresight: Re-use same function for similar sysfs register accessors 2022-08-31 10:55:28 -06:00
coresight-replicator.c coresight: Re-use same function for similar sysfs register accessors 2022-08-31 10:55:28 -06:00
coresight-self-hosted-trace.h
coresight-stm.c coresight: Re-use same function for similar sysfs register accessors 2022-08-31 10:55:28 -06:00
coresight-syscfg-configfs.c
coresight-syscfg-configfs.h
coresight-syscfg.c coresight: syscfg: Update load and unload operations 2022-06-29 09:35:58 -06:00
coresight-syscfg.h coresight: syscfg: Update load and unload operations 2022-06-29 09:35:58 -06:00
coresight-sysfs.c
coresight-tmc-core.c coresight: Re-use same function for similar sysfs register accessors 2022-08-31 10:55:28 -06:00
coresight-tmc-etf.c
coresight-tmc-etr.c
coresight-tmc.h
coresight-tpiu.c
coresight-trbe.c coresight: trbe: Move check for kernel page table isolation from EL0 to probe 2022-03-11 10:07:43 +00:00
coresight-trbe.h
Kconfig coresight: trbe: fix Kconfig "its" grammar 2022-08-22 09:56:30 -06:00
Makefile