Searched refs:pmi_base (Results 1 – 3 of 3) sorted by relevance
338 unsigned short *pmi_base; in vesafb_probe() local340 pmi_base = (unsigned short *)phys_to_virt(pmi_phys); in vesafb_probe()341 pmi_start = (void*)((char*)pmi_base + pmi_base[1]); in vesafb_probe()342 pmi_pal = (void*)((char*)pmi_base + pmi_base[2]); in vesafb_probe()344 if (pmi_base[3]) { in vesafb_probe()346 for (i = pmi_base[3]/2; pmi_base[i] != 0xffff; i++) in vesafb_probe()347 printk("%x ", pmi_base[i]); in vesafb_probe()349 if (pmi_base[i] != 0xffff) { in vesafb_probe()
569 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()
123 u16 *pmi_base; /* protected mode interface location */ member