Home
last modified time | relevance | path

Searched refs:cprman (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/clk/bcm/
H A Dclk-bcm2835.c335 static inline void cprman_write(struct bcm2835_cprman *cprman, u32 reg, u32 val) in cprman_write() argument
337 writel(CM_PASSWORD | val, cprman->regs + reg); in cprman_write()
340 static inline u32 cprman_read(struct bcm2835_cprman *cprman, u32 reg) in cprman_read() argument
342 return readl(cprman->regs + reg); in cprman_read()
348 static unsigned long bcm2835_measure_tcnt_mux(struct bcm2835_cprman *cprman, in bcm2835_measure_tcnt_mux() argument
355 spin_lock(&cprman->regs_lock); in bcm2835_measure_tcnt_mux()
357 cprman_write(cprman, CM_TCNTCTL, CM_KILL); in bcm2835_measure_tcnt_mux()
359 cprman_write(cprman, CM_TCNTCTL, in bcm2835_measure_tcnt_mux()
363 cprman_write(cprman, CM_OSCCOUNT, osccount); in bcm2835_measure_tcnt_mux()
370 while (cprman_read(cprman, CM_OSCCOUNT)) { in bcm2835_measure_tcnt_mux()
[all …]
/linux/Documentation/devicetree/bindings/clock/
H A Dbrcm,bcm2835-cprman.txt16 "brcm,bcm2711-cprman"
17 "brcm,bcm2835-cprman"
46 clocks: cprman@7e101000 {
47 compatible = "brcm,bcm2835-cprman";
H A Dbrcm,bcm2835-aux-clock.txt19 clocks: cprman@7e101000 {
20 compatible = "brcm,bcm2835-cprman";
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm283x.dtsi86 clocks: cprman@7e101000 {
87 compatible = "brcm,bcm2835-cprman";
H A Dbcm2711.dtsi639 compatible = "brcm,bcm2711-cprman";