Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/clk/bcm/
Dclk-bcm2835.c333 static inline void cprman_write(struct bcm2835_cprman *cprman, u32 reg, u32 val) in cprman_write() argument
335 writel(CM_PASSWORD | val, cprman->regs + reg); in cprman_write()
338 static inline u32 cprman_read(struct bcm2835_cprman *cprman, u32 reg) in cprman_read() argument
340 return readl(cprman->regs + reg); in cprman_read()
346 static unsigned long bcm2835_measure_tcnt_mux(struct bcm2835_cprman *cprman, in bcm2835_measure_tcnt_mux() argument
353 spin_lock(&cprman->regs_lock); in bcm2835_measure_tcnt_mux()
355 cprman_write(cprman, CM_TCNTCTL, CM_KILL); in bcm2835_measure_tcnt_mux()
357 cprman_write(cprman, CM_TCNTCTL, in bcm2835_measure_tcnt_mux()
361 cprman_write(cprman, CM_OSCCOUNT, osccount); in bcm2835_measure_tcnt_mux()
368 while (cprman_read(cprman, CM_OSCCOUNT)) { in bcm2835_measure_tcnt_mux()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/clock/
Dbrcm,bcm2835-cprman.txt16 "brcm,bcm2711-cprman"
17 "brcm,bcm2835-cprman"
46 clocks: cprman@7e101000 {
47 compatible = "brcm,bcm2835-cprman";
Dbrcm,bcm2835-aux-clock.txt19 clocks: cprman@7e101000 {
20 compatible = "brcm,bcm2835-cprman";
/Linux-v5.4/arch/arm/boot/dts/
Dbcm283x.dtsi138 clocks: cprman@7e101000 {
139 compatible = "brcm,bcm2835-cprman";