/* Store a partial block of iplan2 data after c2p conversion  */
static void store_iplan2_masked(void *dst, u32 bpp, u32 d[4], u32 mask)
/* Store a partial block of iplan2 data after c2p conversion  */
static void store_iplan2_masked(void *dst, u32 bpp, u32 d[4], u32 mask)
{
	int i;
	for (i = 0; i < bpp/2; i++, dst += 4)
		put_unaligned_be32(comp(d[perm_c2p_16x8[i]],
					get_unaligned_be32(dst), mask),
				   dst);
}