Home
last modified time | relevance | path

Searched refs:par (Results 1 – 25 of 79) sorted by relevance

1234

/linux-2.4.37.9/drivers/video/
Damifb.c1141 struct amifb_par *par);
1143 struct amifb_par *par);
1145 struct amifb_par *par);
1146 static void ami_get_par(struct amifb_par *par);
1149 static void ami_set_par(struct amifb_par *par);
1264 struct amifb_par par; in amifb_get_fix() local
1267 ami_get_par(&par); in amifb_get_fix()
1271 if ((err = ami_decode_var(&fb_display[con].var, &par))) in amifb_get_fix()
1274 return ami_encode_fix(fix, &par); in amifb_get_fix()
1287 struct amifb_par par; in amifb_get_var() local
[all …]
Dpvr2fb.c239 struct pvr2fb_par *par);
241 struct pvr2fb_par *par);
243 struct pvr2fb_par *par);
244 static void pvr2_get_par(struct pvr2fb_par *par);
309 struct pvr2fb_par par; in pvr2fb_get_fix() local
312 pvr2_get_par(&par); in pvr2fb_get_fix()
316 if ((err = pvr2_decode_var(&fb_display[con].var, &par))) in pvr2fb_get_fix()
319 return pvr2_encode_fix(fix, &par); in pvr2fb_get_fix()
330 struct pvr2fb_par par; in pvr2fb_get_var() local
332 pvr2_get_par(&par); in pvr2fb_get_var()
[all …]
Dit8181fb.c240 static int it8181fb_encode_fix (struct fb_fix_screeninfo *fix, const void *par,
242 static int it8181fb_decode_var (const struct fb_var_screeninfo *var, void *par,
244 static int it8181fb_encode_var (struct fb_var_screeninfo *var, const void *par,
246 static void it8181fb_get_par (void *par, struct fb_info_gen *info);
247 static void it8181fb_set_par (const void *par, struct fb_info_gen *info);
257 static void it8181fb_set_disp (const void *par, struct display *disp,
262 static int it8181fb_calc_pixclock(struct it8181fb_par* par);
263 static void it8181SetPLL(const struct it8181fb_par* par,
472 struct it8181fb_par *par = (struct it8181fb_par *) _par; in it8181fb_encode_fix() local
474 struct fb_var_screeninfo* var = &par->var; in it8181fb_encode_fix()
[all …]
Dneofb.c556 const struct neofb_par *par) in vgaHWRestore() argument
560 VGAwMISC (par->MiscOutReg); in vgaHWRestore()
563 VGAwSEQ (i, par->Sequencer[i]); in vgaHWRestore()
566 VGAwCR (17, par->CRTC[17] & ~0x80); in vgaHWRestore()
569 VGAwCR (i, par->CRTC[i]); in vgaHWRestore()
572 VGAwGR (i, par->Graphics[i]); in vgaHWRestore()
577 VGAwATTR (i, par->Attribute[i]); in vgaHWRestore()
583 const struct neofb_par *par) in neofb_set_par() argument
596 switch (par->depth) in neofb_set_par()
632 VGAwGR (0x0A, par->GeneralLockReg); in neofb_set_par()
[all …]
Dvga16fb.c198 const struct vga16fb_par *par, in vga16fb_encode_var() argument
201 *var = par->var; in vga16fb_encode_var()
204 static void vga16fb_clock_chip(struct vga16fb_par *par, in vga16fb_clock_chip() argument
233 par->misc |= best->misc; in vga16fb_clock_chip()
234 par->seq[VGA_SEQ_CLOCK_MODE] |= best->seq_clock_mode; in vga16fb_clock_chip()
235 par->var.pixclock = best->pixclock; in vga16fb_clock_chip()
241 struct vga16fb_par *par, in vga16fb_decode_var() argument
265 par->var.xres = xres; in vga16fb_decode_var()
266 par->var.right_margin = right; in vga16fb_decode_var()
267 par->var.hsync_len = hslen; in vga16fb_decode_var()
[all …]
Dcontrolfb.c104 struct fb_par_control par; member
191 struct fb_par_control *par);
193 static void control_par_to_fix(struct fb_par_control *par,
201 struct fb_par_control *par, const struct fb_info *fb_info);
202 static inline void control_par_to_var(struct fb_par_control *par,
204 static void control_par_to_fix(struct fb_par_control *par,
206 static void control_par_to_display(struct fb_par_control *par,
267 control_par_to_fix(&p->par, fix, p); in control_get_fix()
269 struct fb_par_control par; in control_get_fix() local
271 control_var_to_par(&fb_display[con].var, &par, info); in control_get_fix()
[all …]
Depson1356fb.c140 static void e1356fb_set_par(const struct e1356fb_par* par,
144 struct e1356fb_par* par,
147 struct e1356fb_par* par,
150 const struct e1356fb_par* par,
181 static void doBlt_Move(const struct e1356fb_par* par,
184 static void doBlt_SolidFill(const struct e1356fb_par* par,
399 dump_par(const struct e1356fb_par* par) in dump_par() argument
401 DPRINTK("width: %d\n", par->width); in dump_par()
402 DPRINTK("height: %d\n", par->height); in dump_par()
403 DPRINTK("width_virt: %d\n", par->width_virt); in dump_par()
[all …]
Dvalkyriefb.c107 struct fb_par_valkyrie par; member
149 static inline int valkyrie_par_to_var(struct fb_par_valkyrie *par, struct fb_var_screeninfo *var);
151 struct fb_par_valkyrie *par, const struct fb_info *fb_info);
154 static void valkyrie_par_to_display(struct fb_par_valkyrie *par,
157 static void valkyrie_par_to_fix(struct fb_par_valkyrie *par, struct fb_fix_screeninfo *fix,
200 struct fb_par_valkyrie par; in valkyrie_set_var() local
204 if ((err = valkyrie_var_to_par(var, &par, info))) { in valkyrie_set_var()
211 valkyrie_par_to_var(&par, var); in valkyrie_set_var()
224 valkyrie_par_to_var(&par, var); in valkyrie_set_var()
229 p->par = par; in valkyrie_set_var()
[all …]
Datafb.c317 struct atafb_par *par );
319 struct atafb_par *par );
321 struct atafb_par *par );
322 void (*get_par)( struct atafb_par *par );
323 void (*set_par)( struct atafb_par *par );
333 struct atafb_par *par);
460 struct atafb_par *par ) in tt_encode_fix() argument
471 mode = par->hw.tt.mode & TT_SHIFTER_MODEMASK; in tt_encode_fix()
488 struct atafb_par *par ) in tt_decode_var() argument
499 par->hw.tt.mode=TT_SHIFTER_TTHIGH; in tt_decode_var()
[all …]
Dsstfb.c178 static int sstfb_set_par(const struct sstfb_par *par,
181 struct sstfb_par *par,
184 const struct sstfb_par *par,
553 struct sstfb_par *par, in sstfb_decode_var() argument
560 par->valid=0; in sstfb_decode_var()
562 memset(par, 0, sizeof(par)); in sstfb_decode_var()
563 par->xDim = var->xres; in sstfb_decode_var()
564 par->hSyncOn = var->hsync_len; in sstfb_decode_var()
565 par->hSyncOff = var->xres + var->right_margin + var->left_margin; in sstfb_decode_var()
566 par->hBackPorch = var->left_margin; in sstfb_decode_var()
[all …]
Dhitfb.c74 struct hitfb_par par; in hitfb_detect() local
87 par.bpp = 8; in hitfb_detect()
88 par.x = lcdclor; in hitfb_detect()
91 par.bpp = 16; in hitfb_detect()
92 par.x = lcdclor/2; in hitfb_detect()
96 par.y = ldvntr+1; in hitfb_detect()
98 hitfb_set_par(&par, NULL); in hitfb_detect()
99 hitfb_encode_var(&fb_info.default_var, &par, NULL); in hitfb_detect()
106 const struct hitfb_par *par = fb_par; in hitfb_encode_fix() local
115 fix->visual = (par->bpp == 8) ? in hitfb_encode_fix()
[all …]
Dtdfxfb.c406 static void tdfxfb_set_par(struct tdfxfb_par* par,
410 struct tdfxfb_par *par,
413 const struct tdfxfb_par* par,
416 const struct tdfxfb_par* par,
1288 static void tdfxfb_set_par(struct tdfxfb_par* par, in tdfxfb_set_par() argument
1301 cpp = (par->bpp + 7)/8; in tdfxfb_set_par()
1311 freq = par->pixclock; in tdfxfb_set_par()
1320 par->hdispend >>= 1; in tdfxfb_set_par()
1321 par->hsyncsta >>= 1; in tdfxfb_set_par()
1322 par->hsyncend >>= 1; in tdfxfb_set_par()
[all …]
Dvirgefb.c254 int (*encode_fix)(struct fb_fix_screeninfo *fix, struct virgefb_par *par);
255 int (*decode_var)(struct fb_var_screeninfo *var, struct virgefb_par *par);
256 int (*encode_var)(struct fb_var_screeninfo *var, struct virgefb_par *par);
686 struct virgefb_par *par);
688 struct virgefb_par *par);
690 struct virgefb_par *par);
706 static void virgefb_get_par(struct virgefb_par *par);
707 static void virgefb_set_par(struct virgefb_par *par);
961 struct virgefb_par *par) in virgefb_encode_fix() argument
969 switch (par->var.bits_per_pixel) { in virgefb_encode_fix()
[all …]
Dplatinumfb.c134 static void platinum_set_par(const struct fb_par_platinum *par, struct fb_info_platinum *info);
136 const struct fb_par_platinum *par,
139 struct fb_par_platinum *par,
142 const struct fb_par_platinum *par,
174 struct fb_par_platinum par; in platinum_get_fix() local
177 par = info->default_par; in platinum_get_fix()
179 platinum_var_to_par(&fb_display[con].var, &par, info); in platinum_get_fix()
181 platinum_encode_fix(fix, &par, info); in platinum_get_fix()
230 struct fb_par_platinum par; in platinum_set_var() local
238 if((err = platinum_var_to_par(var, &par, info))) { in platinum_set_var()
[all …]
Dtgafb.c310 struct tgafb_par *par = (struct tgafb_par *)fb_par; in tgafb_encode_fix() local
322 fix->line_length = par->xres * (par->bits_per_pixel >> 3); in tgafb_encode_fix()
324 fix->smem_len = fix->line_length * par->yres; in tgafb_encode_fix()
337 struct tgafb_par *par = (struct tgafb_par *)fb_par; in tgafb_decode_var() local
344 par->bits_per_pixel = 8; in tgafb_decode_var()
349 par->bits_per_pixel = 32; in tgafb_decode_var()
365 par->htimings = ((var->xres/4) & TGA_HORIZ_ACT_LSB) | in tgafb_decode_var()
367 par->vtimings = (var->yres & TGA_VERT_ACTIVE); in tgafb_decode_var()
368 par->htimings |= ((var->right_margin/4) << 9) & TGA_HORIZ_FP; in tgafb_decode_var()
369 par->vtimings |= (var->lower_margin << 11) & TGA_VERT_FP; in tgafb_decode_var()
[all …]
Dretz3fb.c315 struct retz3fb_par *par);
317 struct retz3fb_par *par);
319 struct retz3fb_par *par);
331 static void retz3fb_get_par(struct fb_info *info, struct retz3fb_par *par);
332 static void retz3fb_set_par(struct fb_info *info, struct retz3fb_par *par);
388 struct retz3fb_par *par) in retz3_set_video() argument
412 par->xoffset = 0; in retz3_set_video()
413 par->yoffset = 0; in retz3_set_video()
782 struct retz3fb_par *par) in retz3_encode_fix() argument
795 if (par->bpp == 8) in retz3_encode_fix()
[all …]
Depson1355fb.c87 static int e1355_encode_var(struct fb_var_screeninfo *var, const void *par,
137 const struct e1355_par *par = raw_par; in e1355_encode_fix() local
143 if (!par) in e1355_encode_fix()
146 if (par->bpp == 1) { in e1355_encode_fix()
148 } else if (par->bpp <= 8) { in e1355_encode_fix()
157 static int e1355_set_bpp(struct e1355_par *par, int bpp) in e1355_set_bpp() argument
183 bytes_per_line = (par->xres * bpp) >> 3; in e1355_set_bpp()
187 par->bpp = bpp; in e1355_set_bpp()
196 struct e1355_par *par = raw_par; in e1355_decode_var() local
199 if (!par) in e1355_decode_var()
[all …]
Dcyberfb.c291 struct cyberfb_par *par);
293 struct cyberfb_par *par);
295 struct cyberfb_par *par);
305 static void cyberfb_get_par(struct cyberfb_par *par);
306 static void cyberfb_set_par(struct cyberfb_par *par);
396 struct cyberfb_par *par) in Cyber_encode_fix() argument
408 if (par->var.bits_per_pixel == 15 || par->var.bits_per_pixel == 16 || in Cyber_encode_fix()
409 par->var.bits_per_pixel == 24 || par->var.bits_per_pixel == 32) { in Cyber_encode_fix()
432 struct cyberfb_par *par) in Cyber_decode_var() argument
435 par->var.xres = var->xres; in Cyber_decode_var()
[all …]
Dskeletonfb.c89 struct xxxfb_par par; in xxx_detect() local
92 xxx_get_par(&par); in xxx_detect()
93 xxx_encode_var(&default_var, &par); in xxx_detect()
96 static int xxx_encode_fix(struct fb_fix_screeninfo *fix, struct xxxfb_par *par, in xxx_encode_fix() argument
108 static int xxx_decode_var(struct fb_var_screeninfo *var, struct xxxfb_par *par, in xxx_decode_var() argument
129 static int xxx_encode_var(struct fb_var_screeninfo *var, struct xxxfb_par *par, in xxx_encode_var() argument
141 static void xxx_get_par(struct xxxfb_par *par, const struct fb_info *info) in xxx_get_par() argument
148 *par = current_par; in xxx_get_par()
154 static void xxx_set_par(struct xxxfb_par *par, const struct fb_info *info) in xxx_set_par() argument
160 current_par = *par; in xxx_set_par()
[all …]
Dfbgen.c48 char par[info2->parsize]; in fbgen_get_fix() local
51 fbhw->get_par(&par, info2); in fbgen_get_fix()
55 if ((err = fbhw->decode_var(&fb_display[con].var, &par, info2))) in fbgen_get_fix()
59 return fbhw->encode_fix(fix, &par, info2); in fbgen_get_fix()
80 char par[info2->parsize]; in fbgen_get_var() local
83 fbhw->get_par(&par, info2); in fbgen_get_var()
84 fbhw->encode_var(var, &par, info2); in fbgen_get_var()
280 char par[info->parsize]; in fbgen_do_set_var() local
282 if ((err = fbhw->decode_var(var, &par, info))) in fbgen_do_set_var()
286 fbhw->set_par(&par, info); in fbgen_do_set_var()
[all …]
Dhpfb.c81 struct hpfb_par *par) in hpfb_encode_var() argument
112 static void hpfb_get_par(struct hpfb_par *par) in hpfb_get_par() argument
114 *par=current_par; in hpfb_get_par()
124 struct hpfb_par par; in do_fb_set_var() local
126 hpfb_get_par(&par); in do_fb_set_var()
127 hpfb_encode_var(var, &par); in do_fb_set_var()
164 struct hpfb_par par; in hpfb_get_var() local
167 hpfb_get_par(&par); in hpfb_get_var()
168 hpfb_encode_var(var, &par); in hpfb_get_var()
186 struct hpfb_par *par) in hpfb_encode_fix() argument
[all …]
Dpmag-ba-fb.c97 struct pmagbafb_par *par) in pmagbafb_encode_var() argument
137 static void pmagbafb_get_par(struct pmagbafb_par *par) in pmagbafb_get_par() argument
139 *par = current_par; in pmagbafb_get_par()
150 struct pmagbafb_par par; in pmagba_do_fb_set_var() local
152 pmagbafb_get_par(&par); in pmagba_do_fb_set_var()
153 pmagbafb_encode_var(var, &par); in pmagba_do_fb_set_var()
234 struct pmagbafb_par par; in pmagbafb_get_var() local
236 pmagbafb_get_par(&par); in pmagbafb_get_var()
237 pmagbafb_encode_var(var, &par); in pmagbafb_get_var()
255 struct pmagbafb_par *par, in pmagbafb_encode_fix() argument
[all …]
Dpmagb-b-fb.c100 struct pmagbbfb_par *par) in pmagbbfb_encode_var() argument
140 static void pmagbbfb_get_par(struct pmagbbfb_par *par) in pmagbbfb_get_par() argument
142 *par = current_par; in pmagbbfb_get_par()
153 struct pmagbbfb_par par; in pmagbb_do_fb_set_var() local
155 pmagbbfb_get_par(&par); in pmagbb_do_fb_set_var()
156 pmagbbfb_encode_var(var, &par); in pmagbb_do_fb_set_var()
237 struct pmagbbfb_par par; in pmagbbfb_get_var() local
239 pmagbbfb_get_par(&par); in pmagbbfb_get_var()
240 pmagbbfb_encode_var(var, &par); in pmagbbfb_get_var()
258 struct pmagbbfb_par *par, in pmagbbfb_encode_fix() argument
[all …]
/linux-2.4.37.9/drivers/isdn/
Disdn_ttyfax.c325 int par, i; in isdn_tty_cmd_FCLASS1() local
350 par = isdn_getnum(p); in isdn_tty_cmd_FCLASS1()
351 if ((par < 0) || (par > 255)) in isdn_tty_cmd_FCLASS1()
354 c.parm.aux.para[0] = par; in isdn_tty_cmd_FCLASS1()
417 int par; in isdn_tty_cmd_FCLASS2() local
434 par = isdn_getnum(p); in isdn_tty_cmd_FCLASS2()
435 if ((par < 0) || (par > 255)) in isdn_tty_cmd_FCLASS2()
459 par = isdn_getnum(p); in isdn_tty_cmd_FCLASS2()
460 if ((par < 0) || (par > 255)) in isdn_tty_cmd_FCLASS2()
462 f->badlin = par; in isdn_tty_cmd_FCLASS2()
[all …]
/linux-2.4.37.9/drivers/char/
Dconsole.c1073 switch (par[i]) { in csi_m()
1152 if (par[i] >= 30 && par[i] <= 37) in csi_m()
1153 color = color_table[par[i]-30] in csi_m()
1155 else if (par[i] >= 40 && par[i] <= 47) in csi_m()
1156 color = (color_table[par[i]-40]<<4) in csi_m()
1213 if (ques) switch(par[i]) { /* DEC private modes set/reset */ in set_mode()
1257 } else switch(par[i]) { /* ANSI modes set/reset */ in set_mode()
1276 switch(par[0]) { in setterm_command()
1278 if (can_do_color && par[1] < 16) { in setterm_command()
1279 ulcolor = color_table[par[1]]; in setterm_command()
[all …]

1234