Lines Matching refs:viaparinfo
505 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) in get_dvi_devices()
511 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) in get_dvi_devices()
517 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) in get_dvi_devices()
573 viaparinfo->tmds_setting_info->iga_path = IGA1; in viafb_set_iga_path()
575 viaparinfo->tmds_setting_info->iga_path = IGA2; in viafb_set_iga_path()
581 (viaparinfo->chip_info->gfx_chip_name == in viafb_set_iga_path()
583 viaparinfo-> in viafb_set_iga_path()
586 viaparinfo-> in viafb_set_iga_path()
589 viaparinfo-> in viafb_set_iga_path()
592 viaparinfo->lvds_setting_info->iga_path = IGA2; in viafb_set_iga_path()
597 viaparinfo->lvds_setting_info2->iga_path = IGA1; in viafb_set_iga_path()
599 viaparinfo->lvds_setting_info2->iga_path = IGA2; in viafb_set_iga_path()
606 viaparinfo->lvds_setting_info->iga_path = IGA2; in viafb_set_iga_path()
609 viaparinfo->tmds_setting_info->iga_path = IGA2; in viafb_set_iga_path()
611 viaparinfo->tmds_setting_info->iga_path = IGA1; in viafb_set_iga_path()
612 viaparinfo->lvds_setting_info->iga_path = IGA2; in viafb_set_iga_path()
614 viaparinfo->lvds_setting_info->iga_path = IGA2; in viafb_set_iga_path()
615 viaparinfo->lvds_setting_info2->iga_path = IGA2; in viafb_set_iga_path()
619 viaparinfo->lvds_setting_info->iga_path = IGA2; in viafb_set_iga_path()
621 viaparinfo->tmds_setting_info->iga_path = IGA1; in viafb_set_iga_path()
625 viaparinfo->shared->iga1_devices = 0; in viafb_set_iga_path()
626 viaparinfo->shared->iga2_devices = 0; in viafb_set_iga_path()
629 viaparinfo->shared->iga1_devices |= VIA_CRT; in viafb_set_iga_path()
631 viaparinfo->shared->iga2_devices |= VIA_CRT; in viafb_set_iga_path()
635 if (viaparinfo->tmds_setting_info->iga_path == IGA1) in viafb_set_iga_path()
636 viaparinfo->shared->iga1_devices |= get_dvi_devices( in viafb_set_iga_path()
637 viaparinfo->chip_info-> in viafb_set_iga_path()
640 viaparinfo->shared->iga2_devices |= get_dvi_devices( in viafb_set_iga_path()
641 viaparinfo->chip_info-> in viafb_set_iga_path()
646 if (viaparinfo->lvds_setting_info->iga_path == IGA1) in viafb_set_iga_path()
647 viaparinfo->shared->iga1_devices |= get_lcd_devices( in viafb_set_iga_path()
648 viaparinfo->chip_info-> in viafb_set_iga_path()
651 viaparinfo->shared->iga2_devices |= get_lcd_devices( in viafb_set_iga_path()
652 viaparinfo->chip_info-> in viafb_set_iga_path()
657 if (viaparinfo->lvds_setting_info2->iga_path == IGA1) in viafb_set_iga_path()
658 viaparinfo->shared->iga1_devices |= get_lcd_devices( in viafb_set_iga_path()
659 viaparinfo->chip_info-> in viafb_set_iga_path()
662 viaparinfo->shared->iga2_devices |= get_lcd_devices( in viafb_set_iga_path()
663 viaparinfo->chip_info-> in viafb_set_iga_path()
669 viaparinfo->shared->iga2_devices = VIA_DVP1 | VIA_LVDS2; in viafb_set_iga_path()
970 if ((viaparinfo->chip_info->gfx_chip_name == UNICHROME_K800) in load_fix_bit_crtc_reg()
971 || (viaparinfo->chip_info->gfx_chip_name == UNICHROME_K8M890)) in load_fix_bit_crtc_reg()
973 if ((viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) in load_fix_bit_crtc_reg()
974 && (viaparinfo->chip_info->gfx_chip_revision == CLE266_REVISION_AX)) in load_fix_bit_crtc_reg()
1063 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_K800) { in viafb_load_FIFO_reg()
1078 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_PM800) { in viafb_load_FIFO_reg()
1095 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CN700) { in viafb_load_FIFO_reg()
1110 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CX700) { in viafb_load_FIFO_reg()
1119 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_K8M890) { in viafb_load_FIFO_reg()
1128 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_P4M890) { in viafb_load_FIFO_reg()
1137 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_P4M900) { in viafb_load_FIFO_reg()
1146 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_VX800) { in viafb_load_FIFO_reg()
1155 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_VX855) { in viafb_load_FIFO_reg()
1164 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_VX900) { in viafb_load_FIFO_reg()
1214 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_K800) { in viafb_load_FIFO_reg()
1229 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_PM800) { in viafb_load_FIFO_reg()
1244 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CN700) { in viafb_load_FIFO_reg()
1259 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CX700) { in viafb_load_FIFO_reg()
1268 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_K8M890) { in viafb_load_FIFO_reg()
1277 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_P4M890) { in viafb_load_FIFO_reg()
1286 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_P4M900) { in viafb_load_FIFO_reg()
1295 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_VX800) { in viafb_load_FIFO_reg()
1304 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_VX855) { in viafb_load_FIFO_reg()
1313 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_VX900) { in viafb_load_FIFO_reg()
1322 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_K800) { in viafb_load_FIFO_reg()
1425 switch (viaparinfo->chip_info->gfx_chip_name) { in get_best_pll_config()
1503 if (viaparinfo->chip_info->gfx_chip_name != UNICHROME_CLE266 in viafb_fill_crtc_timing()
1504 && viaparinfo->chip_info->gfx_chip_name != UNICHROME_K400) in viafb_fill_crtc_timing()
1520 viaparinfo->lvds_setting_info->display_method = viafb_lcd_dsp_method; in viafb_init_chip_info()
1521 viaparinfo->lvds_setting_info->lcd_mode = viafb_lcd_mode; in viafb_init_chip_info()
1522 viaparinfo->lvds_setting_info2->display_method = in viafb_init_chip_info()
1523 viaparinfo->lvds_setting_info->display_method; in viafb_init_chip_info()
1524 viaparinfo->lvds_setting_info2->lcd_mode = in viafb_init_chip_info()
1525 viaparinfo->lvds_setting_info->lcd_mode; in viafb_init_chip_info()
1531 viaparinfo->tmds_setting_info->h_active = hres; in viafb_update_device_setting()
1532 viaparinfo->tmds_setting_info->v_active = vres; in viafb_update_device_setting()
1535 if (viaparinfo->tmds_setting_info->iga_path == IGA2) { in viafb_update_device_setting()
1536 viaparinfo->tmds_setting_info->h_active = hres; in viafb_update_device_setting()
1537 viaparinfo->tmds_setting_info->v_active = vres; in viafb_update_device_setting()
1547 viaparinfo->chip_info->gfx_chip_name = chip_type; in init_gfx_chip_info()
1550 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) { in init_gfx_chip_info()
1555 viaparinfo->chip_info->gfx_chip_revision = in init_gfx_chip_info()
1558 viaparinfo->chip_info->gfx_chip_revision = in init_gfx_chip_info()
1564 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CX700) { in init_gfx_chip_info()
1568 viaparinfo->chip_info->gfx_chip_revision = in init_gfx_chip_info()
1571 viaparinfo->chip_info->gfx_chip_revision = in init_gfx_chip_info()
1574 viaparinfo->chip_info->gfx_chip_revision = in init_gfx_chip_info()
1580 switch (viaparinfo->chip_info->gfx_chip_name) { in init_gfx_chip_info()
1584 viaparinfo->chip_info->twod_engine = VIA_2D_ENG_M1; in init_gfx_chip_info()
1588 viaparinfo->chip_info->twod_engine = VIA_2D_ENG_H5; in init_gfx_chip_info()
1591 viaparinfo->chip_info->twod_engine = VIA_2D_ENG_H2; in init_gfx_chip_info()
1600 if (INTERFACE_NONE == viaparinfo->chip_info->tmds_chip_info. in init_tmds_chip_info()
1602 switch (viaparinfo->chip_info->gfx_chip_name) { in init_tmds_chip_info()
1610 viaparinfo->chip_info->tmds_chip_info. in init_tmds_chip_info()
1613 viaparinfo->chip_info->tmds_chip_info. in init_tmds_chip_info()
1623 viaparinfo->chip_info->tmds_chip_info.output_interface = in init_tmds_chip_info()
1629 viaparinfo->chip_info->tmds_chip_info in init_tmds_chip_info()
1636 viaparinfo->chip_info->tmds_chip_info.tmds_chip_name); in init_tmds_chip_info()
1637 viafb_init_dvi_size(&viaparinfo->shared->chip_info.tmds_chip_info, in init_tmds_chip_info()
1638 &viaparinfo->shared->tmds_setting_info); in init_tmds_chip_info()
1645 viafb_init_lvds_output_interface(&viaparinfo->chip_info->lvds_chip_info, in init_lvds_chip_info()
1646 viaparinfo->lvds_setting_info); in init_lvds_chip_info()
1647 if (viaparinfo->chip_info->lvds_chip_info2.lvds_chip_name) { in init_lvds_chip_info()
1648 viafb_init_lvds_output_interface(&viaparinfo->chip_info-> in init_lvds_chip_info()
1649 lvds_chip_info2, viaparinfo->lvds_setting_info2); in init_lvds_chip_info()
1653 if ((UNICHROME_CX700 == viaparinfo->chip_info->gfx_chip_name) in init_lvds_chip_info()
1655 if ((INTEGRATED_LVDS == viaparinfo->chip_info->lvds_chip_info. in init_lvds_chip_info()
1657 viaparinfo->chip_info-> in init_lvds_chip_info()
1659 viaparinfo->chip_info->lvds_chip_info.output_interface = in init_lvds_chip_info()
1661 viaparinfo->chip_info->lvds_chip_info2. in init_lvds_chip_info()
1668 viaparinfo->chip_info->lvds_chip_info.lvds_chip_name); in init_lvds_chip_info()
1670 viaparinfo->chip_info->lvds_chip_info.output_interface); in init_lvds_chip_info()
1672 viaparinfo->chip_info->lvds_chip_info.output_interface); in init_lvds_chip_info()
1725 viaparinfo->lvds_setting_info2->device_lcd_dualedge) { in set_display_channel()
1737 if (viaparinfo->lvds_setting_info->device_lcd_dualedge) { in set_display_channel()
1768 switch (viaparinfo->chip_info->gfx_chip_name) { in hw_init()
1838 u32 devices = viaparinfo->shared->iga1_devices in viafb_setmode()
1839 | viaparinfo->shared->iga2_devices; in viafb_setmode()
1851 if ((viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266 in viafb_setmode()
1852 || viaparinfo->chip_info->gfx_chip_name == UNICHROME_K400) in viafb_setmode()
1866 via_set_primary_color_depth(viaparinfo->depth); in viafb_setmode()
1868 : viaparinfo->depth); in viafb_setmode()
1869 via_set_source(viaparinfo->shared->iga1_devices, IGA1); in viafb_setmode()
1870 via_set_source(viaparinfo->shared->iga2_devices, IGA2); in viafb_setmode()
1871 if (viaparinfo->shared->iga2_devices) in viafb_setmode()
1892 if (viaparinfo->shared->iga2_devices & VIA_CRT in viafb_setmode()
1897 (viaparinfo->shared->iga1_devices & VIA_CRT) in viafb_setmode()
1912 if (viaparinfo->shared->tmds_setting_info.iga_path == IGA2 in viafb_setmode()
1917 viaparinfo->tmds_setting_info->iga_path); in viafb_setmode()
1922 (viaparinfo->lvds_setting_info->iga_path == IGA2)) { in viafb_setmode()
1924 viaparinfo->lvds_setting_info, in viafb_setmode()
1925 &viaparinfo->chip_info->lvds_chip_info); in viafb_setmode()
1928 if (viaparinfo->lvds_setting_info->iga_path == IGA1) { in viafb_setmode()
1929 viaparinfo->lvds_setting_info->display_method = in viafb_setmode()
1933 viaparinfo->lvds_setting_info, in viafb_setmode()
1934 &viaparinfo->chip_info->lvds_chip_info); in viafb_setmode()
1939 (viaparinfo->lvds_setting_info2->iga_path == IGA2)) { in viafb_setmode()
1941 viaparinfo->lvds_setting_info2, in viafb_setmode()
1942 &viaparinfo->chip_info->lvds_chip_info2); in viafb_setmode()
1945 if (viaparinfo->lvds_setting_info2->iga_path == IGA1) { in viafb_setmode()
1946 viaparinfo->lvds_setting_info2->display_method = in viafb_setmode()
1950 viaparinfo->lvds_setting_info2, in viafb_setmode()
1951 &viaparinfo->chip_info->lvds_chip_info2); in viafb_setmode()
1955 if ((viaparinfo->chip_info->gfx_chip_name == UNICHROME_CX700) in viafb_setmode()
1975 via_set_sync_polarity(viaparinfo->shared->iga1_devices, in viafb_setmode()
1977 via_set_sync_polarity(viaparinfo->shared->iga2_devices, in viafb_setmode()
1991 if (viaparinfo->shared->iga1_devices) { in viafb_setmode()
1999 if (viaparinfo->shared->iga2_devices) { in viafb_setmode()