Searched refs:bppshift (Results 1 – 1 of 1) sorted by relevance
450 u8 bppshift = mgag200_get_bpp_shift(fb->format); in mgag200_calculate_offset() local453 offset = (offset * 3) >> (4 - bppshift); in mgag200_calculate_offset()455 offset = offset >> (4 - bppshift); in mgag200_calculate_offset()482 unsigned int bpp, bppshift, scale; in mgag200_set_format_regs() local487 bppshift = mgag200_get_bpp_shift(format); in mgag200_set_format_regs()490 scale = ((1 << bppshift) * 3) - 1; in mgag200_set_format_regs()493 scale = (1 << bppshift) - 1; in mgag200_set_format_regs()