Lines Matching refs:block_width
56 unsigned int block_width = drm_format_info_block_width(format, 0);
57 unsigned int bits_per_pixel = 8 / block_width;
67 rect->x1 = ALIGN_DOWN(rect->x1, block_width);
83 unsigned int pixpos = x % block_width; /* within byte from the left */
84 unsigned int pixshift = (block_width - pixpos - 1) * bits_per_pixel;
105 unsigned int block_width = drm_format_info_block_width(format, 0);
106 unsigned int bits_per_pixel = 8 / block_width;
114 rect->x1 = ALIGN_DOWN(rect->x1, block_width);
123 unsigned int pixpos = x % block_width; /* within byte from the left */
124 unsigned int pixshift = (block_width - pixpos - 1) * bits_per_pixel;