Lines Matching defs:fix

1447 		if (par->next_line * par->vyres > info->fix.smem_len) {
1454 if (par->next_plane * par->bpp > info->fix.smem_len) {
1643 par->bplpt0 = info->fix.smem_start +
1647 par->bplpt0wrap = info->fix.smem_start + move;
1655 par->bplpt0 = info->fix.smem_start + move;
1831 static int ami_get_fix_cursorinfo(struct fb_fix_cursorinfo *fix,
1834 fix->crsr_width = fix->crsr_xsize = par->crsr.width;
1835 fix->crsr_height = fix->crsr_ysize = par->crsr.height;
1836 fix->crsr_color1 = 17;
1837 fix->crsr_color2 = 18;
2413 /* Update fix for new screen parameters */
2415 info->fix.type = FB_TYPE_PACKED_PIXELS;
2416 info->fix.type_aux = 0;
2418 info->fix.type = FB_TYPE_INTERLEAVED_PLANES;
2419 info->fix.type_aux = par->next_line;
2421 info->fix.type = FB_TYPE_PLANES;
2422 info->fix.type_aux = 0;
2424 info->fix.line_length = div8(upx(16 << maxfmode, par->vxres));
2427 info->fix.ywrapstep = 1;
2428 info->fix.xpanstep = 0;
2429 info->fix.ypanstep = 0;
2433 info->fix.ywrapstep = 0;
2435 info->fix.xpanstep = 1;
2437 info->fix.xpanstep = 16 << maxfmode;
2438 info->fix.ypanstep = 1;
3383 struct fb_fix_cursorinfo fix;
3392 i = ami_get_fix_cursorinfo(&crsr.fix, info->par);
3395 return copy_to_user(argp, &crsr.fix,
3396 sizeof(crsr.fix)) ? -EFAULT : 0;
3553 strcpy(info->fix.id, "Amiga ");
3554 info->fix.visual = FB_VISUAL_PSEUDOCOLOR;
3555 info->fix.accel = FB_ACCEL_AMIGABLITT;
3560 strcat(info->fix.id, "OCS");
3568 info->fix.smem_len = VIDEOMEMSIZE_OCS;
3574 strcat(info->fix.id, "ECS");
3588 info->fix.smem_len = VIDEOMEMSIZE_ECS_2M;
3590 info->fix.smem_len = VIDEOMEMSIZE_ECS_1M;
3596 strcat(info->fix.id, "AGA");
3605 info->fix.smem_len = VIDEOMEMSIZE_AGA_2M;
3607 info->fix.smem_len = VIDEOMEMSIZE_AGA_1M;
3614 strcat(info->fix.id, "Unknown");
3675 chipptr = chipalloc(info->fix.smem_len + SPRITEMEMSIZE +
3683 assignchunk(videomemory, u_long, chipptr, info->fix.smem_len);
3695 info->fix.smem_start = (u_long)ZTWO_PADDR(videomemory);
3696 videomemory = (u_long)ioremap_wt(info->fix.smem_start,
3697 info->fix.smem_len);
3701 info->screen_base = ZTWO_VADDR(info->fix.smem_start);
3734 info->fix.id, info->fix.smem_len>>10);