Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/clk/bcm/
Dclk-bcm2835.c332 static inline void cprman_write(struct bcm2835_cprman *cprman, u32 reg, u32 val) in cprman_write() argument
334 writel(CM_PASSWORD | val, cprman->regs + reg); in cprman_write()
337 static inline u32 cprman_read(struct bcm2835_cprman *cprman, u32 reg) in cprman_read() argument
339 return readl(cprman->regs + reg); in cprman_read()
345 static unsigned long bcm2835_measure_tcnt_mux(struct bcm2835_cprman *cprman, in bcm2835_measure_tcnt_mux() argument
352 spin_lock(&cprman->regs_lock); in bcm2835_measure_tcnt_mux()
354 cprman_write(cprman, CM_TCNTCTL, CM_KILL); in bcm2835_measure_tcnt_mux()
356 cprman_write(cprman, CM_TCNTCTL, in bcm2835_measure_tcnt_mux()
360 cprman_write(cprman, CM_OSCCOUNT, osccount); in bcm2835_measure_tcnt_mux()
367 while (cprman_read(cprman, CM_OSCCOUNT)) { in bcm2835_measure_tcnt_mux()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/clock/
Dbrcm,bcm2835-cprman.txt15 - compatible: Should be "brcm,bcm2835-cprman"
44 clocks: cprman@7e101000 {
45 compatible = "brcm,bcm2835-cprman";
Dbrcm,bcm2835-aux-clock.txt19 clocks: cprman@7e101000 {
20 compatible = "brcm,bcm2835-cprman";
/Linux-v4.19/arch/arm/boot/dts/
Dbcm283x.dtsi128 clocks: cprman@7e101000 {
129 compatible = "brcm,bcm2835-cprman";