Searched refs:linelen (Results 1 – 5 of 5) sorted by relevance
621 int linelen; in tt_decode_var() local679 linelen = xres * bpp / 8; in tt_decode_var()680 if (yres_virtual * linelen > screen_len && screen_len) in tt_decode_var()682 if (yres * linelen > screen_len && screen_len) in tt_decode_var()687 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var()688 par->next_line = linelen; in tt_decode_var()694 int linelen; in tt_encode_var() local760 linelen = var->xres_virtual * var->bits_per_pixel / 8; in tt_encode_var()768 var->yres_virtual = screen_len / linelen; in tt_encode_var()777 var->yoffset = (par->screen_base - screen_base) / linelen; in tt_encode_var()[all …]
122 u_int32_t linelen = m2info->fbcon.var.xres_virtual * (m2info->fbcon.var.bits_per_pixel >> 3); in matroxfb_dh_restore() local126 mga_outl(0x3C28, pos + linelen); /* field #0 vmemory start */ in matroxfb_dh_restore()127 linelen <<= 1; in matroxfb_dh_restore()133 mga_outl(0x3C40, linelen); in matroxfb_dh_restore()170 unsigned int linelen; in matroxfb_dh_pan_var() local177 linelen = m2info->fbcon.var.xres_virtual * pixelsize; in matroxfb_dh_pan_var()178 pos = m2info->fbcon.var.yoffset * linelen + m2info->fbcon.var.xoffset * pixelsize; in matroxfb_dh_pan_var()182 mga_outl(0x3C28, pos + linelen); in matroxfb_dh_pan_var()
585 unsigned int linelen; in matroxfb_decode_var() local586 unsigned int m1 = linelen = var->xres_virtual * bpp / 8; in matroxfb_decode_var()594 m2 = linelen * PAGE_SIZE / m2; in matroxfb_decode_var()596 max_yres = (vramlen - m2) / linelen; in matroxfb_decode_var()
639 unsigned int linelen, off = 0; in xenboot_write_console() local652 linelen = pos-string+off; in xenboot_write_console()653 if (off + linelen > len) in xenboot_write_console()655 domU_write_console(0, string+off, linelen); in xenboot_write_console()657 off += linelen + 1; in xenboot_write_console()
211 size_t linelen = min(cmd->cmd_len - k, 16); in scsi_print_command() local222 hex_dump_to_buffer(&cmd->cmnd[k], linelen, in scsi_print_command()