Home
last modified time | relevance | path

Searched refs:fix (Results 1 – 25 of 179) sorted by relevance

12345678

/linux-2.4.37.9/drivers/video/
Dhpfb.c185 static void hpfb_encode_fix(struct fb_fix_screeninfo *fix, in hpfb_encode_fix() argument
188 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in hpfb_encode_fix()
189 strcpy(fix->id, "HP300 Topcat"); in hpfb_encode_fix()
194 fix->smem_start=fb_start; in hpfb_encode_fix()
195 fix->smem_len=fb_size; in hpfb_encode_fix()
196 fix->type = FB_TYPE_PACKED_PIXELS; in hpfb_encode_fix()
197 fix->visual = FB_VISUAL_PSEUDOCOLOR; in hpfb_encode_fix()
198 fix->xpanstep=0; in hpfb_encode_fix()
199 fix->ypanstep=0; in hpfb_encode_fix()
200 fix->ywrapstep=0; in hpfb_encode_fix()
[all …]
Dpmag-ba-fb.c254 static void pmagbafb_encode_fix(struct fb_fix_screeninfo *fix, in pmagbafb_encode_fix() argument
258 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in pmagbafb_encode_fix()
259 strcpy(fix->id, "PMAG-BA"); in pmagbafb_encode_fix()
261 fix->smem_start = info->pmagba_fb_start; in pmagbafb_encode_fix()
262 fix->smem_len = info->pmagba_fb_size; in pmagbafb_encode_fix()
263 fix->type = FB_TYPE_PACKED_PIXELS; in pmagbafb_encode_fix()
264 fix->visual = FB_VISUAL_PSEUDOCOLOR; in pmagbafb_encode_fix()
265 fix->xpanstep = 0; in pmagbafb_encode_fix()
266 fix->ypanstep = 0; in pmagbafb_encode_fix()
267 fix->ywrapstep = 0; in pmagbafb_encode_fix()
[all …]
Dpmagb-b-fb.c257 static void pmagbbfb_encode_fix(struct fb_fix_screeninfo *fix, in pmagbbfb_encode_fix() argument
261 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in pmagbbfb_encode_fix()
262 strcpy(fix->id, "PMAGB-BA"); in pmagbbfb_encode_fix()
264 fix->smem_start = info->pmagbb_fb_start; in pmagbbfb_encode_fix()
265 fix->smem_len = info->pmagbb_fb_size; in pmagbbfb_encode_fix()
266 fix->type = FB_TYPE_PACKED_PIXELS; in pmagbbfb_encode_fix()
267 fix->visual = FB_VISUAL_PSEUDOCOLOR; in pmagbbfb_encode_fix()
268 fix->xpanstep = 0; in pmagbbfb_encode_fix()
269 fix->ypanstep = 0; in pmagbbfb_encode_fix()
270 fix->ywrapstep = 0; in pmagbbfb_encode_fix()
[all …]
Dq40fb.c32 static int q40fb_get_fix(struct fb_fix_screeninfo *fix, int con,
68 static int q40fb_get_fix(struct fb_fix_screeninfo *fix, int con, in q40fb_get_fix() argument
71 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in q40fb_get_fix()
73 strcpy(fix->id,"Q40"); in q40fb_get_fix()
74 fix->smem_start=q40_screen_addr; in q40fb_get_fix()
75 fix->smem_len=1024*1024; in q40fb_get_fix()
76 fix->type=FB_TYPE_PACKED_PIXELS; in q40fb_get_fix()
77 fix->type_aux=0; in q40fb_get_fix()
78 fix->visual=FB_VISUAL_TRUECOLOR; /* good approximation so far ..*/; in q40fb_get_fix()
79 fix->xpanstep=0; in q40fb_get_fix()
[all …]
Dvfb.c80 static int vfb_get_fix(struct fb_fix_screeninfo *fix, int con,
109 static void vfb_encode_fix(struct fb_fix_screeninfo *fix,
133 static int vfb_get_fix(struct fb_fix_screeninfo *fix, int con, in vfb_get_fix() argument
142 vfb_encode_fix(fix, var); in vfb_get_fix()
237 struct fb_fix_screeninfo fix; in vfb_set_var() local
239 vfb_encode_fix(&fix, var); in vfb_set_var()
241 display->visual = fix.visual; in vfb_set_var()
242 display->type = fix.type; in vfb_set_var()
243 display->type_aux = fix.type_aux; in vfb_set_var()
244 display->ypanstep = fix.ypanstep; in vfb_set_var()
[all …]
Dvalkyriefb.c104 struct fb_fix_screeninfo fix; member
134 static int valkyrie_get_fix(struct fb_fix_screeninfo *fix, int con,
155 struct display *disp, struct fb_fix_screeninfo *fix, struct fb_info_valkyrie *p);
157 static void valkyrie_par_to_fix(struct fb_par_valkyrie *par, struct fb_fix_screeninfo *fix,
159 static void valkyrie_init_fix(struct fb_fix_screeninfo *fix, struct fb_info_valkyrie *p);
176 static int valkyrie_get_fix(struct fb_fix_screeninfo *fix, int con, in valkyrie_get_fix() argument
181 *fix = cp->fix; in valkyrie_get_fix()
232 valkyrie_par_to_fix(&par, &p->fix, p); in valkyrie_set_var()
233 valkyrie_par_to_display(&par, disp, &p->fix, p); in valkyrie_set_var()
494 valkyrie_init_fix(&p->fix, p); in init_valkyrie()
[all …]
Ddnfb.c112 static int dn_fb_get_fix(struct fb_fix_screeninfo *fix, int con,
156 static int dn_fb_get_fix(struct fb_fix_screeninfo *fix, int con, in dn_fb_get_fix() argument
159 strcpy(fix->id,"Apollo Mono"); in dn_fb_get_fix()
160 fix->smem_start=(FRAME_BUFFER_START+IO_BASE); in dn_fb_get_fix()
161 fix->smem_len=FRAME_BUFFER_LEN; in dn_fb_get_fix()
162 fix->type=FB_TYPE_PACKED_PIXELS; in dn_fb_get_fix()
163 fix->type_aux=0; in dn_fb_get_fix()
164 fix->visual=FB_VISUAL_MONO10; in dn_fb_get_fix()
165 fix->xpanstep=0; in dn_fb_get_fix()
166 fix->ypanstep=0; in dn_fb_get_fix()
[all …]
Ddn_cfb4.c112 static int dn_fb_get_fix(struct fb_fix_screeninfo *fix, int con,
156 static int dn_fb_get_fix(struct fb_fix_screeninfo *fix, int con, in dn_fb_get_fix() argument
159 strcpy(fix->id,"Apollo Color4"); in dn_fb_get_fix()
160 fix->smem_start=(FRAME_BUFFER_START+IO_BASE); in dn_fb_get_fix()
161 fix->smem_len=FRAME_BUFFER_LEN; in dn_fb_get_fix()
162 fix->type=FB_TYPE_PACKED_PIXELS; in dn_fb_get_fix()
163 fix->type_aux=0; in dn_fb_get_fix()
164 fix->visual=FB_VISUAL_MONO10; in dn_fb_get_fix()
165 fix->xpanstep=0; in dn_fb_get_fix()
166 fix->ypanstep=0; in dn_fb_get_fix()
[all …]
Dpmag-aa-fb.c229 static int aafb_get_fix(struct fb_fix_screeninfo *fix, int con, in aafb_get_fix() argument
234 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in aafb_get_fix()
235 strcpy(fix->id, "PMAG-AA"); in aafb_get_fix()
236 fix->smem_start = ip->fb_start; in aafb_get_fix()
237 fix->smem_len = ip->fb_size; in aafb_get_fix()
238 fix->type = FB_TYPE_PACKED_PIXELS; in aafb_get_fix()
239 fix->ypanstep = 1; in aafb_get_fix()
240 fix->ywrapstep = 1; in aafb_get_fix()
241 fix->visual = FB_VISUAL_MONO10; in aafb_get_fix()
242 fix->line_length = 1280; in aafb_get_fix()
[all …]
Ddn_cfb8.c113 static int dn_fb_get_fix(struct fb_fix_screeninfo *fix, int con,
157 static int dn_fb_get_fix(struct fb_fix_screeninfo *fix, int con, in dn_fb_get_fix() argument
160 strcpy(fix->id,"Apollo Color8"); in dn_fb_get_fix()
161 fix->smem_start=(char*)(FRAME_BUFFER_START+IO_BASE); in dn_fb_get_fix()
162 fix->smem_len=FRAME_BUFFER_LEN; in dn_fb_get_fix()
163 fix->type=FB_TYPE_PACKED_PIXELS; in dn_fb_get_fix()
164 fix->type_aux=0; in dn_fb_get_fix()
165 fix->visual=FB_VISUAL_MONO10; in dn_fb_get_fix()
166 fix->xpanstep=0; in dn_fb_get_fix()
167 fix->ypanstep=0; in dn_fb_get_fix()
[all …]
Dchipsfb.c55 struct fb_fix_screeninfo fix; member
122 static int chips_get_fix(struct fb_fix_screeninfo *fix, int con,
149 static int chips_get_fix(struct fb_fix_screeninfo *fix, int con, in chips_get_fix() argument
154 *fix = cp->fix; in chips_get_fix()
341 struct fb_fix_screeninfo* fix = &p->fix; in chips_set_bitdepth() local
352 fix->line_length = 800*2; in chips_set_bitdepth()
353 fix->visual = FB_VISUAL_TRUECOLOR; in chips_set_bitdepth()
374 fix->line_length = 800; in chips_set_bitdepth()
375 fix->visual = FB_VISUAL_PSEUDOCOLOR; in chips_set_bitdepth()
388 disp->line_length = p->fix.line_length; in chips_set_bitdepth()
[all …]
Dfbgen.c44 int fbgen_get_fix(struct fb_fix_screeninfo *fix, int con, struct fb_info *info) in fbgen_get_fix() argument
58 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in fbgen_get_fix()
59 return fbhw->encode_fix(fix, &par, info2); in fbgen_get_fix()
305 struct fb_fix_screeninfo fix; in fbgen_set_disp() local
318 memset(&fix, 0, sizeof(struct fb_fix_screeninfo)); in fbgen_set_disp()
319 fbhw->encode_fix(&fix, &par, info); in fbgen_set_disp()
321 display->visual = fix.visual; in fbgen_set_disp()
322 display->type = fix.type; in fbgen_set_disp()
323 display->type_aux = fix.type_aux; in fbgen_set_disp()
324 display->ypanstep = fix.ypanstep; in fbgen_set_disp()
[all …]
Datafb.c316 int (*encode_fix)( struct fb_fix_screeninfo *fix,
459 static int tt_encode_fix( struct fb_fix_screeninfo *fix, in tt_encode_fix() argument
465 strcpy(fix->id,"Atari Builtin"); in tt_encode_fix()
466 fix->smem_start = (unsigned long)real_screen_base; in tt_encode_fix()
467 fix->smem_len = screen_len; in tt_encode_fix()
468 fix->type=FB_TYPE_INTERLEAVED_PLANES; in tt_encode_fix()
469 fix->type_aux=2; in tt_encode_fix()
470 fix->visual=FB_VISUAL_PSEUDOCOLOR; in tt_encode_fix()
473 fix->type=FB_TYPE_PACKED_PIXELS; in tt_encode_fix()
474 fix->type_aux=0; in tt_encode_fix()
[all …]
Dvesafb.c152 static int vesafb_get_fix(struct fb_fix_screeninfo *fix, int con, in vesafb_get_fix() argument
155 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in vesafb_get_fix()
156 strcpy(fix->id,"VESA VGA"); in vesafb_get_fix()
158 fix->smem_start=video_base; in vesafb_get_fix()
159 fix->smem_len=video_size; in vesafb_get_fix()
160 fix->type = video_type; in vesafb_get_fix()
161 fix->visual = video_visual; in vesafb_get_fix()
162 fix->xpanstep = 0; in vesafb_get_fix()
163 fix->ypanstep = ypan ? 1 : 0; in vesafb_get_fix()
164 fix->ywrapstep = (ypan>1) ? 1 : 0; in vesafb_get_fix()
[all …]
Dhitfb.c103 static int hitfb_encode_fix(struct fb_fix_screeninfo *fix, const void *fb_par, in hitfb_encode_fix() argument
108 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in hitfb_encode_fix()
110 strcpy(fix->id, "Hitachi HD64461"); in hitfb_encode_fix()
111 fix->smem_start = fb_info.hit_videobase; in hitfb_encode_fix()
112 fix->smem_len = fb_info.hit_videosize; in hitfb_encode_fix()
113 fix->type = FB_TYPE_PACKED_PIXELS; in hitfb_encode_fix()
114 fix->type_aux = 0; in hitfb_encode_fix()
115 fix->visual = (par->bpp == 8) ? in hitfb_encode_fix()
117 fix->xpanstep = 0; in hitfb_encode_fix()
118 fix->ypanstep = 0; in hitfb_encode_fix()
[all …]
Dmaxinefb.c264 static int maxinefb_get_fix(struct fb_fix_screeninfo *fix, int con, in maxinefb_get_fix() argument
271 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in maxinefb_get_fix()
272 strcpy(fix->id, DRIVER_DESCR); in maxinefb_get_fix()
273 fix->smem_start = ip->fb_start; in maxinefb_get_fix()
274 fix->smem_len = ip->fb_size; in maxinefb_get_fix()
275 fix->type = FB_TYPE_PACKED_PIXELS; in maxinefb_get_fix()
276 fix->ypanstep = 1; in maxinefb_get_fix()
277 fix->ywrapstep = 1; in maxinefb_get_fix()
278 fix->visual = FB_VISUAL_PSEUDOCOLOR; in maxinefb_get_fix()
281 case 1: fix->line_length = var->xres / 8; break; in maxinefb_get_fix()
[all …]
Doffb.c61 struct fb_fix_screeninfo fix; member
92 static int offb_get_fix(struct fb_fix_screeninfo *fix, int con,
144 static int offb_get_fix(struct fb_fix_screeninfo *fix, int con, in offb_get_fix() argument
149 memcpy(fix, &info2->fix, sizeof(struct fb_fix_screeninfo)); in offb_get_fix()
388 struct fb_fix_screeninfo *fix; in offb_init_fb() local
413 fix = &info->fix; in offb_init_fb()
417 strcpy(fix->id, "OFfb "); in offb_init_fb()
418 strncat(fix->id, name, sizeof(fix->id)); in offb_init_fb()
419 fix->id[sizeof(fix->id)-1] = '\0'; in offb_init_fb()
423 fix->line_length = pitch; in offb_init_fb()
[all …]
Digafb.c203 static int igafb_get_fix(struct fb_fix_screeninfo *fix, int con, in igafb_get_fix() argument
208 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in igafb_get_fix()
209 strcpy(fix->id, igafb_name); in igafb_get_fix()
211 fix->smem_start = (unsigned long) fb->frame_buffer; in igafb_get_fix()
212 fix->smem_len = fb->total_vram; in igafb_get_fix()
213 fix->xpanstep = 0; in igafb_get_fix()
214 fix->ypanstep = 0; in igafb_get_fix()
215 fix->ywrapstep = 0; in igafb_get_fix()
217 fix->type = FB_TYPE_PACKED_PIXELS; in igafb_get_fix()
218 fix->type_aux = 0; in igafb_get_fix()
[all …]
Dplatinumfb.c103 static int platinum_get_fix(struct fb_fix_screeninfo *fix, int con,
141 static int platinum_encode_fix(struct fb_fix_screeninfo *fix,
170 static int platinum_get_fix(struct fb_fix_screeninfo *fix, int con, in platinum_get_fix() argument
181 platinum_encode_fix(fix, &par, info); in platinum_get_fix()
262 struct fb_fix_screeninfo fix; in platinum_set_var() local
264 platinum_encode_fix(&fix, &par, info); in platinum_set_var()
266 display->visual = fix.visual; in platinum_set_var()
267 display->type = fix.type; in platinum_set_var()
268 display->type_aux = fix.type_aux; in platinum_set_var()
269 display->ypanstep = fix.ypanstep; in platinum_set_var()
[all …]
Dsgivwfb.c94 static int sgivwfb_get_fix(struct fb_fix_screeninfo *fix, int con,
131 static void sgivwfb_encode_fix(struct fb_fix_screeninfo *fix,
490 static void sgivwfb_encode_fix(struct fb_fix_screeninfo *fix, in sgivwfb_encode_fix() argument
493 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in sgivwfb_encode_fix()
494 strcpy(fix->id, sgivwfb_name); in sgivwfb_encode_fix()
495 fix->smem_start = sgivwfb_mem_phys; in sgivwfb_encode_fix()
496 fix->smem_len = sgivwfb_mem_size; in sgivwfb_encode_fix()
497 fix->type = FB_TYPE_PACKED_PIXELS; in sgivwfb_encode_fix()
498 fix->type_aux = 0; in sgivwfb_encode_fix()
501 fix->visual = FB_VISUAL_PSEUDOCOLOR; in sgivwfb_encode_fix()
[all …]
Dtx3912fb.c49 static int tx3912fb_get_fix(struct fb_fix_screeninfo *fix, int con,
103 static int tx3912fb_get_fix(struct fb_fix_screeninfo *fix, int con, in tx3912fb_get_fix() argument
108 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in tx3912fb_get_fix()
109 strcpy(fix->id, TX3912FB_NAME); in tx3912fb_get_fix()
116 fix->smem_start = tx3912fb_vaddr; in tx3912fb_get_fix()
117 fix->smem_len = tx3912fb_size; in tx3912fb_get_fix()
118 fix->type = display->type; in tx3912fb_get_fix()
119 fix->type_aux = display->type_aux; in tx3912fb_get_fix()
120 fix->xpanstep = 0; in tx3912fb_get_fix()
121 fix->ypanstep = display->ypanstep; in tx3912fb_get_fix()
[all …]
Depson1356fb.c97 static int e1356fb_get_fix(struct fb_fix_screeninfo* fix,
149 static int e1356fb_encode_fix(struct fb_fix_screeninfo* fix,
368 if (IS_PANEL(info->fix.disp_type)) { in e1356fb_get_mode()
371 } else if (info->fix.disp_type == DISP_TYPE_CRT) { in e1356fb_get_mode()
374 } else if (info->fix.disp_type == DISP_TYPE_NTSC) { in e1356fb_get_mode()
501 if (IS_TV(info->fix.disp_type) && in e1356_calc_pixclock()
502 (info->fix.tv_filt & TV_FILT_FLICKER)) in e1356_calc_pixclock()
505 test.clksrc = info->fix.busclk; in e1356_calc_pixclock()
512 test.clksrc = info->fix.mclk; in e1356_calc_pixclock()
519 test.clksrc = info->fix.clki; in e1356_calc_pixclock()
[all …]
/linux-2.4.37.9/arch/ia64/mm/
Dextable.c47 struct exception_fixup fix = { 0 }; in search_exception_table() local
53 fix.cont = entry->cont + main_gp; in search_exception_table()
54 return fix; in search_exception_table()
71 fix.cont = entry->cont + (unsigned long) archdata->gp; in search_exception_table()
77 return fix; in search_exception_table()
81 handle_exception (struct pt_regs *regs, struct exception_fixup fix) in handle_exception() argument
84 if (fix.cont & 4) in handle_exception()
86 regs->cr_iip = (long) fix.cont & ~0xf; in handle_exception()
87 ia64_psr(regs)->ri = fix.cont & 0x3; /* set continuation slot number */ in handle_exception()
/linux-2.4.37.9/drivers/video/sti/
Dstifb.c120 struct fb_fix_screeninfo fix; member
175 #define READ_BYTE(fb,reg) __raw_readb((fb)->fix.mmio_start + (reg))
176 #define READ_WORD(fb,reg) __raw_readl((fb)->fix.mmio_start + (reg))
177 #define WRITE_BYTE(value,fb,reg) __raw_writeb((value),(fb)->fix.mmio_start + (reg))
178 #define WRITE_WORD(value,fb,reg) __raw_writel((value),(fb)->fix.mmio_start + (reg))
513 memset_io(fb->fix.smem_start, 0xff, in rattlerSetupPlanes()
514 fb->var.yres*fb->fix.line_length); in rattlerSetupPlanes()
1002 stifb_get_fix(struct fb_fix_screeninfo *fix, int con, in stifb_get_fix() argument
1005 memcpy (fix, &((struct stifb_info *)info)->fix, sizeof (*fix)); in stifb_get_fix()
1215 struct fb_fix_screeninfo *fix; in stifb_init_fb() local
[all …]
/linux-2.4.37.9/arch/parisc/mm/
Dfault.c148 const struct exception_table_entry *fix; in do_page_fault() local
233 fix = search_exception_table(regs->iaoq[0]); in do_page_fault()
235 if (fix) { in do_page_fault()
237 if (fix->skip & 1) in do_page_fault()
239 if (fix->skip & 2) in do_page_fault()
242 regs->iaoq[0] += ((fix->skip) & ~3); in do_page_fault()

12345678