Home
last modified time | relevance | path

Searched refs:event_count (Results 1 – 17 of 17) sorted by relevance

/linux/tools/perf/bench/
H A Dsynthesize.c51 static atomic_t event_count; variable
58 atomic_inc(&event_count); in process_synthesized_event()
78 atomic_set(&event_count, 0); in do_run_single_threaded()
93 update_stats(&event_stats, atomic_read(&event_count)); in do_run_single_threaded()
178 atomic_set(&event_count, 0); in do_run_multi_threaded()
195 update_stats(&event_stats, atomic_read(&event_count)); in do_run_multi_threaded()
/linux/drivers/pps/generators/
H A Dpps_gen_tio.c134 u32 event_count; in hrtimer_callback() local
143 event_count = pps_tio_read(TIOEC, tio); in hrtimer_callback()
144 if (tio->prev_count && tio->prev_count == event_count) in hrtimer_callback()
146 tio->prev_count = event_count; in hrtimer_callback()
/linux/tools/testing/selftests/connector/
H A Dproc_filter.c217 int i, event_count = 0, err = 0; in handle_events() local
219 event_count = epoll_wait(epoll_fd, ev, MAX_EVENTS, -1); in handle_events()
220 if (event_count < 0) { in handle_events()
226 for (i = 0; i < event_count; i++) { in handle_events()
/linux/drivers/base/power/
H A Dwakeup.c119 if (ws->event_count) { in wakeup_source_record()
128 deleted_ws.event_count += ws->event_count; in wakeup_source_record()
580 ws->event_count++; in wakeup_source_report_event()
1078 ws->name, active_count, ws->event_count, in print_wakeup_source_stats()
H A Dwakeup_stats.c34 wakeup_attr(event_count);
/linux/drivers/net/ethernet/amd/
H A Damd8111e.c365 unsigned int event_count; in amd8111e_set_coalesce() local
376 event_count = coal_conf->rx_event_count; in amd8111e_set_coalesce()
378 event_count > MAX_EVENT_COUNT) in amd8111e_set_coalesce()
383 writel((u32)DLY_INT_A_R0 | (event_count << 16) | in amd8111e_set_coalesce()
389 event_count = coal_conf->tx_event_count; in amd8111e_set_coalesce()
391 event_count > MAX_EVENT_COUNT) in amd8111e_set_coalesce()
397 writel((u32)DLY_INT_B_T0 | (event_count << 16) | in amd8111e_set_coalesce()
/linux/sound/firewire/
H A Damdtp-stream.c1163 unsigned int event_count = s->ctx_data.rx.event_count; in process_rx_packets() local
1208 event_count += desc->data_blocks; in process_rx_packets()
1209 if (event_count >= events_per_period) { in process_rx_packets()
1210 event_count -= events_per_period; in process_rx_packets()
1223 s->ctx_data.rx.event_count = event_count; in process_rx_packets()
1773 s->ctx_data.rx.event_count = 0; in amdtp_stream_start()
H A Damdtp-stream.h162 unsigned int event_count; member
/linux/drivers/net/ipa/
H A Dgsi.h106 u16 event_count; member
/linux/net/rfkill/
H A Dcore.c83 u32 event_count; member
281 if (data->event_count++ > MAX_RFKILL_EVENT) { in rfkill_fill_event()
282 data->event_count--; in rfkill_fill_event()
1274 data->event_count--; in rfkill_fop_read()
/linux/Documentation/ABI/testing/
H A Dsysfs-class-wakeup21 What: /sys/class/wakeup/.../event_count
/linux/drivers/misc/
H A Dds1682.c141 static SENSOR_DEVICE_ATTR_2(event_count, S_IRUGO | S_IWUSR, ds1682_show,
/linux/drivers/accel/qaic/
H A Dqaic_data.c1589 int event_count = NUM_EVENTS; in dbc_irq_threaded_fn() local
1610 if (!event_count) { in dbc_irq_threaded_fn()
1611 event_count = NUM_EVENTS; in dbc_irq_threaded_fn()
1637 if (!event_count) in dbc_irq_threaded_fn()
1639 --event_count; in dbc_irq_threaded_fn()
/linux/drivers/pci/switch/
H A Dswitchtec.c1442 int eid, event_count = 0; in switchtec_event_isr() local
1459 event_count += mask_all_events(stdev, eid); in switchtec_event_isr()
1462 if (event_count) { in switchtec_event_isr()
1466 event_count); in switchtec_event_isr()
/linux/drivers/net/wireless/ath/ath12k/
H A Dwmi.c9229 switch (tpc_stats->event_count) { in ath12k_wmi_tpc_stats_copy_buffer()
9497 u32 event_count; in ath12k_wmi_process_tpc_stats() local
9539 event_count = le32_to_cpu(fixed_param->event_count); in ath12k_wmi_process_tpc_stats()
9540 if (event_count == 0) { in ath12k_wmi_process_tpc_stats()
9561 if (!(event_count == 0)) { in ath12k_wmi_process_tpc_stats()
9562 if (event_count != tpc_stats->event_count + 1) { in ath12k_wmi_process_tpc_stats()
9570 tpc_stats->event_count = le32_to_cpu(fixed_param->event_count); in ath12k_wmi_process_tpc_stats()
9573 tpc_stats->event_count); in ath12k_wmi_process_tpc_stats()
/linux/arch/x86/include/asm/
H A Dkvm_host.h622 u8 event_count; member
/linux/arch/x86/kvm/
H A Dx86.c5171 if (vcpu->scheduled_out && pmu->version && pmu->event_count) { in kvm_arch_vcpu_load()