Searched refs:bppshift (Results 1 – 1 of 1) sorted by relevance
299 u8 bppshift = mgag200_get_bpp_shift(fb->format); in mgag200_calculate_offset() local302 offset = (offset * 3) >> (4 - bppshift); in mgag200_calculate_offset()304 offset = offset >> (4 - bppshift); in mgag200_calculate_offset()329 unsigned int bpp, bppshift, scale; in mgag200_set_format_regs() local334 bppshift = mgag200_get_bpp_shift(format); in mgag200_set_format_regs()337 scale = ((1 << bppshift) * 3) - 1; in mgag200_set_format_regs()340 scale = (1 << bppshift) - 1; in mgag200_set_format_regs()