Searched refs:clkrate (Results 1 – 6 of 6) sorted by relevance
/drivers/i2c/busses/ |
D | i2c-stu300.c | 494 static int stu300_set_clk(struct stu300_dev *dev, unsigned long clkrate) in stu300_set_clk() argument 502 stu300_clktable[i].rate < clkrate) in stu300_set_clk() 507 "(%lu Hz).\n", i ? "high" : "low", clkrate); in stu300_set_clk() 515 "virtbase %p\n", clkrate, dev->speed, dev->virtbase); in stu300_set_clk() 519 val = ((clkrate/dev->speed) - 9)/3 + 1; in stu300_set_clk() 522 val = ((clkrate/dev->speed) - 7)/2 + 1; in stu300_set_clk() 527 clkrate); in stu300_set_clk() 534 clkrate); in stu300_set_clk() 563 unsigned long clkrate; in stu300_init_hw() local 580 clkrate = clk_get_rate(dev->clk); in stu300_init_hw() [all …]
|
D | i2c-s3c2410.c | 76 unsigned long clkrate; member 650 i2c->clkrate = clkin; in s3c24xx_i2c_clockrate() 712 delta_f = clk_get_rate(i2c->clk) - i2c->clkrate; in s3c24xx_i2c_cpufreq_transition()
|
D | i2c-omap.c | 1033 dev->speed = pdata->clkrate; in omap_i2c_probe()
|
/drivers/mtd/nand/ |
D | s3c2410.c | 245 unsigned long clkrate = clk_get_rate(info->clk); in s3c2410_nand_setrate() local 251 info->clk_rate = clkrate; in s3c2410_nand_setrate() 252 clkrate /= 1000; /* turn clock into kHz for ease of use */ in s3c2410_nand_setrate() 255 tacls = s3c_nand_calc_rate(plat->tacls, clkrate, tacls_max); in s3c2410_nand_setrate() 256 twrph0 = s3c_nand_calc_rate(plat->twrph0, clkrate, 8); in s3c2410_nand_setrate() 257 twrph1 = s3c_nand_calc_rate(plat->twrph1, clkrate, 8); in s3c2410_nand_setrate() 271 … tacls, to_ns(tacls, clkrate), twrph0, to_ns(twrph0, clkrate), twrph1, to_ns(twrph1, clkrate)); in s3c2410_nand_setrate()
|
/drivers/mmc/host/ |
D | pxamci.c | 56 unsigned long clkrate; member 190 clks = (unsigned long long)data->timeout_ns * host->clkrate; in pxamci_setup_data() 470 unsigned long rate = host->clkrate; in pxamci_set_ios() 634 host->clkrate = clk_get_rate(host->clk); in pxamci_probe() 639 mmc->f_min = (host->clkrate + 63) / 64; in pxamci_probe() 640 mmc->f_max = (mmc_has_26MHz()) ? 26000000 : host->clkrate; in pxamci_probe()
|
/drivers/net/wan/ |
D | pc300_drv.c | 2852 u32 clkrate = chan->conf.phys_settings.clock_rate; in ch_config() local 2931 tmc = clock_rate_calc(clkrate, card->hw.clock, &br); in ch_config()
|