Searched refs:cdiv (Results 1 – 3 of 3) sorted by relevance
/u-boot/drivers/i2c/ |
A D | at91_i2c.c | 163 int ckdiv, cdiv, div; in at91_calc_i2c_clock() local 170 cdiv = div >> ckdiv; in at91_calc_i2c_clock() 174 cdiv = 255; in at91_calc_i2c_clock() 178 (cdiv * (1 << ckdiv) + offset) * 2); in at91_calc_i2c_clock() 180 bus->cwgr_val = (ckdiv << 16) | (cdiv << 8) | cdiv; in at91_calc_i2c_clock()
|
/u-boot/drivers/mmc/ |
A D | bcm2835_sdhost.c | 175 u32 cdiv; member 236 writel(host->cdiv, host->ioaddr + SDCDIV); in bcm2835_reset_internal() 627 host->cdiv = SDCDIV_MAX_CDIV; in bcm2835_set_clock() 628 writel(host->cdiv, host->ioaddr + SDCDIV); in bcm2835_set_clock() 650 host->cdiv = div; in bcm2835_set_clock() 651 writel(host->cdiv, host->ioaddr + SDCDIV); in bcm2835_set_clock()
|
/u-boot/arch/arm/mach-omap2/omap3/ |
A D | clock.c | 28 u32 start, cstart, cend, cdiff, cdiv, val; in get_osc_clk_speed() local 37 cdiv = 2; in get_osc_clk_speed() 39 cdiv = 1; in get_osc_clk_speed() 72 cdiff *= cdiv; in get_osc_clk_speed()
|
Completed in 8 milliseconds