• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/

Lines Matching defs:current_par

87 static struct acornfb_par current_par;
307 if (regno >= current_par.palette_size)
316 current_par.palette[regno] = pal;
430 if (current_par.using_vram && info->fix.smem_len == 2048*1024)
442 if (current_par.using_vram && current_par.vram_half_sam == 2048)
497 if (regno >= current_par.palette_size)
515 current_par.palette[regno] = pal;
523 pal.vidc20.red = current_par.palette[ i & 31].vidc20.red;
524 pal.vidc20.green = current_par.palette[(i >> 1) & 31].vidc20.green;
525 pal.vidc20.blue = current_par.palette[(i >> 2) & 31].vidc20.blue;
556 if (current_par.using_vram)
557 sam_size = current_par.vram_half_sam * 2;
601 current_par.screen_end = info->fix.smem_start + size;
757 current_par.palette_size = 2;
761 current_par.palette_size = 4;
765 current_par.palette_size = 16;
769 current_par.palette_size = VIDC_PALETTE_SIZE;
778 current_par.palette_size = 32;
782 current_par.palette_size = VIDC_PALETTE_SIZE;
805 size = current_par.screen_end;
807 if (current_par.using_vram) {
808 size -= current_par.vram_half_sam;
809 control = DMA_CR_E | (current_par.vram_half_sam / 256);
935 fb_info.pseudo_palette = current_par.pseudo_palette;
967 current_par.dram_size = 0;
968 current_par.montype = -1;
969 current_par.dpms = 0;
1006 current_par.montype = -2;
1046 current_par.montype = -1;
1052 current_par.montype = -2;
1056 current_par.montype = 0;
1059 current_par.montype = 1;
1062 current_par.montype = 2;
1065 current_par.montype = 3;
1068 current_par.montype = 4;
1071 current_par.montype = -1;
1073 current_par.montype = simple_strtoul(opt, &opt, 0);
1075 if (current_par.montype == -2 ||
1076 current_par.montype > NR_MONTYPES) {
1079 current_par.montype = -1;
1083 current_par.dpms = 1;
1111 current_par.dram_size = size;
1217 current_par.dev = &dev->dev;
1219 if (current_par.montype == -1)
1220 current_par.montype = acornfb_detect_monitortype();
1222 if (current_par.montype == -1 || current_par.montype > NR_MONTYPES)
1223 current_par.montype = 4;
1225 if (current_par.montype >= 0) {
1226 fb_info.monspecs = monspecs[current_par.montype];
1227 fb_info.monspecs.dpms = current_par.dpms;
1252 current_par.using_vram = 0;
1259 if (vram_size && !current_par.dram_size) {
1261 current_par.vram_half_sam = vram_size / 1024;
1262 current_par.using_vram = 1;
1263 } else if (current_par.dram_size)
1264 size = current_par.dram_size;
1277 if (!current_par.using_vram) {
1286 base = dma_alloc_writecombine(current_par.dev, size, &handle,
1307 current_par.palette_size = VIDC_PALETTE_SIZE;
1360 current_par.using_vram ? 'V' : 'D',