Home
last modified time | relevance | path

Searched refs:sizes (Results 1 - 25 of 1024) sorted by relevance

12345678910>>...41

/kernel/linux/linux-5.10/tools/testing/selftests/arm64/mte/
H A Dcheck_mmap_options.c28 static int sizes[] = { variable
64 int item = sizeof(sizes)/sizeof(int); in check_anonymous_memory_mapping()
66 item = sizeof(sizes)/sizeof(int); in check_anonymous_memory_mapping()
69 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_anonymous_memory_mapping()
75 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[run]); in check_anonymous_memory_mapping()
77 ptr = mte_insert_tags((void *)ptr, sizes[run]); in check_anonymous_memory_mapping()
83 result = check_mte_memory(ptr, sizes[run], mode, tag_check); in check_anonymous_memory_mapping()
84 mte_clear_tags((void *)ptr, sizes[run]); in check_anonymous_memory_mapping()
96 int total = sizeof(sizes)/sizeof(int); in check_file_memory_mapping()
105 map_size = sizes[ru in check_file_memory_mapping()
[all...]
H A Dcheck_buffer_fill.c16 static int sizes[] = { variable
35 item = sizeof(sizes)/sizeof(int); in check_buffer_by_byte()
38 ptr = (char *)mte_allocate_memory(sizes[i], mem_type, 0, true); in check_buffer_by_byte()
39 if (check_allocated_memory(ptr, sizes[i], mem_type, true) != KSFT_PASS) in check_buffer_by_byte()
41 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[i]); in check_buffer_by_byte()
43 for (j = 0; j < sizes[i]; j++) in check_buffer_by_byte()
48 for (j = 0; j < sizes[i] && !err; j++) { in check_buffer_by_byte()
52 mte_free_memory((void *)ptr, sizes[i], mem_type, true); in check_buffer_by_byte()
72 item = sizeof(sizes)/sizeof(int); in check_buffer_underflow_by_byte()
74 ptr = (char *)mte_allocate_memory_tag_range(sizes[ in check_buffer_underflow_by_byte()
[all...]
H A Dcheck_child_memory.c24 static int sizes[] = { variable
88 int item = sizeof(sizes)/sizeof(int); in check_child_memory_mapping()
90 item = sizeof(sizes)/sizeof(int); in check_child_memory_mapping()
93 ptr = (char *)mte_allocate_memory_tag_range(sizes[run], mem_type, mapping, in check_child_memory_mapping()
95 if (check_allocated_memory_range(ptr, sizes[run], mem_type, in check_child_memory_mapping()
98 result = check_child_tag_inheritance(ptr, sizes[run], mode); in check_child_memory_mapping()
99 mte_free_memory_tag_range((void *)ptr, sizes[run], mem_type, UNDERFLOW, OVERFLOW); in check_child_memory_mapping()
110 int total = sizeof(sizes)/sizeof(int); in check_child_file_mapping()
118 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_child_file_mapping()
125 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[ru in check_child_file_mapping()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/mte/
H A Dcheck_buffer_fill.c16 static int sizes[] = { variable
35 item = ARRAY_SIZE(sizes); in check_buffer_by_byte()
38 ptr = (char *)mte_allocate_memory(sizes[i], mem_type, 0, true); in check_buffer_by_byte()
39 if (check_allocated_memory(ptr, sizes[i], mem_type, true) != KSFT_PASS) in check_buffer_by_byte()
41 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[i]); in check_buffer_by_byte()
43 for (j = 0; j < sizes[i]; j++) in check_buffer_by_byte()
48 for (j = 0; j < sizes[i] && !err; j++) { in check_buffer_by_byte()
52 mte_free_memory((void *)ptr, sizes[i], mem_type, true); in check_buffer_by_byte()
72 item = ARRAY_SIZE(sizes); in check_buffer_underflow_by_byte()
74 ptr = (char *)mte_allocate_memory_tag_range(sizes[ in check_buffer_underflow_by_byte()
[all...]
H A Dcheck_mmap_options.c28 static int sizes[] = { variable
64 int item = ARRAY_SIZE(sizes); in check_anonymous_memory_mapping()
68 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_anonymous_memory_mapping()
74 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[run]); in check_anonymous_memory_mapping()
76 ptr = mte_insert_tags((void *)ptr, sizes[run]); in check_anonymous_memory_mapping()
82 result = check_mte_memory(ptr, sizes[run], mode, tag_check); in check_anonymous_memory_mapping()
83 mte_clear_tags((void *)ptr, sizes[run]); in check_anonymous_memory_mapping()
95 int total = ARRAY_SIZE(sizes); in check_file_memory_mapping()
104 map_size = sizes[run] + UNDERFLOW + OVERFLOW; in check_file_memory_mapping()
111 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[ru in check_file_memory_mapping()
[all...]
H A Dcheck_child_memory.c24 static int sizes[] = { variable
88 int item = ARRAY_SIZE(sizes); in check_child_memory_mapping()
90 item = ARRAY_SIZE(sizes); in check_child_memory_mapping()
93 ptr = (char *)mte_allocate_memory_tag_range(sizes[run], mem_type, mapping, in check_child_memory_mapping()
95 if (check_allocated_memory_range(ptr, sizes[run], mem_type, in check_child_memory_mapping()
98 result = check_child_tag_inheritance(ptr, sizes[run], mode); in check_child_memory_mapping()
99 mte_free_memory_tag_range((void *)ptr, sizes[run], mem_type, UNDERFLOW, OVERFLOW); in check_child_memory_mapping()
110 int total = ARRAY_SIZE(sizes); in check_child_file_mapping()
118 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_child_file_mapping()
125 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[ru in check_child_file_mapping()
[all...]
/kernel/linux/linux-5.10/drivers/android/
H A Dbinder_alloc_selftest.c78 static void pr_err_size_seq(size_t *sizes, int *seq) in pr_err_size_seq() argument
82 pr_err("alloc sizes: "); in pr_err_size_seq()
84 pr_cont("[%zu]", sizes[i]); in pr_err_size_seq()
117 size_t *sizes, int *seq) in binder_selftest_alloc_buf()
122 buffers[i] = binder_alloc_new_buf(alloc, sizes[i], 0, 0, 0, 0); in binder_selftest_alloc_buf()
125 sizes[i])) { in binder_selftest_alloc_buf()
126 pr_err_size_seq(sizes, seq); in binder_selftest_alloc_buf()
134 size_t *sizes, int *seq, size_t end) in binder_selftest_free_buf()
148 pr_err_size_seq(sizes, seq); in binder_selftest_free_buf()
177 size_t *sizes, in in binder_selftest_alloc_free()
115 binder_selftest_alloc_buf(struct binder_alloc *alloc, struct binder_buffer *buffers[], size_t *sizes, int *seq) binder_selftest_alloc_buf() argument
132 binder_selftest_free_buf(struct binder_alloc *alloc, struct binder_buffer *buffers[], size_t *sizes, int *seq, size_t end) binder_selftest_free_buf() argument
176 binder_selftest_alloc_free(struct binder_alloc *alloc, size_t *sizes, int *seq, size_t end) binder_selftest_alloc_free() argument
205 binder_selftest_free_seq(struct binder_alloc *alloc, size_t *sizes, int *seq, int index, size_t end) binder_selftest_free_seq() argument
[all...]
/kernel/linux/linux-6.6/drivers/android/
H A Dbinder_alloc_selftest.c78 static void pr_err_size_seq(size_t *sizes, int *seq) in pr_err_size_seq() argument
82 pr_err("alloc sizes: "); in pr_err_size_seq()
84 pr_cont("[%zu]", sizes[i]); in pr_err_size_seq()
117 size_t *sizes, int *seq) in binder_selftest_alloc_buf()
122 buffers[i] = binder_alloc_new_buf(alloc, sizes[i], 0, 0, 0, 0); in binder_selftest_alloc_buf()
125 sizes[i])) { in binder_selftest_alloc_buf()
126 pr_err_size_seq(sizes, seq); in binder_selftest_alloc_buf()
134 size_t *sizes, int *seq, size_t end) in binder_selftest_free_buf()
148 pr_err_size_seq(sizes, seq); in binder_selftest_free_buf()
177 size_t *sizes, in in binder_selftest_alloc_free()
115 binder_selftest_alloc_buf(struct binder_alloc *alloc, struct binder_buffer *buffers[], size_t *sizes, int *seq) binder_selftest_alloc_buf() argument
132 binder_selftest_free_buf(struct binder_alloc *alloc, struct binder_buffer *buffers[], size_t *sizes, int *seq, size_t end) binder_selftest_free_buf() argument
176 binder_selftest_alloc_free(struct binder_alloc *alloc, size_t *sizes, int *seq, size_t end) binder_selftest_alloc_free() argument
205 binder_selftest_free_seq(struct binder_alloc *alloc, size_t *sizes, int *seq, int index, size_t end) binder_selftest_free_seq() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_log.c66 log->sizes[i].bytes = sections[i].default_val; in _guc_log_init_sizes()
69 if (log->sizes[GUC_LOG_SECTIONS_DEBUG].bytes >= SZ_1M && in _guc_log_init_sizes()
71 log->sizes[GUC_LOG_SECTIONS_CRASH].bytes = SZ_1M; in _guc_log_init_sizes()
76 if ((log->sizes[i].bytes % SZ_1M) == 0) { in _guc_log_init_sizes()
77 log->sizes[i].units = SZ_1M; in _guc_log_init_sizes()
78 log->sizes[i].flag = sections[i].flag; in _guc_log_init_sizes()
80 log->sizes[i].units = SZ_4K; in _guc_log_init_sizes()
81 log->sizes[i].flag = 0; in _guc_log_init_sizes()
84 if (!IS_ALIGNED(log->sizes[i].bytes, log->sizes[ in _guc_log_init_sizes()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
H A Dexynos_drm_fbdev.c73 struct drm_fb_helper_surface_size *sizes, in exynos_drm_fbdev_update()
90 drm_fb_helper_fill_info(fbi, helper, sizes); in exynos_drm_fbdev_update()
103 struct drm_fb_helper_surface_size *sizes) in exynos_drm_fbdev_create()
114 sizes->surface_width, sizes->surface_height, in exynos_drm_fbdev_create()
115 sizes->surface_bpp); in exynos_drm_fbdev_create()
117 mode_cmd.width = sizes->surface_width; in exynos_drm_fbdev_create()
118 mode_cmd.height = sizes->surface_height; in exynos_drm_fbdev_create()
119 mode_cmd.pitches[0] = sizes->surface_width * (sizes in exynos_drm_fbdev_create()
72 exynos_drm_fbdev_update(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes, struct exynos_drm_gem *exynos_gem) exynos_drm_fbdev_update() argument
102 exynos_drm_fbdev_create(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) exynos_drm_fbdev_create() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
H A Dmsm_fbdev.c61 struct drm_fb_helper_surface_size *sizes) in msm_fbdev_create()
73 format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth); in msm_fbdev_create()
75 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width, in msm_fbdev_create()
76 sizes->surface_height, sizes->surface_bpp, in msm_fbdev_create()
77 sizes->fb_width, sizes->fb_height); in msm_fbdev_create()
79 pitch = align_pitch(sizes->surface_width, sizes in msm_fbdev_create()
60 msm_fbdev_create(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) msm_fbdev_create() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/exynos/
H A Dexynos_drm_fbdev.c60 struct drm_fb_helper_surface_size *sizes, in exynos_drm_fbdev_update()
77 drm_fb_helper_fill_info(fbi, helper, sizes); in exynos_drm_fbdev_update()
91 struct drm_fb_helper_surface_size *sizes) in exynos_drm_fbdev_create()
101 sizes->surface_width, sizes->surface_height, in exynos_drm_fbdev_create()
102 sizes->surface_bpp); in exynos_drm_fbdev_create()
104 mode_cmd.width = sizes->surface_width; in exynos_drm_fbdev_create()
105 mode_cmd.height = sizes->surface_height; in exynos_drm_fbdev_create()
106 mode_cmd.pitches[0] = sizes->surface_width * (sizes in exynos_drm_fbdev_create()
59 exynos_drm_fbdev_update(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes, struct exynos_drm_gem *exynos_gem) exynos_drm_fbdev_update() argument
90 exynos_drm_fbdev_create(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) exynos_drm_fbdev_create() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/
H A Dmsm_fbdev.c69 struct drm_fb_helper_surface_size *sizes) in msm_fbdev_create()
80 format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth); in msm_fbdev_create()
82 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width, in msm_fbdev_create()
83 sizes->surface_height, sizes->surface_bpp, in msm_fbdev_create()
84 sizes->fb_width, sizes->fb_height); in msm_fbdev_create()
86 pitch = align_pitch(sizes->surface_width, sizes in msm_fbdev_create()
68 msm_fbdev_create(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) msm_fbdev_create() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/
H A Dfbdev.c151 struct drm_fb_helper_surface_size *sizes) in psb_fbdev_fb_probe()
166 if (sizes->surface_bpp == 24) { in psb_fbdev_fb_probe()
167 sizes->surface_bpp = 32; in psb_fbdev_fb_probe()
168 sizes->surface_depth = 24; in psb_fbdev_fb_probe()
170 bpp = sizes->surface_bpp; in psb_fbdev_fb_probe()
171 depth = sizes->surface_depth; in psb_fbdev_fb_probe()
178 size = ALIGN(sizes->surface_width * DIV_ROUND_UP(bpp, 8), 64) * in psb_fbdev_fb_probe()
179 sizes->surface_height; in psb_fbdev_fb_probe()
183 sizes->surface_bpp = 16; in psb_fbdev_fb_probe()
184 sizes in psb_fbdev_fb_probe()
150 psb_fbdev_fb_probe(struct drm_fb_helper *fb_helper, struct drm_fb_helper_surface_size *sizes) psb_fbdev_fb_probe() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
H A Domap_fbdev.c91 struct drm_fb_helper_surface_size *sizes) in omap_fbdev_create()
103 sizes->surface_bpp = 32; in omap_fbdev_create()
104 sizes->surface_depth = 24; in omap_fbdev_create()
106 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width, in omap_fbdev_create()
107 sizes->surface_height, sizes->surface_bpp, in omap_fbdev_create()
108 sizes->fb_width, sizes->fb_height); in omap_fbdev_create()
110 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in omap_fbdev_create()
111 sizes in omap_fbdev_create()
90 omap_fbdev_create(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) omap_fbdev_create() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/
H A Domap_fbdev.c122 struct drm_fb_helper_surface_size *sizes) in omap_fbdev_create()
135 sizes->surface_bpp = 32; in omap_fbdev_create()
136 sizes->surface_depth = 24; in omap_fbdev_create()
138 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width, in omap_fbdev_create()
139 sizes->surface_height, sizes->surface_bpp, in omap_fbdev_create()
140 sizes->fb_width, sizes->fb_height); in omap_fbdev_create()
142 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in omap_fbdev_create()
143 sizes in omap_fbdev_create()
121 omap_fbdev_create(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) omap_fbdev_create() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/
H A Darmada_fbdev.c28 struct drm_fb_helper_surface_size *sizes) in armada_fbdev_create()
39 mode.width = sizes->surface_width; in armada_fbdev_create()
40 mode.height = sizes->surface_height; in armada_fbdev_create()
41 mode.pitches[0] = armada_pitch(mode.width, sizes->surface_bpp); in armada_fbdev_create()
42 mode.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in armada_fbdev_create()
43 sizes->surface_depth); in armada_fbdev_create()
88 drm_fb_helper_fill_info(info, fbh, sizes); in armada_fbdev_create()
102 struct drm_fb_helper_surface_size *sizes) in armada_fb_probe()
107 ret = armada_fbdev_create(fbh, sizes); in armada_fb_probe()
27 armada_fbdev_create(struct drm_fb_helper *fbh, struct drm_fb_helper_surface_size *sizes) armada_fbdev_create() argument
101 armada_fb_probe(struct drm_fb_helper *fbh, struct drm_fb_helper_surface_size *sizes) armada_fb_probe() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_fbdev_dma.c77 struct drm_fb_helper_surface_size *sizes) in drm_fbdev_dma_helper_fb_probe()
90 sizes->surface_width, sizes->surface_height, in drm_fbdev_dma_helper_fb_probe()
91 sizes->surface_bpp); in drm_fbdev_dma_helper_fb_probe()
93 format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth); in drm_fbdev_dma_helper_fb_probe()
94 buffer = drm_client_framebuffer_create(client, sizes->surface_width, in drm_fbdev_dma_helper_fb_probe()
95 sizes->surface_height, format); in drm_fbdev_dma_helper_fb_probe()
123 drm_fb_helper_fill_info(info, fb_helper, sizes); in drm_fbdev_dma_helper_fb_probe()
131 info->screen_size = sizes in drm_fbdev_dma_helper_fb_probe()
76 drm_fbdev_dma_helper_fb_probe(struct drm_fb_helper *fb_helper, struct drm_fb_helper_surface_size *sizes) drm_fbdev_dma_helper_fb_probe() argument
[all...]
/kernel/linux/linux-6.6/arch/parisc/boot/compressed/
H A DMakefile15 targets += $(OBJECTS) sizes.h
30 sed-sizes := -e 's/^\([0-9a-fA-F]*\) . \(__bss_start\|_end\|parisc_kernel_start\)$$/\#define SZ\2 0x\1/p'
33 cmd_sizes = $(NM) $< | sed -n $(sed-sizes) > $@
35 $(obj)/sizes.h: vmlinux FORCE
36 $(call if_changed,sizes)
39 $(obj)/head.o: $(obj)/sizes.h
42 $(obj)/misc.o: $(obj)/sizes.h
47 $(obj)/vmlinux.lds: $(obj)/sizes.h
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
H A Drockchip_drm_fbdev.c40 struct drm_fb_helper_surface_size *sizes) in rockchip_drm_fbdev_create()
53 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); in rockchip_drm_fbdev_create()
55 mode_cmd.width = sizes->surface_width; in rockchip_drm_fbdev_create()
56 mode_cmd.height = sizes->surface_height; in rockchip_drm_fbdev_create()
57 mode_cmd.pitches[0] = sizes->surface_width * bytes_per_pixel; in rockchip_drm_fbdev_create()
58 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in rockchip_drm_fbdev_create()
59 sizes->surface_depth); in rockchip_drm_fbdev_create()
88 drm_fb_helper_fill_info(fbi, helper, sizes); in rockchip_drm_fbdev_create()
39 rockchip_drm_fbdev_create(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) rockchip_drm_fbdev_create() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_fbdev.c114 struct drm_fb_helper_surface_size *sizes) in intelfb_alloc()
126 if (sizes->surface_bpp == 24) in intelfb_alloc()
127 sizes->surface_bpp = 32; in intelfb_alloc()
129 mode_cmd.width = sizes->surface_width; in intelfb_alloc()
130 mode_cmd.height = sizes->surface_height; in intelfb_alloc()
133 DIV_ROUND_UP(sizes->surface_bpp, 8), 64); in intelfb_alloc()
134 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in intelfb_alloc()
135 sizes->surface_depth); in intelfb_alloc()
163 struct drm_fb_helper_surface_size *sizes) in intelfb_create()
184 (sizes in intelfb_create()
113 intelfb_alloc(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) intelfb_alloc() argument
162 intelfb_create(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) intelfb_create() argument
[all...]
/kernel/linux/linux-5.10/arch/parisc/boot/compressed/
H A DMakefile14 targets += misc.o piggy.o sizes.h head.o real2.o firmware.o
32 sed-sizes := -e 's/^\([0-9a-fA-F]*\) . \(__bss_start\|_end\|parisc_kernel_start\)$$/\#define SZ\2 0x\1/p'
35 cmd_sizes = $(NM) $< | sed -n $(sed-sizes) > $@
37 $(obj)/sizes.h: vmlinux
38 $(call if_changed,sizes)
41 $(obj)/head.o: $(obj)/sizes.h
44 $(obj)/misc.o: $(obj)/sizes.h
55 $(obj)/misc.o: $(obj)/sizes.h
58 $(obj)/vmlinux.lds: $(obj)/sizes.h
/kernel/linux/linux-6.6/drivers/gpu/drm/armada/
H A Darmada_fbdev.c43 struct drm_fb_helper_surface_size *sizes) in armada_fbdev_create()
54 mode.width = sizes->surface_width; in armada_fbdev_create()
55 mode.height = sizes->surface_height; in armada_fbdev_create()
56 mode.pitches[0] = armada_pitch(mode.width, sizes->surface_bpp); in armada_fbdev_create()
57 mode.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in armada_fbdev_create()
58 sizes->surface_depth); in armada_fbdev_create()
103 drm_fb_helper_fill_info(info, fbh, sizes); in armada_fbdev_create()
117 struct drm_fb_helper_surface_size *sizes) in armada_fb_probe()
122 ret = armada_fbdev_create(fbh, sizes); in armada_fb_probe()
42 armada_fbdev_create(struct drm_fb_helper *fbh, struct drm_fb_helper_surface_size *sizes) armada_fbdev_create() argument
116 armada_fb_probe(struct drm_fb_helper *fbh, struct drm_fb_helper_surface_size *sizes) armada_fb_probe() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_fb_helper.c1487 struct drm_fb_helper_surface_size sizes; in drm_fb_helper_single_fb_probe() local
1492 memset(&sizes, 0, sizeof(struct drm_fb_helper_surface_size)); in drm_fb_helper_single_fb_probe()
1493 sizes.surface_depth = 24; in drm_fb_helper_single_fb_probe()
1494 sizes.surface_bpp = 32; in drm_fb_helper_single_fb_probe()
1495 sizes.fb_width = (u32)-1; in drm_fb_helper_single_fb_probe()
1496 sizes.fb_height = (u32)-1; in drm_fb_helper_single_fb_probe()
1502 if (preferred_bpp != sizes.surface_bpp) in drm_fb_helper_single_fb_probe()
1503 sizes.surface_depth = sizes.surface_bpp = preferred_bpp; in drm_fb_helper_single_fb_probe()
1514 sizes in drm_fb_helper_single_fb_probe()
1704 drm_fb_helper_fill_info(struct fb_info *info, struct drm_fb_helper *fb_helper, struct drm_fb_helper_surface_size *sizes) drm_fb_helper_fill_info() argument
2078 drm_fb_helper_generic_probe(struct drm_fb_helper *fb_helper, struct drm_fb_helper_surface_size *sizes) drm_fb_helper_generic_probe() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
H A Dfbdev.c70 struct drm_fb_helper_surface_size *sizes) in tegra_fbdev_probe()
83 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); in tegra_fbdev_probe()
85 cmd.width = sizes->surface_width; in tegra_fbdev_probe()
86 cmd.height = sizes->surface_height; in tegra_fbdev_probe()
87 cmd.pitches[0] = round_up(sizes->surface_width * bytes_per_pixel, in tegra_fbdev_probe()
90 cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in tegra_fbdev_probe()
91 sizes->surface_depth); in tegra_fbdev_probe()
120 drm_fb_helper_fill_info(info, helper, sizes); in tegra_fbdev_probe()
69 tegra_fbdev_probe(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) tegra_fbdev_probe() argument

Completed in 12 milliseconds

12345678910>>...41