Lines Matching defs:hisi_ptt
27 static bool hisi_ptt_wait_tuning_finish(struct hisi_ptt *hisi_ptt) 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
78 struct hisi_ptt *hisi_ptt = to_hisi_ptt(dev_get_drvdata(dev)); in hisi_ptt_tune_attr_store() local
164 static bool hisi_ptt_wait_trace_hw_idle(struct hisi_ptt *hisi_ptt) in hisi_ptt_wait_trace_hw_idle()
174 static void hisi_ptt_wait_dma_reset_done(struct hisi_ptt *hisi_ptt) in hisi_ptt_wait_dma_reset_done()
183 static void hisi_ptt_trace_end(struct hisi_ptt *hisi_ptt) in hisi_ptt_trace_end()
193 static int hisi_ptt_trace_start(struct hisi_ptt *hisi_ptt) in hisi_ptt_trace_start()
244 static int hisi_ptt_update_aux(struct hisi_ptt *hisi_ptt, int index, bool stop) in hisi_ptt_update_aux()
301 struct hisi_ptt *hisi_ptt = context; in hisi_ptt_isr() local
332 static int hisi_ptt_register_irq(struct hisi_ptt *hisi_ptt) in hisi_ptt_register_irq()
360 static void hisi_ptt_del_free_filter(struct hisi_ptt *hisi_ptt, in hisi_ptt_del_free_filter()
372 hisi_ptt_alloc_add_filter(struct hisi_ptt *hisi_ptt, u16 devid, bool is_port) in hisi_ptt_alloc_add_filter()
424 static int hisi_ptt_create_rp_filter_attr(struct hisi_ptt *hisi_ptt, in hisi_ptt_create_rp_filter_attr()
438 static void hisi_ptt_remove_rp_filter_attr(struct hisi_ptt *hisi_ptt, in hisi_ptt_remove_rp_filter_attr()
447 static int hisi_ptt_create_req_filter_attr(struct hisi_ptt *hisi_ptt, in hisi_ptt_create_req_filter_attr()
461 static void hisi_ptt_remove_req_filter_attr(struct hisi_ptt *hisi_ptt, in hisi_ptt_remove_req_filter_attr()
470 static int hisi_ptt_create_filter_attr(struct hisi_ptt *hisi_ptt, in hisi_ptt_create_filter_attr()
487 static void hisi_ptt_remove_filter_attr(struct hisi_ptt *hisi_ptt, in hisi_ptt_remove_filter_attr()
499 struct hisi_ptt *hisi_ptt = data; in hisi_ptt_remove_all_filter_attributes() local
513 static int hisi_ptt_init_filter_attributes(struct hisi_ptt *hisi_ptt) in hisi_ptt_init_filter_attributes()
554 struct hisi_ptt *hisi_ptt; in hisi_ptt_update_filters() local
613 struct hisi_ptt *hisi_ptt = container_of(nb, struct hisi_ptt, hisi_ptt_nb); in hisi_ptt_notifier_call() local
664 struct hisi_ptt *hisi_ptt = data; in hisi_ptt_init_filters() local
691 struct hisi_ptt *hisi_ptt = data; in hisi_ptt_release_filters() local
700 static int hisi_ptt_config_trace_buf(struct hisi_ptt *hisi_ptt) in hisi_ptt_config_trace_buf()
733 static int hisi_ptt_init_ctrls(struct hisi_ptt *hisi_ptt) in hisi_ptt_init_ctrls()
780 struct hisi_ptt *hisi_ptt = to_hisi_ptt(dev_get_drvdata(dev)); in cpumask_show() local
943 static int hisi_ptt_trace_valid_filter(struct hisi_ptt *hisi_ptt, u64 config) in hisi_ptt_trace_valid_filter()
977 static void hisi_ptt_pmu_init_configs(struct hisi_ptt *hisi_ptt, struct perf_event *event) in hisi_ptt_pmu_init_configs()
997 struct hisi_ptt *hisi_ptt = to_hisi_ptt(event->pmu); in hisi_ptt_pmu_event_init() local
1084 struct hisi_ptt *hisi_ptt = to_hisi_ptt(event->pmu); in hisi_ptt_pmu_start() local
1139 struct hisi_ptt *hisi_ptt = to_hisi_ptt(event->pmu); in hisi_ptt_pmu_stop() local
1163 struct hisi_ptt *hisi_ptt = to_hisi_ptt(event->pmu); in hisi_ptt_pmu_add() local
1201 static int hisi_ptt_register_pmu(struct hisi_ptt *hisi_ptt) in hisi_ptt_register_pmu()
1258 struct hisi_ptt *hisi_ptt = data; in hisi_ptt_unregister_filter_update_notifier() local
1267 static int hisi_ptt_register_filter_update_notifier(struct hisi_ptt *hisi_ptt) in hisi_ptt_register_filter_update_notifier()
1304 struct hisi_ptt *hisi_ptt; in hisi_ptt_probe() local
1385 struct hisi_ptt *hisi_ptt; in hisi_ptt_cpu_teardown() local