Home
last modified time | relevance | path

Searched refs:counter2 (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/arch/mips/oprofile/
Dop_model_loongson2.c108 uint64_t counter, counter1, counter2; in loongson2_perfcount_handler() local
122 counter2 = counter >> 32; in loongson2_perfcount_handler()
129 if (counter2 & LOONGSON2_PERFCNT_OVERFLOW) { in loongson2_perfcount_handler()
132 counter2 = reg.reset_counter2; in loongson2_perfcount_handler()
135 write_c0_perfcnt((counter2 << 32) | counter1); in loongson2_perfcount_handler()
Dop_model_loongson3.c136 uint64_t counter1, counter2; in loongson3_perfcount_handler() local
145 counter2 = read_c0_perfhi2(); in loongson3_perfcount_handler()
154 if (counter2 & LOONGSON3_PERFCNT_OVERFLOW) { in loongson3_perfcount_handler()
157 counter2 = reg.reset_counter2; in loongson3_perfcount_handler()
163 write_c0_perfhi2(counter2); in loongson3_perfcount_handler()
/Linux-v5.4/drivers/staging/comedi/drivers/
Dcomedi_8254.c306 unsigned int counter2, in comedi_8254_pacer_enable() argument
311 if (counter1 > 2 || counter2 > 2 || counter1 == counter2) in comedi_8254_pacer_enable()
320 comedi_8254_set_mode(i8254, counter2, mode); in comedi_8254_pacer_enable()
328 comedi_8254_write(i8254, counter2, i8254->divisor2); in comedi_8254_pacer_enable()
Dcomedi_8254.h111 unsigned int counter1, unsigned int counter2,
/Linux-v5.4/drivers/watchdog/
Dni903x_wdt.c82 u8 control, counter0, counter1, counter2; in ni903x_wdd_get_timeleft() local
89 counter2 = inb(wdt->io_base + NIWD_COUNTER2); in ni903x_wdd_get_timeleft()
93 counter = (counter2 << 16) | (counter1 << 8) | counter0; in ni903x_wdd_get_timeleft()
/Linux-v5.4/arch/arm/boot/dts/
Dls1021a.dtsi462 counter2: counter@29f0000 { label