/linux-6.3-rc2/tools/testing/selftests/arm64/mte/ |
A D | check_buffer_fill.c | 16 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 D | check_mmap_options.c | 28 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 D | check_child_memory.c | 24 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-6.3-rc2/drivers/android/ |
A D | binder_alloc_selftest.c | 78 static void pr_err_size_seq(size_t *sizes, int *seq) in pr_err_size_seq() argument 84 pr_cont("[%zu]", sizes[i]); in pr_err_size_seq() 117 size_t *sizes, int *seq) in binder_selftest_alloc_buf() argument 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() argument 148 pr_err_size_seq(sizes, seq); in binder_selftest_free_buf() 177 size_t *sizes, int *seq, size_t end) in binder_selftest_alloc_free() argument 181 binder_selftest_alloc_buf(alloc, buffers, sizes, seq); in binder_selftest_alloc_free() 206 size_t *sizes, int *seq, in binder_selftest_free_seq() argument [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/msm/ |
A D | msm_fbdev.c | 56 struct drm_fb_helper_surface_size *sizes) in msm_fbdev_create() argument 68 format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth); in msm_fbdev_create() 70 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width, in msm_fbdev_create() 71 sizes->surface_height, sizes->surface_bpp, in msm_fbdev_create() 72 sizes->fb_width, sizes->fb_height); in msm_fbdev_create() 74 pitch = align_pitch(sizes->surface_width, sizes->surface_bpp); in msm_fbdev_create() 75 fb = msm_alloc_stolen_fb(dev, sizes->surface_width, in msm_fbdev_create() 76 sizes->surface_height, pitch, format); in msm_fbdev_create() 110 drm_fb_helper_fill_info(fbi, helper, sizes); in msm_fbdev_create()
|
/linux-6.3-rc2/drivers/gpu/drm/exynos/ |
A D | exynos_drm_fbdev.c | 60 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() 90 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-6.3-rc2/drivers/gpu/drm/i915/gt/uc/ |
A D | intel_guc_log.c | 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[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-6.3-rc2/drivers/gpu/drm/omapdrm/ |
A D | omap_fbdev.c | 92 struct drm_fb_helper_surface_size *sizes) in omap_fbdev_create() argument 104 sizes->surface_bpp = 32; in omap_fbdev_create() 105 sizes->surface_depth = 24; in omap_fbdev_create() 107 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width, in omap_fbdev_create() 108 sizes->surface_height, sizes->surface_bpp, in omap_fbdev_create() 109 sizes->fb_width, sizes->fb_height); in omap_fbdev_create() 112 sizes->surface_depth); in omap_fbdev_create() 114 mode_cmd.width = sizes->surface_width; in omap_fbdev_create() 115 mode_cmd.height = sizes->surface_height; in omap_fbdev_create() 118 DIV_ROUND_UP(mode_cmd.width * sizes->surface_bpp, 8); in omap_fbdev_create() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/armada/ |
A D | armada_fbdev.c | 30 struct drm_fb_helper_surface_size *sizes) in armada_fbdev_create() argument 41 mode.width = sizes->surface_width; in armada_fbdev_create() 42 mode.height = sizes->surface_height; in armada_fbdev_create() 43 mode.pitches[0] = armada_pitch(mode.width, sizes->surface_bpp); in armada_fbdev_create() 44 mode.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in armada_fbdev_create() 45 sizes->surface_depth); in armada_fbdev_create() 90 drm_fb_helper_fill_info(info, fbh, sizes); in armada_fbdev_create() 104 struct drm_fb_helper_surface_size *sizes) in armada_fb_probe() argument 109 ret = armada_fbdev_create(fbh, sizes); in armada_fb_probe()
|
/linux-6.3-rc2/arch/parisc/boot/compressed/ |
A D | Makefile | 15 targets += $(OBJECTS) sizes.h 30 sed-sizes := -e 's/^\([0-9a-fA-F]*\) . \(__bss_start\|_end\|parisc_kernel_start\)$$/\#define SZ\2 0… 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
|
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/ |
A D | vidioc-subdev-enum-frame-size.rst | 13 VIDIOC_SUBDEV_ENUM_FRAME_SIZE - Enumerate media bus frame sizes 34 This ioctl allows applications to enumerate all frame sizes supported by 40 To enumerate frame sizes applications initialize the ``pad``, ``which`` 44 structure. Drivers fill the minimum and maximum frame sizes or return an 47 Sub-devices that only support discrete frame sizes (such as most 48 sensors) will return one or more frame sizes with identical minimum and 51 Not all possible sizes in given [minimum, maximum] ranges need to be 58 Available frame sizes may depend on the current 'try' formats at other 97 - Frame sizes to be enumerated, from enum
|
A D | vidioc-enum-framesizes.rst | 13 VIDIOC_ENUM_FRAMESIZES - Enumerate frame sizes 36 This ioctl allows applications to enumerate all frame sizes (i. e. width 44 depend on the type of frame sizes the device supports. Here are the 70 it make sense to increase the index value to receive more frame sizes. 74 The order in which the frame sizes are returned has no special 76 format sizes. 145 - IN: Pixel format for which the frame sizes are enumerated.
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_fbdev.c | 137 struct drm_fb_helper_surface_size *sizes) in intelfb_alloc() argument 149 if (sizes->surface_bpp == 24) in intelfb_alloc() 150 sizes->surface_bpp = 32; in intelfb_alloc() 152 mode_cmd.width = sizes->surface_width; in intelfb_alloc() 153 mode_cmd.height = sizes->surface_height; in intelfb_alloc() 158 sizes->surface_depth); in intelfb_alloc() 194 struct drm_fb_helper_surface_size *sizes) in intelfb_create() argument 228 sizes->fb_width, sizes->fb_height); in intelfb_create() 235 ret = intelfb_alloc(helper, sizes); in intelfb_create() 242 sizes->fb_width = intel_fb->base.width; in intelfb_create() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/gma500/ |
A D | framebuffer.c | 239 struct drm_fb_helper_surface_size *sizes) in psbfb_create() argument 253 mode_cmd.width = sizes->surface_width; in psbfb_create() 254 mode_cmd.height = sizes->surface_height; in psbfb_create() 255 bpp = sizes->surface_bpp; in psbfb_create() 256 depth = sizes->surface_depth; in psbfb_create() 350 struct drm_fb_helper_surface_size *sizes) in psbfb_probe() argument 357 bytespp = sizes->surface_bpp / 8; in psbfb_probe() 365 sizes->surface_height; in psbfb_probe() 369 sizes->surface_bpp = 16; in psbfb_probe() 370 sizes->surface_depth = 16; in psbfb_probe() [all …]
|
/linux-6.3-rc2/drivers/media/usb/em28xx/ |
A D | em28xx-vbi.c | 23 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-6.3-rc2/drivers/gpu/drm/ |
A D | drm_fbdev_generic.c | 164 struct drm_fb_helper_surface_size *sizes) in drm_fbdev_fb_probe() argument 176 sizes->surface_width, sizes->surface_height, in drm_fbdev_fb_probe() 177 sizes->surface_bpp); in drm_fbdev_fb_probe() 179 format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth); in drm_fbdev_fb_probe() 180 buffer = drm_client_framebuffer_create(client, sizes->surface_width, in drm_fbdev_fb_probe() 181 sizes->surface_height, format); in drm_fbdev_fb_probe() 194 info->screen_size = sizes->surface_height * fb->pitches[0]; in drm_fbdev_fb_probe() 198 drm_fb_helper_fill_info(info, fb_helper, sizes); in drm_fbdev_fb_probe()
|
A D | drm_fb_helper.c | 1816 memset(sizes, 0, sizeof(*sizes)); in __drm_fb_helper_find_sizes() 1817 sizes->fb_width = (u32)-1; in __drm_fb_helper_find_sizes() 1818 sizes->fb_height = (u32)-1; in __drm_fb_helper_find_sizes() 1866 sizes->surface_depth = info->depth; in __drm_fb_helper_find_sizes() 1889 sizes->surface_width = in __drm_fb_helper_find_sizes() 1891 sizes->surface_height = in __drm_fb_helper_find_sizes() 1908 sizes->fb_width = min_t(u32, desired_mode->hdisplay + x, sizes->fb_width); in __drm_fb_helper_find_sizes() 1910 sizes->fb_height = min_t(u32, desired_mode->vdisplay + y, sizes->fb_height); in __drm_fb_helper_find_sizes() 1913 if (crtc_count == 0 || sizes->fb_width == -1 || sizes->fb_height == -1) { in __drm_fb_helper_find_sizes() 1938 sizes->surface_height /= 100; in drm_fb_helper_find_sizes() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | radeon_fb.c | 216 struct drm_fb_helper_surface_size *sizes) in radeonfb_create() argument 229 mode_cmd.width = sizes->surface_width; in radeonfb_create() 230 mode_cmd.height = sizes->surface_height; in radeonfb_create() 233 if ((sizes->surface_bpp == 24) && ASIC_IS_AVIVO(rdev)) in radeonfb_create() 234 sizes->surface_bpp = 32; in radeonfb_create() 236 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in radeonfb_create() 237 sizes->surface_depth); in radeonfb_create() 278 drm_fb_helper_fill_info(info, &rfbdev->helper, sizes); in radeonfb_create()
|
/linux-6.3-rc2/drivers/gpu/drm/tegra/ |
A D | fb.c | 218 struct drm_fb_helper_surface_size *sizes) in tegra_fbdev_probe() argument 232 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); in tegra_fbdev_probe() 234 cmd.width = sizes->surface_width; in tegra_fbdev_probe() 235 cmd.height = sizes->surface_height; in tegra_fbdev_probe() 236 cmd.pitches[0] = round_up(sizes->surface_width * bytes_per_pixel, in tegra_fbdev_probe() 239 cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in tegra_fbdev_probe() 240 sizes->surface_depth); in tegra_fbdev_probe() 270 drm_fb_helper_fill_info(info, helper, sizes); in tegra_fbdev_probe()
|
/linux-6.3-rc2/samples/seccomp/ |
A D | user-trap.c | 291 struct seccomp_notif_sizes sizes; in main() local 293 if (seccomp(SECCOMP_GET_NOTIF_SIZES, 0, &sizes) < 0) { in main() 298 req = malloc(sizes.seccomp_notif); in main() 302 resp = malloc(sizes.seccomp_notif_resp); in main() 305 memset(resp, 0, sizes.seccomp_notif_resp); in main() 308 memset(req, 0, sizes.seccomp_notif); in main()
|
/linux-6.3-rc2/drivers/media/usb/au0828/ |
A D | au0828-vbi.c | 23 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-6.3-rc2/Documentation/devicetree/bindings/usb/ |
A D | gr-udc.txt | 21 - 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
|
/linux-6.3-rc2/Documentation/devicetree/bindings/dma/ |
A D | fsl-qdma.txt | 26 - status-sizes: status queue size of per virtual block 27 - queue-sizes: command queue size of per virtual block, the size number 53 status-sizes = <64>; 54 queue-sizes = <64 64>;
|
/linux-6.3-rc2/lib/ |
A D | sg_split.c | 21 off_t skip, const size_t *sizes, in sg_calculate_split() argument 26 size_t size = sizes[0], len; in sg_calculate_split() 53 size = *(++sizes); in sg_calculate_split() 67 size = *(++sizes); in sg_calculate_split()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/ |
A D | selftest_migrate.c | 14 static const unsigned int sizes[] = { variable 496 for (i = 0; i < ARRAY_SIZE(sizes); i++) { in live_migrate_copy() 499 err = migrate_copy(migrate, sizes[i], &prng); in live_migrate_copy() 501 err = global_copy(migrate, sizes[i], &prng); in live_migrate_copy() 518 for (i = 0; i < ARRAY_SIZE(sizes); i++) { in live_migrate_clear() 521 err = migrate_clear(migrate, sizes[i], &prng); in live_migrate_clear() 889 static const unsigned long sizes[] = { in perf_clear_blt() local 897 for (i = 0; i < ARRAY_SIZE(sizes); i++) { in perf_clear_blt() 909 sizes[i]); in perf_clear_blt() 971 static const unsigned long sizes[] = { in perf_copy_blt() local [all …]
|