Home
last modified time | relevance | path

Searched refs:event (Results 676 - 700 of 6441) sorted by relevance

1...<<21222324252627282930>>...258

/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c112 struct ib_event event; in smp_snoop() local
127 event.device = ibdev; in smp_snoop()
128 event.element.port_num = port_num; in smp_snoop()
131 event.event = IB_EVENT_CLIENT_REREGISTER; in smp_snoop()
132 ib_dispatch_event(&event); in smp_snoop()
136 event.event = IB_EVENT_LID_CHANGE; in smp_snoop()
137 ib_dispatch_event(&event); in smp_snoop()
142 event in smp_snoop()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/logicvc/
H A Dlogicvc_crtc.c48 * We need to grab the pending event here if vblank was already enabled in logicvc_crtc_atomic_begin()
51 if (drm_crtc->state->event && old_state->active) { in logicvc_crtc_atomic_begin()
55 crtc->event = drm_crtc->state->event; in logicvc_crtc_atomic_begin()
56 drm_crtc->state->event = NULL; in logicvc_crtc_atomic_begin()
141 /* Register our event after vblank is enabled. */ in logicvc_crtc_atomic_enable()
142 if (drm_crtc->state->event && !old_state->active) { in logicvc_crtc_atomic_enable()
146 crtc->event = drm_crtc->state->event; in logicvc_crtc_atomic_enable()
147 drm_crtc->state->event in logicvc_crtc_atomic_enable()
[all...]
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dperf-time-to-tsc.c87 union perf_event *event; in test__perf_time_to_tsc() local
153 while ((event = perf_mmap__read_event(&md->core)) != NULL) { in test__perf_time_to_tsc()
156 if (event->header.type != PERF_RECORD_COMM || in test__perf_time_to_tsc()
157 (pid_t)event->comm.pid != getpid() || in test__perf_time_to_tsc()
158 (pid_t)event->comm.tid != getpid()) in test__perf_time_to_tsc()
161 if (strcmp(event->comm.comm, comm1) == 0) { in test__perf_time_to_tsc()
162 CHECK_NOT_NULL__(evsel = evlist__event2evsel(evlist, event)); in test__perf_time_to_tsc()
163 CHECK__(evsel__parse_sample(evsel, event, &sample)); in test__perf_time_to_tsc()
166 if (strcmp(event->comm.comm, comm2) == 0) { in test__perf_time_to_tsc()
167 CHECK_NOT_NULL__(evsel = evlist__event2evsel(evlist, event)); in test__perf_time_to_tsc()
[all...]
H A Devent_update.c16 union perf_event *event, in process_event_unit()
20 struct perf_record_event_update *ev = (struct perf_record_event_update *)event; in process_event_unit()
29 union perf_event *event, in process_event_scale()
33 struct perf_record_event_update *ev = (struct perf_record_event_update *)event; in process_event_scale()
47 union perf_event *event, in process_event_name()
52 struct perf_record_event_update *ev = (struct perf_record_event_update *)event; in process_event_name()
61 union perf_event *event, in process_event_cpus()
65 struct perf_record_event_update *ev = (struct perf_record_event_update *)event; in process_event_cpus()
15 process_event_unit(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused) process_event_unit() argument
28 process_event_scale(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused) process_event_scale() argument
46 process_event_name(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused) process_event_name() argument
60 process_event_cpus(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused) process_event_cpus() argument
/kernel/linux/linux-6.6/drivers/scsi/libsas/
H A Dsas_event.c28 static bool sas_queue_event(int event, struct sas_work *work, in sas_queue_event() argument
130 sas_port_event_fns[ev->event](work); in sas_port_event_worker()
141 sas_phy_event_fns[ev->event](work); in sas_phy_event_worker()
164 void sas_notify_port_event(struct asd_sas_phy *phy, enum port_event event, in sas_notify_port_event() argument
170 BUG_ON(event >= PORT_NUM_EVENTS); in sas_notify_port_event()
179 INIT_SAS_EVENT(ev, sas_port_event_worker, phy, event); in sas_notify_port_event()
184 if (!sas_queue_event(event, &ev->work, ha)) { in sas_notify_port_event()
191 void sas_notify_phy_event(struct asd_sas_phy *phy, enum phy_event event, in sas_notify_phy_event() argument
197 BUG_ON(event >= PHY_NUM_EVENTS); in sas_notify_phy_event()
206 INIT_SAS_EVENT(ev, sas_phy_event_worker, phy, event); in sas_notify_phy_event()
[all...]
/third_party/python/Lib/idlelib/
H A Dscrolledlist.py56 def click_event(self, event):
57 self.listbox.activate("@%d,%d" % (event.x, event.y))
63 def double_click_event(self, event):
71 def popup_event(self, event):
75 self.listbox.activate("@%d,%d" % (event.x, event.y))
78 menu.tk_popup(event.x_root, event.y_root)
86 def up_event(self, event)
[all...]
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dperf_event_mipsxx.c10 * based on the sparc64 perf event code and the x86 code. Performance
37 * is used for an event.
96 #define M_PERFCTL_EVENT(event) (((event) << MIPS_PERFCTRL_EVENT_S) & \
334 * when the former kind of event takes the counter the in mipsxx_pmu_alloc_counter()
335 * latter kind of event wants to use, then the "counter in mipsxx_pmu_alloc_counter()
336 * allocation" for the latter event will fail. In fact if in mipsxx_pmu_alloc_counter()
350 struct perf_event *event = container_of(evt, struct perf_event, hw); in mipsxx_pmu_enable_event() local
379 * Set up the counter for a particular CPU when event->cpu is in mipsxx_pmu_enable_event()
383 cpu = (event in mipsxx_pmu_enable_event()
409 mipspmu_event_set_period(struct perf_event *event, struct hw_perf_event *hwc, int idx) mipspmu_event_set_period() argument
449 mipspmu_event_update(struct perf_event *event, struct hw_perf_event *hwc, int idx) mipspmu_event_update() argument
470 mipspmu_start(struct perf_event *event, int flags) mipspmu_start() argument
486 mipspmu_stop(struct perf_event *event, int flags) mipspmu_stop() argument
499 mipspmu_add(struct perf_event *event, int flags) mipspmu_add() argument
535 mipspmu_del(struct perf_event *event, int flags) mipspmu_del() argument
550 mipspmu_read(struct perf_event *event) mipspmu_read() argument
637 hw_perf_event_destroy(struct perf_event *event) hw_perf_event_destroy() argument
652 mipspmu_event_init(struct perf_event *event) mipspmu_event_init() argument
760 validate_group(struct perf_event *event) validate_group() argument
786 struct perf_event *event = cpuc->events[idx]; handle_associated_event() local
1537 __hw_perf_event_init(struct perf_event *event) __hw_perf_event_init() argument
[all...]
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dperf_event_mipsxx.c10 * based on the sparc64 perf event code and the x86 code. Performance
37 * is used for an event.
96 #define M_PERFCTL_EVENT(event) (((event) << MIPS_PERFCTRL_EVENT_S) & \
334 * when the former kind of event takes the counter the in mipsxx_pmu_alloc_counter()
335 * latter kind of event wants to use, then the "counter in mipsxx_pmu_alloc_counter()
336 * allocation" for the latter event will fail. In fact if in mipsxx_pmu_alloc_counter()
350 struct perf_event *event = container_of(evt, struct perf_event, hw); in mipsxx_pmu_enable_event() local
379 * Set up the counter for a particular CPU when event->cpu is in mipsxx_pmu_enable_event()
383 cpu = (event in mipsxx_pmu_enable_event()
409 mipspmu_event_set_period(struct perf_event *event, struct hw_perf_event *hwc, int idx) mipspmu_event_set_period() argument
449 mipspmu_event_update(struct perf_event *event, struct hw_perf_event *hwc, int idx) mipspmu_event_update() argument
470 mipspmu_start(struct perf_event *event, int flags) mipspmu_start() argument
486 mipspmu_stop(struct perf_event *event, int flags) mipspmu_stop() argument
499 mipspmu_add(struct perf_event *event, int flags) mipspmu_add() argument
535 mipspmu_del(struct perf_event *event, int flags) mipspmu_del() argument
550 mipspmu_read(struct perf_event *event) mipspmu_read() argument
637 hw_perf_event_destroy(struct perf_event *event) hw_perf_event_destroy() argument
652 mipspmu_event_init(struct perf_event *event) mipspmu_event_init() argument
760 validate_group(struct perf_event *event) validate_group() argument
786 struct perf_event *event = cpuc->events[idx]; handle_associated_event() local
1471 __hw_perf_event_init(struct perf_event *event) __hw_perf_event_init() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dpython.c8 #include <traceevent/event-parse.h>
13 #include "event.h"
16 #include "trace-event.h"
118 offsetof(struct pyrf_event, event) + offsetof(struct type, member), \
130 union perf_event event; member
134 sample_member_def(sample_ip, ip, T_ULONGLONG, "event type"), \
135 sample_member_def(sample_pid, pid, T_INT, "event pid"), \
136 sample_member_def(sample_tid, tid, T_INT, "event tid"), \
137 sample_member_def(sample_time, time, T_ULONGLONG, "event timestamp"), \
138 sample_member_def(sample_addr, addr, T_ULONGLONG, "event add
550 pyrf_event__new(union perf_event *event) pyrf_event__new() argument
1032 union perf_event *event; pyrf_evlist__read_on_cpu() local
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dpython.c9 #include <traceevent/event-parse.h>
15 #include "event.h"
18 #include "trace-event.h"
54 * Avoid bringing in event parsing.
132 * Add this one here not to drag util/trace-event-info.c
215 offsetof(struct pyrf_event, event) + offsetof(struct type, member), \
227 union perf_event event; member
231 sample_member_def(sample_ip, ip, T_ULONGLONG, "event type"), \
232 sample_member_def(sample_pid, pid, T_INT, "event pid"), \
233 sample_member_def(sample_tid, tid, T_INT, "event ti
653 pyrf_event__new(union perf_event *event) pyrf_event__new() argument
1135 union perf_event *event; pyrf_evlist__read_on_cpu() local
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
H A Dhfi_msgs.c21 struct hfi_event_data event = {0}; in event_seq_changed() local
44 event.event_type = pkt->event_data1; in event_seq_changed()
59 event.width = frame_sz->width; in event_seq_changed()
60 event.height = frame_sz->height; in event_seq_changed()
66 event.profile = profile_level->profile; in event_seq_changed()
67 event.level = profile_level->level; in event_seq_changed()
73 event.bit_depth = pixel_depth->bit_depth; in event_seq_changed()
79 event.pic_struct = pic_struct->progressive_only; in event_seq_changed()
85 event.colour_space = colour_info->colour_space; in event_seq_changed()
90 event in event_seq_changed()
122 struct hfi_event_data event = {0}; event_release_buffer_ref() local
137 event_sys_error(struct venus_core *core, u32 event, struct hfi_msg_event_notify_pkt *pkt) event_sys_error() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/
H A Ddebugfs.c169 DEBUGFS_FWSTATS_FILE(event, heart_beat, 20, "%u");
170 DEBUGFS_FWSTATS_FILE(event, calibration, 20, "%u");
171 DEBUGFS_FWSTATS_FILE(event, rx_mismatch, 20, "%u");
172 DEBUGFS_FWSTATS_FILE(event, rx_mem_empty, 20, "%u");
173 DEBUGFS_FWSTATS_FILE(event, rx_pool, 20, "%u");
174 DEBUGFS_FWSTATS_FILE(event, oom_late, 20, "%u");
175 DEBUGFS_FWSTATS_FILE(event, phy_transmit_error, 20, "%u");
176 DEBUGFS_FWSTATS_FILE(event, tx_stuck, 20, "%u");
309 DEBUGFS_FWSTATS_DEL(event, heart_beat); in wl1251_debugfs_delete_files()
310 DEBUGFS_FWSTATS_DEL(event, calibratio in wl1251_debugfs_delete_files()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl1251/
H A Ddebugfs.c169 DEBUGFS_FWSTATS_FILE(event, heart_beat, 20, "%u");
170 DEBUGFS_FWSTATS_FILE(event, calibration, 20, "%u");
171 DEBUGFS_FWSTATS_FILE(event, rx_mismatch, 20, "%u");
172 DEBUGFS_FWSTATS_FILE(event, rx_mem_empty, 20, "%u");
173 DEBUGFS_FWSTATS_FILE(event, rx_pool, 20, "%u");
174 DEBUGFS_FWSTATS_FILE(event, oom_late, 20, "%u");
175 DEBUGFS_FWSTATS_FILE(event, phy_transmit_error, 20, "%u");
176 DEBUGFS_FWSTATS_FILE(event, tx_stuck, 20, "%u");
309 DEBUGFS_FWSTATS_DEL(event, heart_beat); in wl1251_debugfs_delete_files()
310 DEBUGFS_FWSTATS_DEL(event, calibratio in wl1251_debugfs_delete_files()
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/
H A Devent_update.c16 union perf_event *event, in process_event_unit()
20 struct perf_record_event_update *ev = (struct perf_record_event_update *)event; in process_event_unit()
29 union perf_event *event, in process_event_scale()
33 struct perf_record_event_update *ev = (struct perf_record_event_update *)event; in process_event_scale()
50 union perf_event *event, in process_event_name()
55 struct perf_record_event_update *ev = (struct perf_record_event_update *)event; in process_event_name()
64 union perf_event *event, in process_event_cpus()
68 struct perf_record_event_update *ev = (struct perf_record_event_update *)event; in process_event_cpus()
15 process_event_unit(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused) process_event_unit() argument
28 process_event_scale(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused) process_event_scale() argument
49 process_event_name(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused) process_event_name() argument
63 process_event_cpus(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused) process_event_cpus() argument
/kernel/liteos_a/apps/perf/src/
H A Doption.c136 for (; evt->event != -1; evt++) { in StrToEvent()
148 const PerfEvent *event = NULL; in ParseEvents() local
160 event = StrToEvent(sp); in ParseEvents()
161 if (event == NULL) { in ParseEvents()
167 eventsCfg->type = event->type; in ParseEvents()
168 } else if (eventsCfg->type != event->type) { in ParseEvents()
173 eventsCfg->events[index].eventId = event->event; in ParseEvents()
/third_party/node/lib/internal/streams/
H A Dlegacy.js69 // Remove all the event listeners that were added.
96 function prependListener(emitter, event, fn) {
98 // event emitter implementation with them.
100 return emitter.prependListener(event, fn);
106 if (!emitter._events || !emitter._events[event])
107 emitter.on(event, fn);
108 else if (ArrayIsArray(emitter._events[event]))
109 emitter._events[event].unshift(fn);
111 emitter._events[event] = [fn, emitter._events[event]];
[all...]
/third_party/skia/third_party/externals/imgui/examples/example_sdl_sdlrenderer/
H A Dmain.cpp91 SDL_Event event; in main() local
92 while (SDL_PollEvent(&event)) in main()
94 ImGui_ImplSDL2_ProcessEvent(&event); in main()
95 if (event.type == SDL_QUIT) in main()
97 if (event.type == SDL_WINDOWEVENT && event.window.event == SDL_WINDOWEVENT_CLOSE && event.window.windowID == SDL_GetWindowID(window)) in main()
/third_party/skia/third_party/externals/imgui/examples/example_sdl_opengl2/
H A Dmain.cpp85 SDL_Event event; in main() local
86 while (SDL_PollEvent(&event)) in main()
88 ImGui_ImplSDL2_ProcessEvent(&event); in main()
89 if (event.type == SDL_QUIT) in main()
91 if (event.type == SDL_WINDOWEVENT && event.window.event == SDL_WINDOWEVENT_CLOSE && event.window.windowID == SDL_GetWindowID(window)) in main()
/third_party/skia/third_party/externals/imgui/examples/example_sdl_opengl3/
H A Dmain.cpp107 SDL_Event event; in main() local
108 while (SDL_PollEvent(&event)) in main()
110 ImGui_ImplSDL2_ProcessEvent(&event); in main()
111 if (event.type == SDL_QUIT) in main()
113 if (event.type == SDL_WINDOWEVENT && event.window.event == SDL_WINDOWEVENT_CLOSE && event.window.windowID == SDL_GetWindowID(window)) in main()
/kernel/linux/linux-5.10/drivers/perf/
H A Dxgene_pmu.c276 * sysfs event attributes
890 static int xgene_perf_event_init(struct perf_event *event) in xgene_perf_event_init() argument
892 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_event_init()
893 struct hw_perf_event *hw = &event->hw; in xgene_perf_event_init()
896 /* Test the event attr type check for PMU enumeration */ in xgene_perf_event_init()
897 if (event->attr.type != event->pmu->type) in xgene_perf_event_init()
903 * Also, it does not support event sampling mode. in xgene_perf_event_init()
905 if (is_sampling_event(event) || event in xgene_perf_event_init()
947 xgene_perf_enable_event(struct perf_event *event) xgene_perf_enable_event() argument
963 xgene_perf_disable_event(struct perf_event *event) xgene_perf_disable_event() argument
972 xgene_perf_event_set_period(struct perf_event *event) xgene_perf_event_set_period() argument
990 xgene_perf_event_update(struct perf_event *event) xgene_perf_event_update() argument
1010 xgene_perf_read(struct perf_event *event) xgene_perf_read() argument
1015 xgene_perf_start(struct perf_event *event, int flags) xgene_perf_start() argument
1040 xgene_perf_stop(struct perf_event *event, int flags) xgene_perf_stop() argument
1058 xgene_perf_add(struct perf_event *event, int flags) xgene_perf_add() argument
1079 xgene_perf_del(struct perf_event *event, int flags) xgene_perf_del() argument
1218 struct perf_event *event = pmu_dev->pmu_counter_event[idx]; _xgene_pmu_isr() local
[all...]
/kernel/linux/linux-6.6/drivers/perf/
H A Dxgene_pmu.c276 * sysfs event attributes
887 static int xgene_perf_event_init(struct perf_event *event) in xgene_perf_event_init() argument
889 struct xgene_pmu_dev *pmu_dev = to_pmu_dev(event->pmu); in xgene_perf_event_init()
890 struct hw_perf_event *hw = &event->hw; in xgene_perf_event_init()
893 /* Test the event attr type check for PMU enumeration */ in xgene_perf_event_init()
894 if (event->attr.type != event->pmu->type) in xgene_perf_event_init()
900 * Also, it does not support event sampling mode. in xgene_perf_event_init()
902 if (is_sampling_event(event) || event in xgene_perf_event_init()
944 xgene_perf_enable_event(struct perf_event *event) xgene_perf_enable_event() argument
960 xgene_perf_disable_event(struct perf_event *event) xgene_perf_disable_event() argument
969 xgene_perf_event_set_period(struct perf_event *event) xgene_perf_event_set_period() argument
987 xgene_perf_event_update(struct perf_event *event) xgene_perf_event_update() argument
1007 xgene_perf_read(struct perf_event *event) xgene_perf_read() argument
1012 xgene_perf_start(struct perf_event *event, int flags) xgene_perf_start() argument
1037 xgene_perf_stop(struct perf_event *event, int flags) xgene_perf_stop() argument
1055 xgene_perf_add(struct perf_event *event, int flags) xgene_perf_add() argument
1076 xgene_perf_del(struct perf_event *event, int flags) xgene_perf_del() argument
1215 struct perf_event *event = pmu_dev->pmu_counter_event[idx]; _xgene_pmu_isr() local
[all...]
/kernel/linux/linux-5.10/drivers/input/misc/
H A Ddm355evm_keys.c21 * pressed, or its autorepeat kicks in, an event is sent. This driver
22 * read those events from the small (32 event) queue and reports them.
53 * These event codes match firmware documentation, but other
106 u16 event; in dm355evm_keys_irq() local
119 event = status << 8; in dm355evm_keys_irq()
127 event |= status; in dm355evm_keys_irq()
128 if (event == 0xdead) in dm355evm_keys_irq()
138 * mapping events to a press/release event pair; then in dm355evm_keys_irq()
139 * to avoid adding extra events, skip the second event in dm355evm_keys_irq()
142 if (event in dm355evm_keys_irq()
[all...]
/kernel/linux/linux-5.10/sound/core/seq/oss/
H A Dseq_oss_rw.c147 * insert event record to write queue
154 struct snd_seq_event event; in insert_queue() local
156 /* if this is a timing event, process the current time */ in insert_queue()
160 /* parse this event */ in insert_queue()
161 memset(&event, 0, sizeof(event)); in insert_queue()
163 event.type = SNDRV_SEQ_EVENT_NOTEOFF; in insert_queue()
164 snd_seq_oss_fill_addr(dp, &event, dp->addr.client, dp->addr.port); in insert_queue()
166 if (snd_seq_oss_process_event(dp, rec, &event)) in insert_queue()
167 return 0; /* invalid event in insert_queue()
[all...]
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/
H A Dperf-time-to-tsc.c67 union perf_event *event; in test__perf_time_to_tsc() local
124 while ((event = perf_mmap__read_event(&md->core)) != NULL) { in test__perf_time_to_tsc()
127 if (event->header.type != PERF_RECORD_COMM || in test__perf_time_to_tsc()
128 (pid_t)event->comm.pid != getpid() || in test__perf_time_to_tsc()
129 (pid_t)event->comm.tid != getpid()) in test__perf_time_to_tsc()
132 if (strcmp(event->comm.comm, comm1) == 0) { in test__perf_time_to_tsc()
133 CHECK__(evsel__parse_sample(evsel, event, &sample)); in test__perf_time_to_tsc()
136 if (strcmp(event->comm.comm, comm2) == 0) { in test__perf_time_to_tsc()
137 CHECK__(evsel__parse_sample(evsel, event, &sample)); in test__perf_time_to_tsc()
153 pr_debug("1st event per in test__perf_time_to_tsc()
[all...]
/kernel/linux/linux-5.10/tools/gpio/
H A Dgpio-event-mon.c3 * gpio-event-mon - monitor GPIO line events from userspace
8 * gpio-event-mon -n <device-name> -o <offset>
52 "gpio-event-mon"); in monitor_device()
91 struct gpio_v2_line_event event; in monitor_device() local
93 ret = read(lfd, &event, sizeof(event)); in monitor_device()
100 fprintf(stderr, "Failed to read event (%d)\n", in monitor_device()
106 if (ret != sizeof(event)) { in monitor_device()
107 fprintf(stderr, "Reading event failed\n"); in monitor_device()
112 (uint64_t)event in monitor_device()
[all...]

Completed in 16 milliseconds

1...<<21222324252627282930>>...258