Lines Matching defs:viaparinfo
129 struct viafb_par *viaparinfo)
134 fix->smem_start = viaparinfo->fbmem;
135 fix->smem_len = viaparinfo->fbmem_free;
381 if (copy_to_user(argp, viaparinfo->chip_info,
426 u.viasamm.size_prim = viaparinfo->fbmem_free;
431 viaparinfo->fbmem_free -
437 viaparinfo->fbmem_free >> 1;
439 (viaparinfo->fbmem_free >> 1);
442 u.viasamm.mem_base = viaparinfo->fbmem;
446 viaparinfo->memsize - viaparinfo->fbmem_used;
448 u.viasamm.mem_base = viaparinfo->fbmem;
895 if (viaparinfo->crt_setting_info->iga_path == IGA1) {
897 viaparinfo->
903 if (viaparinfo->tmds_setting_info->iga_path == IGA1) {
905 viaparinfo->
911 if (viaparinfo->lvds_setting_info->iga_path == IGA1) {
913 viaparinfo->
919 if (viaparinfo->lvds_setting_info2->iga_path == IGA1) {
921 viaparinfo->
1053 parse_port(viafb_lcd_port, &viaparinfo->chip_info->lvds_chip_info.
1056 viaparinfo->chip_info->lvds_chip_info2.output_interface =
1060 viafb_lcd_port, viaparinfo->chip_info->lvds_chip_info.
1066 parse_port(viafb_dvi_port, &viaparinfo->chip_info->tmds_chip_info.
1070 viafb_dvi_port, viaparinfo->chip_info->tmds_chip_info.
1301 switch (viaparinfo->chip_info->lvds_chip_info.lvds_chip_name) {
1304 viafb_gpio_i2c_read_lvds(viaparinfo->lvds_setting_info,
1305 &viaparinfo->chip_info->lvds_chip_info, 0x08) & 0x0f;
1307 viafb_gpio_i2c_read_lvds(viaparinfo->lvds_setting_info,
1308 &viaparinfo->chip_info->lvds_chip_info, 0x09) & 0x1f;
1314 switch (viaparinfo->chip_info->lvds_chip_info2.lvds_chip_name) {
1317 viafb_gpio_i2c_read_lvds(viaparinfo->lvds_setting_info2,
1318 &viaparinfo->chip_info->lvds_chip_info2, 0x08) & 0x0f;
1320 viafb_gpio_i2c_read_lvds(viaparinfo->lvds_setting_info2,
1321 &viaparinfo->chip_info->lvds_chip_info2, 0x09) & 0x1f;
1348 switch (viaparinfo->chip_info->lvds_chip_info.lvds_chip_name) {
1360 (viaparinfo->lvds_setting_info,
1361 &viaparinfo->
1369 (viaparinfo->lvds_setting_info,
1370 &viaparinfo->
1385 switch (viaparinfo->chip_info->lvds_chip_info2.lvds_chip_name) {
1397 (viaparinfo->lvds_setting_info2,
1398 &viaparinfo->
1406 (viaparinfo->lvds_setting_info2,
1407 &viaparinfo->
1442 if (VT1636_LVDS == viaparinfo->chip_info->lvds_chip_info.
1444 viaparinfo->chip_info->lvds_chip_info2.lvds_chip_name) {
1452 struct chip_information *chip_info = &viaparinfo->shared->chip_info;
1512 viaparinfo = (struct viafb_par *)viafbinfo->par;
1513 viaparinfo->shared = viafbinfo->par + viafb_par_length;
1514 viaparinfo->shared->vdev = vdev;
1515 viaparinfo->vram_addr = 0;
1516 viaparinfo->tmds_setting_info = &viaparinfo->shared->tmds_setting_info;
1517 viaparinfo->lvds_setting_info = &viaparinfo->shared->lvds_setting_info;
1518 viaparinfo->lvds_setting_info2 =
1519 &viaparinfo->shared->lvds_setting_info2;
1520 viaparinfo->crt_setting_info = &viaparinfo->shared->crt_setting_info;
1521 viaparinfo->chip_info = &viaparinfo->shared->chip_info;
1534 viaparinfo->fbmem = vdev->fbmem_start;
1535 viaparinfo->memsize = vdev->fbmem_len;
1536 viaparinfo->fbmem_free = viaparinfo->memsize;
1537 viaparinfo->fbmem_used = 0;
1557 viafb_second_offset = viaparinfo->fbmem_free -
1561 viafb_second_offset = viaparinfo->fbmem_free -
1588 viafb_setup_fixinfo(&viafbinfo->fix, viaparinfo);
1601 memcpy(viaparinfo1, viaparinfo, viafb_par_length);
1603 viaparinfo1->memsize = viaparinfo->memsize -
1605 viaparinfo->memsize = viafb_second_offset;
1606 viaparinfo1->fbmem = viaparinfo->fbmem + viafb_second_offset;
1608 viaparinfo1->fbmem_used = viaparinfo->fbmem_used;
1611 viaparinfo->fbmem_free = viaparinfo->memsize;
1612 viaparinfo->fbmem_used = 0;
1614 viaparinfo->iga_path = IGA1;
1646 viaparinfo->depth = fb_get_color_depth(&viafbinfo->var,
1654 && (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266)) {
1664 || (viaparinfo->chip_info->gfx_chip_name !=
1675 viafb_init_proc(&viaparinfo->shared->proc_entry);
1684 && (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266))
1704 viafb_remove_proc(viaparinfo->shared->proc_entry);