Lines Matching refs:viaparinfo

490 		if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266)  in get_dvi_devices()
496 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) in get_dvi_devices()
502 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) in get_dvi_devices()
558 viaparinfo->tmds_setting_info->iga_path = IGA1; in viafb_set_iga_path()
560 viaparinfo->tmds_setting_info->iga_path = IGA2; in viafb_set_iga_path()
566 (viaparinfo->chip_info->gfx_chip_name == in viafb_set_iga_path()
568 viaparinfo-> in viafb_set_iga_path()
571 viaparinfo-> in viafb_set_iga_path()
574 viaparinfo-> in viafb_set_iga_path()
577 viaparinfo->lvds_setting_info->iga_path = IGA2; in viafb_set_iga_path()
582 viaparinfo->lvds_setting_info2->iga_path = IGA1; in viafb_set_iga_path()
584 viaparinfo->lvds_setting_info2->iga_path = IGA2; in viafb_set_iga_path()
591 viaparinfo->lvds_setting_info->iga_path = IGA2; in viafb_set_iga_path()
594 viaparinfo->tmds_setting_info->iga_path = IGA2; in viafb_set_iga_path()
596 viaparinfo->tmds_setting_info->iga_path = IGA1; in viafb_set_iga_path()
597 viaparinfo->lvds_setting_info->iga_path = IGA2; in viafb_set_iga_path()
599 viaparinfo->lvds_setting_info->iga_path = IGA2; in viafb_set_iga_path()
600 viaparinfo->lvds_setting_info2->iga_path = IGA2; in viafb_set_iga_path()
604 viaparinfo->lvds_setting_info->iga_path = IGA2; in viafb_set_iga_path()
606 viaparinfo->tmds_setting_info->iga_path = IGA1; in viafb_set_iga_path()
610 viaparinfo->shared->iga1_devices = 0; in viafb_set_iga_path()
611 viaparinfo->shared->iga2_devices = 0; in viafb_set_iga_path()
614 viaparinfo->shared->iga1_devices |= VIA_CRT; in viafb_set_iga_path()
616 viaparinfo->shared->iga2_devices |= VIA_CRT; in viafb_set_iga_path()
620 if (viaparinfo->tmds_setting_info->iga_path == IGA1) in viafb_set_iga_path()
621 viaparinfo->shared->iga1_devices |= get_dvi_devices( in viafb_set_iga_path()
622 viaparinfo->chip_info-> in viafb_set_iga_path()
625 viaparinfo->shared->iga2_devices |= get_dvi_devices( in viafb_set_iga_path()
626 viaparinfo->chip_info-> in viafb_set_iga_path()
631 if (viaparinfo->lvds_setting_info->iga_path == IGA1) in viafb_set_iga_path()
632 viaparinfo->shared->iga1_devices |= get_lcd_devices( in viafb_set_iga_path()
633 viaparinfo->chip_info-> in viafb_set_iga_path()
636 viaparinfo->shared->iga2_devices |= get_lcd_devices( in viafb_set_iga_path()
637 viaparinfo->chip_info-> in viafb_set_iga_path()
642 if (viaparinfo->lvds_setting_info2->iga_path == IGA1) in viafb_set_iga_path()
643 viaparinfo->shared->iga1_devices |= get_lcd_devices( in viafb_set_iga_path()
644 viaparinfo->chip_info-> in viafb_set_iga_path()
647 viaparinfo->shared->iga2_devices |= get_lcd_devices( in viafb_set_iga_path()
648 viaparinfo->chip_info-> in viafb_set_iga_path()
654 viaparinfo->shared->iga2_devices = VIA_DVP1 | VIA_LVDS2; in viafb_set_iga_path()
955 if ((viaparinfo->chip_info->gfx_chip_name == UNICHROME_K800) in load_fix_bit_crtc_reg()
956 || (viaparinfo->chip_info->gfx_chip_name == UNICHROME_K8M890)) in load_fix_bit_crtc_reg()
958 if ((viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) in load_fix_bit_crtc_reg()
959 && (viaparinfo->chip_info->gfx_chip_revision == CLE266_REVISION_AX)) in load_fix_bit_crtc_reg()
1048 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_K800) { in viafb_load_FIFO_reg()
1063 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_PM800) { in viafb_load_FIFO_reg()
1080 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CN700) { in viafb_load_FIFO_reg()
1095 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CX700) { in viafb_load_FIFO_reg()
1104 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_K8M890) { in viafb_load_FIFO_reg()
1113 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_P4M890) { in viafb_load_FIFO_reg()
1122 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_P4M900) { in viafb_load_FIFO_reg()
1131 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_VX800) { in viafb_load_FIFO_reg()
1140 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_VX855) { in viafb_load_FIFO_reg()
1149 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_VX900) { in viafb_load_FIFO_reg()
1199 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_K800) { in viafb_load_FIFO_reg()
1214 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_PM800) { in viafb_load_FIFO_reg()
1229 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CN700) { in viafb_load_FIFO_reg()
1244 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CX700) { in viafb_load_FIFO_reg()
1253 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_K8M890) { in viafb_load_FIFO_reg()
1262 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_P4M890) { in viafb_load_FIFO_reg()
1271 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_P4M900) { in viafb_load_FIFO_reg()
1280 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_VX800) { in viafb_load_FIFO_reg()
1289 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_VX855) { in viafb_load_FIFO_reg()
1298 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_VX900) { in viafb_load_FIFO_reg()
1307 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_K800) { in viafb_load_FIFO_reg()
1410 switch (viaparinfo->chip_info->gfx_chip_name) { in get_best_pll_config()
1488 if (viaparinfo->chip_info->gfx_chip_name != UNICHROME_CLE266 in viafb_fill_crtc_timing()
1489 && viaparinfo->chip_info->gfx_chip_name != UNICHROME_K400) in viafb_fill_crtc_timing()
1505 viaparinfo->lvds_setting_info->display_method = viafb_lcd_dsp_method; in viafb_init_chip_info()
1506 viaparinfo->lvds_setting_info->lcd_mode = viafb_lcd_mode; in viafb_init_chip_info()
1507 viaparinfo->lvds_setting_info2->display_method = in viafb_init_chip_info()
1508 viaparinfo->lvds_setting_info->display_method; in viafb_init_chip_info()
1509 viaparinfo->lvds_setting_info2->lcd_mode = in viafb_init_chip_info()
1510 viaparinfo->lvds_setting_info->lcd_mode; in viafb_init_chip_info()
1516 viaparinfo->tmds_setting_info->h_active = hres; in viafb_update_device_setting()
1517 viaparinfo->tmds_setting_info->v_active = vres; in viafb_update_device_setting()
1520 if (viaparinfo->tmds_setting_info->iga_path == IGA2) { in viafb_update_device_setting()
1521 viaparinfo->tmds_setting_info->h_active = hres; in viafb_update_device_setting()
1522 viaparinfo->tmds_setting_info->v_active = vres; in viafb_update_device_setting()
1532 viaparinfo->chip_info->gfx_chip_name = chip_type; in init_gfx_chip_info()
1535 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) { in init_gfx_chip_info()
1540 viaparinfo->chip_info->gfx_chip_revision = in init_gfx_chip_info()
1543 viaparinfo->chip_info->gfx_chip_revision = in init_gfx_chip_info()
1549 if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CX700) { in init_gfx_chip_info()
1553 viaparinfo->chip_info->gfx_chip_revision = in init_gfx_chip_info()
1556 viaparinfo->chip_info->gfx_chip_revision = in init_gfx_chip_info()
1559 viaparinfo->chip_info->gfx_chip_revision = in init_gfx_chip_info()
1565 switch (viaparinfo->chip_info->gfx_chip_name) { in init_gfx_chip_info()
1569 viaparinfo->chip_info->twod_engine = VIA_2D_ENG_M1; in init_gfx_chip_info()
1573 viaparinfo->chip_info->twod_engine = VIA_2D_ENG_H5; in init_gfx_chip_info()
1576 viaparinfo->chip_info->twod_engine = VIA_2D_ENG_H2; in init_gfx_chip_info()
1585 if (INTERFACE_NONE == viaparinfo->chip_info->tmds_chip_info. in init_tmds_chip_info()
1587 switch (viaparinfo->chip_info->gfx_chip_name) { in init_tmds_chip_info()
1595 viaparinfo->chip_info->tmds_chip_info. in init_tmds_chip_info()
1598 viaparinfo->chip_info->tmds_chip_info. in init_tmds_chip_info()
1608 viaparinfo->chip_info->tmds_chip_info.output_interface = in init_tmds_chip_info()
1614 viaparinfo->chip_info->tmds_chip_info in init_tmds_chip_info()
1621 viaparinfo->chip_info->tmds_chip_info.tmds_chip_name); in init_tmds_chip_info()
1622 viafb_init_dvi_size(&viaparinfo->shared->chip_info.tmds_chip_info, in init_tmds_chip_info()
1623 &viaparinfo->shared->tmds_setting_info); in init_tmds_chip_info()
1630 viafb_init_lvds_output_interface(&viaparinfo->chip_info->lvds_chip_info, in init_lvds_chip_info()
1631 viaparinfo->lvds_setting_info); in init_lvds_chip_info()
1632 if (viaparinfo->chip_info->lvds_chip_info2.lvds_chip_name) { in init_lvds_chip_info()
1633 viafb_init_lvds_output_interface(&viaparinfo->chip_info-> in init_lvds_chip_info()
1634 lvds_chip_info2, viaparinfo->lvds_setting_info2); in init_lvds_chip_info()
1638 if ((UNICHROME_CX700 == viaparinfo->chip_info->gfx_chip_name) in init_lvds_chip_info()
1640 if ((INTEGRATED_LVDS == viaparinfo->chip_info->lvds_chip_info. in init_lvds_chip_info()
1642 viaparinfo->chip_info-> in init_lvds_chip_info()
1644 viaparinfo->chip_info->lvds_chip_info.output_interface = in init_lvds_chip_info()
1646 viaparinfo->chip_info->lvds_chip_info2. in init_lvds_chip_info()
1653 viaparinfo->chip_info->lvds_chip_info.lvds_chip_name); in init_lvds_chip_info()
1655 viaparinfo->chip_info->lvds_chip_info.output_interface); in init_lvds_chip_info()
1657 viaparinfo->chip_info->lvds_chip_info.output_interface); in init_lvds_chip_info()
1710 viaparinfo->lvds_setting_info2->device_lcd_dualedge) { in set_display_channel()
1722 if (viaparinfo->lvds_setting_info->device_lcd_dualedge) { in set_display_channel()
1753 switch (viaparinfo->chip_info->gfx_chip_name) { in hw_init()
1823 u32 devices = viaparinfo->shared->iga1_devices in viafb_setmode()
1824 | viaparinfo->shared->iga2_devices; in viafb_setmode()
1836 if ((viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266 in viafb_setmode()
1837 || viaparinfo->chip_info->gfx_chip_name == UNICHROME_K400) in viafb_setmode()
1851 via_set_primary_color_depth(viaparinfo->depth); in viafb_setmode()
1853 : viaparinfo->depth); in viafb_setmode()
1854 via_set_source(viaparinfo->shared->iga1_devices, IGA1); in viafb_setmode()
1855 via_set_source(viaparinfo->shared->iga2_devices, IGA2); in viafb_setmode()
1856 if (viaparinfo->shared->iga2_devices) in viafb_setmode()
1877 if (viaparinfo->shared->iga2_devices & VIA_CRT in viafb_setmode()
1882 (viaparinfo->shared->iga1_devices & VIA_CRT) in viafb_setmode()
1897 if (viaparinfo->shared->tmds_setting_info.iga_path == IGA2 in viafb_setmode()
1902 viaparinfo->tmds_setting_info->iga_path); in viafb_setmode()
1907 (viaparinfo->lvds_setting_info->iga_path == IGA2)) { in viafb_setmode()
1909 viaparinfo->lvds_setting_info, in viafb_setmode()
1910 &viaparinfo->chip_info->lvds_chip_info); in viafb_setmode()
1913 if (viaparinfo->lvds_setting_info->iga_path == IGA1) { in viafb_setmode()
1914 viaparinfo->lvds_setting_info->display_method = in viafb_setmode()
1918 viaparinfo->lvds_setting_info, in viafb_setmode()
1919 &viaparinfo->chip_info->lvds_chip_info); in viafb_setmode()
1924 (viaparinfo->lvds_setting_info2->iga_path == IGA2)) { in viafb_setmode()
1926 viaparinfo->lvds_setting_info2, in viafb_setmode()
1927 &viaparinfo->chip_info->lvds_chip_info2); in viafb_setmode()
1930 if (viaparinfo->lvds_setting_info2->iga_path == IGA1) { in viafb_setmode()
1931 viaparinfo->lvds_setting_info2->display_method = in viafb_setmode()
1935 viaparinfo->lvds_setting_info2, in viafb_setmode()
1936 &viaparinfo->chip_info->lvds_chip_info2); in viafb_setmode()
1940 if ((viaparinfo->chip_info->gfx_chip_name == UNICHROME_CX700) in viafb_setmode()
1960 via_set_sync_polarity(viaparinfo->shared->iga1_devices, in viafb_setmode()
1962 via_set_sync_polarity(viaparinfo->shared->iga2_devices, in viafb_setmode()
1976 if (viaparinfo->shared->iga1_devices) { in viafb_setmode()
1984 if (viaparinfo->shared->iga2_devices) { in viafb_setmode()