Home
last modified time | relevance | path

Searched refs:fclk_rate (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/i2c/busses/
Di2c-omap.c353 unsigned long fclk_rate = 12000000; in omap_i2c_init() local
382 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()
/linux-6.12.1/drivers/i3c/master/
Dsvc-i3c-master.c542 unsigned long fclk_rate; in svc_i3c_master_set_speed() local
553 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() local
604 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 …]
/linux-6.12.1/drivers/clocksource/
Dtimer-ti-dm.c143 unsigned long fclk_rate; member
272 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()
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/dss/
Ddss.c354 unsigned long fclk_rate; in dss_dump_clocks() local
363 fclk_rate = clk_get_rate(dss.dss_clk); in dss_dump_clocks()
367 fclk_rate); in dss_dump_clocks()
/linux-6.12.1/drivers/gpu/drm/omapdrm/dss/
Ddss.c339 unsigned long fclk_rate; in dss_dump_clocks() local
347 fclk_rate = clk_get_rate(dss->dss_clk); in dss_dump_clocks()
351 fclk_rate); in dss_dump_clocks()