Lines Matching refs:cfg
349 unsigned long cfg = hpet_readl(HPET_CFG); in hpet_stop_counter() local
350 cfg &= ~HPET_CFG_ENABLE; in hpet_stop_counter()
351 hpet_writel(cfg, HPET_CFG); in hpet_stop_counter()
362 unsigned long cfg = hpet_readl(HPET_CFG); in hpet_start_counter() local
363 cfg |= HPET_CFG_ENABLE; in hpet_start_counter()
364 hpet_writel(cfg, HPET_CFG); in hpet_start_counter()
376 unsigned long cfg, cmp, cmp2, now; in hpet_set_mode() local
381 cfg = hpet_readl(HPET_Tn_CFG(timer)); in hpet_set_mode()
383 cfg &= ~HPET_TN_LEVEL; in hpet_set_mode()
384 cfg |= HPET_TN_ENABLE | HPET_TN_PERIODIC | in hpet_set_mode()
390 hpet_writel(cfg, HPET_Tn_CFG(timer)); in hpet_set_mode()
418 unsigned long cfg, cmp, delta, cmp2, cmp3; in hpet_check_stopped() local
438 cfg = hpet_readl(HPET_Tn_CFG(timer)); in hpet_check_stopped()
439 cfg |= HPET_TN_SETVAL; in hpet_check_stopped()
440 hpet_writel(cfg, HPET_Tn_CFG(timer)); in hpet_check_stopped()
471 cfg = hpet_readl(HPET_Tn_CFG(timer)); in hpet_check_stopped()
472 cfg |= HPET_TN_SETVAL; in hpet_check_stopped()
473 hpet_writel(cfg, HPET_Tn_CFG(timer)); in hpet_check_stopped()
524 cfg = hpet_readl(HPET_Tn_CFG(timer)); in hpet_check_stopped()
525 cfg |= HPET_TN_SETVAL; in hpet_check_stopped()
526 hpet_writel(cfg, HPET_Tn_CFG(timer)); in hpet_check_stopped()
572 cfg = hpet_readl(HPET_Tn_CFG(timer)); in hpet_check_stopped()
573 cfg |= HPET_TN_SETVAL; in hpet_check_stopped()
574 hpet_writel(cfg, HPET_Tn_CFG(timer)); in hpet_check_stopped()