Home
last modified time | relevance | path

Searched refs:clk0 (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/arch/arm/plat-nomadik/
Dtimer.c180 struct clk *clk0; in nmdk_timer_init() local
183 clk0 = clk_get_sys("mtu0", NULL); in nmdk_timer_init()
184 BUG_ON(IS_ERR(clk0)); in nmdk_timer_init()
185 BUG_ON(clk_prepare(clk0) < 0); in nmdk_timer_init()
186 BUG_ON(clk_enable(clk0) < 0); in nmdk_timer_init()
196 rate = clk_get_rate(clk0); in nmdk_timer_init()
/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnvc0_pm.c261 u32 clk0, clk1 = 0; in calc_clk() local
268 clk0 = calc_src(dev, clk, freq, &src0, &div0); in calc_clk()
269 clk0 = calc_div(dev, clk, clk0, freq, &div1D); in calc_clk()
272 if (clk0 != freq && (0x00004387 & (1 << clk))) { in calc_clk()
281 if (abs((int)freq - clk0) <= abs((int)freq - clk1)) { in calc_clk()
293 info->freq = clk0; in calc_clk()
Dnv50_pm.c394 u32 clk0 = src, clk1 = src; in calc_div() local
396 if (clk0 <= target) { in calc_div()
397 clk1 = clk0 << (*div ? 1 : 0); in calc_div()
400 clk0 >>= 1; in calc_div()
403 if (target - clk0 <= clk1 - target) in calc_div()
404 return clk0; in calc_div()
/linux-3.4.99/drivers/staging/telephony/
Dixj.h323 unsigned int clk0:1; member