Searched refs:fix (Results 51 - 75 of 223) sorted by path

123456789

/linux-master/drivers/media/pci/ivtv/
H A Divtvfb.c387 total_size = info->fix.smem_len;
614 static int ivtvfb_get_fix(struct ivtv *itv, struct fb_fix_screeninfo *fix) argument
619 memset(fix, 0, sizeof(struct fb_fix_screeninfo));
620 strscpy(fix->id, "cx23415 TV out", sizeof(fix->id));
621 fix->smem_start = oi->video_pbase;
622 fix->smem_len = oi->video_buffer_size;
623 fix->type = FB_TYPE_PACKED_PIXELS;
624 fix->visual = (oi->bits_per_pixel == 8) ? FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;
625 fix
[all...]
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-osd.c109 static int vivid_fb_get_fix(struct vivid_dev *dev, struct fb_fix_screeninfo *fix) argument
112 memset(fix, 0, sizeof(struct fb_fix_screeninfo));
113 strscpy(fix->id, "vioverlay fb", sizeof(fix->id));
114 fix->smem_start = dev->video_pbase;
115 fix->smem_len = dev->video_buffer_size;
116 fix->type = FB_TYPE_PACKED_PIXELS;
117 fix->visual = FB_VISUAL_TRUECOLOR;
118 fix->xpanstep = 1;
119 fix
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c3314 /* first fix first BD */
3347 static __le16 bnx2x_csum_fix(unsigned char *t_header, u16 csum, s8 fix) argument
3351 if (fix > 0)
3353 csum_partial(t_header - fix, fix, 0)));
3355 else if (fix < 0)
3357 csum_partial(t_header, -fix, 0)));
3641 s8 fix = SKB_CS_OFF(skb); /* signed! */ local
3644 "hlen %d fix %d csum before fix
[all...]
/linux-master/drivers/net/usb/
H A Dr8152.c3225 * primarily. For USB_RX_EARLY_TIMEOUT, we fix it to 128ns.
4334 static bool rtl8152_is_fw_phy_fixup_ok(struct r8152 *tp, struct fw_phy_fixup *fix) argument
4349 if (__le32_to_cpu(fix->blk_hdr.length) != sizeof(*fix)) {
4354 if (__le16_to_cpu(fix->setting.addr) != OCP_PHY_PATCH_CMD ||
4355 __le16_to_cpu(fix->setting.data) != BIT(7)) {
5040 static void rtl8152_fw_phy_fixup(struct r8152 *tp, struct fw_phy_fixup *fix) argument
5046 addr = __le16_to_cpu(fix->setting.addr);
5049 switch (__le16_to_cpu(fix->bit_cmd)) {
5051 data &= __le16_to_cpu(fix
[all...]
/linux-master/drivers/staging/fbtft/
H A Dfb_uc1611.c150 /* par->info->fix.visual = FB_VISUAL_PSEUDOCOLOR; */
224 int line_length = par->info->fix.line_length;
H A Dfbtft-core.c273 offset = start_line * par->info->fix.line_length;
274 len = (end_line - start_line + 1) * par->info->fix.line_length;
341 y_low = pageref->offset / info->fix.line_length;
342 y_high = (pageref->offset + PAGE_SIZE - 1) / info->fix.line_length;
377 switch (info->fix.visual) {
611 snprintf(info->fix.id, sizeof(info->fix.id), "%s", dev->driver->name);
612 info->fix.type = FB_TYPE_PACKED_PIXELS;
613 info->fix.visual = FB_VISUAL_TRUECOLOR;
614 info->fix
[all...]
/linux-master/drivers/staging/sm750fb/
H A Dsm750.c179 pitch = info->fix.line_length;
217 pitch = info->fix.line_length;
251 pitch = info->fix.line_length;
260 if (info->fix.visual == FB_VISUAL_TRUECOLOR ||
261 info->fix.visual == FB_VISUAL_DIRECTCOLOR) {
304 info->fix.visual = FB_VISUAL_PSEUDOCOLOR;
309 info->fix.visual = FB_VISUAL_TRUECOLOR;
362 struct fb_fix_screeninfo *fix; local
374 fix = &info->fix;
724 struct fb_fix_screeninfo *fix; local
[all...]
H A Dsm750.h142 /* below attributes belong to info->fix, their value depends on specific adaptor*/
202 struct fb_fix_screeninfo *fix);
209 struct fb_fix_screeninfo *fix);
H A Dsm750_hw.c185 struct fb_fix_screeninfo *fix)
249 /* set the controller's mode for @crtc charged with @var and @fix parameters */
252 struct fb_fix_screeninfo *fix)
327 reg |= (fix->line_length & PANEL_FB_WIDTH_OFFSET_MASK);
361 reg |= (fix->line_length & CRT_FB_WIDTH_OFFSET_MASK);
555 total = var->yoffset * info->fix.line_length +
183 hw_sm750_output_setMode(struct lynxfb_output *output, struct fb_var_screeninfo *var, struct fb_fix_screeninfo *fix) argument
250 hw_sm750_crtc_setMode(struct lynxfb_crtc *crtc, struct fb_var_screeninfo *var, struct fb_fix_screeninfo *fix) argument
/linux-master/drivers/video/fbdev/
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 Dacornfb.c203 if (current_par.using_vram && info->fix.smem_len == 2048*1024)
273 if (regno < 16 && info->fix.visual == FB_VISUAL_DIRECTCOLOR) {
348 if (min_size > info->fix.smem_len)
354 for (size = info->fix.smem_len;
367 size = info->fix.smem_len;
374 current_par.screen_end = info->fix.smem_start + size;
437 u_int off = var->yoffset * info->fix.line_length;
442 iomd_writel(info->fix.smem_start + off, IOMD_VIDINIT);
525 info->fix.visual = FB_VISUAL_MONO10;
529 info->fix
[all...]
H A Damifb.c1447 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, argument
1834 fix->crsr_width = fix->crsr_xsize = par->crsr.width;
1835 fix->crsr_height = fix
3383 struct fb_fix_cursorinfo fix; member in union:__anon240
[all...]
H A Darcfb.c476 info->fix = arcfb_fix;
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 Dasiliantfb.c298 p->fix.line_length = p->var.xres * (p->var.bits_per_pixel >> 3);
299 p->fix.visual = (p->var.bits_per_pixel == 8) ? FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;
513 p->fix = asiliantfb_fix;
514 p->fix.smem_start = addr;
532 p->fix.smem_len / 1024);
H A Datafb.c162 .fix = {
308 * int (*encode_fix)(struct fb_fix_screeninfo *fix,
310 * This function should fill in the 'fix' structure based on the
349 int (*encode_fix)(struct fb_fix_screeninfo *fix,
554 static int tt_encode_fix(struct fb_fix_screeninfo *fix, struct atafb_par *par) argument
558 strcpy(fix->id, "Atari Builtin");
559 fix->smem_start = phys_screen_base;
560 fix->smem_len = screen_len;
561 fix->type = FB_TYPE_INTERLEAVED_PLANES;
562 fix
851 falcon_encode_fix(struct fb_fix_screeninfo *fix, struct atafb_par *par) argument
1768 stste_encode_fix(struct fb_fix_screeninfo *fix, struct atafb_par *par) argument
2070 ext_encode_fix(struct fb_fix_screeninfo *fix, struct atafb_par *par) argument
2366 atafb_get_fix(struct fb_fix_screeninfo *fix, struct fb_info *info) argument
[all...]
H A Datmel_lcdfb.c297 struct fb_fix_screeninfo *fix = &info->fix; local
300 dma_addr = (fix->smem_start + var->yoffset * fix->line_length
313 dma_free_wc(info->device, info->fix.smem_len, info->screen_base,
314 info->fix.smem_start);
332 info->fix.smem_len = max(smem_len, sinfo->smem_len);
334 info->screen_base = dma_alloc_wc(info->device, info->fix.smem_len,
335 (dma_addr_t *)&info->fix.smem_start,
342 memset(info->screen_base, 0, 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 Dau1200fb.c951 | LCD_WINCTRL2_BX_N(fbdev->fb_info->fix.line_length)
1010 fbi->fix.visual = FB_VISUAL_PSEUDOCOLOR;
1011 fbi->fix.line_length = fbi->var.xres_virtual /
1015 fbi->fix.visual = FB_VISUAL_TRUECOLOR;
1016 fbi->fix.line_length = fbi->var.xres_virtual * (fbi->var.bits_per_pixel / 8);
1020 fbi->fix.visual = FB_VISUAL_MONO10;
1021 fbi->fix.line_length = fbi->var.xres_virtual / 8;
1024 fbi->screen_size = fbi->fix.line_length * fbi->var.yres_virtual;
1025 print_dbg("line length: %d\n", fbi->fix.line_length);
1160 if (fbi->fix
[all...]
/linux-master/drivers/video/fbdev/aty/
H A Daty128fb.c13 * - fix panning
24 * fix colormap setting at 16 bits/pixel (565)
1526 info->fix.line_length = (par->crtc.vxres * par->crtc.bpp) >> 3;
1527 info->fix.visual = par->crtc.bpp == 8 ? FB_VISUAL_PSEUDOCOLOR
1538 btext_update_display(info->fix.smem_start,
2037 info->fix.id, video_card);
2090 info->fix.mmio_start = reg_addr;
2104 /* Set up info->fix */
2105 info->fix = aty128fb_fix;
2106 info->fix
[all...]
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...]
H A Dmach64_ct.c453 if (info->fix.smem_len<=ONE_MB) {
462 if (info->fix.smem_len<=ONE_MB) {
470 if (info->fix.smem_len<=ONE_MB) {
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;
H A Dmach64_gx.c255 if (info->fix.smem_len < ONE_MB)
257 else if (info->fix.smem_len == ONE_MB)
H A Dradeon_base.c960 OUTREG(CRTC_OFFSET, (var->yoffset * info->fix.line_length +
1553 * divider. I'll find a better fix once I have more infos on the
1933 /* Update fix */
1935 info->fix.line_length = rinfo->pitch*64;
1937 info->fix.line_length = mode->xres_virtual
1939 info->fix.visual = rinfo->depth == 8 ? FB_VISUAL_PSEUDOCOLOR
1945 rinfo->depth, info->fix.line_length);
1984 /* Fill fix common fields */
1985 strscpy(info->fix.id, rinfo->name, sizeof(info->fix
[all...]

Completed in 444 milliseconds

123456789