Searched refs:count_mode (Results 1 – 4 of 4) sorted by relevance
158 enum counter_count_mode *const count_mode) in i8254_count_mode_read() argument164 *count_mode = COUNTER_COUNT_MODE_INTERRUPT_ON_TERMINAL_COUNT; in i8254_count_mode_read()167 *count_mode = COUNTER_COUNT_MODE_HARDWARE_RETRIGGERABLE_ONESHOT; in i8254_count_mode_read()170 *count_mode = COUNTER_COUNT_MODE_RATE_GENERATOR; in i8254_count_mode_read()173 *count_mode = COUNTER_COUNT_MODE_SQUARE_WAVE_MODE; in i8254_count_mode_read()176 *count_mode = COUNTER_COUNT_MODE_SOFTWARE_TRIGGERED_STROBE; in i8254_count_mode_read()179 *count_mode = COUNTER_COUNT_MODE_HARDWARE_TRIGGERED_STROBE; in i8254_count_mode_read()189 const enum counter_count_mode count_mode) in i8254_count_mode_write() argument195 switch (count_mode) { in i8254_count_mode_write()
737 unsigned int count_mode; in quad8_count_mode_write() local743 count_mode = NORMAL_COUNT; in quad8_count_mode_write()746 count_mode = RANGE_LIMIT; in quad8_count_mode_write()749 count_mode = NON_RECYCLE_COUNT; in quad8_count_mode_write()752 count_mode = MODULO_N; in quad8_count_mode_write()761 ret = quad8_control_register_update(priv->map, priv->cmr, count->id, count_mode, in quad8_count_mode_write()
866 DEFINE_UNCORE_FORMAT_ATTR(count_mode, count_mode, "config:2-3");
57 What: /sys/bus/counter/devices/counterX/countY/count_mode