Home
last modified time | relevance | path

Searched refs:get_bus_freq (Results 1 – 25 of 82) sorted by relevance

1234

/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dclock.c92 ulong get_bus_freq(ulong dummy) in get_bus_freq() function
111 return get_bus_freq(0) / 2; in mxc_get_clock()
113 return get_bus_freq(0); in mxc_get_clock()
115 return get_bus_freq(0) / 2; in mxc_get_clock()
117 return get_bus_freq(0) / 2; in mxc_get_clock()
H A Dfdt.c82 unsigned long busclk = get_bus_freq(0); in ft_cpu_setup()
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dfsl_lsch2_speed.c198 ulong get_bus_freq(ulong dummy) in get_bus_freq() function
226 return get_bus_freq(0) / CONFIG_SYS_FSL_DUART_CLK_DIV; in get_serial_clock()
231 return get_bus_freq(0) / CONFIG_SYS_FSL_I2C_CLK_DIV; in get_i2c_freq()
236 return get_bus_freq(0) / CONFIG_SYS_FSL_DSPI_CLK_DIV; in get_dspi_freq()
242 return get_bus_freq(0) / CONFIG_SYS_FSL_LPUART_CLK_DIV; in get_uart_freq()
H A Dfsl_lsch3_speed.c156 ulong get_bus_freq(ulong dummy) in get_bus_freq() function
187 return get_bus_freq(0) / CONFIG_SYS_FSL_I2C_CLK_DIV; in get_i2c_freq()
192 return get_bus_freq(0) / CONFIG_SYS_FSL_DSPI_CLK_DIV; in get_dspi_freq()
207 return get_bus_freq(0) / CONFIG_SYS_FSL_DUART_CLK_DIV; in get_serial_clock()
/openbmc/linux/drivers/net/ethernet/freescale/fs_enet/
H A Dmii-fec.c106 int (*get_bus_freq)(struct device *); in fs_enet_mdio_probe() local
112 get_bus_freq = match->data; in fs_enet_mdio_probe()
139 if (get_bus_freq) { in fs_enet_mdio_probe()
140 clock = get_bus_freq(&ofdev->dev); in fs_enet_mdio_probe()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dppc.h92 ulong get_bus_freq(ulong);
97 return get_bus_freq(dummy); in get_ddr_freq()
/openbmc/u-boot/drivers/spi/
H A Dath79_spi.c143 div = get_bus_freq(0) / speed; in ath79_spi_set_speed()
154 val = get_bus_freq(0) / ATH79_SPI_MHZ; in ath79_spi_set_speed()
/openbmc/u-boot/include/configs/
H A Dqemu-ppce500.h86 #define CONFIG_SYS_NS16550_CLK (get_bus_freq(0))
H A Dls1088a_common.h75 #define CONFIG_SYS_NS16550_CLK (get_bus_freq(0) / 2)
H A Dlx2160a_common.h71 #define CONFIG_PL011_CLOCK (get_bus_freq(0) / 4)
H A Dt4qds.h118 #define CONFIG_SYS_NS16550_CLK (get_bus_freq(0)/2)
H A DMPC8555CDS.h227 #define CONFIG_SYS_NS16550_CLK get_bus_freq(0)
H A DMPC8541CDS.h229 #define CONFIG_SYS_NS16550_CLK get_bus_freq(0)
H A DMPC8540ADS.h204 #define CONFIG_SYS_NS16550_CLK get_bus_freq(0)
H A Dcontrolcenterd.h159 #define CONFIG_SYS_NS16550_CLK get_bus_freq(0)
H A Dsocrates.h169 #define CONFIG_SYS_NS16550_CLK get_bus_freq(0)
H A DMPC8568MDS.h207 #define CONFIG_SYS_NS16550_CLK get_bus_freq(0)
/openbmc/u-boot/board/freescale/t104xrdb/
H A Ddiu.c44 speed_ccb = get_bus_freq(0); in diu_set_pixel_clock()
/openbmc/u-boot/board/freescale/mpc8610hpcd/
H A Dmpc8610hpcd_diu.c26 speed_ccb = get_bus_freq(0); in diu_set_pixel_clock()
/openbmc/u-boot/board/gdsys/p1022/
H A Ddiu.c53 speed_ccb = get_bus_freq(0); in diu_set_pixel_clock()
/openbmc/u-boot/board/freescale/t1040qds/
H A Ddiu.c43 speed_ccb = get_bus_freq(0); in diu_set_pixel_clock()
/openbmc/u-boot/arch/mips/mach-ath79/ar933x/
H A Dclk.c76 ulong get_bus_freq(ulong dummy) in get_bus_freq() function
/openbmc/linux/drivers/cpufreq/
H A Dqoriq-cpufreq.c41 static u32 get_bus_freq(void) in get_bus_freq() function
211 do_div(u64temp, get_bus_freq()); in qoriq_cpufreq_cpu_init()
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/
H A Dspeed.c123 ulong get_bus_freq(ulong dummy) in get_bus_freq() function
/openbmc/u-boot/arch/mips/mach-ath79/qca953x/
H A Dclk.c98 ulong get_bus_freq(ulong dummy) in get_bus_freq() function

1234