Home
last modified time | relevance | path

Searched refs:sizes (Results 1 – 25 of 454) sorted by relevance

12345678910>>...19

/linux/tools/testing/selftests/arm64/mte/
A Dcheck_buffer_fill.c16 static int sizes[] = { variable
35 item = ARRAY_SIZE(sizes); in check_buffer_by_byte()
43 for (j = 0; j < sizes[i]; j++) in check_buffer_by_byte()
72 item = ARRAY_SIZE(sizes); in check_buffer_underflow_by_byte()
91 for (j = 0; j < sizes[i]; j++) { in check_buffer_underflow_by_byte()
168 item = ARRAY_SIZE(sizes); in check_buffer_overflow_by_byte()
189 for (j = 0; j < sizes[i]; j++) { in check_buffer_overflow_by_byte()
341 item = ARRAY_SIZE(sizes); in check_buffer_by_block()
369 int total = ARRAY_SIZE(sizes); in check_memory_initial_tags()
407 int item = ARRAY_SIZE(sizes); in main()
[all …]
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()
83 mte_clear_tags((void *)ptr, sizes[run]); in check_anonymous_memory_mapping()
95 int total = ARRAY_SIZE(sizes); in check_file_memory_mapping()
121 mte_clear_tags((void *)ptr, sizes[run]); in check_file_memory_mapping()
134 int total = ARRAY_SIZE(sizes); in check_clear_prot_mte_flag()
189 int item = ARRAY_SIZE(sizes); in main()
199 sizes[item - 3] = page_size - 1; in main()
200 sizes[item - 2] = page_size; in main()
[all …]
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()
110 int total = ARRAY_SIZE(sizes); in check_child_file_mapping()
118 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_child_file_mapping()
127 ptr = mte_insert_tags((void *)ptr, sizes[run]); in check_child_file_mapping()
135 mte_clear_tags((void *)ptr, sizes[run]); in check_child_file_mapping()
147 int item = ARRAY_SIZE(sizes); in main()
154 sizes[item - 3] = page_size - 1; in main()
155 sizes[item - 2] = page_size; in main()
[all …]
/linux/drivers/android/
A Dbinder_alloc_selftest.c82 static void pr_err_size_seq(size_t *sizes, int *seq) in pr_err_size_seq() argument
88 pr_cont("[%zu]", sizes[i]); in pr_err_size_seq()
121 size_t *sizes, int *seq) in binder_selftest_alloc_buf() argument
129 sizes[i])) { in binder_selftest_alloc_buf()
130 pr_err_size_seq(sizes, seq); in binder_selftest_alloc_buf()
138 size_t *sizes, int *seq, size_t end) in binder_selftest_free_buf() argument
152 pr_err_size_seq(sizes, seq); in binder_selftest_free_buf()
181 size_t *sizes, int *seq, size_t end) in binder_selftest_alloc_free() argument
185 binder_selftest_alloc_buf(alloc, buffers, sizes, seq); in binder_selftest_alloc_free()
210 size_t *sizes, int *seq, in binder_selftest_free_seq() argument
[all …]
/linux/drivers/gpu/drm/exynos/
A Dexynos_drm_fbdev.c60 struct drm_fb_helper_surface_size *sizes, in exynos_drm_fbdev_update() argument
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() argument
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->surface_bpp >> 3); in exynos_drm_fbdev_create()
107 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in exynos_drm_fbdev_create()
108 sizes->surface_depth); in exynos_drm_fbdev_create()
[all …]
/linux/drivers/gpu/drm/msm/
A Dmsm_fbdev.c69 struct drm_fb_helper_surface_size *sizes) in msm_fbdev_create() argument
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->surface_bpp); in msm_fbdev_create()
87 fb = msm_alloc_stolen_fb(dev, sizes->surface_width, in msm_fbdev_create()
88 sizes->surface_height, pitch, format); in msm_fbdev_create()
121 drm_fb_helper_fill_info(fbi, helper, sizes); in msm_fbdev_create()
/linux/drivers/gpu/drm/i915/gt/uc/
A Dintel_guc_log.c77 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[i].units)) in _guc_log_init_sizes()
86 sections[i].name, log->sizes[i].bytes, log->sizes[i].units); in _guc_log_init_sizes()
87 log->sizes[i].count = log->sizes[i].bytes / log->sizes[i].units; in _guc_log_init_sizes()
89 if (!log->sizes[i].count) { in _guc_log_init_sizes()
93 log->sizes[i].count--; in _guc_log_init_sizes()
104 if (log->sizes[GUC_LOG_SECTIONS_CRASH].units != log->sizes[GUC_LOG_SECTIONS_DEBUG].units) { in _guc_log_init_sizes()
[all …]
/linux/drivers/gpu/drm/gma500/
A Dfbdev.c166 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()
179 sizes->surface_height; in psb_fbdev_fb_probe()
183 sizes->surface_bpp = 16; in psb_fbdev_fb_probe()
184 sizes->surface_depth = 16; in psb_fbdev_fb_probe()
186 bpp = sizes->surface_bpp; in psb_fbdev_fb_probe()
187 depth = sizes->surface_depth; in psb_fbdev_fb_probe()
[all …]
/linux/drivers/gpu/drm/i915/display/
A Dintel_fbdev_fb.c15 struct drm_fb_helper_surface_size *sizes) in intel_fbdev_fb_alloc() argument
25 if (sizes->surface_bpp == 24) in intel_fbdev_fb_alloc()
26 sizes->surface_bpp = 32; in intel_fbdev_fb_alloc()
28 mode_cmd.width = sizes->surface_width; in intel_fbdev_fb_alloc()
29 mode_cmd.height = sizes->surface_height; in intel_fbdev_fb_alloc()
32 DIV_ROUND_UP(sizes->surface_bpp, 8), 64); in intel_fbdev_fb_alloc()
33 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in intel_fbdev_fb_alloc()
34 sizes->surface_depth); in intel_fbdev_fb_alloc()
/linux/drivers/gpu/drm/xe/display/
A Dintel_fbdev_fb.c17 struct drm_fb_helper_surface_size *sizes) in intel_fbdev_fb_alloc() argument
27 if (sizes->surface_bpp == 24) in intel_fbdev_fb_alloc()
28 sizes->surface_bpp = 32; in intel_fbdev_fb_alloc()
30 mode_cmd.width = sizes->surface_width; in intel_fbdev_fb_alloc()
31 mode_cmd.height = sizes->surface_height; in intel_fbdev_fb_alloc()
34 DIV_ROUND_UP(sizes->surface_bpp, 8), XE_PAGE_SIZE); in intel_fbdev_fb_alloc()
35 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in intel_fbdev_fb_alloc()
36 sizes->surface_depth); in intel_fbdev_fb_alloc()
/linux/drivers/gpu/drm/omapdrm/
A Domap_fbdev.c129 struct drm_fb_helper_surface_size *sizes) in omap_fbdev_create() argument
142 sizes->surface_bpp = 32; in omap_fbdev_create()
143 sizes->surface_depth = 24; in omap_fbdev_create()
145 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width, in omap_fbdev_create()
146 sizes->surface_height, sizes->surface_bpp, in omap_fbdev_create()
147 sizes->fb_width, sizes->fb_height); in omap_fbdev_create()
150 sizes->surface_depth); in omap_fbdev_create()
152 mode_cmd.width = sizes->surface_width; in omap_fbdev_create()
153 mode_cmd.height = sizes->surface_height; in omap_fbdev_create()
156 DIV_ROUND_UP(mode_cmd.width * sizes->surface_bpp, 8); in omap_fbdev_create()
[all …]
/linux/arch/parisc/boot/compressed/
A DMakefile11 targets += $(OBJECTS) sizes.h
26 sed-sizes := -e 's/^\([0-9a-fA-F]*\) . \(__bss_start\|_end\|parisc_kernel_start\)$$/\#define SZ\2 0…
29 cmd_sizes = $(NM) $< | sed -n $(sed-sizes) > $@
31 $(obj)/sizes.h: vmlinux FORCE
32 $(call if_changed,sizes)
35 $(obj)/head.o: $(obj)/sizes.h
38 $(obj)/misc.o: $(obj)/sizes.h
43 $(obj)/vmlinux.lds: $(obj)/sizes.h
/linux/drivers/gpu/drm/armada/
A Darmada_fbdev.c43 struct drm_fb_helper_surface_size *sizes) in armada_fbdev_create() argument
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() argument
122 ret = armada_fbdev_create(fbh, sizes); in armada_fb_probe()
/linux/drivers/gpu/drm/
A Ddrm_fbdev_shmem.c109 struct drm_fb_helper_surface_size *sizes) in drm_fbdev_shmem_helper_fb_probe() argument
122 sizes->surface_width, sizes->surface_height, in drm_fbdev_shmem_helper_fb_probe()
123 sizes->surface_bpp); in drm_fbdev_shmem_helper_fb_probe()
125 format = drm_driver_legacy_fb_format(dev, sizes->surface_bpp, sizes->surface_depth); in drm_fbdev_shmem_helper_fb_probe()
126 buffer = drm_client_framebuffer_create(client, sizes->surface_width, in drm_fbdev_shmem_helper_fb_probe()
127 sizes->surface_height, format); in drm_fbdev_shmem_helper_fb_probe()
151 drm_fb_helper_fill_info(info, fb_helper, sizes); in drm_fbdev_shmem_helper_fb_probe()
159 info->screen_size = sizes->surface_height * fb->pitches[0]; in drm_fbdev_shmem_helper_fb_probe()
A Ddrm_fbdev_dma.c107 struct drm_fb_helper_surface_size *sizes) in drm_fbdev_dma_helper_fb_probe() argument
121 sizes->surface_width, sizes->surface_height, in drm_fbdev_dma_helper_fb_probe()
122 sizes->surface_bpp); in drm_fbdev_dma_helper_fb_probe()
124 format = drm_driver_legacy_fb_format(dev, sizes->surface_bpp, in drm_fbdev_dma_helper_fb_probe()
125 sizes->surface_depth); in drm_fbdev_dma_helper_fb_probe()
126 buffer = drm_client_framebuffer_create(client, sizes->surface_width, in drm_fbdev_dma_helper_fb_probe()
127 sizes->surface_height, format); in drm_fbdev_dma_helper_fb_probe()
160 drm_fb_helper_fill_info(info, fb_helper, sizes); in drm_fbdev_dma_helper_fb_probe()
171 info->screen_size = sizes->surface_height * fb->pitches[0]; in drm_fbdev_dma_helper_fb_probe()
A Ddrm_fbdev_ttm.c72 struct drm_fb_helper_surface_size *sizes) in drm_fbdev_ttm_helper_fb_probe() argument
84 sizes->surface_width, sizes->surface_height, in drm_fbdev_ttm_helper_fb_probe()
85 sizes->surface_bpp); in drm_fbdev_ttm_helper_fb_probe()
87 format = drm_driver_legacy_fb_format(dev, sizes->surface_bpp, in drm_fbdev_ttm_helper_fb_probe()
88 sizes->surface_depth); in drm_fbdev_ttm_helper_fb_probe()
89 buffer = drm_client_framebuffer_create(client, sizes->surface_width, in drm_fbdev_ttm_helper_fb_probe()
90 sizes->surface_height, format); in drm_fbdev_ttm_helper_fb_probe()
110 drm_fb_helper_fill_info(info, fb_helper, sizes); in drm_fbdev_ttm_helper_fb_probe()
A Ddrm_fb_helper.c1517 memset(sizes, 0, sizeof(*sizes)); in __drm_fb_helper_find_sizes()
1518 sizes->fb_width = (u32)-1; in __drm_fb_helper_find_sizes()
1519 sizes->fb_height = (u32)-1; in __drm_fb_helper_find_sizes()
1567 sizes->surface_depth = info->depth; in __drm_fb_helper_find_sizes()
1590 sizes->surface_width = in __drm_fb_helper_find_sizes()
1592 sizes->surface_height = in __drm_fb_helper_find_sizes()
1609 sizes->fb_width = min_t(u32, desired_mode->hdisplay + x, sizes->fb_width); in __drm_fb_helper_find_sizes()
1611 sizes->fb_height = min_t(u32, desired_mode->vdisplay + y, sizes->fb_height); in __drm_fb_helper_find_sizes()
1614 if (crtc_count == 0 || sizes->fb_width == -1 || sizes->fb_height == -1) { in __drm_fb_helper_find_sizes()
1639 sizes->surface_height /= 100; in drm_fb_helper_find_sizes()
[all …]
/linux/drivers/gpu/drm/tegra/
A Dfbdev.c70 struct drm_fb_helper_surface_size *sizes) in tegra_fbdev_probe() argument
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()
/linux/Documentation/userspace-api/media/v4l/
A Dvidioc-subdev-enum-frame-size.rst13 VIDIOC_SUBDEV_ENUM_FRAME_SIZE - Enumerate media bus frame sizes
34 This ioctl allows applications to access the enumeration of frame sizes
47 Therefore, to enumerate frame sizes allowed on the specified pad
54 A successful call will return with minimum and maximum frame sizes filled in.
59 Sub-devices that only support discrete frame sizes (such as most
60 sensors) will return one or more frame sizes with identical minimum and
63 Not all possible sizes in given [minimum, maximum] ranges need to be
70 Available frame sizes may depend on the current 'try' formats at other
111 - Frame sizes to be enumerated, from enum
/linux/drivers/media/usb/em28xx/
A Dem28xx-vbi.c23 unsigned int sizes[], struct device *alloc_devs[]) in vbi_queue_setup() argument
33 if (sizes[0] < size) in vbi_queue_setup()
35 size = sizes[0]; in vbi_queue_setup()
39 sizes[0] = size; in vbi_queue_setup()
/linux/Documentation/devicetree/bindings/dma/
A Dfsl-qdma.yaml60 status-sizes:
64 queue-sizes:
85 - status-sizes
86 - queue-sizes
130 status-sizes = <64>;
131 queue-sizes = <64 64>;
/linux/drivers/gpu/drm/radeon/
A Dradeon_fbdev.c206 struct drm_fb_helper_surface_size *sizes) in radeon_fbdev_fb_helper_fb_probe() argument
217 mode_cmd.width = sizes->surface_width; in radeon_fbdev_fb_helper_fb_probe()
218 mode_cmd.height = sizes->surface_height; in radeon_fbdev_fb_helper_fb_probe()
221 if ((sizes->surface_bpp == 24) && ASIC_IS_AVIVO(rdev)) in radeon_fbdev_fb_helper_fb_probe()
222 sizes->surface_bpp = 32; in radeon_fbdev_fb_helper_fb_probe()
224 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in radeon_fbdev_fb_helper_fb_probe()
225 sizes->surface_depth); in radeon_fbdev_fb_helper_fb_probe()
260 drm_fb_helper_fill_info(info, fb_helper, sizes); in radeon_fbdev_fb_helper_fb_probe()
/linux/samples/seccomp/
A Duser-trap.c295 struct seccomp_notif_sizes sizes; in main() local
297 if (seccomp(SECCOMP_GET_NOTIF_SIZES, 0, &sizes) < 0) { in main()
302 req = malloc(sizes.seccomp_notif); in main()
306 resp = malloc(sizes.seccomp_notif_resp); in main()
309 memset(resp, 0, sizes.seccomp_notif_resp); in main()
312 memset(req, 0, sizes.seccomp_notif); in main()
/linux/drivers/media/usb/au0828/
A Dau0828-vbi.c23 unsigned int sizes[], struct device *alloc_devs[]) in vbi_queue_setup() argument
29 return sizes[0] < size ? -EINVAL : 0; in vbi_queue_setup()
31 sizes[0] = size; in vbi_queue_setup()
/linux/Documentation/devicetree/bindings/usb/
A Dgr-udc.txt21 - epobufsizes : Array of buffer sizes for OUT endpoints when they differ
24 each OUT endpoint of the core. Fewer entries overrides the default sizes
27 - epibufsizes : Array of buffer sizes for IN endpoints when they differ
30 each IN endpoint of the core. Fewer entries overrides the default sizes

Completed in 45 milliseconds

12345678910>>...19