Lines Matching refs:pmr_reg
481 long pmr_reg; in lca_clock_print() local
483 pmr_reg = LCA_READ_PMR; in lca_clock_print()
486 printk("\tPrimary clock divisor\t0x%lx\n", LCA_GET_PRIMARY(pmr_reg)); in lca_clock_print()
487 printk("\tOverride clock divisor\t0x%lx\n", LCA_GET_OVERRIDE(pmr_reg)); in lca_clock_print()
489 (pmr_reg & LCA_PMR_INTO) ? "on" : "off"); in lca_clock_print()
491 (pmr_reg & LCA_PMR_DMAO) ? "on" : "off"); in lca_clock_print()
498 long pmr_reg; in lca_get_clock() local
500 pmr_reg = LCA_READ_PMR; in lca_get_clock()
501 return(LCA_GET_PRIMARY(pmr_reg)); in lca_get_clock()
508 long pmr_reg; in lca_clock_fiddle() local
510 pmr_reg = LCA_READ_PMR; in lca_clock_fiddle()
511 LCA_SET_PRIMARY_CLOCK(pmr_reg, divisor); in lca_clock_fiddle()
513 LCA_WRITE_PMR(pmr_reg); in lca_clock_fiddle()