Lines Matching full:waveform

80  *   waveform represented as a sequence of bits where each zero
91 * and the number of high bits for the CD2X Squasher waveform, respectively;
105 * - Squash waveform update. Pipes can be active.
1271 u16 waveform; member
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 },
1461 static int cdclk_squash_divider(u16 waveform) in cdclk_squash_divider() argument
1463 return hweight16(waveform ?: 0xffff); in cdclk_squash_divider()
1466 static int cdclk_divider(int cdclk, int vco, u16 waveform) in cdclk_divider() argument
1469 return DIV_ROUND_CLOSEST(vco * cdclk_squash_divider(waveform), in cdclk_divider()
1686 u16 waveform; in bxt_get_cdclk() local
1690 waveform = REG_FIELD_GET(CDCLK_SQUASH_WAVEFORM_MASK, squash_ctl) >> (16 - size); in bxt_get_cdclk()
1692 cdclk_config->cdclk = DIV_ROUND_CLOSEST(hweight16(waveform) * in bxt_get_cdclk()
1813 int cdclk, int vco, u16 waveform) in bxt_cdclk_cd2x_div_sel() argument
1816 switch (cdclk_divider(cdclk, vco, waveform)) { in bxt_cdclk_cd2x_div_sel()
1845 return table[i].waveform; in cdclk_squash_waveform()
1874 u16 waveform) in dg2_cdclk_squash_program() argument
1878 if (waveform) in dg2_cdclk_squash_program()
1880 CDCLK_SQUASH_WINDOW_SIZE(0xf) | waveform; in dg2_cdclk_squash_program()
1968 * The mid cdclk config should have the new (squash) waveform. in cdclk_compute_crawl_and_squash_midpoint()
2013 u16 waveform; in bxt_cdclk_ctl() local
2016 waveform = cdclk_squash_waveform(i915, cdclk); in bxt_cdclk_ctl()
2018 val = bxt_cdclk_cd2x_div_sel(i915, cdclk, vco, waveform) | in bxt_cdclk_ctl()
2058 u16 waveform = cdclk_squash_waveform(dev_priv, cdclk); in _bxt_set_cdclk() local
2060 dg2_cdclk_squash_program(dev_priv, waveform); in _bxt_set_cdclk()