diff options
author | adrian <adrian@FreeBSD.org> | 2010-08-19 16:15:30 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2010-08-19 16:15:30 +0000 |
commit | 58e9636110b38fd013afa7a5c11540b418b6f7dc (patch) | |
tree | a4103a14ac3f8648fd1c27917bb6f7c05e3cbd44 /sys/mips/atheros/ar71xx_cpudef.h | |
parent | 0adc79620592d13e6156cad2d9ab11b1c95e6c68 (diff) | |
download | FreeBSD-src-58e9636110b38fd013afa7a5c11540b418b6f7dc.zip FreeBSD-src-58e9636110b38fd013afa7a5c11540b418b6f7dc.tar.gz |
add the PLL set functions to cpuops
Diffstat (limited to 'sys/mips/atheros/ar71xx_cpudef.h')
-rw-r--r-- | sys/mips/atheros/ar71xx_cpudef.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/mips/atheros/ar71xx_cpudef.h b/sys/mips/atheros/ar71xx_cpudef.h index 4a29c8f..f26c55a 100644 --- a/sys/mips/atheros/ar71xx_cpudef.h +++ b/sys/mips/atheros/ar71xx_cpudef.h @@ -81,6 +81,16 @@ static inline int ar71xx_device_stopped(uint32_t mask) return ar71xx_cpu_ops->ar71xx_chip_device_stopped(mask); } +static inline void ar71xx_device_set_pll_ge0(int speed) +{ + ar71xx_cpu_ops->ar71xx_chip_set_pll_ge0(speed); +} + +static inline void ar71xx_device_set_pll_ge1(int speed) +{ + ar71xx_cpu_ops->ar71xx_chip_set_pll_ge1(speed); +} + static inline void ar71xx_device_flush_ddr_ge0(void) { ar71xx_cpu_ops->ar71xx_chip_ddr_flush_ge0(); |