Home
last modified time | relevance | path

Searched refs:num_counts (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/drivers/counter/
Dcounter-sysfs.c759 for (i = 0; i < counter->num_counts; i++) { in counter_sysfs_counts_add()
790 *val = counter->num_counts; in counter_num_counts_read()
854 cattr_group += counter->num_counts; in counter_sysfs_attr_add()
909 const size_t num_groups = counter->num_signals + counter->num_counts + 1; in counter_sysfs_add()
Dinterrupt-cnt.c210 counter->num_counts = 1; in interrupt_cnt_probe()
Dcounter-chrdev.c267 if (parent >= counter->num_counts) in counter_add_watch()
269 parent = array_index_nospec(parent, counter->num_counts); in counter_add_watch()
Dftm-quaddec.c291 counter->num_counts = 1; in ftm_quaddec_probe()
Dmicrochip-tcb-capture.c367 counter->num_counts = ARRAY_SIZE(mchp_tc_counts); in mchp_tc_probe()
Dti-eqep.c404 counter->num_counts = ARRAY_SIZE(ti_eqep_counts); in ti_eqep_probe()
Dstm32-lptimer-cnt.c441 counter->num_counts = 1; in stm32_lptim_cnt_probe()
Dstm32-timer-cnt.c339 counter->num_counts = 1; in stm32_timer_cnt_probe()
Dintel-qep.c430 counter->num_counts = ARRAY_SIZE(intel_qep_counter_count); in intel_qep_probe()
D104-quad-8.c1150 counter->num_counts = ARRAY_SIZE(quad8_counts); in quad8_probe()
/linux-5.19.10/include/linux/
Dcounter.h312 size_t num_counts; member
/linux-5.19.10/Documentation/ABI/testing/
Dsysfs-bus-counter252 What: /sys/bus/counter/devices/counterX/num_counts