blob: 1813740eb151ad5da7c6f3c4e7df2d82075c97fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __ASM_ARCH_CLOCKS_H
#define __ASM_ARCH_CLOCKS_H
unsigned long get_bus_clock(void);
unsigned long get_cpu_clock(void);
unsigned long get_ipb_clock(void);
unsigned long get_pci_clock(void);
unsigned long get_timebase_clock(void);
static inline unsigned long fsl_get_i2c_freq(void)
{
return get_ipb_clock();
}
#endif /* __ASM_ARCH_CLOCKS_H */
|