Lines Matching +defs:val +defs:event
297 u32 event; member
369 struct hns3_pmu_event_attr *event; in hns3_pmu_event_show() local
382 struct hns3_pmu_event_attr *event; in hns3_pmu_filter_mode_show() local
717 static u32 hns3_pmu_get_event(struct perf_event *event) in hns3_pmu_get_event()
724 static u32 hns3_pmu_get_real_event(struct perf_event *event) in hns3_pmu_get_real_event()
744 u32 val) in hns3_pmu_writel()
759 u64 val) in hns3_pmu_writeq()
767 struct perf_event *event) in hns3_pmu_cmp_event()
773 struct perf_event *event) in hns3_pmu_find_related_event_idx()
838 u32 val; in hns3_pmu_set_qid_para() local
848 u32 reg_qid_ctrl, val; in hns3_pmu_qid_req_start() local
880 static struct hns3_pmu_event_attr *hns3_pmu_get_pmu_event(u32 event) in hns3_pmu_get_pmu_event()
901 static int hns3_pmu_set_func_mode(struct perf_event *event, in hns3_pmu_set_func_mode()
915 static int hns3_pmu_set_func_queue_mode(struct perf_event *event, in hns3_pmu_set_func_queue_mode()
936 hns3_pmu_is_enabled_global_mode(struct perf_event *event, in hns3_pmu_is_enabled_global_mode()
947 static bool hns3_pmu_is_enabled_func_mode(struct perf_event *event, in hns3_pmu_is_enabled_func_mode()
962 hns3_pmu_is_enabled_func_queue_mode(struct perf_event *event, in hns3_pmu_is_enabled_func_queue_mode()
976 static bool hns3_pmu_is_enabled_port_mode(struct perf_event *event, in hns3_pmu_is_enabled_port_mode()
988 hns3_pmu_is_enabled_port_tc_mode(struct perf_event *event, in hns3_pmu_is_enabled_port_tc_mode()
1000 hns3_pmu_is_enabled_func_intr_mode(struct perf_event *event, in hns3_pmu_is_enabled_func_intr_mode()
1012 static int hns3_pmu_select_filter_mode(struct perf_event *event, in hns3_pmu_select_filter_mode()
1054 static bool hns3_pmu_validate_event_group(struct perf_event *event) in hns3_pmu_validate_event_group()
1101 static u32 hns3_pmu_get_filter_condition(struct perf_event *event) in hns3_pmu_get_filter_condition()
1128 static void hns3_pmu_config_filter(struct perf_event *event) in hns3_pmu_config_filter()
1138 u32 val; in hns3_pmu_config_filter() local
1157 u32 val; in hns3_pmu_enable_counter() local
1168 u32 val; in hns3_pmu_disable_counter() local
1179 u32 val; in hns3_pmu_enable_intr() local
1190 u32 val; in hns3_pmu_disable_intr() local
1199 u32 val; in hns3_pmu_clear_intr_status() local
1210 static u64 hns3_pmu_read_counter(struct perf_event *event) in hns3_pmu_read_counter()
1217 static void hns3_pmu_write_counter(struct perf_event *event, u64 value) in hns3_pmu_write_counter()
1226 static void hns3_pmu_init_counter(struct perf_event *event) in hns3_pmu_init_counter()
1234 static int hns3_pmu_event_init(struct perf_event *event) in hns3_pmu_event_init()
1278 static void hns3_pmu_read(struct perf_event *event) in hns3_pmu_read()
1293 static void hns3_pmu_start(struct perf_event *event, int flags) in hns3_pmu_start()
1312 static void hns3_pmu_stop(struct perf_event *event, int flags) in hns3_pmu_stop()
1331 static int hns3_pmu_add(struct perf_event *event, int flags) in hns3_pmu_add()
1364 static void hns3_pmu_del(struct perf_event *event, int flags) in hns3_pmu_del()
1377 u32 val; in hns3_pmu_enable() local
1387 u32 val; in hns3_pmu_disable() local
1398 u32 val; in hns3_pmu_alloc_pmu() local