Symbol: drm_format_info_block_width
drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c
215
u32 block_w = drm_format_info_block_width(fb->format, 0);
drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c
256
block_w = drm_format_info_block_width(fb->format, plane);
drivers/gpu/drm/arm/malidp_planes.c
528
block_w = drm_format_info_block_width(fb->format, 0);
drivers/gpu/drm/drm_fb_dma_helper.c
80
u32 block_w = drm_format_info_block_width(fb->format, plane);
drivers/gpu/drm/drm_fb_helper.c
1078
if ((drm_format_info_block_width(format, 0) > 1) ||
drivers/gpu/drm/drm_fb_helper.c
1509
WARN_ON((drm_format_info_block_width(format, 0) > 1) ||
drivers/gpu/drm/drm_fourcc.c
462
EXPORT_SYMBOL(drm_format_info_block_width);
drivers/gpu/drm/drm_fourcc.c
498
(drm_format_info_block_width(info, plane) *
drivers/gpu/drm/drm_fourcc.c
520
drm_format_info_block_width(info, plane) *
drivers/gpu/drm/gud/gud_pipe.c
105
unsigned int block_width = drm_format_info_block_width(format, 0);
drivers/gpu/drm/gud/gud_pipe.c
56
unsigned int block_width = drm_format_info_block_width(format, 0);
drivers/gpu/drm/i915/display/intel_fb.c
937
*hsub = drm_format_info_block_width(fb->format, color_plane) /
drivers/gpu/drm/i915/display/intel_fb.c
938
drm_format_info_block_width(fb->format, main_plane);
drivers/gpu/drm/tests/drm_format_test.c
16
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 0), 0);
drivers/gpu/drm/tests/drm_format_test.c
17
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, -1), 0);
drivers/gpu/drm/tests/drm_format_test.c
18
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 1), 0);
drivers/gpu/drm/tests/drm_format_test.c
27
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 0), 1);
drivers/gpu/drm/tests/drm_format_test.c
28
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 1), 0);
drivers/gpu/drm/tests/drm_format_test.c
29
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, -1), 0);
drivers/gpu/drm/tests/drm_format_test.c
38
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 0), 1);
drivers/gpu/drm/tests/drm_format_test.c
39
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 1), 1);
drivers/gpu/drm/tests/drm_format_test.c
40
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 2), 0);
drivers/gpu/drm/tests/drm_format_test.c
41
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, -1), 0);
drivers/gpu/drm/tests/drm_format_test.c
50
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 0), 1);
drivers/gpu/drm/tests/drm_format_test.c
51
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 1), 1);
drivers/gpu/drm/tests/drm_format_test.c
52
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 2), 1);
drivers/gpu/drm/tests/drm_format_test.c
53
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 3), 0);
drivers/gpu/drm/tests/drm_format_test.c
54
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, -1), 0);
drivers/gpu/drm/tests/drm_format_test.c
63
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 0), 2);
drivers/gpu/drm/tests/drm_format_test.c
64
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, 1), 0);
drivers/gpu/drm/tests/drm_format_test.c
65
KUNIT_EXPECT_EQ(test, drm_format_info_block_width(info, -1), 0);
drivers/gpu/drm/vkms/vkms_formats.c
106
return (int)fb->pitches[plane_index] * drm_format_info_block_width(fb->format,
drivers/gpu/drm/vkms/vkms_formats.c
109
return -(int)fb->pitches[plane_index] * drm_format_info_block_width(fb->format,
drivers/gpu/drm/vkms/vkms_formats.c
133
WARN_ONCE(drm_format_info_block_width(frame_info->fb->format,
drivers/gpu/drm/vkms/vkms_formats.c
46
int block_x = x / drm_format_info_block_width(format, plane_index);
drivers/gpu/drm/vkms/vkms_formats.c
50
*rem_x = x % drm_format_info_block_width(format, plane_index);
include/drm/drm_fourcc.h
316
unsigned int drm_format_info_block_width(const struct drm_format_info *info,