Lines Matching refs:gcr
416 uint64_t gcr; in hpet_start_main_counter() local
419 gcr = *gcr_ptr; in hpet_start_main_counter()
421 gcr |= HPET_GCFR_ENABLE_CNF; in hpet_start_main_counter()
422 *gcr_ptr = gcr; in hpet_start_main_counter()
423 gcr = *gcr_ptr; in hpet_start_main_counter()
425 return (gcr & HPET_GCFR_ENABLE_CNF ? AE_OK : ~AE_OK); in hpet_start_main_counter()
432 uint64_t gcr; in hpet_stop_main_counter() local
435 gcr = *gcr_ptr; in hpet_stop_main_counter()
437 gcr &= ~HPET_GCFR_ENABLE_CNF; in hpet_stop_main_counter()
438 *gcr_ptr = gcr; in hpet_stop_main_counter()
439 gcr = *gcr_ptr; in hpet_stop_main_counter()
441 return (gcr & HPET_GCFR_ENABLE_CNF ? ~AE_OK : AE_OK); in hpet_stop_main_counter()