Home
last modified time | relevance | path

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

/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgf100.c271 u32 clk0, clk1 = 0; in calc_clk() local
278 clk0 = calc_src(clk, idx, freq, &src0, &div0); in calc_clk()
279 clk0 = calc_div(clk, idx, clk0, freq, &div1D); in calc_clk()
282 if (clk0 != freq && (0x00004387 & (1 << idx))) { in calc_clk()
291 if (abs((int)freq - clk0) <= abs((int)freq - clk1)) { in calc_clk()
303 info->freq = clk0; in calc_clk()
Dgk104.c293 u32 clk0, clk1 = 0; in calc_clk() local
300 clk0 = calc_src(clk, idx, freq, &src0, &div0); in calc_clk()
301 clk0 = calc_div(clk, idx, clk0, freq, &div1D); in calc_clk()
304 if (clk0 != freq && (0x0000ff87 & (1 << idx))) { in calc_clk()
313 if (abs((int)freq - clk0) <= abs((int)freq - clk1)) { in calc_clk()
324 info->freq = clk0; in calc_clk()
Dmcp77.c187 u32 clk0 = src, clk1 = src; in calc_P() local
189 if (clk0 <= target) { in calc_P()
190 clk1 = clk0 << (*div ? 1 : 0); in calc_P()
193 clk0 >>= 1; in calc_P()
196 if (target - clk0 <= clk1 - target) in calc_P()
197 return clk0; in calc_P()
Dnv50.c346 u32 clk0 = src, clk1 = src; in calc_div() local
348 if (clk0 <= target) { in calc_div()
349 clk1 = clk0 << (*div ? 1 : 0); in calc_div()
352 clk0 >>= 1; in calc_div()
355 if (target - clk0 <= clk1 - target) in calc_div()
356 return clk0; in calc_div()
/drivers/clk/zynq/
Dclkc.c185 static void __init zynq_clk_register_periph_clk(enum zynq_clk clk0, in zynq_clk_register_periph_clk() argument
209 clks[clk0] = clk_register_gate(NULL, clk_name0, div_name, in zynq_clk_register_periph_clk()
221 clks[clk0] = ERR_PTR(-ENOMEM); in zynq_clk_register_periph_clk()
/drivers/pinctrl/
Dpinctrl-lpc18xx.c402 LPC_N(clk0, 0xc00, EMC, CLKOUT, R, R, SDMMC, EMC_ALT, SSP1, ENET, 0, HS);
611 LPC18XX_PIN(clk0, PIN_CLK0),