Searched refs:fix (Results 51 - 75 of 224) sorted by relevance

123456789

/linux-master/drivers/video/fbdev/
H A Dhitfb.c181 hitfb_writew((yoffset*info->fix.line_length)>>10, HD64461_LCDCBAR);
267 maxy = info->fix.smem_len / var->xres;
310 info->fix.line_length = info->var.xres;
311 info->fix.visual = FB_VISUAL_PSEUDOCOLOR;
312 info->fix.ypanstep = 16;
315 info->fix.line_length = info->var.xres*2;
316 info->fix.visual = FB_VISUAL_TRUECOLOR;
317 info->fix.ypanstep = 8;
321 hitfb_writew(info->fix.line_length, HD64461_LCDCLOR);
408 info->fix
[all...]
H A Dtdfxfb.c489 if (lpitch * var->yres_virtual > info->fix.smem_len) {
490 var->yres_virtual = info->fix.smem_len / lpitch;
686 reg.curspataddr = info->fix.smem_len;
727 info->fix.line_length = reg.stride;
728 info->fix.visual = (info->var.bits_per_pixel == 8)
757 switch (info->fix.visual) {
829 u32 addr = var->yoffset * info->fix.line_length;
849 u32 stride = info->fix.line_length;
873 if (info->fix.visual == FB_VISUAL_PSEUDOCOLOR) {
893 u32 stride = info->fix
[all...]
H A Darkfb.c186 dst1 = info->screen_base + (image->dy * info->fix.line_length)
198 dst1 += info->fix.line_length;
211 dst1 = info->screen_base + (rect->dy * info->fix.line_length)
219 dst1 += info->fix.line_length;
244 dst1 = info->screen_base + (image->dy * info->fix.line_length)
256 dst1 += info->fix.line_length;
265 if (info->fix.type == FB_TYPE_INTERLEAVED_PLANES)
277 && (info->fix.type == FB_TYPE_INTERLEAVED_PLANES))
618 info->fix.ypanstep = 1;
619 info->fix
[all...]
H A Dplatinumfb.c140 info->fix.smem_start = (pinfo->frame_buffer_phys) + init->fb_offset + offset;
142 info->fix.visual = (pinfo->cmode == CMODE_8) ?
144 info->fix.line_length = vmode_attrs[pinfo->vmode-1].hres * (1<<pinfo->cmode)
146 printk("line_length: %x\n", info->fix.line_length);
322 /* Fill fix common fields */
323 strcpy(info->fix.id, "platinum");
324 info->fix.mmio_start = pinfo->platinum_regs_phys;
325 info->fix.mmio_len = 0x1000;
326 info->fix.type = FB_TYPE_PACKED_PIXELS;
327 info->fix
[all...]
H A Dcg14.c266 info->fix.smem_start, info->fix.smem_len,
339 info->fix.smem_len);
353 snprintf(info->fix.id, sizeof(info->fix.id), "%pOFn", dp);
355 info->fix.type = FB_TYPE_PACKED_PIXELS;
356 info->fix.visual = FB_VISUAL_PSEUDOCOLOR;
358 info->fix.line_length = linebytes;
360 info->fix.accel = FB_ACCEL_SUN_CG14;
456 info->screen_base, info->fix
[all...]
H A Dpmagb-b-fb.c174 info->fix.line_length = info->var.xres;
272 info->fix = pmagbbfb_fix;
286 info->fix.mmio_start = start;
287 par->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len);
297 info->fix.smem_start = start + PMAGB_B_FBMEM;
298 par->smem = ioremap(info->fix.smem_start, info->fix.smem_len);
306 info->screen_size = info->fix.smem_len - 2 * vid_base * 0x1000;
327 info->fix
[all...]
H A Dgbefb.c652 info->fix.line_length = info->var.xres_virtual * bytesPerPixel;
667 info->fix.visual = FB_VISUAL_PSEUDOCOLOR;
671 info->fix.visual = FB_VISUAL_TRUECOLOR;
675 info->fix.visual = FB_VISUAL_TRUECOLOR;
816 static void gbefb_encode_fix(struct fb_fix_screeninfo *fix, argument
819 memset(fix, 0, sizeof(struct fb_fix_screeninfo));
820 strcpy(fix->id, "SGI GBE");
821 fix->smem_start = (unsigned long) gbe_mem;
822 fix->smem_len = gbe_mem_size;
823 fix
[all...]
H A Dxen-fbfront.c196 y1 = beg / fb_info->fix.line_length;
197 y2 = end / fb_info->fix.line_length;
266 var->xres <= info->fix.line_length / (XENFB_DEPTH / 8) &&
267 required_mem_len <= info->fix.smem_len) {
286 xenfb_info->resize.stride = info->fix.line_length;
427 fb_info->fix.visual = FB_VISUAL_TRUECOLOR;
428 fb_info->fix.line_length = fb_info->var.xres * XENFB_DEPTH / 8;
429 fb_info->fix.smem_start = 0;
430 fb_info->fix.smem_len = fb_size;
431 strcpy(fb_info->fix
[all...]
H A Dau1100fb.c167 info->fix.visual = FB_VISUAL_PSEUDOCOLOR;
168 info->fix.line_length = info->var.xres_virtual /
178 info->fix.visual = FB_VISUAL_TRUECOLOR;
179 info->fix.line_length = info->var.xres_virtual << 1; /* depth=16 */
183 info->fix.visual = FB_VISUAL_MONO10;
184 info->fix.line_length = info->var.xres_virtual / 8;
187 info->screen_size = info->fix.line_length * info->var.yres_virtual;
205 (info->fix.line_length *
212 words = info->fix.line_length / sizeof(u32);
253 if (fbi->fix
[all...]
H A D68328fb.c259 * the hardware state info->par and fix which can be affected by the
264 info->fix.line_length = get_line_length(info->var.xres_virtual,
313 switch (info->fix.visual) {
331 if (info->fix.visual == FB_VISUAL_TRUECOLOR) {
438 fb_info.fix = mc68x328fb_fix;
439 fb_info.fix.smem_start = videomemory;
440 fb_info.fix.smem_len = videomemorysize;
441 fb_info.fix.line_length =
443 fb_info.fix.visual = (mc68x328fb_default.bits_per_pixel) == 1 ?
460 fb_info(&fb_info, "%s frame buffer device\n", fb_info.fix
[all...]
H A Dwmt_ge_rops.c51 if (p->fix.visual == FB_VISUAL_TRUECOLOR ||
52 p->fix.visual == FB_VISUAL_DIRECTCOLOR)
65 writel(p->fix.smem_start, regbase + GE_DESTBASE_OFF);
91 writel(p->fix.smem_start, regbase + GE_SRCBASE_OFF);
99 writel(p->fix.smem_start, regbase + GE_DESTBASE_OFF);
H A Dcyber2000fb.c17 * Note that we now use the new fbcon fix, var and cmap scheme. We do
272 switch (cfb->fb.fix.visual) {
830 if (mem > cfb->fb.fix.smem_len)
831 var->yres_virtual = cfb->fb.fix.smem_len * 8 /
925 cfb->fb.fix.line_length = var->xres_virtual * var->bits_per_pixel / 8;
934 mem = cfb->fb.fix.line_length * var->yres_virtual;
935 BUG_ON(mem > cfb->fb.fix.smem_len);
944 cfb->fb.fix.visual = FB_VISUAL_PSEUDOCOLOR;
946 cfb->fb.fix.visual = FB_VISUAL_TRUECOLOR;
948 cfb->fb.fix
[all...]
H A Dcg6.c597 info->fix.smem_start, info->fix.smem_len,
604 FBTYPE_SUNFAST_COLOR, 8, info->fix.smem_len);
630 if (info->fix.smem_len <= 0x100000)
635 if (info->fix.smem_len <= 0x100000)
641 sprintf(info->fix.id, "%s %s", cg6_card_name, cg6_cpu_name);
642 info->fix.id[sizeof(info->fix.id) - 1] = 0;
644 info->fix.type = FB_TYPE_PACKED_PIXELS;
645 info->fix
[all...]
H A Dleo.c415 info->fix.smem_start, info->fix.smem_len,
422 FBTYPE_SUNLEO, 32, info->fix.smem_len);
432 snprintf(info->fix.id, sizeof(info->fix.id), "%pOFn", dp);
434 info->fix.type = FB_TYPE_PACKED_PIXELS;
435 info->fix.visual = FB_VISUAL_TRUECOLOR;
437 info->fix.line_length = 8192;
439 info->fix.accel = FB_ACCEL_SUN_LEO;
561 info->fix
[all...]
H A Ds3fb.c252 strscpy(par->ddc_adapter.name, info->fix.id,
358 dst1 = info->screen_base + (image->dy * info->fix.line_length)
370 dst1 += info->fix.line_length;
383 dst1 = info->screen_base + (rect->dy * info->fix.line_length)
391 dst1 += info->fix.line_length;
415 dst1 = info->screen_base + (image->dy * info->fix.line_length)
427 dst1 += info->fix.line_length;
435 if (info->fix.type == FB_TYPE_INTERLEAVED_PLANES)
447 && (info->fix.type == FB_TYPE_INTERLEAVED_PLANES))
613 info->fix
[all...]
/linux-master/arch/x86/kernel/
H A Daperture_64.c300 int i, fix, slot, valid_agp = 0; local
315 fix = 0;
339 fix = 1;
351 if (!fix && !aper_enabled)
355 fix = 1;
357 if (gart_fix_e820 && !fix && aper_enabled) {
399 int fix, slot, valid_agp = 0; local
414 fix = 0;
469 fix = 1;
476 fix
[all...]
/linux-master/drivers/video/fbdev/aty/
H A Dmach64_cursor.c118 aty_st_le32(CUR_OFFSET, (info->fix.smem_len >> 3) + (yoff << 1), par);
201 info->fix.smem_len -= PAGE_SIZE;
204 addr = (unsigned long) info->screen_base - 0x800000 + info->fix.smem_len;
208 addr = info->fix.smem_start - 0x800000 + info->fix.smem_len;
211 addr = (unsigned long) info->screen_base + info->fix.smem_len;
/linux-master/samples/vfio-mdev/
H A Dmdpy-fb.c142 info->fix = mdpy_fb_fix;
143 info->fix.smem_start = pci_resource_start(pdev, 0);
144 info->fix.smem_len = pci_resource_len(pdev, 0);
145 info->fix.line_length = width * 4;
153 info->screen_size = info->fix.smem_len;
154 info->screen_base = ioremap(info->fix.smem_start,
/linux-master/sound/pci/au88x0/
H A Dau88x0.c82 static void snd_vortex_workaround(struct pci_dev *vortex, int fix) argument
87 if (fix == 255) {
107 if (fix & 0x1)
109 if (fix & 0x2)
112 else if (fix & 0x4)
115 else if (fix & 0x8)
/linux-master/drivers/video/fbdev/core/
H A Dfbmem.c67 struct fb_fix_screeninfo *fix)
71 if (fix->visual == FB_VISUAL_MONO01 ||
72 fix->visual == FB_VISUAL_MONO10)
168 struct fb_fix_screeninfo *fix = &info->fix; local
174 if (!fix->ywrapstep || (var->yoffset % fix->ywrapstep))
178 } else if (!fix->ypanstep || (var->yoffset % fix->ypanstep))
182 if (var->xoffset > 0 && (!fix
66 fb_get_color_depth(struct fb_var_screeninfo *var, struct fb_fix_screeninfo *fix) argument
[all...]
H A Dcfbimgblt.c103 if (p->fix.visual == FB_VISUAL_TRUECOLOR ||
104 p->fix.visual == FB_VISUAL_DIRECTCOLOR )
126 dst1 += p->fix.line_length;
128 dst2 += p->fix.line_length;
145 u32 val, pitch = p->fix.line_length;
212 * fix->line_legth is divisible by 4;
313 dst1 += p->fix.line_length;
332 bitstart = (dy * p->fix.line_length * 8) + (dx * bpp);
334 pitch_index = (p->fix.line_length & (bpl - 1)) * 8;
344 if (p->fix
[all...]
/linux-master/drivers/gpu/drm/gma500/
H A Dfbdev.c28 unsigned long pfn = info->fix.smem_start >> PAGE_SHIFT;
225 info->fix.smem_start = dev_priv->stolen_base + backing->offset;
226 info->fix.smem_len = size;
227 info->fix.ywrapstep = 0;
228 info->fix.ypanstep = 0;
229 info->fix.mmio_start = pci_resource_start(pdev, 0);
230 info->fix.mmio_len = pci_resource_len(pdev, 0);
/linux-master/arch/parisc/mm/
H A Dfault.c145 const struct exception_table_entry *fix; local
147 fix = search_exception_tables(regs->iaoq[0]);
148 if (fix) {
157 if (fix->fixup & 1) {
158 int fault_error_reg = fix->err_opcode & 0x1f;
172 regs->iaoq[0] = (unsigned long)&fix->fixup + fix->fixup;
/linux-master/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-main.c57 struct fb_fix_screeninfo *fix = &fbi->fix; local
60 const unsigned line_len = fix->line_length / bytespp;
100 DBG("fill_fb %dx%d, line_len %d bytes\n", w, h, fbi->fix.line_length);
496 struct fb_fix_screeninfo *fix = &fbi->fix; local
533 fix->smem_start = 0;
534 fix->smem_len = 0;
556 fix->smem_start = ofbi->region->vrfb.paddr[0];
561 fix
592 struct fb_fix_screeninfo *fix = &fbi->fix; local
760 calc_rotation_offset_dma(const struct fb_var_screeninfo *var, const struct fb_fix_screeninfo *fix, int rotation) argument
771 calc_rotation_offset_vrfb(const struct fb_var_screeninfo *var, const struct fb_fix_screeninfo *fix, int rotation) argument
801 omapfb_calc_addr(const struct omapfb_info *ofbi, const struct fb_var_screeninfo *var, const struct fb_fix_screeninfo *fix, int rotation, u32 *paddr) argument
837 struct fb_fix_screeninfo *fix = &fbi->fix; local
1092 struct fb_fix_screeninfo *fix = &fbi->fix; local
[all...]
/linux-master/drivers/clk/pxa/
H A Dclk-pxa.c61 struct clk_fixed_factor *fix; local
64 fix = &pclk->lp;
66 fix = &pclk->hp;
67 __clk_hw_set_clk(&fix->hw, hw);
68 return clk_fixed_factor_ops.recalc_rate(&fix->hw, parent_rate);

Completed in 268 milliseconds

123456789