Lines Matching refs:regs_lock
316 spinlock_t regs_lock; /* spinlock for all clocks */ member
353 spin_lock(&cprman->regs_lock); in bcm2835_measure_tcnt_mux()
393 spin_unlock(&cprman->regs_lock); in bcm2835_measure_tcnt_mux()
601 spin_lock(&cprman->regs_lock); in bcm2835_pll_off()
606 spin_unlock(&cprman->regs_lock); in bcm2835_pll_off()
621 spin_lock(&cprman->regs_lock); in bcm2835_pll_on()
624 spin_unlock(&cprman->regs_lock); in bcm2835_pll_on()
705 spin_lock(&cprman->regs_lock); in bcm2835_pll_set_rate()
709 spin_unlock(&cprman->regs_lock); in bcm2835_pll_set_rate()
810 spin_lock(&cprman->regs_lock); in bcm2835_pll_divider_off()
817 spin_unlock(&cprman->regs_lock); in bcm2835_pll_divider_off()
826 spin_lock(&cprman->regs_lock); in bcm2835_pll_divider_on()
833 spin_unlock(&cprman->regs_lock); in bcm2835_pll_divider_on()
1024 spin_lock(&cprman->regs_lock); in bcm2835_clock_off()
1027 spin_unlock(&cprman->regs_lock); in bcm2835_clock_off()
1039 spin_lock(&cprman->regs_lock); in bcm2835_clock_on()
1044 spin_unlock(&cprman->regs_lock); in bcm2835_clock_on()
1069 spin_lock(&cprman->regs_lock); in bcm2835_clock_set_rate()
1085 spin_unlock(&cprman->regs_lock); in bcm2835_clock_set_rate()
1362 divider->div.lock = &cprman->regs_lock; in bcm2835_register_pll_divider()
1457 CM_GATE_BIT, 0, &cprman->regs_lock); in bcm2835_register_gate()
2212 spin_lock_init(&cprman->regs_lock); in bcm2835_clk_probe()