diff options
-rw-r--r-- | src/soc/nvidia/tegra124/lp0/tegra_lp0_resume.c | 8 | ||||
-rw-r--r-- | src/soc/nvidia/tegra132/lp0/tegra_lp0_resume.c | 8 | ||||
-rw-r--r-- | src/soc/nvidia/tegra210/lp0/tegra_lp0_resume.c | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/src/soc/nvidia/tegra124/lp0/tegra_lp0_resume.c b/src/soc/nvidia/tegra124/lp0/tegra_lp0_resume.c index e8cd5716f4..afb01e5369 100644 --- a/src/soc/nvidia/tegra124/lp0/tegra_lp0_resume.c +++ b/src/soc/nvidia/tegra124/lp0/tegra_lp0_resume.c @@ -270,22 +270,22 @@ static inline void __attribute__((always_inline)) for (;;); } -inline static uint32_t read32(const void *addr) +static inline uint32_t read32(const void *addr) { return *(volatile uint32_t *)addr; } -inline static void write32(void *addr, uint32_t val) +static inline void write32(void *addr, uint32_t val) { *(volatile uint32_t *)addr = val; } -inline static void setbits32(uint32_t bits, void *addr) +static inline void setbits32(uint32_t bits, void *addr) { write32(addr, read32(addr) | bits); } -inline static void clrbits32(uint32_t bits, void *addr) +static inline void clrbits32(uint32_t bits, void *addr) { write32(addr, read32(addr) & ~bits); } diff --git a/src/soc/nvidia/tegra132/lp0/tegra_lp0_resume.c b/src/soc/nvidia/tegra132/lp0/tegra_lp0_resume.c index 621c4b72e3..da60c4ba22 100644 --- a/src/soc/nvidia/tegra132/lp0/tegra_lp0_resume.c +++ b/src/soc/nvidia/tegra132/lp0/tegra_lp0_resume.c @@ -249,22 +249,22 @@ static inline void __attribute__((always_inline)) for (;;); } -inline static uint32_t read32(const void *addr) +static inline uint32_t read32(const void *addr) { return *(volatile uint32_t *)addr; } -inline static void write32(void *addr, uint32_t val) +static inline void write32(void *addr, uint32_t val) { *(volatile uint32_t *)addr = val; } -inline static void setbits32(uint32_t bits, void *addr) +static inline void setbits32(uint32_t bits, void *addr) { write32(addr, read32(addr) | bits); } -inline static void clrbits32(uint32_t bits, void *addr) +static inline void clrbits32(uint32_t bits, void *addr) { write32(addr, read32(addr) & ~bits); } diff --git a/src/soc/nvidia/tegra210/lp0/tegra_lp0_resume.c b/src/soc/nvidia/tegra210/lp0/tegra_lp0_resume.c index dc61cbac67..cf9c21299c 100644 --- a/src/soc/nvidia/tegra210/lp0/tegra_lp0_resume.c +++ b/src/soc/nvidia/tegra210/lp0/tegra_lp0_resume.c @@ -408,22 +408,22 @@ static inline void __attribute__((always_inline)) for (;;); } -inline static uint32_t read32(const void *addr) +static inline uint32_t read32(const void *addr) { return *(volatile uint32_t *)addr; } -inline static void write32(uint32_t val, void *addr) +static inline void write32(uint32_t val, void *addr) { *(volatile uint32_t *)addr = val; } -inline static void setbits32(uint32_t bits, void *addr) +static inline void setbits32(uint32_t bits, void *addr) { write32(addr, read32(addr) | bits); } -inline static void clrbits32(uint32_t bits, void *addr) +static inline void clrbits32(uint32_t bits, void *addr) { write32(addr, read32(addr) & ~bits); } |