cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

pxa.h (571B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2
      3#include <linux/compiler.h>
      4#include <linux/types.h>
      5
      6extern int pxa25x_clocks_init(void __iomem *regs);
      7extern int pxa27x_clocks_init(void __iomem *regs);
      8extern int pxa3xx_clocks_init(void __iomem *regs, void __iomem *oscc_reg);
      9
     10#ifdef CONFIG_PXA3xx
     11extern unsigned	pxa3xx_get_clk_frequency_khz(int);
     12extern void pxa3xx_clk_update_accr(u32 disable, u32 enable, u32 xclkcfg, u32 mask);
     13#else
     14#define pxa3xx_get_clk_frequency_khz(x)		(0)
     15#define pxa3xx_clk_update_accr(disable, enable, xclkcfg, mask) do { } while (0)
     16#endif