Lines Matching refs:core

164 	struct hdmi_v13_core_regs core;  member
169 struct hdmi_v14_core_regs core; member
1419 const struct hdmi_v13_core_regs *core = in hdmi_v13_mode_apply() local
1420 &hdata->mode_conf.conf.v13_conf.core; in hdmi_v13_mode_apply()
1424 hdmi_reg_writeb(hdata, HDMI_H_BLANK_0, core->h_blank[0]); in hdmi_v13_mode_apply()
1425 hdmi_reg_writeb(hdata, HDMI_H_BLANK_1, core->h_blank[1]); in hdmi_v13_mode_apply()
1426 hdmi_reg_writeb(hdata, HDMI_V13_V_BLANK_0, core->v_blank[0]); in hdmi_v13_mode_apply()
1427 hdmi_reg_writeb(hdata, HDMI_V13_V_BLANK_1, core->v_blank[1]); in hdmi_v13_mode_apply()
1428 hdmi_reg_writeb(hdata, HDMI_V13_V_BLANK_2, core->v_blank[2]); in hdmi_v13_mode_apply()
1429 hdmi_reg_writeb(hdata, HDMI_V13_H_V_LINE_0, core->h_v_line[0]); in hdmi_v13_mode_apply()
1430 hdmi_reg_writeb(hdata, HDMI_V13_H_V_LINE_1, core->h_v_line[1]); in hdmi_v13_mode_apply()
1431 hdmi_reg_writeb(hdata, HDMI_V13_H_V_LINE_2, core->h_v_line[2]); in hdmi_v13_mode_apply()
1432 hdmi_reg_writeb(hdata, HDMI_VSYNC_POL, core->vsync_pol[0]); in hdmi_v13_mode_apply()
1433 hdmi_reg_writeb(hdata, HDMI_INT_PRO_MODE, core->int_pro_mode[0]); in hdmi_v13_mode_apply()
1434 hdmi_reg_writeb(hdata, HDMI_V13_V_BLANK_F_0, core->v_blank_f[0]); in hdmi_v13_mode_apply()
1435 hdmi_reg_writeb(hdata, HDMI_V13_V_BLANK_F_1, core->v_blank_f[1]); in hdmi_v13_mode_apply()
1436 hdmi_reg_writeb(hdata, HDMI_V13_V_BLANK_F_2, core->v_blank_f[2]); in hdmi_v13_mode_apply()
1437 hdmi_reg_writeb(hdata, HDMI_V13_H_SYNC_GEN_0, core->h_sync_gen[0]); in hdmi_v13_mode_apply()
1438 hdmi_reg_writeb(hdata, HDMI_V13_H_SYNC_GEN_1, core->h_sync_gen[1]); in hdmi_v13_mode_apply()
1439 hdmi_reg_writeb(hdata, HDMI_V13_H_SYNC_GEN_2, core->h_sync_gen[2]); in hdmi_v13_mode_apply()
1440 hdmi_reg_writeb(hdata, HDMI_V13_V_SYNC_GEN_1_0, core->v_sync_gen1[0]); in hdmi_v13_mode_apply()
1441 hdmi_reg_writeb(hdata, HDMI_V13_V_SYNC_GEN_1_1, core->v_sync_gen1[1]); in hdmi_v13_mode_apply()
1442 hdmi_reg_writeb(hdata, HDMI_V13_V_SYNC_GEN_1_2, core->v_sync_gen1[2]); in hdmi_v13_mode_apply()
1443 hdmi_reg_writeb(hdata, HDMI_V13_V_SYNC_GEN_2_0, core->v_sync_gen2[0]); in hdmi_v13_mode_apply()
1444 hdmi_reg_writeb(hdata, HDMI_V13_V_SYNC_GEN_2_1, core->v_sync_gen2[1]); in hdmi_v13_mode_apply()
1445 hdmi_reg_writeb(hdata, HDMI_V13_V_SYNC_GEN_2_2, core->v_sync_gen2[2]); in hdmi_v13_mode_apply()
1446 hdmi_reg_writeb(hdata, HDMI_V13_V_SYNC_GEN_3_0, core->v_sync_gen3[0]); in hdmi_v13_mode_apply()
1447 hdmi_reg_writeb(hdata, HDMI_V13_V_SYNC_GEN_3_1, core->v_sync_gen3[1]); in hdmi_v13_mode_apply()
1448 hdmi_reg_writeb(hdata, HDMI_V13_V_SYNC_GEN_3_2, core->v_sync_gen3[2]); in hdmi_v13_mode_apply()
1503 const struct hdmi_v14_core_regs *core = in hdmi_v14_mode_apply() local
1504 &hdata->mode_conf.conf.v14_conf.core; in hdmi_v14_mode_apply()
1508 hdmi_reg_writeb(hdata, HDMI_H_BLANK_0, core->h_blank[0]); in hdmi_v14_mode_apply()
1509 hdmi_reg_writeb(hdata, HDMI_H_BLANK_1, core->h_blank[1]); in hdmi_v14_mode_apply()
1510 hdmi_reg_writeb(hdata, HDMI_V2_BLANK_0, core->v2_blank[0]); in hdmi_v14_mode_apply()
1511 hdmi_reg_writeb(hdata, HDMI_V2_BLANK_1, core->v2_blank[1]); in hdmi_v14_mode_apply()
1512 hdmi_reg_writeb(hdata, HDMI_V1_BLANK_0, core->v1_blank[0]); in hdmi_v14_mode_apply()
1513 hdmi_reg_writeb(hdata, HDMI_V1_BLANK_1, core->v1_blank[1]); in hdmi_v14_mode_apply()
1514 hdmi_reg_writeb(hdata, HDMI_V_LINE_0, core->v_line[0]); in hdmi_v14_mode_apply()
1515 hdmi_reg_writeb(hdata, HDMI_V_LINE_1, core->v_line[1]); in hdmi_v14_mode_apply()
1516 hdmi_reg_writeb(hdata, HDMI_H_LINE_0, core->h_line[0]); in hdmi_v14_mode_apply()
1517 hdmi_reg_writeb(hdata, HDMI_H_LINE_1, core->h_line[1]); in hdmi_v14_mode_apply()
1518 hdmi_reg_writeb(hdata, HDMI_HSYNC_POL, core->hsync_pol[0]); in hdmi_v14_mode_apply()
1519 hdmi_reg_writeb(hdata, HDMI_VSYNC_POL, core->vsync_pol[0]); in hdmi_v14_mode_apply()
1520 hdmi_reg_writeb(hdata, HDMI_INT_PRO_MODE, core->int_pro_mode[0]); in hdmi_v14_mode_apply()
1521 hdmi_reg_writeb(hdata, HDMI_V_BLANK_F0_0, core->v_blank_f0[0]); in hdmi_v14_mode_apply()
1522 hdmi_reg_writeb(hdata, HDMI_V_BLANK_F0_1, core->v_blank_f0[1]); in hdmi_v14_mode_apply()
1523 hdmi_reg_writeb(hdata, HDMI_V_BLANK_F1_0, core->v_blank_f1[0]); in hdmi_v14_mode_apply()
1524 hdmi_reg_writeb(hdata, HDMI_V_BLANK_F1_1, core->v_blank_f1[1]); in hdmi_v14_mode_apply()
1525 hdmi_reg_writeb(hdata, HDMI_H_SYNC_START_0, core->h_sync_start[0]); in hdmi_v14_mode_apply()
1526 hdmi_reg_writeb(hdata, HDMI_H_SYNC_START_1, core->h_sync_start[1]); in hdmi_v14_mode_apply()
1527 hdmi_reg_writeb(hdata, HDMI_H_SYNC_END_0, core->h_sync_end[0]); in hdmi_v14_mode_apply()
1528 hdmi_reg_writeb(hdata, HDMI_H_SYNC_END_1, core->h_sync_end[1]); in hdmi_v14_mode_apply()
1530 core->v_sync_line_bef_2[0]); in hdmi_v14_mode_apply()
1532 core->v_sync_line_bef_2[1]); in hdmi_v14_mode_apply()
1534 core->v_sync_line_bef_1[0]); in hdmi_v14_mode_apply()
1536 core->v_sync_line_bef_1[1]); in hdmi_v14_mode_apply()
1538 core->v_sync_line_aft_2[0]); in hdmi_v14_mode_apply()
1540 core->v_sync_line_aft_2[1]); in hdmi_v14_mode_apply()
1542 core->v_sync_line_aft_1[0]); in hdmi_v14_mode_apply()
1544 core->v_sync_line_aft_1[1]); in hdmi_v14_mode_apply()
1546 core->v_sync_line_aft_pxl_2[0]); in hdmi_v14_mode_apply()
1548 core->v_sync_line_aft_pxl_2[1]); in hdmi_v14_mode_apply()
1550 core->v_sync_line_aft_pxl_1[0]); in hdmi_v14_mode_apply()
1552 core->v_sync_line_aft_pxl_1[1]); in hdmi_v14_mode_apply()
1553 hdmi_reg_writeb(hdata, HDMI_V_BLANK_F2_0, core->v_blank_f2[0]); in hdmi_v14_mode_apply()
1554 hdmi_reg_writeb(hdata, HDMI_V_BLANK_F2_1, core->v_blank_f2[1]); in hdmi_v14_mode_apply()
1555 hdmi_reg_writeb(hdata, HDMI_V_BLANK_F3_0, core->v_blank_f3[0]); in hdmi_v14_mode_apply()
1556 hdmi_reg_writeb(hdata, HDMI_V_BLANK_F3_1, core->v_blank_f3[1]); in hdmi_v14_mode_apply()
1557 hdmi_reg_writeb(hdata, HDMI_V_BLANK_F4_0, core->v_blank_f4[0]); in hdmi_v14_mode_apply()
1558 hdmi_reg_writeb(hdata, HDMI_V_BLANK_F4_1, core->v_blank_f4[1]); in hdmi_v14_mode_apply()
1559 hdmi_reg_writeb(hdata, HDMI_V_BLANK_F5_0, core->v_blank_f5[0]); in hdmi_v14_mode_apply()
1560 hdmi_reg_writeb(hdata, HDMI_V_BLANK_F5_1, core->v_blank_f5[1]); in hdmi_v14_mode_apply()
1562 core->v_sync_line_aft_3[0]); in hdmi_v14_mode_apply()
1564 core->v_sync_line_aft_3[1]); in hdmi_v14_mode_apply()
1566 core->v_sync_line_aft_4[0]); in hdmi_v14_mode_apply()
1568 core->v_sync_line_aft_4[1]); in hdmi_v14_mode_apply()
1570 core->v_sync_line_aft_5[0]); in hdmi_v14_mode_apply()
1572 core->v_sync_line_aft_5[1]); in hdmi_v14_mode_apply()
1574 core->v_sync_line_aft_6[0]); in hdmi_v14_mode_apply()
1576 core->v_sync_line_aft_6[1]); in hdmi_v14_mode_apply()
1578 core->v_sync_line_aft_pxl_3[0]); in hdmi_v14_mode_apply()
1580 core->v_sync_line_aft_pxl_3[1]); in hdmi_v14_mode_apply()
1582 core->v_sync_line_aft_pxl_4[0]); in hdmi_v14_mode_apply()
1584 core->v_sync_line_aft_pxl_4[1]); in hdmi_v14_mode_apply()
1586 core->v_sync_line_aft_pxl_5[0]); in hdmi_v14_mode_apply()
1588 core->v_sync_line_aft_pxl_5[1]); in hdmi_v14_mode_apply()
1590 core->v_sync_line_aft_pxl_6[0]); in hdmi_v14_mode_apply()
1592 core->v_sync_line_aft_pxl_6[1]); in hdmi_v14_mode_apply()
1593 hdmi_reg_writeb(hdata, HDMI_VACT_SPACE_1_0, core->vact_space_1[0]); in hdmi_v14_mode_apply()
1594 hdmi_reg_writeb(hdata, HDMI_VACT_SPACE_1_1, core->vact_space_1[1]); in hdmi_v14_mode_apply()
1595 hdmi_reg_writeb(hdata, HDMI_VACT_SPACE_2_0, core->vact_space_2[0]); in hdmi_v14_mode_apply()
1596 hdmi_reg_writeb(hdata, HDMI_VACT_SPACE_2_1, core->vact_space_2[1]); in hdmi_v14_mode_apply()
1597 hdmi_reg_writeb(hdata, HDMI_VACT_SPACE_3_0, core->vact_space_3[0]); in hdmi_v14_mode_apply()
1598 hdmi_reg_writeb(hdata, HDMI_VACT_SPACE_3_1, core->vact_space_3[1]); in hdmi_v14_mode_apply()
1599 hdmi_reg_writeb(hdata, HDMI_VACT_SPACE_4_0, core->vact_space_4[0]); in hdmi_v14_mode_apply()
1600 hdmi_reg_writeb(hdata, HDMI_VACT_SPACE_4_1, core->vact_space_4[1]); in hdmi_v14_mode_apply()
1601 hdmi_reg_writeb(hdata, HDMI_VACT_SPACE_5_0, core->vact_space_5[0]); in hdmi_v14_mode_apply()
1602 hdmi_reg_writeb(hdata, HDMI_VACT_SPACE_5_1, core->vact_space_5[1]); in hdmi_v14_mode_apply()
1603 hdmi_reg_writeb(hdata, HDMI_VACT_SPACE_6_0, core->vact_space_6[0]); in hdmi_v14_mode_apply()
1604 hdmi_reg_writeb(hdata, HDMI_VACT_SPACE_6_1, core->vact_space_6[1]); in hdmi_v14_mode_apply()
1795 struct hdmi_v13_core_regs *core = &hdata->mode_conf.conf.v13_conf.core; in hdmi_v13_mode_set() local
1804 hdmi_set_reg(core->h_blank, 2, m->htotal - m->hdisplay); in hdmi_v13_mode_set()
1805 hdmi_set_reg(core->h_v_line, 3, (m->htotal << 12) | m->vtotal); in hdmi_v13_mode_set()
1808 hdmi_set_reg(core->vsync_pol, 1, val); in hdmi_v13_mode_set()
1811 hdmi_set_reg(core->int_pro_mode, 1, val); in hdmi_v13_mode_set()
1816 hdmi_set_reg(core->h_sync_gen, 3, val); in hdmi_v13_mode_set()
1829 hdmi_set_reg(core->v_sync_gen1, 3, val); in hdmi_v13_mode_set()
1833 hdmi_set_reg(core->v_blank, 3, val); in hdmi_v13_mode_set()
1838 hdmi_set_reg(core->v_blank_f, 3, val); in hdmi_v13_mode_set()
1842 hdmi_set_reg(core->v_sync_gen2, 3, val); in hdmi_v13_mode_set()
1847 hdmi_set_reg(core->v_sync_gen3, 3, val); in hdmi_v13_mode_set()
1858 hdmi_set_reg(core->v_blank, 3, val); in hdmi_v13_mode_set()
1860 hdmi_set_reg(core->v_blank_f, 3, 0); in hdmi_v13_mode_set()
1864 hdmi_set_reg(core->v_sync_gen1, 3, val); in hdmi_v13_mode_set()
1866 hdmi_set_reg(core->v_sync_gen2, 3, 0x1001);/* Reset value */ in hdmi_v13_mode_set()
1867 hdmi_set_reg(core->v_sync_gen3, 3, 0x1001);/* Reset value */ in hdmi_v13_mode_set()
1893 struct hdmi_v14_core_regs *core = in hdmi_v14_mode_set() local
1894 &hdata->mode_conf.conf.v14_conf.core; in hdmi_v14_mode_set()
1901 hdmi_set_reg(core->h_blank, 2, m->htotal - m->hdisplay); in hdmi_v14_mode_set()
1902 hdmi_set_reg(core->v_line, 2, m->vtotal); in hdmi_v14_mode_set()
1903 hdmi_set_reg(core->h_line, 2, m->htotal); in hdmi_v14_mode_set()
1904 hdmi_set_reg(core->hsync_pol, 1, in hdmi_v14_mode_set()
1906 hdmi_set_reg(core->vsync_pol, 1, in hdmi_v14_mode_set()
1908 hdmi_set_reg(core->int_pro_mode, 1, in hdmi_v14_mode_set()
1920 hdmi_set_reg(core->v_sync_line_bef_2, 2, in hdmi_v14_mode_set()
1922 hdmi_set_reg(core->v_sync_line_bef_1, 2, in hdmi_v14_mode_set()
1924 hdmi_set_reg(core->v2_blank, 2, m->vtotal / 2); in hdmi_v14_mode_set()
1925 hdmi_set_reg(core->v1_blank, 2, (m->vtotal - m->vdisplay) / 2); in hdmi_v14_mode_set()
1926 hdmi_set_reg(core->v_blank_f0, 2, m->vtotal - m->vdisplay / 2); in hdmi_v14_mode_set()
1927 hdmi_set_reg(core->v_blank_f1, 2, m->vtotal); in hdmi_v14_mode_set()
1928 hdmi_set_reg(core->v_sync_line_aft_2, 2, (m->vtotal / 2) + 7); in hdmi_v14_mode_set()
1929 hdmi_set_reg(core->v_sync_line_aft_1, 2, (m->vtotal / 2) + 2); in hdmi_v14_mode_set()
1930 hdmi_set_reg(core->v_sync_line_aft_pxl_2, 2, in hdmi_v14_mode_set()
1932 hdmi_set_reg(core->v_sync_line_aft_pxl_1, 2, in hdmi_v14_mode_set()
1944 hdmi_set_reg(core->v_sync_line_bef_2, 2, in hdmi_v14_mode_set()
1946 hdmi_set_reg(core->v_sync_line_bef_1, 2, in hdmi_v14_mode_set()
1948 hdmi_set_reg(core->v2_blank, 2, m->vtotal); in hdmi_v14_mode_set()
1949 hdmi_set_reg(core->v1_blank, 2, m->vtotal - m->vdisplay); in hdmi_v14_mode_set()
1950 hdmi_set_reg(core->v_blank_f0, 2, 0xffff); in hdmi_v14_mode_set()
1951 hdmi_set_reg(core->v_blank_f1, 2, 0xffff); in hdmi_v14_mode_set()
1952 hdmi_set_reg(core->v_sync_line_aft_2, 2, 0xffff); in hdmi_v14_mode_set()
1953 hdmi_set_reg(core->v_sync_line_aft_1, 2, 0xffff); in hdmi_v14_mode_set()
1954 hdmi_set_reg(core->v_sync_line_aft_pxl_2, 2, 0xffff); in hdmi_v14_mode_set()
1955 hdmi_set_reg(core->v_sync_line_aft_pxl_1, 2, 0xffff); in hdmi_v14_mode_set()
1967 hdmi_set_reg(core->h_sync_start, 2, m->hsync_start - m->hdisplay - 2); in hdmi_v14_mode_set()
1968 hdmi_set_reg(core->h_sync_end, 2, m->hsync_end - m->hdisplay - 2); in hdmi_v14_mode_set()
1969 hdmi_set_reg(core->vact_space_1, 2, 0xffff); in hdmi_v14_mode_set()
1970 hdmi_set_reg(core->vact_space_2, 2, 0xffff); in hdmi_v14_mode_set()
1971 hdmi_set_reg(core->vact_space_3, 2, 0xffff); in hdmi_v14_mode_set()
1972 hdmi_set_reg(core->vact_space_4, 2, 0xffff); in hdmi_v14_mode_set()
1973 hdmi_set_reg(core->vact_space_5, 2, 0xffff); in hdmi_v14_mode_set()
1974 hdmi_set_reg(core->vact_space_6, 2, 0xffff); in hdmi_v14_mode_set()
1975 hdmi_set_reg(core->v_blank_f2, 2, 0xffff); in hdmi_v14_mode_set()
1976 hdmi_set_reg(core->v_blank_f3, 2, 0xffff); in hdmi_v14_mode_set()
1977 hdmi_set_reg(core->v_blank_f4, 2, 0xffff); in hdmi_v14_mode_set()
1978 hdmi_set_reg(core->v_blank_f5, 2, 0xffff); in hdmi_v14_mode_set()
1979 hdmi_set_reg(core->v_sync_line_aft_3, 2, 0xffff); in hdmi_v14_mode_set()
1980 hdmi_set_reg(core->v_sync_line_aft_4, 2, 0xffff); in hdmi_v14_mode_set()
1981 hdmi_set_reg(core->v_sync_line_aft_5, 2, 0xffff); in hdmi_v14_mode_set()
1982 hdmi_set_reg(core->v_sync_line_aft_6, 2, 0xffff); in hdmi_v14_mode_set()
1983 hdmi_set_reg(core->v_sync_line_aft_pxl_3, 2, 0xffff); in hdmi_v14_mode_set()
1984 hdmi_set_reg(core->v_sync_line_aft_pxl_4, 2, 0xffff); in hdmi_v14_mode_set()
1985 hdmi_set_reg(core->v_sync_line_aft_pxl_5, 2, 0xffff); in hdmi_v14_mode_set()
1986 hdmi_set_reg(core->v_sync_line_aft_pxl_6, 2, 0xffff); in hdmi_v14_mode_set()