Lines Matching refs:pmc
39 static inline void pmc_lock(struct at91_pmc *pmc) in pmc_lock() argument
41 spin_lock(&pmc->lock); in pmc_lock()
44 static inline void pmc_unlock(struct at91_pmc *pmc) in pmc_unlock() argument
46 spin_unlock(&pmc->lock); in pmc_unlock()
49 static inline u32 pmc_read(struct at91_pmc *pmc, int offset) in pmc_read() argument
51 return readl(pmc->regbase + offset); in pmc_read()
54 static inline void pmc_write(struct at91_pmc *pmc, int offset, u32 value) in pmc_write() argument
56 writel(value, pmc->regbase + offset); in pmc_write()
63 struct at91_pmc *pmc);
66 struct at91_pmc *pmc);
68 struct at91_pmc *pmc);
70 struct at91_pmc *pmc);
72 struct at91_pmc *pmc);
75 struct at91_pmc *pmc);
77 struct at91_pmc *pmc);
79 struct at91_pmc *pmc);
81 struct at91_pmc *pmc);
83 struct at91_pmc *pmc);
86 struct at91_pmc *pmc);
88 struct at91_pmc *pmc);
91 struct at91_pmc *pmc);
94 struct at91_pmc *pmc);
96 struct at91_pmc *pmc);
99 struct at91_pmc *pmc);
101 struct at91_pmc *pmc);
103 struct at91_pmc *pmc);
106 struct at91_pmc *pmc);
109 struct at91_pmc *pmc);
111 struct at91_pmc *pmc);
113 struct at91_pmc *pmc);
116 struct at91_pmc *pmc);
119 struct at91_pmc *pmc);
122 struct at91_pmc *pmc);