Searched refs:fclk_rate (Results 1 – 5 of 5) sorted by relevance
353 unsigned long fclk_rate = 12000000; in omap_i2c_init() local382 fclk_rate = clk_get_rate(fclk); in omap_i2c_init()394 if (fclk_rate > 12000000) in omap_i2c_init()395 psc = fclk_rate / 12000000; in omap_i2c_init()420 fclk_rate = clk_get_rate(fclk) / 1000; in omap_i2c_init()424 psc = fclk_rate / internal_clk; in omap_i2c_init()437 scl = fclk_rate / omap->speed; in omap_i2c_init()456 fclk_rate /= (psc + 1) * 1000; in omap_i2c_init()459 scll = fclk_rate / (omap->speed * 2) - 7 + psc; in omap_i2c_init()460 sclh = fclk_rate / (omap->speed * 2) - 7 + psc; in omap_i2c_init()
542 unsigned long fclk_rate; in svc_i3c_master_set_speed() local553 fclk_rate = clk_get_rate(master->fclk); in svc_i3c_master_set_speed()554 if (!fclk_rate) { in svc_i3c_master_set_speed()567 odbaud = DIV_ROUND_UP(fclk_rate, bus->scl_rate.i2c * (2 + 2 * ppbaud)) - 1; in svc_i3c_master_set_speed()589 unsigned long fclk_rate, fclk_period_ns; in svc_i3c_master_bus_init() local604 fclk_rate = clk_get_rate(master->fclk); in svc_i3c_master_bus_init()605 if (!fclk_rate) { in svc_i3c_master_bus_init()610 fclk_period_ns = DIV_ROUND_UP(1000000000, fclk_rate); in svc_i3c_master_bus_init()619 ppbaud = DIV_ROUND_UP(fclk_rate / 2, i3c_scl_rate) - 1; in svc_i3c_master_bus_init()629 odbaud = DIV_ROUND_UP(fclk_rate, SVC_I3C_QUICK_I2C_CLK * (1 + ppbaud)) - 2; in svc_i3c_master_bus_init()[all …]
143 unsigned long fclk_rate; member272 udelay(3500000 / timer->fclk_rate + 1); in __omap_dm_timer_stop()359 timer->fclk_rate = clk_data->new_rate; in omap_timer_fclk_notifier()1145 timer->fclk_rate = clk_get_rate(timer->fclk); in omap_dm_timer_probe()
354 unsigned long fclk_rate; in dss_dump_clocks() local363 fclk_rate = clk_get_rate(dss.dss_clk); in dss_dump_clocks()367 fclk_rate); in dss_dump_clocks()
339 unsigned long fclk_rate; in dss_dump_clocks() local347 fclk_rate = clk_get_rate(dss->dss_clk); in dss_dump_clocks()351 fclk_rate); in dss_dump_clocks()