Lines Matching refs:modex
1761 int i, length, modex, modey, bpp; in sisusb_setup_screen() local
1763 modex = 640; modey = 480; bpp = 2; in sisusb_setup_screen()
1770 length = modex * bpp * modey; in sisusb_setup_screen()
1775 for (i = 0; i < modex; i++) { in sisusb_setup_screen()
1779 address += (modex * (modey-1) * bpp); in sisusb_setup_screen()
1784 address = sisusb->vrambase + ((i * modex) * bpp); in sisusb_setup_screen()
1787 address += ((modex - 1) * bpp); in sisusb_setup_screen()
1799 int ret = 0, i, j, modex, modey, bpp, du; in sisusb_set_default_mode() local
1822 modex = 640; modey = 480; bpp = 2; in sisusb_set_default_mode()
1876 du = (modex / 16) * (bpp * 2); /* offset/pitch */ in sisusb_set_default_mode()
1877 if (modex % 16) du += bpp; in sisusb_set_default_mode()