Searched refs:clkrate (Results 1 – 6 of 6) sorted by relevance
/arch/arm/plat-omap/ |
D | i2c.c | 60 i2c_pdata[ints[1] - 1].clkrate = ints[2]; in omap_i2c_bus_setup() 61 i2c_pdata[ints[1] - 1].clkrate |= OMAP_I2C_CMDLINE_SETUP; in omap_i2c_bus_setup() 76 if (i2c_pdata[i].clkrate & OMAP_I2C_CMDLINE_SETUP) { in omap_register_i2c_bus_cmdline() 77 i2c_pdata[i].clkrate &= ~OMAP_I2C_CMDLINE_SETUP; in omap_register_i2c_bus_cmdline() 96 int __init omap_register_i2c_bus(int bus_id, u32 clkrate, in omap_register_i2c_bus() argument 110 if (!i2c_pdata[bus_id - 1].clkrate) in omap_register_i2c_bus() 111 i2c_pdata[bus_id - 1].clkrate = clkrate; in omap_register_i2c_bus() 113 i2c_pdata[bus_id - 1].clkrate &= ~OMAP_I2C_CMDLINE_SETUP; in omap_register_i2c_bus()
|
/arch/arm/mach-lpc32xx/ |
D | timer.c | 92 u32 clkrate, pllreg; in lpc32xx_timer_init() local 106 clkrate = LPC32XX_MAIN_OSC_FREQ; in lpc32xx_timer_init() 108 clkrate = 397 * LPC32XX_CLOCK_OSC_FREQ; in lpc32xx_timer_init() 112 clkrate = clk_get_pllrate_from_reg(clkrate, pllreg); in lpc32xx_timer_init() 115 clkrate = clkrate / clk_get_pclk_div(); in lpc32xx_timer_init() 132 clockevents_config_and_register(&lpc32xx_clkevt, clkrate, 1, -1); in lpc32xx_timer_init() 143 "lpc32xx_clksrc", clkrate, 300, 32, clocksource_mmio_readl_up); in lpc32xx_timer_init()
|
/arch/arm/mach-davinci/ |
D | aemif.c | 104 unsigned long clkrate) in davinci_aemif_setup_timing() argument 113 clkrate /= 1000; /* turn clock into kHz for ease of use */ in davinci_aemif_setup_timing() 115 ta = aemif_calc_rate(t->ta, clkrate, TA_MAX); in davinci_aemif_setup_timing() 116 rhold = aemif_calc_rate(t->rhold, clkrate, RHOLD_MAX); in davinci_aemif_setup_timing() 117 rstrobe = aemif_calc_rate(t->rstrobe, clkrate, RSTROBE_MAX); in davinci_aemif_setup_timing() 118 rsetup = aemif_calc_rate(t->rsetup, clkrate, RSETUP_MAX); in davinci_aemif_setup_timing() 119 whold = aemif_calc_rate(t->whold, clkrate, WHOLD_MAX); in davinci_aemif_setup_timing() 120 wstrobe = aemif_calc_rate(t->wstrobe, clkrate, WSTROBE_MAX); in davinci_aemif_setup_timing() 121 wsetup = aemif_calc_rate(t->wsetup, clkrate, WSETUP_MAX); in davinci_aemif_setup_timing() 154 unsigned long clkrate; in davinci_aemif_setup() local [all …]
|
/arch/arm/plat-omap/include/plat/ |
D | i2c.h | 32 extern int omap_register_i2c_bus(int bus_id, u32 clkrate, 37 static inline int omap_register_i2c_bus(int bus_id, u32 clkrate, in omap_register_i2c_bus() argument
|
/arch/arm/mach-omap2/ |
D | twl-common.h | 38 void omap_pmic_init(int bus, u32 clkrate, const char *pmic_type, int pmic_irq,
|
D | twl-common.c | 56 void __init omap_pmic_init(int bus, u32 clkrate, in omap_pmic_init() argument 66 omap_register_i2c_bus(bus, clkrate, &pmic_i2c_board_info, 1); in omap_pmic_init()
|