/src/sys/arch/mips/ingenic/ |
apbus.c | 70 uint32_t clk1; /* bit(s) in CLKGR1 */ member in struct:apbus_dev 262 if (adv->clk1 != 0) { 264 reg &= ~adv->clk1;
|
apbus.c | 70 uint32_t clk1; /* bit(s) in CLKGR1 */ member in struct:apbus_dev 262 if (adv->clk1 != 0) { 264 reg &= ~adv->clk1;
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/ |
nouveau_nvkm_subdev_clk_gf100.c | 284 u32 clk0, clk1 = 0; local in function:calc_clk 297 clk1 = calc_pll(clk, idx, freq, &info->coef); 299 clk1 = cstate->domain[nv_clk_src_hubk06]; 300 clk1 = calc_div(clk, idx, clk1, freq, &div1P); 304 if (abs((int)freq - clk0) <= abs((int)freq - clk1)) { 323 info->freq = clk1;
|
nouveau_nvkm_subdev_clk_gk104.c | 298 u32 clk0, clk1 = 0; local in function:calc_clk 311 clk1 = calc_pll(clk, idx, freq, &info->coef); 313 clk1 = cstate->domain[nv_clk_src_hubk06]; 314 clk1 = calc_div(clk, idx, clk1, freq, &div1P); 318 if (abs((int)freq - clk0) <= abs((int)freq - clk1)) { 337 info->freq = clk1;
|
nouveau_nvkm_subdev_clk_mcp77.c | 192 u32 clk0 = src, clk1 = src; local in function:calc_P 195 clk1 = clk0 << (*div ? 1 : 0); 201 if (target - clk0 <= clk1 - target) 204 return clk1;
|
nouveau_nvkm_subdev_clk_nv50.c | 351 u32 clk0 = src, clk1 = src; local in function:calc_div 354 clk1 = clk0 << (*div ? 1 : 0); 360 if (target - clk0 <= clk1 - target) 363 return clk1;
|
nouveau_nvkm_subdev_clk_gf100.c | 284 u32 clk0, clk1 = 0; local in function:calc_clk 297 clk1 = calc_pll(clk, idx, freq, &info->coef); 299 clk1 = cstate->domain[nv_clk_src_hubk06]; 300 clk1 = calc_div(clk, idx, clk1, freq, &div1P); 304 if (abs((int)freq - clk0) <= abs((int)freq - clk1)) { 323 info->freq = clk1;
|
nouveau_nvkm_subdev_clk_gk104.c | 298 u32 clk0, clk1 = 0; local in function:calc_clk 311 clk1 = calc_pll(clk, idx, freq, &info->coef); 313 clk1 = cstate->domain[nv_clk_src_hubk06]; 314 clk1 = calc_div(clk, idx, clk1, freq, &div1P); 318 if (abs((int)freq - clk0) <= abs((int)freq - clk1)) { 337 info->freq = clk1;
|
nouveau_nvkm_subdev_clk_mcp77.c | 192 u32 clk0 = src, clk1 = src; local in function:calc_P 195 clk1 = clk0 << (*div ? 1 : 0); 201 if (target - clk0 <= clk1 - target) 204 return clk1;
|
nouveau_nvkm_subdev_clk_nv50.c | 351 u32 clk0 = src, clk1 = src; local in function:calc_div 354 clk1 = clk0 << (*div ? 1 : 0); 360 if (target - clk0 <= clk1 - target) 363 return clk1;
|