Lines Matching refs:tga_type
181 if (par->tga_type == TGA_TYPE_8PLANE) {
208 if (var->xres * (par->tga_type == TGA_TYPE_8PLANE ? 1 : 4) % 8)
250 u8 tga_type;
281 tga_type = par->tga_type;
290 TGA_WRITE_REG(par, deep_presets[tga_type] |
298 TGA_WRITE_REG(par, rasterop_presets[tga_type], TGA_RASTEROP_REG);
299 TGA_WRITE_REG(par, mode_presets[tga_type], TGA_MODE_REG);
300 TGA_WRITE_REG(par, base_addr_presets[tga_type], TGA_BASE_ADDR_REG);
314 if (tga_type == TGA_TYPE_8PLANE && tga_bus_pci) {
340 } else if (tga_type == TGA_TYPE_8PLANE && tga_bus_tc) {
540 if (par->tga_type == TGA_TYPE_8PLANE && tga_bus_pci) {
546 } else if (par->tga_type == TGA_TYPE_8PLANE && tga_bus_tc) {
1327 u8 tga_type = par->tga_type;
1331 switch (tga_type) {
1363 info->fix.visual = (tga_type == TGA_TYPE_8PLANE
1382 if (tga_type != TGA_TYPE_8PLANE) {
1423 u8 tga_type;
1463 tga_type = (readl(mem_base) >> 12) & 0x0f;
1466 par->tga_fb_base = mem_base + fb_offset_presets[tga_type];
1468 par->tga_type = tga_type;
1496 tga_type == TGA_TYPE_8PLANE ? 8 : 32);