Searched refs:hpet_write (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/mips/loongson64/ |
H A D | hpet.c | 46 static void hpet_write(int offset, int data) in hpet_write() function 56 hpet_write(HPET_CFG, cfg); in hpet_start_counter() 64 hpet_write(HPET_CFG, cfg); in hpet_stop_counter() 69 hpet_write(HPET_COUNTER, 0); in hpet_reset_counter() 70 hpet_write(HPET_COUNTER + 4, 0); in hpet_reset_counter() 100 hpet_write(HPET_T0_CFG, cfg); in hpet_set_state_periodic() 103 hpet_write(HPET_T0_CMP, HPET_COMPARE_VAL); in hpet_set_state_periodic() 122 hpet_write(HPET_T0_CFG, cfg); in hpet_set_state_shutdown() 143 hpet_write(HPET_T0_CFG, cfg); in hpet_set_state_oneshot() 166 hpet_write(HPET_T0_CMP, cnt); in hpet_next_event() [all …]
|