Searched refs:bus_clk (Results 1 – 10 of 10) sorted by relevance
57 static unsigned int bus_clk; variable117 if (timeout > 0xFFFFFFFF / bus_clk) in mv64x60_wdt_set_timeout()118 timeout = 0xFFFFFFFF / bus_clk; in mv64x60_wdt_set_timeout()120 mv64x60_wdt_count = timeout * bus_clk >> 8; in mv64x60_wdt_set_timeout()261 bus_clk = 133; /* in MHz */ in mv64x60_wdt_probe()264 bus_clk = pdata->bus_clk; in mv64x60_wdt_probe()271 bus_clk++; in mv64x60_wdt_probe()272 bus_clk *= 1000000; /* convert to Hz */ in mv64x60_wdt_probe()
67 static unsigned int bus_clk; variable127 if (timeout > 0xFFFFFFFF / bus_clk) in gef_wdt_set_timeout()128 timeout = 0xFFFFFFFF / bus_clk; in gef_wdt_set_timeout()131 gef_wdt_count = (timeout * bus_clk) >> 8; in gef_wdt_set_timeout()269 bus_clk = 133; /* in MHz */ in gef_wdt_probe()273 bus_clk = freq; in gef_wdt_probe()
100 static struct clk bus_clk = { variable222 int base_clock = bus_clk.rate; in tnetd7300_set_clock()226 base_clock = bus_clk.rate; in tnetd7300_set_clock()257 bus_clk.rate = tnetd7300_get_clock(BUS_PLL_SOURCE_SHIFT, in tnetd7300_init_clocks()264 cpu_clk.rate = bus_clk.rate; in tnetd7300_init_clocks()353 bus_clk.rate = in tnetd7200_init_clocks()357 bus_clk.rate); in tnetd7200_init_clocks()384 bus_clk.rate = cpu_clk.rate / 2; in tnetd7200_init_clocks()387 dsp_mul * 2, bus_clk.rate); in tnetd7200_init_clocks()394 bus_clk.rate = ((dsp_base / dsp_prediv) * dsp_mul) in tnetd7200_init_clocks()[all …]
532 struct clk *bus_clk; in ar7_register_uarts() local537 bus_clk = clk_get(NULL, "bus"); in ar7_register_uarts()538 if (IS_ERR(bus_clk)) in ar7_register_uarts()542 uart_port.uartclk = clk_get_rate(bus_clk) / 2; in ar7_register_uarts()
18 static struct clk bus_clk = { variable34 &bus_clk,44 CLKDEV_CON_ID("bus_clk", &bus_clk),
803 if (sinfo->bus_clk) in atmel_lcdfb_start_clock()804 clk_enable(sinfo->bus_clk); in atmel_lcdfb_start_clock()810 if (sinfo->bus_clk) in atmel_lcdfb_stop_clock()811 clk_disable(sinfo->bus_clk); in atmel_lcdfb_stop_clock()868 sinfo->bus_clk = clk_get(dev, "hck1"); in atmel_lcdfb_probe()869 if (IS_ERR(sinfo->bus_clk)) { in atmel_lcdfb_probe()870 ret = PTR_ERR(sinfo->bus_clk); in atmel_lcdfb_probe()1030 if (sinfo->bus_clk) in atmel_lcdfb_probe()1031 clk_put(sinfo->bus_clk); in atmel_lcdfb_probe()1056 if (sinfo->bus_clk) in atmel_lcdfb_remove()[all …]
200 struct clk *bus_clk; member338 unsigned long clk = clk_get_rate(sfb->bus_clk); in s3c_fb_calc_pixclk()1342 sfb->bus_clk = clk_get(dev, "lcd"); in s3c_fb_probe()1343 if (IS_ERR(sfb->bus_clk)) { in s3c_fb_probe()1345 ret = PTR_ERR(sfb->bus_clk); in s3c_fb_probe()1349 clk_enable(sfb->bus_clk); in s3c_fb_probe()1449 clk_disable(sfb->bus_clk); in s3c_fb_probe()1450 clk_put(sfb->bus_clk); in s3c_fb_probe()1479 clk_disable(sfb->bus_clk); in s3c_fb_remove()1480 clk_put(sfb->bus_clk); in s3c_fb_remove()[all …]
47 struct clk *bus_clk; member
406 pdata.bus_clk = *prop / 1000000; /* wdt driver wants freq in MHz */ in mv64x60_wdt_device_setup()
976 int bus_clk; /* bus clock in MHz, default 133 */ member