Lines Matching refs:regs_lock
317 spinlock_t regs_lock; /* spinlock for all clocks */ member
355 spin_lock(&cprman->regs_lock); in bcm2835_measure_tcnt_mux()
395 spin_unlock(&cprman->regs_lock); in bcm2835_measure_tcnt_mux()
620 spin_lock(&cprman->regs_lock); in bcm2835_pll_off()
625 spin_unlock(&cprman->regs_lock); in bcm2835_pll_off()
640 spin_lock(&cprman->regs_lock); in bcm2835_pll_on()
643 spin_unlock(&cprman->regs_lock); in bcm2835_pll_on()
725 spin_lock(&cprman->regs_lock); in bcm2835_pll_set_rate()
729 spin_unlock(&cprman->regs_lock); in bcm2835_pll_set_rate()
829 spin_lock(&cprman->regs_lock); in bcm2835_pll_divider_off()
836 spin_unlock(&cprman->regs_lock); in bcm2835_pll_divider_off()
845 spin_lock(&cprman->regs_lock); in bcm2835_pll_divider_on()
852 spin_unlock(&cprman->regs_lock); in bcm2835_pll_divider_on()
1064 spin_lock(&cprman->regs_lock); in bcm2835_clock_off()
1067 spin_unlock(&cprman->regs_lock); in bcm2835_clock_off()
1079 spin_lock(&cprman->regs_lock); in bcm2835_clock_on()
1084 spin_unlock(&cprman->regs_lock); in bcm2835_clock_on()
1109 spin_lock(&cprman->regs_lock); in bcm2835_clock_set_rate()
1125 spin_unlock(&cprman->regs_lock); in bcm2835_clock_set_rate()
1406 divider->div.lock = &cprman->regs_lock; in bcm2835_register_pll_divider()
1506 CM_GATE_BIT, 0, &cprman->regs_lock); in bcm2835_register_gate()
2283 spin_lock_init(&cprman->regs_lock); in bcm2835_clk_probe()