hsub 221 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c if ((src_x % info->hsub) || (src_w % info->hsub) || hsub 256 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c plane_x = x / (plane ? fb->format->hsub : 1); hsub 234 drivers/gpu/drm/arm/malidp_planes.c if ((info->hsub != 1) || (info->vsub != 1)) { hsub 244 drivers/gpu/drm/arm/malidp_planes.c if ((info->hsub == 1) || (info->vsub == 1)) { hsub 144 drivers/gpu/drm/armada/armada_overlay.c if (format->num_planes == 1 && src_x & (format->hsub - 1)) hsub 59 drivers/gpu/drm/armada/armada_plane.c x /= format->hsub; hsub 644 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c int xdiv = i ? fb->format->hsub : 1; hsub 84 drivers/gpu/drm/drm_fb_cma_helper.c h_div = fb->format->hsub; hsub 160 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 161 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 162 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGR233, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 163 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 164 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 165 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 166 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 167 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ARGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 168 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ABGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 169 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 170 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 171 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB1555, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 172 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR1555, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 173 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBX5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 174 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRX5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 175 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ARGB1555, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 176 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ABGR1555, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 177 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBA5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 178 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRA5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 179 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGB565, .depth = 16, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 180 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGR565, .depth = 16, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 181 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGB888, .depth = 24, .num_planes = 1, .cpp = { 3, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 182 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGR888, .depth = 24, .num_planes = 1, .cpp = { 3, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 183 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 184 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 185 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBX8888, .depth = 24, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 186 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRX8888, .depth = 24, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 187 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGB565_A8, .depth = 24, .num_planes = 2, .cpp = { 2, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 188 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGR565_A8, .depth = 24, .num_planes = 2, .cpp = { 2, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 189 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB2101010, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 190 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR2101010, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 191 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBX1010102, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 192 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRX1010102, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 193 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ARGB2101010, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 194 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ABGR2101010, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 195 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBA1010102, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 196 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRA1010102, .depth = 30, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 197 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 198 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 199 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBA8888, .depth = 32, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 200 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRA8888, .depth = 32, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 201 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB16161616F, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 202 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR16161616F, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1 }, hsub 203 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ARGB16161616F, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 204 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_ABGR16161616F, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 205 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGB888_A8, .depth = 32, .num_planes = 2, .cpp = { 3, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 206 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGR888_A8, .depth = 32, .num_planes = 2, .cpp = { 3, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 207 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XRGB8888_A8, .depth = 32, .num_planes = 2, .cpp = { 4, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 208 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XBGR8888_A8, .depth = 32, .num_planes = 2, .cpp = { 4, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 209 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_RGBX8888_A8, .depth = 32, .num_planes = 2, .cpp = { 4, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 210 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_BGRX8888_A8, .depth = 32, .num_planes = 2, .cpp = { 4, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, hsub 211 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV410, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 4, .is_yuv = true }, hsub 212 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVU410, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 4, .is_yuv = true }, hsub 213 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV411, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 1, .is_yuv = true }, hsub 214 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVU411, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 4, .vsub = 1, .is_yuv = true }, hsub 215 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV420, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 2, .is_yuv = true }, hsub 216 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVU420, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 2, .is_yuv = true }, hsub 217 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV422, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 1, .is_yuv = true }, hsub 218 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVU422, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 2, .vsub = 1, .is_yuv = true }, hsub 219 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUV444, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 1, .vsub = 1, .is_yuv = true }, hsub 220 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVU444, .depth = 0, .num_planes = 3, .cpp = { 1, 1, 1 }, .hsub = 1, .vsub = 1, .is_yuv = true }, hsub 221 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV12, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 2, .vsub = 2, .is_yuv = true }, hsub 222 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV21, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 2, .vsub = 2, .is_yuv = true }, hsub 223 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV16, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, hsub 224 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV61, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, hsub 225 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV24, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, hsub 226 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_NV42, .depth = 0, .num_planes = 2, .cpp = { 1, 2, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, hsub 227 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YUYV, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, hsub 228 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_YVYU, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, hsub 229 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_UYVY, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, hsub 230 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_VYUY, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, hsub 231 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XYUV8888, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, hsub 232 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_VUY888, .depth = 0, .num_planes = 1, .cpp = { 3, 0, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, hsub 233 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_AYUV, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true, .is_yuv = true }, hsub 234 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y210, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, hsub 235 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y212, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, hsub 236 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y216, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 2, .vsub = 1, .is_yuv = true }, hsub 237 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y410, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true, .is_yuv = true }, hsub 238 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y412, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true, .is_yuv = true }, hsub 239 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_Y416, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true, .is_yuv = true }, hsub 240 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XVYU2101010, .depth = 0, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, hsub 241 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XVYU12_16161616, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, hsub 242 drivers/gpu/drm/drm_fourcc.c { .format = DRM_FORMAT_XVYU16161616, .depth = 0, .num_planes = 1, .cpp = { 8, 0, 0 }, .hsub = 1, .vsub = 1, .is_yuv = true }, hsub 245 drivers/gpu/drm/drm_fourcc.c .hsub = 2, .vsub = 2, .has_alpha = true, .is_yuv = true }, hsub 248 drivers/gpu/drm/drm_fourcc.c .hsub = 2, .vsub = 2, .is_yuv = true }, hsub 251 drivers/gpu/drm/drm_fourcc.c .hsub = 2, .vsub = 2, .has_alpha = true, .is_yuv = true }, hsub 254 drivers/gpu/drm/drm_fourcc.c .hsub = 2, .vsub = 2, .is_yuv = true }, hsub 257 drivers/gpu/drm/drm_fourcc.c .hsub = 2, .vsub = 2, .is_yuv = true}, hsub 260 drivers/gpu/drm/drm_fourcc.c .hsub = 2, .vsub = 2, .is_yuv = true}, hsub 263 drivers/gpu/drm/drm_fourcc.c .hsub = 2, .vsub = 2, .is_yuv = true}, hsub 266 drivers/gpu/drm/drm_fourcc.c .block_w = { 1, 0, 0 }, .block_h = { 1, 0, 0 }, .hsub = 2, hsub 269 drivers/gpu/drm/drm_fourcc.c .num_planes = 1, .cpp = { 0, 0, 0 }, .hsub = 1, .vsub = 1, hsub 272 drivers/gpu/drm/drm_fourcc.c .num_planes = 1, .cpp = { 0, 0, 0 }, .hsub = 2, .vsub = 2, hsub 275 drivers/gpu/drm/drm_fourcc.c .num_planes = 1, .cpp = { 0, 0, 0 }, .hsub = 2, .vsub = 2, hsub 159 drivers/gpu/drm/drm_framebuffer.c return DIV_ROUND_UP(width, format->hsub); hsub 157 drivers/gpu/drm/drm_gem_framebuffer_helper.c unsigned int width = mode_cmd->width / (i ? info->hsub : 1); hsub 573 drivers/gpu/drm/exynos/exynos_drm_ipp.c DIV_ROUND_UP(buf->buf.width, buf->format->hsub); hsub 2453 drivers/gpu/drm/i915/display/intel_display.c .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, hsub 2455 drivers/gpu/drm/i915/display/intel_display.c .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, hsub 2457 drivers/gpu/drm/i915/display/intel_display.c .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, }, hsub 2459 drivers/gpu/drm/i915/display/intel_display.c .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, }, hsub 2658 drivers/gpu/drm/i915/display/intel_display.c int hsub = fb->format->hsub; hsub 2665 drivers/gpu/drm/i915/display/intel_display.c tile_width *= hsub; hsub 2668 drivers/gpu/drm/i915/display/intel_display.c ccs_x = (x * hsub) % tile_width; hsub 2829 drivers/gpu/drm/i915/display/intel_display.c unsigned int hsub = i ? fb->format->hsub : 1; hsub 2840 drivers/gpu/drm/i915/display/intel_display.c x = src_x / hsub; hsub 2842 drivers/gpu/drm/i915/display/intel_display.c width = src_w / hsub; hsub 3354 drivers/gpu/drm/i915/display/intel_display.c int hsub = fb->format->hsub; hsub 3370 drivers/gpu/drm/i915/display/intel_display.c x = aux_x / hsub; hsub 3374 drivers/gpu/drm/i915/display/intel_display.c aux_x = x * hsub + aux_x % hsub; hsub 3515 drivers/gpu/drm/i915/display/intel_display.c int hsub = fb->format->hsub; hsub 3517 drivers/gpu/drm/i915/display/intel_display.c int x = src_x / hsub; hsub 3525 drivers/gpu/drm/i915/display/intel_display.c plane_state->color_plane[1].x = x * hsub + src_x % hsub; hsub 289 drivers/gpu/drm/i915/display/intel_sprite.c u32 src_x, src_y, src_w, src_h, hsub, vsub; hsub 313 drivers/gpu/drm/i915/display/intel_sprite.c hsub = fb->format->hsub; hsub 316 drivers/gpu/drm/i915/display/intel_sprite.c hsub = vsub = max(fb->format->hsub, fb->format->vsub); hsub 319 drivers/gpu/drm/i915/display/intel_sprite.c if (src_x % hsub || src_w % hsub) { hsub 321 drivers/gpu/drm/i915/display/intel_sprite.c src_x, src_w, hsub, rotated ? "rotated " : ""); hsub 119 drivers/gpu/drm/imx/ipuv3-plane.c x /= fb->format->hsub; hsub 138 drivers/gpu/drm/imx/ipuv3-plane.c x /= fb->format->hsub; hsub 474 drivers/gpu/drm/imx/ipuv3-plane.c if (((state->src.x1 >> 16) & (fb->format->hsub - 1)) || hsub 562 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c info->hsub, info->vsub); hsub 663 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c phasex_steps[COMP_1_2] = phasex_step / info->hsub; hsub 704 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c sub = horz ? info->hsub : info->vsub; hsub 758 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c roi_w /= info->hsub; hsub 123 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c int i, hsub, nplanes, nlines; hsub 128 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c hsub = info->hsub; hsub 144 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c if (hdecim && (hsub > 1)) hsub 145 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c hsub = 1; hsub 152 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c fetch_stride = width * cpp / (i ? hsub : 1); hsub 172 drivers/gpu/drm/msm/msm_fb.c unsigned int width = mode_cmd->width / (i ? info->hsub : 1); hsub 90 drivers/gpu/drm/omapdrm/omap_fb.c + (x * format->cpp[n] / (n == 0 ? 1 : format->hsub)) hsub 70 drivers/gpu/drm/rockchip/rockchip_drm_fb.c unsigned int width = mode_cmd->width / (i ? info->hsub : 1); hsub 318 drivers/gpu/drm/rockchip/rockchip_drm_vop.c uint16_t cbcr_src_w = src_w / info->hsub; hsub 858 drivers/gpu/drm/rockchip/rockchip_drm_vop.c int hsub = fb->format->hsub; hsub 865 drivers/gpu/drm/rockchip/rockchip_drm_vop.c offset = (src->x1 >> 16) * bpp / hsub; hsub 509 drivers/gpu/drm/sun4i/sun4i_frontend.c chroma_width = DIV_ROUND_UP(luma_width, fb->format->hsub); hsub 97 drivers/gpu/drm/sun4i/sun8i_vi_layer.c if (format->hsub > 1) { hsub 100 drivers/gpu/drm/sun4i/sun8i_vi_layer.c mask = format->hsub - 1; hsub 120 drivers/gpu/drm/sun4i/sun8i_vi_layer.c (state->src.x1 >> 16) & ~(format->hsub - 1), hsub 134 drivers/gpu/drm/sun4i/sun8i_vi_layer.c subsampled = format->hsub > 1 || format->vsub > 1; hsub 277 drivers/gpu/drm/sun4i/sun8i_vi_layer.c src_x = (state->src.x1 >> 16) & ~(format->hsub - 1); hsub 293 drivers/gpu/drm/sun4i/sun8i_vi_layer.c dx /= format->hsub; hsub 877 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c if (format->hsub == 1 && format->vsub == 1) { hsub 950 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c if (format->hsub == 2 && format->vsub == 2) { hsub 962 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c if (format->hsub == 1 && format->vsub == 1) hsub 985 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c SUN8I_VI_SCALER_SIZE(src_w / format->hsub, hsub 989 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c hscale / format->hsub); hsub 141 drivers/gpu/drm/tegra/fb.c unsigned int width = cmd->width / (i ? info->hsub : 1); hsub 315 drivers/gpu/drm/vc4/vc4_plane.c u32 h_subsample = fb->format->hsub; hsub 593 drivers/gpu/drm/vc4/vc4_plane.c u32 h_subsample = fb->format->hsub; hsub 39 drivers/media/platform/qcom/camss/camss-video.c struct fract hsub[3]; hsub 257 drivers/media/platform/qcom/camss/camss-video.c bytesperline = pix->width / f->hsub[i].numerator * hsub 258 drivers/media/platform/qcom/camss/camss-video.c f->hsub[i].denominator * f->bpp[i] / 8; hsub 617 drivers/media/platform/qcom/camss/camss-video.c bpl = pix_mp->width / fi->hsub[i].numerator * hsub 618 drivers/media/platform/qcom/camss/camss-video.c fi->hsub[i].denominator * fi->bpp[i] / 8; hsub 287 drivers/media/platform/rcar_fdp1.c u8 hsub; hsub 1428 drivers/media/platform/rcar_fdp1.c unsigned int hsub = i > 0 ? fmt->hsub : 1; hsub 1435 drivers/media/platform/rcar_fdp1.c pix->width / hsub * fmt->bpp[i] / 8, hsub 1500 drivers/media/platform/rcar_fdp1.c width = round_down(pix->width, fmt->hsub); hsub 100 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.h unsigned int hsub; hsub 30 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c .hsub = 2, hsub 119 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c width = ALIGN(pix->width, _fmt->hsub); hsub 123 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c pix->width = clamp(width, _fmt->hsub, CSI_MAX_WIDTH); hsub 127 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c unsigned int hsub = i > 0 ? _fmt->hsub : 1; hsub 131 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c bpl = pix->width / hsub * _fmt->bpp[i] / 8; hsub 593 drivers/media/platform/vsp1/vsp1_drm.c chroma_hsub = (fmtinfo->planes == 3) ? fmtinfo->hsub : 1; hsub 45 drivers/media/platform/vsp1/vsp1_pipe.h unsigned int hsub; hsub 297 drivers/media/platform/vsp1/vsp1_rpf.c + crop.left / fmtinfo->hsub hsub 133 drivers/media/platform/vsp1/vsp1_video.c width = round_down(width, info->hsub); hsub 137 drivers/media/platform/vsp1/vsp1_video.c pix->width = clamp(width, info->hsub, VSP1_VIDEO_MAX_WIDTH); hsub 146 drivers/media/platform/vsp1/vsp1_video.c unsigned int hsub = i > 0 ? info->hsub : 1; hsub 152 drivers/media/platform/vsp1/vsp1_video.c pix->width / hsub * info->bpp[i] / 8, hsub 465 drivers/media/platform/vsp1/vsp1_wpf.c unsigned int hsub = i > 0 ? fmtinfo->hsub : 1; hsub 472 drivers/media/platform/vsp1/vsp1_wpf.c mem.addr[i] += offset / hsub hsub 507 drivers/media/platform/vsp1/vsp1_wpf.c unsigned int hsub = i > 0 ? fmtinfo->hsub : 1; hsub 509 drivers/media/platform/vsp1/vsp1_wpf.c mem.addr[i] += hoffset / hsub hsub 127 include/drm/drm_fourcc.h u8 hsub; hsub 200 include/drm/drm_fourcc.h return info->is_yuv && info->hsub == 4 && info->vsub == 4; hsub 215 include/drm/drm_fourcc.h return info->is_yuv && info->hsub == 4 && info->vsub == 1; hsub 230 include/drm/drm_fourcc.h return info->is_yuv && info->hsub == 2 && info->vsub == 2; hsub 245 include/drm/drm_fourcc.h return info->is_yuv && info->hsub == 2 && info->vsub == 1; hsub 260 include/drm/drm_fourcc.h return info->is_yuv && info->hsub == 1 && info->vsub == 1; hsub 282 include/drm/drm_fourcc.h return width / info->hsub;