Lines Matching full:ratio

76  *   reference clock and a ratio parameter.
1272 u8 ratio; member
1276 { .refclk = 19200, .cdclk = 144000, .ratio = 60 },
1277 { .refclk = 19200, .cdclk = 288000, .ratio = 60 },
1278 { .refclk = 19200, .cdclk = 384000, .ratio = 60 },
1279 { .refclk = 19200, .cdclk = 576000, .ratio = 60 },
1280 { .refclk = 19200, .cdclk = 624000, .ratio = 65 },
1285 { .refclk = 19200, .cdclk = 79200, .ratio = 33 },
1286 { .refclk = 19200, .cdclk = 158400, .ratio = 33 },
1287 { .refclk = 19200, .cdclk = 316800, .ratio = 33 },
1292 { .refclk = 19200, .cdclk = 172800, .ratio = 18 },
1293 { .refclk = 19200, .cdclk = 192000, .ratio = 20 },
1294 { .refclk = 19200, .cdclk = 307200, .ratio = 32 },
1295 { .refclk = 19200, .cdclk = 326400, .ratio = 68 },
1296 { .refclk = 19200, .cdclk = 556800, .ratio = 58 },
1297 { .refclk = 19200, .cdclk = 652800, .ratio = 68 },
1299 { .refclk = 24000, .cdclk = 180000, .ratio = 15 },
1300 { .refclk = 24000, .cdclk = 192000, .ratio = 16 },
1301 { .refclk = 24000, .cdclk = 312000, .ratio = 26 },
1302 { .refclk = 24000, .cdclk = 324000, .ratio = 54 },
1303 { .refclk = 24000, .cdclk = 552000, .ratio = 46 },
1304 { .refclk = 24000, .cdclk = 648000, .ratio = 54 },
1306 { .refclk = 38400, .cdclk = 172800, .ratio = 9 },
1307 { .refclk = 38400, .cdclk = 192000, .ratio = 10 },
1308 { .refclk = 38400, .cdclk = 307200, .ratio = 16 },
1309 { .refclk = 38400, .cdclk = 326400, .ratio = 34 },
1310 { .refclk = 38400, .cdclk = 556800, .ratio = 29 },
1311 { .refclk = 38400, .cdclk = 652800, .ratio = 34 },
1316 { .refclk = 19200, .cdclk = 172800, .ratio = 36 },
1317 { .refclk = 19200, .cdclk = 192000, .ratio = 40 },
1318 { .refclk = 19200, .cdclk = 307200, .ratio = 64 },
1319 { .refclk = 19200, .cdclk = 326400, .ratio = 136 },
1320 { .refclk = 19200, .cdclk = 556800, .ratio = 116 },
1321 { .refclk = 19200, .cdclk = 652800, .ratio = 136 },
1323 { .refclk = 24000, .cdclk = 180000, .ratio = 30 },
1324 { .refclk = 24000, .cdclk = 192000, .ratio = 32 },
1325 { .refclk = 24000, .cdclk = 312000, .ratio = 52 },
1326 { .refclk = 24000, .cdclk = 324000, .ratio = 108 },
1327 { .refclk = 24000, .cdclk = 552000, .ratio = 92 },
1328 { .refclk = 24000, .cdclk = 648000, .ratio = 108 },
1330 { .refclk = 38400, .cdclk = 172800, .ratio = 18 },
1331 { .refclk = 38400, .cdclk = 192000, .ratio = 20 },
1332 { .refclk = 38400, .cdclk = 307200, .ratio = 32 },
1333 { .refclk = 38400, .cdclk = 326400, .ratio = 68 },
1334 { .refclk = 38400, .cdclk = 556800, .ratio = 58 },
1335 { .refclk = 38400, .cdclk = 652800, .ratio = 68 },
1340 { .refclk = 19200, .cdclk = 307200, .ratio = 32 },
1341 { .refclk = 19200, .cdclk = 556800, .ratio = 58 },
1342 { .refclk = 19200, .cdclk = 652800, .ratio = 68 },
1344 { .refclk = 24000, .cdclk = 312000, .ratio = 26 },
1345 { .refclk = 24000, .cdclk = 552000, .ratio = 46 },
1346 { .refclk = 24400, .cdclk = 648000, .ratio = 54 },
1348 { .refclk = 38400, .cdclk = 307200, .ratio = 16 },
1349 { .refclk = 38400, .cdclk = 556800, .ratio = 29 },
1350 { .refclk = 38400, .cdclk = 652800, .ratio = 34 },
1355 { .refclk = 19200, .cdclk = 172800, .ratio = 27 },
1356 { .refclk = 19200, .cdclk = 192000, .ratio = 20 },
1357 { .refclk = 19200, .cdclk = 307200, .ratio = 32 },
1358 { .refclk = 19200, .cdclk = 556800, .ratio = 58 },
1359 { .refclk = 19200, .cdclk = 652800, .ratio = 68 },
1361 { .refclk = 24000, .cdclk = 176000, .ratio = 22 },
1362 { .refclk = 24000, .cdclk = 192000, .ratio = 16 },
1363 { .refclk = 24000, .cdclk = 312000, .ratio = 26 },
1364 { .refclk = 24000, .cdclk = 552000, .ratio = 46 },
1365 { .refclk = 24000, .cdclk = 648000, .ratio = 54 },
1367 { .refclk = 38400, .cdclk = 179200, .ratio = 14 },
1368 { .refclk = 38400, .cdclk = 192000, .ratio = 10 },
1369 { .refclk = 38400, .cdclk = 307200, .ratio = 16 },
1370 { .refclk = 38400, .cdclk = 556800, .ratio = 29 },
1371 { .refclk = 38400, .cdclk = 652800, .ratio = 34 },
1376 { .refclk = 19200, .cdclk = 172800, .ratio = 27 },
1377 { .refclk = 19200, .cdclk = 192000, .ratio = 20 },
1378 { .refclk = 19200, .cdclk = 307200, .ratio = 32 },
1379 { .refclk = 19200, .cdclk = 480000, .ratio = 50 },
1380 { .refclk = 19200, .cdclk = 556800, .ratio = 58 },
1381 { .refclk = 19200, .cdclk = 652800, .ratio = 68 },
1383 { .refclk = 24000, .cdclk = 176000, .ratio = 22 },
1384 { .refclk = 24000, .cdclk = 192000, .ratio = 16 },
1385 { .refclk = 24000, .cdclk = 312000, .ratio = 26 },
1386 { .refclk = 24000, .cdclk = 480000, .ratio = 40 },
1387 { .refclk = 24000, .cdclk = 552000, .ratio = 46 },
1388 { .refclk = 24000, .cdclk = 648000, .ratio = 54 },
1390 { .refclk = 38400, .cdclk = 179200, .ratio = 14 },
1391 { .refclk = 38400, .cdclk = 192000, .ratio = 10 },
1392 { .refclk = 38400, .cdclk = 307200, .ratio = 16 },
1393 { .refclk = 38400, .cdclk = 480000, .ratio = 25 },
1394 { .refclk = 38400, .cdclk = 556800, .ratio = 29 },
1395 { .refclk = 38400, .cdclk = 652800, .ratio = 34 },
1400 { .refclk = 38400, .cdclk = 163200, .ratio = 34, .waveform = 0x8888 },
1401 { .refclk = 38400, .cdclk = 204000, .ratio = 34, .waveform = 0x9248 },
1402 { .refclk = 38400, .cdclk = 244800, .ratio = 34, .waveform = 0xa4a4 },
1403 { .refclk = 38400, .cdclk = 285600, .ratio = 34, .waveform = 0xa54a },
1404 { .refclk = 38400, .cdclk = 326400, .ratio = 34, .waveform = 0xaaaa },
1405 { .refclk = 38400, .cdclk = 367200, .ratio = 34, .waveform = 0xad5a },
1406 { .refclk = 38400, .cdclk = 408000, .ratio = 34, .waveform = 0xb6b6 },
1407 { .refclk = 38400, .cdclk = 448800, .ratio = 34, .waveform = 0xdbb6 },
1408 { .refclk = 38400, .cdclk = 489600, .ratio = 34, .waveform = 0xeeee },
1409 { .refclk = 38400, .cdclk = 530400, .ratio = 34, .waveform = 0xf7de },
1410 { .refclk = 38400, .cdclk = 571200, .ratio = 34, .waveform = 0xfefe },
1411 { .refclk = 38400, .cdclk = 612000, .ratio = 34, .waveform = 0xfffe },
1412 { .refclk = 38400, .cdclk = 652800, .ratio = 34, .waveform = 0xffff },
1417 { .refclk = 38400, .cdclk = 172800, .ratio = 16, .waveform = 0xad5a },
1418 { .refclk = 38400, .cdclk = 192000, .ratio = 16, .waveform = 0xb6b6 },
1419 { .refclk = 38400, .cdclk = 307200, .ratio = 16, .waveform = 0x0000 },
1420 { .refclk = 38400, .cdclk = 480000, .ratio = 25, .waveform = 0x0000 },
1421 { .refclk = 38400, .cdclk = 556800, .ratio = 29, .waveform = 0x0000 },
1422 { .refclk = 38400, .cdclk = 652800, .ratio = 34, .waveform = 0x0000 },
1427 { .refclk = 38400, .cdclk = 153600, .ratio = 16, .waveform = 0xaaaa },
1428 { .refclk = 38400, .cdclk = 172800, .ratio = 16, .waveform = 0xad5a },
1429 { .refclk = 38400, .cdclk = 192000, .ratio = 16, .waveform = 0xb6b6 },
1430 { .refclk = 38400, .cdclk = 211200, .ratio = 16, .waveform = 0xdbb6 },
1431 { .refclk = 38400, .cdclk = 230400, .ratio = 16, .waveform = 0xeeee },
1432 { .refclk = 38400, .cdclk = 249600, .ratio = 16, .waveform = 0xf7de },
1433 { .refclk = 38400, .cdclk = 268800, .ratio = 16, .waveform = 0xfefe },
1434 { .refclk = 38400, .cdclk = 288000, .ratio = 16, .waveform = 0xfffe },
1435 { .refclk = 38400, .cdclk = 307200, .ratio = 16, .waveform = 0xffff },
1436 { .refclk = 38400, .cdclk = 330000, .ratio = 25, .waveform = 0xdbb6 },
1437 { .refclk = 38400, .cdclk = 360000, .ratio = 25, .waveform = 0xeeee },
1438 { .refclk = 38400, .cdclk = 390000, .ratio = 25, .waveform = 0xf7de },
1439 { .refclk = 38400, .cdclk = 420000, .ratio = 25, .waveform = 0xfefe },
1440 { .refclk = 38400, .cdclk = 450000, .ratio = 25, .waveform = 0xfffe },
1441 { .refclk = 38400, .cdclk = 480000, .ratio = 25, .waveform = 0xffff },
1442 { .refclk = 38400, .cdclk = 487200, .ratio = 29, .waveform = 0xfefe },
1443 { .refclk = 38400, .cdclk = 522000, .ratio = 29, .waveform = 0xfffe },
1444 { .refclk = 38400, .cdclk = 556800, .ratio = 29, .waveform = 0xffff },
1445 { .refclk = 38400, .cdclk = 571200, .ratio = 34, .waveform = 0xfefe },
1446 { .refclk = 38400, .cdclk = 612000, .ratio = 34, .waveform = 0xfffe },
1447 { .refclk = 38400, .cdclk = 652800, .ratio = 34, .waveform = 0xffff },
1455 { .refclk = 38400, .cdclk = 652800, .ratio = 34, .waveform = 0xffff },
1500 return dev_priv->display.cdclk.hw.ref * table[i].ratio; in bxt_calc_cdclk_pll_vco()
1609 u32 val, ratio; in bxt_de_pll_readout() local
1622 * CDCLK PLL is disabled, the VCO/ratio doesn't matter, but in bxt_de_pll_readout()
1630 * DISPLAY_VER >= 11 have the ratio directly in the PLL enable register, in bxt_de_pll_readout()
1634 ratio = val & ICL_CDCLK_PLL_RATIO_MASK; in bxt_de_pll_readout()
1636 ratio = intel_de_read(dev_priv, BXT_DE_PLL_CTL) & BXT_DE_PLL_RATIO_MASK; in bxt_de_pll_readout()
1638 cdclk_config->vco = ratio * cdclk_config->ref; in bxt_de_pll_readout()
1723 int ratio = DIV_ROUND_CLOSEST(vco, dev_priv->display.cdclk.hw.ref); in bxt_de_pll_enable() local
1726 BXT_DE_PLL_RATIO_MASK, BXT_DE_PLL_RATIO(ratio)); in bxt_de_pll_enable()
1752 int ratio = DIV_ROUND_CLOSEST(vco, dev_priv->display.cdclk.hw.ref); in icl_cdclk_pll_enable() local
1755 val = ICL_CDCLK_PLL_RATIO(ratio); in icl_cdclk_pll_enable()
1770 int ratio = DIV_ROUND_CLOSEST(vco, dev_priv->display.cdclk.hw.ref); in adlp_cdclk_pll_crawl() local
1773 /* Write PLL ratio without disabling */ in adlp_cdclk_pll_crawl()
1774 val = ICL_CDCLK_PLL_RATIO(ratio) | BXT_DE_PLL_PLL_ENABLE; in adlp_cdclk_pll_crawl()
3357 int ratio = intel_mdclk_cdclk_ratio(dev_priv, &new_cdclk_state->actual); in intel_modeset_calc_cdclk() local
3359 ret = intel_dbuf_state_set_mdclk_cdclk_ratio(state, ratio); in intel_modeset_calc_cdclk()