Searched refs:init_counter (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/drivers/watchdog/ |
H A D | armada-37xx-wdt.c | 59 static int init_counter(struct a37xx_wdt *priv, int id, u32 mode, u32 trig_src) in init_counter() function 119 err = init_counter(priv, 0, CNTR_CTRL_MODE_ONESHOT, 0); in a37xx_wdt_start() 123 err = init_counter(priv, 1, CNTR_CTRL_MODE_HWSIG, in a37xx_wdt_start()
|
/openbmc/linux/drivers/watchdog/ |
H A D | armada_37xx_wdt.c | 122 static void init_counter(struct armada_37xx_watchdog *dev, int id, u32 mode, in init_counter() function 206 init_counter(dev, CNTR_ID_RETRIGGER, CNTR_CTRL_MODE_ONESHOT, 0); in armada_37xx_wdt_start() 210 init_counter(dev, CNTR_ID_WDOG, CNTR_CTRL_MODE_HWSIG, in armada_37xx_wdt_start()
|
/openbmc/linux/tools/power/x86/turbostat/ |
H A D | turbostat.c | 6043 void init_counter(struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pk… in init_counter() function 6076 init_counter(EVEN_COUNTERS, cpu_id); in initialize_counters() 6077 init_counter(ODD_COUNTERS, cpu_id); in initialize_counters()
|