/Linux-v6.1/tools/testing/selftests/arm64/mte/ |
D | check_mmap_options.c | 28 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[run] + UNDERFLOW + OVERFLOW; in check_file_memory_mapping() [all …]
|
D | check_buffer_fill.c | 16 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[i], mem_type, 0, in check_buffer_underflow_by_byte() [all …]
|
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() 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[run]); in check_child_file_mapping() [all …]
|
/Linux-v6.1/drivers/gpu/drm/msm/ |
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-v6.1/drivers/android/ |
D | binder_alloc_selftest.c | 78 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() argument 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() 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 [all …]
|
/Linux-v6.1/drivers/gpu/drm/exynos/ |
D | exynos_drm_fbdev.c | 58 struct drm_fb_helper_surface_size *sizes, in exynos_drm_fbdev_update() argument 75 drm_fb_helper_fill_info(fbi, helper, sizes); in exynos_drm_fbdev_update() 88 struct drm_fb_helper_surface_size *sizes) in exynos_drm_fbdev_create() argument 99 sizes->surface_width, sizes->surface_height, in exynos_drm_fbdev_create() 100 sizes->surface_bpp); in exynos_drm_fbdev_create() 102 mode_cmd.width = sizes->surface_width; in exynos_drm_fbdev_create() 103 mode_cmd.height = sizes->surface_height; in exynos_drm_fbdev_create() 104 mode_cmd.pitches[0] = sizes->surface_width * (sizes->surface_bpp >> 3); in exynos_drm_fbdev_create() 105 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in exynos_drm_fbdev_create() 106 sizes->surface_depth); in exynos_drm_fbdev_create() [all …]
|
/Linux-v6.1/Documentation/userspace-api/media/v4l/ |
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
|
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-v6.1/drivers/gpu/drm/omapdrm/ |
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() 111 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, 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() [all …]
|
/Linux-v6.1/drivers/gpu/drm/armada/ |
D | armada_fbdev.c | 28 struct drm_fb_helper_surface_size *sizes) in armada_fbdev_create() argument 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() argument 107 ret = armada_fbdev_create(fbh, sizes); in armada_fb_probe()
|
/Linux-v6.1/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_log.c | 66 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[i].units)) in _guc_log_init_sizes() 86 sections[i].name, log->sizes[i].bytes, log->sizes[i].units); in _guc_log_init_sizes() [all …]
|
/Linux-v6.1/arch/parisc/boot/compressed/ |
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-v6.1/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
D | virtual-memory.json | 28 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 34 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 46 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data loads. This im… 58 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This… 70 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This im… 113 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 119 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 131 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data stores. This i… 143 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data stores. Thi… 155 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data stores. This i… [all …]
|
/Linux-v6.1/tools/perf/pmu-events/arch/x86/icelakex/ |
D | virtual-memory.json | 28 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 34 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 46 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data loads. This im… 58 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This… 70 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This im… 113 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 119 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 131 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data stores. This i… 143 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data stores. Thi… 155 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data stores. This i… [all …]
|
/Linux-v6.1/tools/perf/pmu-events/arch/x86/icelake/ |
D | virtual-memory.json | 28 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 34 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 46 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This… 58 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This im… 101 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 107 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 119 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data stores. Thi… 131 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data stores. This i… 174 …iefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)", 180 …"PublicDescription": "Counts completed page walks (all page sizes) caused by a code fetch. This im… [all …]
|
/Linux-v6.1/tools/perf/pmu-events/arch/x86/skylake/ |
D | virtual-memory.json | 34 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 39 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 49 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data loads. This im… 59 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This… 69 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This im… 115 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 120 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 130 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data stores. This i… 140 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data stores. Thi… 150 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data stores. This i… [all …]
|
/Linux-v6.1/tools/perf/pmu-events/arch/x86/cascadelakex/ |
D | virtual-memory.json | 34 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 39 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 49 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data loads. This im… 59 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This… 69 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This im… 115 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 120 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 130 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data stores. This i… 140 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data stores. Thi… 150 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data stores. This i… [all …]
|
/Linux-v6.1/tools/perf/pmu-events/arch/x86/skylakex/ |
D | virtual-memory.json | 34 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 39 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 49 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data loads. This im… 59 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This… 69 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This im… 115 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 120 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 130 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data stores. This i… 140 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data stores. Thi… 150 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data stores. This i… [all …]
|
/Linux-v6.1/tools/perf/pmu-events/arch/x86/tigerlake/ |
D | virtual-memory.json | 26 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 32 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 43 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This… 54 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This im… 93 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 99 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 160 …iefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)", 166 …"PublicDescription": "Counts completed page walks (all page sizes) caused by a code fetch. This im… 177 …"PublicDescription": "Counts completed page walks (2M/4M page sizes) caused by a code fetch. This … 188 …"PublicDescription": "Counts completed page walks (4K page sizes) caused by a code fetch. This imp…
|
/Linux-v6.1/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 230 * @sizes: specification of the layout 235 struct drm_fb_helper_surface_size *sizes) in psbfb_create() argument 249 mode_cmd.width = sizes->surface_width; in psbfb_create() 250 mode_cmd.height = sizes->surface_height; in psbfb_create() 251 bpp = sizes->surface_bpp; in psbfb_create() 252 depth = sizes->surface_depth; in psbfb_create() 303 drm_fb_helper_fill_info(info, fb_helper, sizes); in psbfb_create() 351 struct drm_fb_helper_surface_size *sizes) in psbfb_probe() argument 358 bytespp = sizes->surface_bpp / 8; in psbfb_probe() 365 fb_size = ALIGN(sizes->surface_width * bytespp, 64) * in psbfb_probe() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/usb/ |
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-v6.1/drivers/gpu/drm/ |
D | drm_fb_helper.c | 1592 struct drm_fb_helper_surface_size sizes; in drm_fb_helper_single_fb_probe() local 1597 memset(&sizes, 0, sizeof(struct drm_fb_helper_surface_size)); in drm_fb_helper_single_fb_probe() 1598 sizes.surface_depth = 24; in drm_fb_helper_single_fb_probe() 1599 sizes.surface_bpp = 32; in drm_fb_helper_single_fb_probe() 1600 sizes.fb_width = (u32)-1; in drm_fb_helper_single_fb_probe() 1601 sizes.fb_height = (u32)-1; in drm_fb_helper_single_fb_probe() 1607 if (preferred_bpp != sizes.surface_bpp) in drm_fb_helper_single_fb_probe() 1608 sizes.surface_depth = sizes.surface_bpp = preferred_bpp; in drm_fb_helper_single_fb_probe() 1619 sizes.surface_depth = sizes.surface_bpp = 8; in drm_fb_helper_single_fb_probe() 1622 sizes.surface_depth = 15; in drm_fb_helper_single_fb_probe() [all …]
|
/Linux-v6.1/drivers/gpu/drm/i915/display/ |
D | intel_fbdev.c | 135 struct drm_fb_helper_surface_size *sizes) in intelfb_alloc() argument 147 if (sizes->surface_bpp == 24) in intelfb_alloc() 148 sizes->surface_bpp = 32; in intelfb_alloc() 150 mode_cmd.width = sizes->surface_width; in intelfb_alloc() 151 mode_cmd.height = sizes->surface_height; in intelfb_alloc() 154 DIV_ROUND_UP(sizes->surface_bpp, 8), 64); in intelfb_alloc() 155 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in intelfb_alloc() 156 sizes->surface_depth); in intelfb_alloc() 192 struct drm_fb_helper_surface_size *sizes) in intelfb_create() argument 220 (sizes->fb_width > intel_fb->base.width || in intelfb_create() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/dma/ |
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-v6.1/drivers/gpu/drm/i915/gt/ |
D | selftest_migrate.c | 12 static const unsigned int sizes[] = { variable 493 for (i = 0; i < ARRAY_SIZE(sizes); i++) { in live_migrate_copy() 496 err = migrate_copy(migrate, sizes[i], &prng); in live_migrate_copy() 498 err = global_copy(migrate, sizes[i], &prng); in live_migrate_copy() 514 for (i = 0; i < ARRAY_SIZE(sizes); i++) { in live_migrate_clear() 517 err = migrate_clear(migrate, sizes[i], &prng); in live_migrate_clear() 519 err = global_clear(migrate, sizes[i], &prng); in live_migrate_clear() 729 static const unsigned long sizes[] = { in perf_clear_blt() local 737 for (i = 0; i < ARRAY_SIZE(sizes); i++) { in perf_clear_blt() 741 dst = create_init_lmem_internal(gt, sizes[i], true); in perf_clear_blt() [all …]
|