Home
last modified time | relevance | path

Searched +defs:val +defs:event (Results 1 – 25 of 742) sorted by relevance

12345678910>>...30

/linux-6.14.4/sound/core/seq/
Dseq_ump_convert.c34 u16 val, repeat; in upscale_7_to_16bit() local
45 u32 val, repeat; in upscale_7_to_32bit() local
57 u32 val, repeat; in upscale_14_to_32bit() local
82 static void ump_midi1_to_note_ev(const union snd_ump_midi1_msg *val, in ump_midi1_to_note_ev()
91 static void ump_midi1_to_ctrl_ev(const union snd_ump_midi1_msg *val, in ump_midi1_to_ctrl_ev()
99 static void ump_midi1_to_pitchbend_ev(const union snd_ump_midi1_msg *val, in ump_midi1_to_pitchbend_ev()
108 static void ump_midi1_to_cc_ev(const union snd_ump_midi1_msg *val, in ump_midi1_to_cc_ev()
133 static int cvt_ump_midi1_to_event(const union snd_ump_midi1_msg *val, in cvt_ump_midi1_to_event()
150 static void ump_system_to_one_param_ev(const union snd_ump_midi1_msg *val, in ump_system_to_one_param_ev()
157 static void ump_system_to_songpos_ev(const union snd_ump_midi1_msg *val, in ump_system_to_songpos_ev()
[all …]
/linux-6.14.4/arch/powerpc/perf/
Dcore-fsl-emb.c23 struct perf_event *event[MAX_HWEVENTS]; member
41 unsigned long val; in read_pmc() local
72 static void write_pmc(int idx, unsigned long val) in write_pmc()
103 static void write_pmlca(int idx, unsigned long val) in write_pmlca()
134 static void write_pmlcb(int idx, unsigned long val) in write_pmlcb()
162 static void fsl_emb_pmu_read(struct perf_event *event) in fsl_emb_pmu_read()
164 s64 val, delta, prev; in fsl_emb_pmu_read() local
255 struct perf_event *event; in collect_events() local
276 static int fsl_emb_pmu_add(struct perf_event *event, int flags) in fsl_emb_pmu_add()
281 u64 val; in fsl_emb_pmu_add() local
[all …]
Dcore-book3s.c39 struct perf_event *event[MAX_HWEVENTS]; member
109 static inline void perf_get_data_addr(struct perf_event *event, struct pt_regs *regs, u64 *addrp) {… in perf_get_data_addr()
124 static bool is_ebb_event(struct perf_event *event) { return false; } in is_ebb_event()
125 static int ebb_event_check(struct perf_event *event) { return 0; } in ebb_event_check()
126 static void ebb_event_add(struct perf_event *event) { } in ebb_event_add()
133 static inline void power_pmu_bhrb_enable(struct perf_event *event) {} in power_pmu_bhrb_enable()
134 static inline void power_pmu_bhrb_disable(struct perf_event *event) {} in power_pmu_bhrb_disable()
139 static inline void power_pmu_bhrb_read(struct perf_event *event, struct cpu_hw_events *cpuhw) {} in power_pmu_bhrb_read()
205 static inline void perf_get_data_addr(struct perf_event *event, struct pt_regs *regs, u64 *addrp) in perf_get_data_addr()
410 static void power_pmu_bhrb_enable(struct perf_event *event) in power_pmu_bhrb_enable()
[all …]
Disa207-common.c45 static inline bool event_is_fab_match(u64 event) in event_is_fab_match()
54 static bool is_event_valid(u64 event) in is_event_valid()
66 static inline bool is_event_marked(u64 event) in is_event_marked()
74 static unsigned long sdar_mod_val(u64 event) in sdar_mod_val()
82 static void mmcra_sdar_mode(u64 event, unsigned long *mmcra) in mmcra_sdar_mode()
164 static unsigned long combine_from_event(u64 event) in combine_from_event()
180 static inline bool event_is_threshold(u64 event) in event_is_threshold()
185 static bool is_thresh_cmp_valid(u64 event) in is_thresh_cmp_valid()
206 static unsigned int dc_ic_rld_quad_l1_sel(u64 event) in dc_ic_rld_quad_l1_sel()
314 u64 val; in isa207_get_mem_data_src() local
[all …]
D8xx-pmu.c49 static int event_type(struct perf_event *event) in event_type()
72 static int mpc8xx_pmu_event_init(struct perf_event *event) in mpc8xx_pmu_event_init()
81 static int mpc8xx_pmu_add(struct perf_event *event, int flags) in mpc8xx_pmu_add()
84 s64 val = 0; in mpc8xx_pmu_add() local
119 static void mpc8xx_pmu_read(struct perf_event *event) in mpc8xx_pmu_read()
122 s64 prev, val = 0, delta = 0; in mpc8xx_pmu_read() local
154 static void mpc8xx_pmu_del(struct perf_event *event, int flags) in mpc8xx_pmu_del()
/linux-6.14.4/drivers/perf/
Darm_xscale_pmu.c108 u32 val; in xscale1pmu_read_pmnc() local
114 xscale1pmu_write_pmnc(u32 val) in xscale1pmu_write_pmnc()
174 struct perf_event *event = cpuc->events[idx]; in xscale1pmu_handle_irq() local
204 static void xscale1pmu_enable_event(struct perf_event *event) in xscale1pmu_enable_event()
206 unsigned long val, mask, evt; in xscale1pmu_enable_event() local
236 static void xscale1pmu_disable_event(struct perf_event *event) in xscale1pmu_disable_event()
238 unsigned long val, mask, evt; in xscale1pmu_disable_event() local
268 struct perf_event *event) in xscale1pmu_get_event_idx()
288 struct perf_event *event) in xscalepmu_clear_event_idx()
295 unsigned long val; in xscale1pmu_start() local
[all …]
Darm_v7_pmu.c697 u32 val; in armv7_pmnc_read() local
702 static inline void armv7_pmnc_write(u32 val) in armv7_pmnc_write()
730 static inline u64 armv7pmu_read_counter(struct perf_event *event) in armv7pmu_read_counter()
750 static inline void armv7pmu_write_counter(struct perf_event *event, u64 value) in armv7pmu_write_counter()
767 static inline void armv7_pmnc_write_evtsel(int idx, u32 val) in armv7_pmnc_write_evtsel()
800 u32 val; in armv7_pmnc_getreset_flags() local
815 u32 val; in armv7_pmnc_dump_regs() local
848 static void armv7pmu_enable_event(struct perf_event *event) in armv7pmu_enable_event()
889 static void armv7pmu_disable_event(struct perf_event *event) in armv7pmu_disable_event()
941 struct perf_event *event = cpuc->events[idx]; in armv7pmu_handle_irq() local
[all …]
Darm_v6_pmu.c118 u32 val; in armv6_pmcr_read() local
124 armv6_pmcr_write(unsigned long val) in armv6_pmcr_write()
172 static inline u64 armv6pmu_read_counter(struct perf_event *event) in armv6pmu_read_counter()
190 static inline void armv6pmu_write_counter(struct perf_event *event, u64 value) in armv6pmu_write_counter()
205 static void armv6pmu_enable_event(struct perf_event *event) in armv6pmu_enable_event()
207 unsigned long val, mask, evt; in armv6pmu_enable_event() local
259 struct perf_event *event = cpuc->events[idx]; in armv6pmu_handle_irq() local
297 unsigned long val; in armv6pmu_start() local
306 unsigned long val; in armv6pmu_stop() local
315 struct perf_event *event) in armv6pmu_get_event_idx()
[all …]
Darm_pmuv3.c329 static bool armv8pmu_event_is_64bit(struct perf_event *event) in armv8pmu_event_is_64bit()
334 static bool armv8pmu_event_want_user_access(struct perf_event *event) in armv8pmu_event_want_user_access()
403 u32 val = 0; in bus_width_show() local
467 static bool armv8pmu_event_has_user_read(struct perf_event *event) in armv8pmu_event_has_user_read()
477 static bool armv8pmu_event_is_chained(struct perf_event *event) in armv8pmu_event_is_chained()
496 static void armv8pmu_pmcr_write(u64 val) in armv8pmu_pmcr_write()
518 static u64 armv8pmu_read_hw_counter(struct perf_event *event) in armv8pmu_read_hw_counter()
521 u64 val = armv8pmu_read_evcntr(idx); in armv8pmu_read_hw_counter() local
534 static bool armv8pmu_event_needs_bias(struct perf_event *event) in armv8pmu_event_needs_bias()
550 static u64 armv8pmu_bias_long_counter(struct perf_event *event, u64 value) in armv8pmu_bias_long_counter()
[all …]
Dapple_m1_cpu_pmu.c240 static void m1_pmu_write_hw_counter(u64 val, unsigned int index) in m1_pmu_write_hw_counter()
262 u64 val, bit; in __m1_pmu_enable_counter() local
297 u64 val, bit; in __m1_pmu_enable_counter_interrupt() local
330 static void m1_pmu_configure_counter(unsigned int index, u8 event, in m1_pmu_configure_counter()
333 u64 val, user_bit, kernel_bit; in m1_pmu_configure_counter() local
390 static void m1_pmu_enable_event(struct perf_event *event) in m1_pmu_enable_event()
409 static void m1_pmu_disable_event(struct perf_event *event) in m1_pmu_disable_event()
438 struct perf_event *event = cpuc->events[idx]; in m1_pmu_handle_irq() local
458 static u64 m1_pmu_read_counter(struct perf_event *event) in m1_pmu_read_counter()
463 static void m1_pmu_write_counter(struct perf_event *event, u64 value) in m1_pmu_write_counter()
[all …]
Dthunderx2_pmu.c33 #define DMC_EVENT_CFG(idx, val) ((val) << (((idx) * 8) + 1)) argument
299 static inline void reg_writel(u32 val, unsigned long addr) in reg_writel()
322 static void init_cntr_base_l3c(struct perf_event *event, in init_cntr_base_l3c()
338 static void init_cntr_base_dmc(struct perf_event *event, in init_cntr_base_dmc()
354 static void init_cntr_base_ccpi2(struct perf_event *event, in init_cntr_base_ccpi2()
367 static void uncore_start_event_l3c(struct perf_event *event, int flags) in uncore_start_event_l3c()
369 u32 val, emask; in uncore_start_event_l3c() local
383 static inline void uncore_stop_event_l3c(struct perf_event *event) in uncore_stop_event_l3c()
388 static void uncore_start_event_dmc(struct perf_event *event, int flags) in uncore_start_event_dmc()
390 u32 val, cmask, emask; in uncore_start_event_dmc() local
[all …]
/linux-6.14.4/drivers/perf/hisilicon/
Dhisi_uncore_uc_pmu.c53 static int hisi_uc_pmu_check_filter(struct perf_event *event) in hisi_uc_pmu_check_filter()
75 static void hisi_uc_pmu_config_req_tracetag(struct perf_event *event) in hisi_uc_pmu_config_req_tracetag()
78 u32 val; in hisi_uc_pmu_config_req_tracetag() local
96 static void hisi_uc_pmu_clear_req_tracetag(struct perf_event *event) in hisi_uc_pmu_clear_req_tracetag()
99 u32 val; in hisi_uc_pmu_clear_req_tracetag() local
116 static void hisi_uc_pmu_config_srcid_tracetag(struct perf_event *event) in hisi_uc_pmu_config_srcid_tracetag()
119 u32 val; in hisi_uc_pmu_config_srcid_tracetag() local
143 static void hisi_uc_pmu_clear_srcid_tracetag(struct perf_event *event) in hisi_uc_pmu_clear_srcid_tracetag()
146 u32 val; in hisi_uc_pmu_clear_srcid_tracetag() local
168 static void hisi_uc_pmu_config_uring_channel(struct perf_event *event) in hisi_uc_pmu_config_uring_channel()
[all …]
Dhisi_uncore_l3c_pmu.c63 static void hisi_l3c_pmu_config_req_tracetag(struct perf_event *event) in hisi_l3c_pmu_config_req_tracetag()
69 u32 val; in hisi_l3c_pmu_config_req_tracetag() local
84 static void hisi_l3c_pmu_clear_req_tracetag(struct perf_event *event) in hisi_l3c_pmu_clear_req_tracetag()
90 u32 val; in hisi_l3c_pmu_clear_req_tracetag() local
105 static void hisi_l3c_pmu_write_ds(struct perf_event *event, u32 ds_cfg) in hisi_l3c_pmu_write_ds()
109 u32 reg, reg_idx, shift, val; in hisi_l3c_pmu_write_ds() local
129 static void hisi_l3c_pmu_config_ds(struct perf_event *event) in hisi_l3c_pmu_config_ds()
139 u32 val; in hisi_l3c_pmu_config_ds() local
147 static void hisi_l3c_pmu_clear_ds(struct perf_event *event) in hisi_l3c_pmu_clear_ds()
157 u32 val; in hisi_l3c_pmu_clear_ds() local
[all …]
Dhisi_uncore_sllc_pmu.c56 static void hisi_sllc_pmu_enable_tracetag(struct perf_event *event) in hisi_sllc_pmu_enable_tracetag()
62 u32 val; in hisi_sllc_pmu_enable_tracetag() local
70 static void hisi_sllc_pmu_disable_tracetag(struct perf_event *event) in hisi_sllc_pmu_disable_tracetag()
76 u32 val; in hisi_sllc_pmu_disable_tracetag() local
84 static void hisi_sllc_pmu_config_tgtid(struct perf_event *event) in hisi_sllc_pmu_config_tgtid()
91 u32 val = (max << SLLC_TGTID_MAX_SHIFT) | (min << SLLC_TGTID_MIN_SHIFT); in hisi_sllc_pmu_config_tgtid() local
101 static void hisi_sllc_pmu_clear_tgtid(struct perf_event *event) in hisi_sllc_pmu_clear_tgtid()
108 u32 val; in hisi_sllc_pmu_clear_tgtid() local
118 static void hisi_sllc_pmu_config_srcid(struct perf_event *event) in hisi_sllc_pmu_config_srcid()
124 u32 val, msk; in hisi_sllc_pmu_config_srcid() local
[all …]
Dhisi_uncore_hha_pmu.c59 static void hisi_hha_pmu_enable_tracetag(struct perf_event *event) in hisi_hha_pmu_enable_tracetag()
65 u32 val; in hisi_hha_pmu_enable_tracetag() local
73 static void hisi_hha_pmu_clear_tracetag(struct perf_event *event) in hisi_hha_pmu_clear_tracetag()
76 u32 val; in hisi_hha_pmu_clear_tracetag() local
83 static void hisi_hha_pmu_config_ds(struct perf_event *event) in hisi_hha_pmu_config_ds()
89 u32 val; in hisi_hha_pmu_config_ds() local
97 static void hisi_hha_pmu_clear_ds(struct perf_event *event) in hisi_hha_pmu_clear_ds()
103 u32 val; in hisi_hha_pmu_clear_ds() local
111 static void hisi_hha_pmu_config_srcid(struct perf_event *event) in hisi_hha_pmu_config_srcid()
117 u32 val, msk; in hisi_hha_pmu_config_srcid() local
[all …]
Dhisi_uncore_pa_pmu.c61 static void hisi_pa_pmu_enable_tracetag(struct perf_event *event) in hisi_pa_pmu_enable_tracetag()
67 u32 val; in hisi_pa_pmu_enable_tracetag() local
75 static void hisi_pa_pmu_clear_tracetag(struct perf_event *event) in hisi_pa_pmu_clear_tracetag()
81 u32 val; in hisi_pa_pmu_clear_tracetag() local
89 static void hisi_pa_pmu_config_tgtid(struct perf_event *event) in hisi_pa_pmu_config_tgtid()
96 u32 val = cmd | PA_TGTID_EN | (msk << PA_TGTID_MSK_SHIFT); in hisi_pa_pmu_config_tgtid() local
102 static void hisi_pa_pmu_clear_tgtid(struct perf_event *event) in hisi_pa_pmu_clear_tgtid()
111 static void hisi_pa_pmu_config_srcid(struct perf_event *event) in hisi_pa_pmu_config_srcid()
118 u32 val = cmd | PA_SRCID_EN | (msk << PA_SRCID_MSK_SHIFT); in hisi_pa_pmu_config_srcid() local
124 static void hisi_pa_pmu_clear_srcid(struct perf_event *event) in hisi_pa_pmu_clear_srcid()
[all …]
Dhns3_pmu.c297 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
[all …]
/linux-6.14.4/drivers/net/ethernet/marvell/octeontx2/af/
Dmcs_cnf10kb.c41 u64 reg, val; in cnf10kb_mcs_parser_cfg() local
75 u64 reg, val; in cnf10kb_mcs_flowid_secy_map() local
92 u64 reg, val; in cnf10kb_mcs_tx_sa_mem_map_write() local
117 u64 val, reg; in cnf10kb_mcs_rx_sa_mem_map_write() local
128 u64 val; in mcs_set_force_clk_en() local
158 struct mcs_intr_event event; in cnf10kb_mcs_tx_pn_thresh_reached_handler() local
161 u64 val, sa_status; in cnf10kb_mcs_tx_pn_thresh_reached_handler() local
194 struct mcs_intr_event event = { 0 }; in cnf10kb_mcs_tx_pn_wrapped_handler() local
196 u64 val; in cnf10kb_mcs_tx_pn_wrapped_handler() local
222 struct mcs_intr_event event = { 0 }; in cnf10kb_mcs_bbe_intr_handler() local
[all …]
/linux-6.14.4/arch/arm/mm/
Dcache-l2x0-pmu.c64 static void l2x0_pmu_counter_config_write(int idx, u32 val) in l2x0_pmu_counter_config_write()
74 static void l2x0_pmu_counter_write(int idx, u32 val) in l2x0_pmu_counter_write()
81 u32 val = readl_relaxed(l2x0_base + L2X0_EVENT_CNT_CTRL); in __l2x0_pmu_enable() local
88 u32 val = readl_relaxed(l2x0_base + L2X0_EVENT_CNT_CTRL); in __l2x0_pmu_disable() local
117 static void l2x0_pmu_event_read(struct perf_event *event) in l2x0_pmu_event_read()
133 static void l2x0_pmu_event_configure(struct perf_event *event) in l2x0_pmu_event_configure()
160 struct perf_event *event = events[i]; in l2x0_pmu_poll() local
177 static void __l2x0_pmu_event_enable(int idx, u32 event) in __l2x0_pmu_event_enable()
179 u32 val; in __l2x0_pmu_event_enable() local
186 static void l2x0_pmu_event_start(struct perf_event *event, int flags) in l2x0_pmu_event_start()
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/
Di915_pmu.c34 static struct i915_pmu *event_to_pmu(struct perf_event *event) in event_to_pmu()
49 static u8 engine_event_sample(struct perf_event *event) in engine_event_sample()
54 static u8 engine_event_class(struct perf_event *event) in engine_event_class()
59 static u8 engine_event_instance(struct perf_event *event) in engine_event_instance()
81 unsigned int val; in other_bit() local
130 static bool is_engine_event(struct perf_event *event) in is_engine_event()
135 static unsigned int event_bit(struct perf_event *event) in event_bit()
186 u64 val; in __get_rc6() local
210 store_sample(struct i915_pmu *pmu, unsigned int gt_id, int sample, u64 val) in store_sample()
216 add_sample_mult(struct i915_pmu *pmu, unsigned int gt_id, int sample, u32 val, u32 mul) in add_sample_mult()
[all …]
/linux-6.14.4/arch/x86/events/intel/
Dknc.c160 u64 val; in knc_pmu_disable_all() local
169 u64 val; in knc_pmu_enable_all() local
177 knc_pmu_disable_event(struct perf_event *event) in knc_pmu_disable_event()
180 u64 val; in knc_pmu_disable_event() local
188 static void knc_pmu_enable_event(struct perf_event *event) in knc_pmu_enable_event()
191 u64 val; in knc_pmu_enable_event() local
243 struct perf_event *event = cpuc->events[bit]; in knc_pmu_handle_irq() local
/linux-6.14.4/arch/csky/kernel/
Dperf_event.c61 #define cpwgr(reg, val) \ argument
80 #define cpwcr(reg, val) \ argument
107 static void csky_pmu_write_cc(uint64_t val) in csky_pmu_write_cc()
131 static void csky_pmu_write_ic(uint64_t val) in csky_pmu_write_ic()
155 static void csky_pmu_write_icac(uint64_t val) in csky_pmu_write_icac()
179 static void csky_pmu_write_icmc(uint64_t val) in csky_pmu_write_icmc()
203 static void csky_pmu_write_dcac(uint64_t val) in csky_pmu_write_dcac()
227 static void csky_pmu_write_dcmc(uint64_t val) in csky_pmu_write_dcmc()
251 static void csky_pmu_write_l2ac(uint64_t val) in csky_pmu_write_l2ac()
275 static void csky_pmu_write_l2mc(uint64_t val) in csky_pmu_write_l2mc()
[all …]
/linux-6.14.4/arch/loongarch/kernel/
Dperf_event.c148 #define M_PERFCTL_EVENT(event) (event & CSR_PERFCTRL_EVENT) argument
163 u64 val = -1; in loongarch_pmu_read_counter() local
186 static void loongarch_pmu_write_counter(unsigned int idx, u64 val) in loongarch_pmu_write_counter()
209 unsigned int val = -1; in loongarch_pmu_read_control() local
232 static void loongarch_pmu_write_control(unsigned int idx, unsigned int val) in loongarch_pmu_write_control()
268 struct perf_event *event = container_of(evt, struct perf_event, hw); in loongarch_pmu_enable_event() local
299 static int loongarch_pmu_event_set_period(struct perf_event *event, in loongarch_pmu_event_set_period()
335 static void loongarch_pmu_event_update(struct perf_event *event, in loongarch_pmu_event_update()
356 static void loongarch_pmu_start(struct perf_event *event, int flags) in loongarch_pmu_start()
372 static void loongarch_pmu_stop(struct perf_event *event, int flags) in loongarch_pmu_stop()
[all …]
/linux-6.14.4/tools/perf/scripts/python/
Dstat-cpi.py10 def get_key(time, event, cpu, thread): argument
23 def store(time, event, cpu, thread, val, ena, run): argument
31 def get(time, event, cpu, thread): argument
35 def stat__cycles_k(cpu, thread, time, val, ena, run): argument
38 def stat__instructions_k(cpu, thread, time, val, ena, run): argument
41 def stat__cycles_u(cpu, thread, time, val, ena, run): argument
44 def stat__instructions_u(cpu, thread, time, val, ena, run): argument
47 def stat__cycles(cpu, thread, time, val, ena, run): argument
50 def stat__instructions(cpu, thread, time, val, ena, run): argument
/linux-6.14.4/arch/sparc/kernel/
Dperf_event.c92 struct perf_event *event[MAX_HWEVENTS]; member
137 static u8 perf_event_get_msk(unsigned long val) in perf_event_get_msk()
142 static u64 perf_event_get_enc(unsigned long val) in perf_event_get_enc()
182 u64 val; in sparc_default_read_pmc() local
191 static void sparc_default_write_pmc(int idx, u64 val) in sparc_default_write_pmc()
733 u64 val = pcr_ops->read_pic(idx); in sparc_vt_read_pmc() local
738 static void sparc_vt_write_pmc(int idx, u64 val) in sparc_vt_write_pmc()
829 u64 enc, val, mask = mask_for_index(idx); in sparc_pmu_enable_event() local
850 u64 val; in sparc_pmu_disable_event() local
863 static u64 sparc_perf_event_update(struct perf_event *event, in sparc_perf_event_update()
[all …]

12345678910>>...30