Home
last modified time | relevance | path

Searched refs:pmi_base (Results 1 – 2 of 2) sorted by relevance

/drivers/video/fbdev/
Dvesafb.c340 unsigned short *pmi_base; in vesafb_probe() local
341pmi_base = (unsigned short*)phys_to_virt(((unsigned long)screen_info.vesapm_seg << 4) + screen_in… in vesafb_probe()
342 pmi_start = (void*)((char*)pmi_base + pmi_base[1]); in vesafb_probe()
343 pmi_pal = (void*)((char*)pmi_base + pmi_base[2]); in vesafb_probe()
345 if (pmi_base[3]) { in vesafb_probe()
347 for (i = pmi_base[3]/2; pmi_base[i] != 0xffff; i++) in vesafb_probe()
348 printk("%x ", pmi_base[i]); in vesafb_probe()
350 if (pmi_base[i] != 0xffff) { in vesafb_probe()
Duvesafb.c569 par->pmi_base = (u16 *)phys_to_virt(((u32)task->t.regs.es << 4) in uvesafb_vbe_getpmi()
571 par->pmi_start = (u8 *)par->pmi_base + par->pmi_base[1]; in uvesafb_vbe_getpmi()
572 par->pmi_pal = (u8 *)par->pmi_base + par->pmi_base[2]; in uvesafb_vbe_getpmi()
578 if (par->pmi_base[3]) { in uvesafb_vbe_getpmi()
580 for (i = par->pmi_base[3]/2; in uvesafb_vbe_getpmi()
581 par->pmi_base[i] != 0xffff; i++) in uvesafb_vbe_getpmi()
582 pr_cont(" %x", par->pmi_base[i]); in uvesafb_vbe_getpmi()
585 if (par->pmi_base[i] != 0xffff) { in uvesafb_vbe_getpmi()