Home
last modified time | relevance | path

Searched refs:hisi_ptt (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/hwtracing/ptt/
Dhisi_ptt.c27 static bool hisi_ptt_wait_tuning_finish(struct hisi_ptt *hisi_ptt) in hisi_ptt_wait_tuning_finish() argument
31 return !readl_poll_timeout(hisi_ptt->iobase + HISI_PTT_TUNING_INT_STAT, in hisi_ptt_wait_tuning_finish()
41 struct hisi_ptt *hisi_ptt = to_hisi_ptt(dev_get_drvdata(dev)); in hisi_ptt_tune_attr_show() local
50 mutex_lock(&hisi_ptt->tune_lock); in hisi_ptt_tune_attr_show()
52 reg = readl(hisi_ptt->iobase + HISI_PTT_TUNING_CTRL); in hisi_ptt_tune_attr_show()
56 writel(reg, hisi_ptt->iobase + HISI_PTT_TUNING_CTRL); in hisi_ptt_tune_attr_show()
59 writel(~0U, hisi_ptt->iobase + HISI_PTT_TUNING_DATA); in hisi_ptt_tune_attr_show()
61 if (!hisi_ptt_wait_tuning_finish(hisi_ptt)) { in hisi_ptt_tune_attr_show()
62 mutex_unlock(&hisi_ptt->tune_lock); in hisi_ptt_tune_attr_show()
66 reg = readl(hisi_ptt->iobase + HISI_PTT_TUNING_DATA); in hisi_ptt_tune_attr_show()
[all …]
Dhisi_ptt.h100 struct hisi_ptt *hisi_ptt; member
217 struct hisi_ptt { struct
255 #define to_hisi_ptt(pmu) container_of(pmu, struct hisi_ptt, hisi_ptt_pmu) argument
DMakefile2 obj-$(CONFIG_HISI_PTT) += hisi_ptt.o
DKconfig12 will be called hisi_ptt.
/linux-6.12.1/tools/perf/util/
Dhisi-ptt.c30 struct hisi_ptt { struct
48 static void hisi_ptt_dump(struct hisi_ptt *ptt __maybe_unused, in hisi_ptt_dump() argument
71 static void hisi_ptt_dump_event(struct hisi_ptt *ptt, unsigned char *buf, in hisi_ptt_dump_event()
91 struct hisi_ptt *ptt = container_of(session->auxtrace, struct hisi_ptt, in hisi_ptt_process_auxtrace_event()
137 struct hisi_ptt *ptt = container_of(session->auxtrace, struct hisi_ptt, in hisi_ptt_free()
147 struct hisi_ptt *ptt = container_of(session->auxtrace, struct hisi_ptt, auxtrace); in hisi_ptt_evsel_is_auxtrace()
164 struct hisi_ptt *ptt; in hisi_ptt_process_auxtrace_info()
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-bus-event_source-devices-hisi_ptt1 What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune
11 What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_cpl
21 What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_np
31 What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_p
41 What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/rx_alloc_buf_level
52 What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/tx_alloc_buf_level
63 What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/root_port_filters
74 What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/root_port_filters/multiselect
82 What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/root_port_filters/<bdf>
89 What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/requester_filters
[all …]
/linux-6.12.1/Documentation/trace/
Dhisi-ptt.rst36 The name of each PTT device is composed of 'hisi_ptt' prefix with
43 /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>
56 $ cd /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune
/linux-6.12.1/
DMAINTAINERS10277 F: Documentation/ABI/testing/sysfs-bus-event_source-devices-hisi_ptt