Searched refs:fix (Results 76 - 100 of 224) sorted by relevance

123456789

/linux-master/drivers/video/fbdev/
H A Dskeletonfb.c34 * need for get_fix and get_var. Once all drivers use the fix, var, and cmap
349 * to look at the fix->visual.
354 * bitfields) and fix->visual as seen above.
375 if (info->fix.visual == FB_VISUAL_DIRECTCOLOR ||
376 info->fix.visual == FB_VISUAL_TRUECOLOR)
394 if (info->fix.visual == FB_VISUAL_TRUECOLOR ||
395 info->fix.visual == FB_VISUAL_DIRECTCOLOR) {
696 info->fix = xxxfb_fix;
816 fb_info(info, "%s frame buffer device\n", info->fix.id);
H A Ddnfb.c161 src = (ushort *)(info->screen_base + area->sy * info->fix.line_length +
163 dest = area->dy * (info->fix.line_length >> 1) + (area->dx >> 4);
166 y_delta = (info->fix.line_length * 8) - area->sx - area->width;
176 y_delta = -((info->fix.line_length * 8) - area->sx - area->width);
240 info->fix = dnfb_fix;
245 info->screen_base = (u_char *) info->fix.smem_start;
H A Dvfb.c235 * the hardware state info->par and fix which can be affected by the
242 info->fix.visual = FB_VISUAL_MONO01;
245 info->fix.visual = FB_VISUAL_PSEUDOCOLOR;
250 info->fix.visual = FB_VISUAL_TRUECOLOR;
254 info->fix.line_length = get_line_length(info->var.xres_virtual,
307 switch (info->fix.visual) {
325 if (info->fix.visual == FB_VISUAL_TRUECOLOR) {
387 return remap_vmalloc_range(vma, (void *)info->fix.smem_start, vma->vm_pgoff);
455 info->fix = vfb_fix;
H A Dsimplefb.c578 info->fix = simplefb_fix;
579 info->fix.smem_start = mem->start;
580 info->fix.smem_len = resource_size(mem);
581 info->fix.line_length = params.stride;
594 par->base = info->fix.smem_start;
595 par->size = info->fix.smem_len;
598 info->screen_base = ioremap_wc(info->fix.smem_start,
599 info->fix.smem_len);
622 info->fix.smem_start, info->fix
[all...]
H A Dcontrolfb.c661 info->fix.visual = (p->par.cmode == CMODE_8) ?
663 info->fix.line_length = p->par.pitch;
664 info->fix.xpanstep = 32 >> p->par.cmode;
665 info->fix.ypanstep = 1;
738 start = info->fix.smem_start;
739 len = info->fix.smem_len;
745 start = info->fix.mmio_start;
746 len = info->fix.mmio_len;
782 /* Fill fix common fields */
783 strcpy(info->fix
[all...]
H A Doffb.c104 if (info->fix.visual == FB_VISUAL_TRUECOLOR) {
388 info->fix.visual = (par->cmap_type != cmap_unknown) ?
399 struct fb_fix_screeninfo *fix; local
423 fix = &info->fix;
427 snprintf(fix->id, sizeof(fix->id), "OFfb %s", name);
429 snprintf(fix->id, sizeof(fix->id), "OFfb %pOFn", dp);
434 fix
[all...]
H A Duvesafb.c284 info->fix.smem_len / mode->bytes_per_scan_line :
1086 offset = (var->yoffset * info->fix.line_length + var->xoffset) / 4;
1318 info->fix.visual = (info->var.bits_per_pixel == 8) ?
1320 info->fix.line_length = mode->bytes_per_scan_line;
1394 if (var->yres * mode->bytes_per_scan_line > info->fix.smem_len
1395 && info->fix.smem_len)
1410 info->fix.smem_len / mode->bytes_per_scan_line :
1437 info->fix = uvesafb_fix;
1438 info->fix.ypanstep = par->ypan ? 1 : 0;
1439 info->fix
[all...]
H A Dcobalt_lcdfb.c260 LCD_TEXT_POS(info->fix.line_length * y + x));
313 info->fix = cobalt_lcdfb_fix;
314 info->fix.smem_start = res->start;
315 info->fix.smem_len = info->screen_size;
H A Ds3c-fb.c509 info->fix.visual = FB_VISUAL_TRUECOLOR;
513 info->fix.visual = FB_VISUAL_PSEUDOCOLOR;
515 info->fix.visual = FB_VISUAL_TRUECOLOR;
518 info->fix.visual = FB_VISUAL_MONO01;
521 info->fix.visual = FB_VISUAL_PSEUDOCOLOR;
525 info->fix.line_length = (var->xres_virtual * var->bits_per_pixel) / 8;
527 info->fix.xpanstep = info->var.xres_virtual > info->var.xres ? 1 : 0;
528 info->fix.ypanstep = info->var.yres_virtual > info->var.yres ? 1 : 0;
541 writel(info->fix.smem_start, buf + sfb->variant.buf_start);
543 data = info->fix
[all...]
H A Dsh7760fb.c170 struct fb_fix_screeninfo *fix = &info->fix; local
182 fix->visual = FB_VISUAL_MONO10;
184 fix->visual = FB_VISUAL_TRUECOLOR;
186 fix->visual = FB_VISUAL_PSEUDOCOLOR;
325 info->fix.line_length = stride;
425 info->fix.smem_start = (unsigned long)info->screen_base;
426 info->fix.smem_len = info->screen_size;
512 strcpy(info->fix.id, "sh7760-lcdc");
/linux-master/fs/bcachefs/
H A Derror.c252 int fix = s && s->fix local
253 ? s->fix
256 if (fix == FSCK_FIX_ask) {
259 prt_str(out, ": fix?");
269 s->fix = ask == YN_ALLNO
276 } else if (fix == FSCK_FIX_yes ||
/linux-master/drivers/video/fbdev/core/
H A Dfb_sys_fops.c34 total_size = info->fix.smem_len;
79 total_size = info->fix.smem_len;
H A Dsysfillrect.c248 if (p->fix.visual == FB_VISUAL_TRUECOLOR ||
249 p->fix.visual == FB_VISUAL_DIRECTCOLOR )
258 dst_idx += rect->dy*p->fix.line_length*8+rect->dx*bpp;
285 dst_idx += p->fix.line_length*8;
319 dst_idx += p->fix.line_length*8;
H A Dfb_defio.c34 page = pfn_to_page((info->fix.smem_start + offs) >> PAGE_SHIFT);
101 if (offset >= info->fix.smem_len)
272 if (WARN_ON(!info->fix.smem_len))
281 npagerefs = DIV_ROUND_UP(info->fix.smem_len, PAGE_SIZE);
321 for (i = 0 ; i < info->fix.smem_len; i += PAGE_SIZE) {
H A Dfbmon.c58 u32 fix; member in struct:broken_edid
66 .fix = FBMON_FIX_HEADER,
72 .fix = FBMON_FIX_INPUT,
78 .fix = FBMON_FIX_TIMINGS,
150 int i, fix = 0, ret = 0; local
162 fix = brokendb[i].fix;
167 switch (fix) {
171 ret = fix;
181 ret = fix;
207 fix_edid(unsigned char *edid, int fix) argument
259 int i, err = 0, fix = check_edid(edid); local
279 int i, err = 1, fix = check_edid(edid); local
[all...]
H A Dfb_logo.c103 u8 xor = (info->fix.visual == FB_VISUAL_MONO01) ? 0xff : 0;
106 switch (fb_get_color_depth(&info->var, &info->fix)) {
118 if (info->fix.visual == FB_VISUAL_MONO01 ||
119 info->fix.visual == FB_VISUAL_MONO10)
388 if (info->fix.visual != FB_VISUAL_TRUECOLOR)
420 int depth = fb_get_color_depth(&info->var, &info->fix);
430 if (info->fix.visual == FB_VISUAL_DIRECTCOLOR) {
438 if (info->fix.visual == FB_VISUAL_STATIC_PSEUDOCOLOR && depth > 4) {
469 switch (info->fix.visual) {
/linux-master/drivers/auxdisplay/
H A Dcfag12864bfb.c78 info->fix = cfag12864bfb_fix;
88 fb_info(info, "%s frame buffer device\n", info->fix.id);
/linux-master/scripts/
H A Dcheckpatch.pl46 my $fix = 0;
125 --fix EXPERIMENTAL - may create horrible results
130 --fix-inplace EXPERIMENTAL - may create horrible results
131 Is the same as --fix, but overwrites the input
317 'fix!' => \$fix,
318 'fix-inplace!' => \$fix_inplace,
358 die "$P: --git cannot be used with --file or --fix\n" if ($git && ($file || $fix));
376 $fix
[all...]
/linux-master/sound/pci/hda/
H A Dhda_auto_parser.c827 const struct hda_fixup *fix = codec->fixup_list + id; local
831 if (fix->chained_before)
832 __snd_hda_apply_fixup(codec, fix->chain_id, action, depth + 1);
834 switch (fix->type) {
836 if (action != HDA_FIXUP_ACT_PRE_PROBE || !fix->v.pins)
840 snd_hda_apply_pincfgs(codec, fix->v.pins);
843 if (action != HDA_FIXUP_ACT_PROBE || !fix->v.verbs)
845 codec_dbg(codec, "%s: Apply fix-verbs for %s\n",
847 snd_hda_add_verbs(codec, fix->v.verbs);
850 if (!fix
[all...]
/linux-master/drivers/video/fbdev/mmp/fb/
H A Dmmpfb.c318 if (info->fix.visual == FB_VISUAL_TRUECOLOR && regno < 16) {
325 if (info->fix.visual == FB_VISUAL_PSEUDOCOLOR && regno < 256) {
371 /* fix to 2* yres */
373 info->fix.visual = (pix_fmt == PIXFMT_PSEUDOCOLOR) ?
375 info->fix.line_length = var->xres_virtual * var->bits_per_pixel / 8;
376 info->fix.ypanstep = var->yres;
506 strcpy(info->fix.id, fbi->name);
507 info->fix.type = FB_TYPE_PACKED_PIXELS;
508 info->fix.type_aux = 0;
509 info->fix
[all...]
/linux-master/drivers/video/fbdev/aty/
H A Datyfb_base.c452 (info->fix.smem_len == 0x800000 ||
453 (par->bus_type == ISA && info->fix.smem_len == 0x400000)))
454 info->fix.smem_len -= GUI_RESERVE;
886 if (vyres * line_length > info->fix.smem_len)
1457 info->fix.line_length = calc_line_length(par, var->xres_virtual,
1460 info->fix.visual = var->bits_per_pixel <= 8 ?
1468 btext_update_display(info->fix.smem_start,
1577 u32 line_length = info->fix.line_length;
1720 u32 videoram = (info->fix.smem_len - (PAGE_SIZE << 2));
1842 fbtyp.fb_size = info->fix
[all...]
/linux-master/arch/arm64/kernel/
H A Dcpu_errata.c20 const struct arm64_midr_revidr *fix; local
29 for (fix = entry->fixed_revs; fix && fix->revidr_mask; fix++)
30 if (midr == fix->midr_rv && (revidr & fix->revidr_mask))
/linux-master/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c210 if (info->fix.visual == FB_VISUAL_TRUECOLOR ||
211 info->fix.visual == FB_VISUAL_DIRECTCOLOR) {
270 if (info->fix.visual == FB_VISUAL_TRUECOLOR ||
271 info->fix.visual == FB_VISUAL_DIRECTCOLOR)
323 info->fix.accel = 0xff; /*FIXME: add right define */
/linux-master/drivers/gpu/drm/omapdrm/
H A Domap_fbdev.c50 npages = fbi->fix.line_length >> PAGE_SHIFT;
182 * (since this happens using fix.smem_start). Possibly we could
213 fbi->fix.smem_start = dma_addr;
214 fbi->fix.smem_len = bo->size;
222 fbi->fix.ywrapstep = 1;
247 if (!fbi || strcmp(fbi->fix.id, MODULE_NAME)) {
/linux-master/drivers/video/fbdev/matrox/
H A Dmatroxfb_crtc2.c300 struct fb_fix_screeninfo *fix = &m2info->fbcon.fix; local
302 strcpy(fix->id, "MATROX DH");
304 fix->smem_start = m2info->video.base;
305 fix->smem_len = m2info->video.len_usable;
306 fix->ypanstep = 1;
307 fix->ywrapstep = 0;
308 fix->xpanstep = 8; /* TBD */
309 fix->mmio_start = m2info->mmio.base;
310 fix
[all...]

Completed in 234 milliseconds

123456789