Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvmem/
H A Dsunplus-ocotp.c40 #define CPU_CLOCK FIELD_PREP(OTP_RD_PERIOD, 30) macro
102 writel((readl(otp->base[OTPRX] + OTP_CONTROL_2) & OTP_RD_PERIOD_MASK) | CPU_CLOCK, in sp_otp_read_real()
/openbmc/u-boot/board/inversepath/usbarmory/
H A Dusbarmory.c365 #define CPU_CLOCK 800 macro
370 const uint32_t cpuclk = CPU_CLOCK; in set_clock()
/openbmc/linux/drivers/clk/tegra/
H A Dclk-tegra20.c118 #define CPU_CLOCK(cpu) (0x1 << (8 + cpu)) macro
908 writel(reg & ~CPU_CLOCK(cpu), in tegra20_enable_cpu_clock()
919 writel(reg | CPU_CLOCK(cpu), in tegra20_disable_cpu_clock()
H A Dclk-tegra30.c119 #define CPU_CLOCK(cpu) (0x1 << (8 + cpu)) macro
1088 writel(CPU_CLOCK(cpu), in tegra30_enable_cpu_clock()
1098 writel(reg | CPU_CLOCK(cpu), in tegra30_disable_cpu_clock()