Home
last modified time | relevance | path

Searched full:align (Results 1 – 25 of 3167) sorted by relevance

12345678910>>...127

/linux-6.12.1/drivers/media/platform/qcom/venus/
Dhfi_plat_bufs_v6.c56 (MAX_FE_NBR_DATA_LUMA_LINE_BUFFER_SIZE * ALIGN((width), 16) * 3)
76 (ALIGN((height), 16) * 32)
102 (MAX_FE_NBR_DATA_LUMA_LINE_BUFFER_SIZE * (ALIGN(width, 64) + 8) * 2)
106 (ALIGN(width, LCU_MAX_SIZE_PELS) / LCU_MIN_SIZE_PELS))
110 (ALIGN(height, LCU_MAX_SIZE_PELS) / LCU_MIN_SIZE_PELS))
128 (ALIGN(width, LCU_MIN_SIZE_PELS) / LCU_MIN_SIZE_PELS))
164 (((ALIGN(width, 64) + 8) * 10 * 2)) /* small line */
180 ALIGN((ALIGN(height, 16) / (4 / 2)) * 64, 32)
182 ((ALIGN(width, 16) + 8) * 10 * 2)
184 ((ALIGN(ALIGN(width, 16), 64) + 8) * 10 * 2)
[all …]
/linux-6.12.1/drivers/media/platform/raspberrypi/pisp_be/
Dpisp_be_formats.h19 unsigned int align; member
61 .align = 128,
71 .align = 128,
80 .align = 32,
89 .align = 32,
98 .align = 64,
107 .align = 64,
116 .align = 64,
125 .align = 64,
135 .align = 64,
[all …]
/linux-6.12.1/include/trace/events/
Dcma.h41 TP_PROTO(const char *name, unsigned long count, unsigned int align),
43 TP_ARGS(name, count, align),
48 __field(unsigned int, align)
54 __entry->align = align;
57 TP_printk("name=%s count=%lu align=%u",
60 __entry->align)
66 unsigned long count, unsigned int align, int errorno),
68 TP_ARGS(name, pfn, page, count, align, errorno),
75 __field(unsigned int, align)
84 __entry->align = align;
[all …]
Dpercpu.h15 size_t align, void *base_addr, int off,
18 TP_ARGS(call_site, reserved, is_atomic, size, align, base_addr, off,
26 __field( size_t, align )
38 __entry->align = align;
46 …TP_printk("call_site=%pS reserved=%d is_atomic=%d size=%zu align=%zu base_addr=%p off=%d ptr=%p by…
49 __entry->size, __entry->align,
78 TP_PROTO(bool reserved, bool is_atomic, size_t size, size_t align),
80 TP_ARGS(reserved, is_atomic, size, align),
86 __field( size_t, align )
93 __entry->align = align;
[all …]
/linux-6.12.1/include/asm-generic/
Dvmlinux.lds.h86 /* Align . function alignment. */
87 #define ALIGN_FUNCTION() . = ALIGN(CONFIG_FUNCTION_ALIGNMENT)
119 * Except GCC 4.9, that feels the need to align on 64 bytes.
122 #define STRUCT_ALIGN() . = ALIGN(STRUCT_ALIGNMENT)
174 #define MCOUNT_REC() . = ALIGN(8); \
236 . = ALIGN(8); \
252 . = ALIGN(8); \
269 . = ALIGN(8); \
284 . = ALIGN(8); \
292 . = ALIGN(8); \
[all …]
/linux-6.12.1/scripts/
Dxz_wrap.sh12 # Arch Align Notes
49 ALIGN=2
52 ALIGN=4
58 ALIGN=4
71 ALIGN=2
75 ALIGN=4
80 ALIGN=2
82 ALIGN=4
87 ALIGN=4
91 ALIGN=4
[all …]
/linux-6.12.1/drivers/clk/tegra/
Dcvb.c26 const struct rail_alignment *align) in round_cvb_voltage() argument
30 int step = (align->step_uv ? : 1000) * v_scale; in round_cvb_voltage()
31 int offset = align->offset_uv * v_scale; in round_cvb_voltage()
34 uv = DIV_ROUND_UP(uv, step) * align->step_uv + align->offset_uv; in round_cvb_voltage()
43 static int round_voltage(int mv, const struct rail_alignment *align, int up) in round_voltage() argument
45 if (align->step_uv) { in round_voltage()
48 uv = max(mv * 1000, align->offset_uv) - align->offset_uv; in round_voltage()
49 uv = (uv + (up ? align->step_uv - 1 : 0)) / align->step_uv; in round_voltage()
50 return (uv * align->step_uv + align->offset_uv) / 1000; in round_voltage()
56 struct rail_alignment *align, in build_opp_table() argument
[all …]
/linux-6.12.1/arch/powerpc/kernel/
Dvmlinux.lds.S13 #define SOFT_MASK_TABLE(align) \ argument
14 . = ALIGN(align); \
21 #define RESTART_TABLE(align) \ argument
22 . = ALIGN(align); \
94 * ALIGN(0) overrides the default output section alignment because
98 .text ALIGN(0) : AT(ADDR(.text) - LOAD_OFFSET) {
128 . = ALIGN(PAGE_SIZE);
174 .got : AT(ADDR(.got) - LOAD_OFFSET) ALIGN(256) {
193 . = ALIGN(8);
200 . = ALIGN(8);
[all …]
/linux-6.12.1/Documentation/networking/device_drivers/can/ctu/
Dfsm_txt_buffer_user.svg99 …000002" text-align="center" text-anchor="middle">Accessible</tspan><tspan x="110.90907" y="183.395…
100align="center" text-anchor="middle" style="font-variant-caps:normal;font-variant-east-asian:normal…
102 ….95018" y="115.29005" font-size="3.175px"><tspan font-size="3.175px" text-align="center" text-anch…
103 ….25127" y="130.49019" font-size="3.175px"><tspan font-size="3.175px" text-align="center" text-anch…
104 ….31845" y="144.43121" font-size="3.175px"><tspan font-size="3.175px" text-align="center" text-anch…
105 ….40399" y="160.36035" font-size="3.175px"><tspan font-size="3.175px" text-align="center" text-anch…
106align="center" text-anchor="middle" style="line-height:0.9" xml:space="preserve"><tspan x="91.8239…
107align="center" text-anchor="middle" style="line-height:0.9" xml:space="preserve"><tspan x="91.6489…
108 …456043" y="143.91658" font-size="3.175px"><tspan font-size="3.175px" text-align="center" text-anch…
131align="center" text-anchor="middle" style="line-height:1.1" xml:space="preserve"><tspan x="26.9592…
[all …]
/linux-6.12.1/arch/xtensa/kernel/
Dalign.S2 * arch/xtensa/kernel/align.S
182 and a3, a3, a8 # align memory address
257 and a3, a3, a8 # align memory address
307 .align 8
309 s32i a3, a2, PT_AREG0; _j .Lexit; .align 8
310 mov a1, a3; _j .Lexit; .align 8 # fishy??
311 s32i a3, a2, PT_AREG2; _j .Lexit; .align 8
312 s32i a3, a2, PT_AREG3; _j .Lexit; .align 8
313 s32i a3, a2, PT_AREG4; _j .Lexit; .align 8
314 s32i a3, a2, PT_AREG5; _j .Lexit; .align 8
[all …]
/linux-6.12.1/arch/arm64/kernel/
Dvmlinux.lds.S11 . = ALIGN(SZ_8); \
18 . = ALIGN(PAGE_SIZE); \
22 . = ALIGN(PAGE_SIZE); \
27 . = ALIGN(PAGE_SIZE); \
33 .hyp.reloc : ALIGN(4) { \
42 . = ALIGN(PAGE_SIZE); \
78 . = ALIGN(PAGE_SIZE); \
85 . = ALIGN(PAGE_SIZE); \
89 . = ALIGN(SZ_4K); \
116 . = ALIGN(PAGE_SIZE); \
[all …]
/linux-6.12.1/net/wireless/
Dradiotap.c26 [IEEE80211_RADIOTAP_TSFT] = { .align = 8, .size = 8, },
27 [IEEE80211_RADIOTAP_FLAGS] = { .align = 1, .size = 1, },
28 [IEEE80211_RADIOTAP_RATE] = { .align = 1, .size = 1, },
29 [IEEE80211_RADIOTAP_CHANNEL] = { .align = 2, .size = 4, },
30 [IEEE80211_RADIOTAP_FHSS] = { .align = 2, .size = 2, },
31 [IEEE80211_RADIOTAP_DBM_ANTSIGNAL] = { .align = 1, .size = 1, },
32 [IEEE80211_RADIOTAP_DBM_ANTNOISE] = { .align = 1, .size = 1, },
33 [IEEE80211_RADIOTAP_LOCK_QUALITY] = { .align = 2, .size = 2, },
34 [IEEE80211_RADIOTAP_TX_ATTENUATION] = { .align = 2, .size = 2, },
35 [IEEE80211_RADIOTAP_DB_TX_ATTENUATION] = { .align = 2, .size = 2, },
[all …]
/linux-6.12.1/arch/x86/kernel/
Dvmlinux.lds.S49 * On 64-bit, align RODATA to 2MB so we retain large page mappings for
59 #define X86_ALIGN_RODATA_BEGIN . = ALIGN(HPAGE_SIZE);
62 . = ALIGN(HPAGE_SIZE); \
66 #define ALIGN_ENTRY_TEXT_BEGIN . = ALIGN(PMD_SIZE);
67 #define ALIGN_ENTRY_TEXT_END . = ALIGN(PMD_SIZE);
78 . = ALIGN(PMD_SIZE); \
81 . = ALIGN(PAGE_SIZE); \
83 . = ALIGN(PMD_SIZE); \
90 . = ALIGN(PAGE_SIZE); \
156 . = ALIGN(PAGE_SIZE);
[all …]
/linux-6.12.1/arch/loongarch/kernel/
Dvmlinux.lds.S43 . = ALIGN(PECOFF_SEGMENT_ALIGN);
55 . = ALIGN(PECOFF_SEGMENT_ALIGN);
58 . = ALIGN(PECOFF_SEGMENT_ALIGN);
67 . = ALIGN(PECOFF_SEGMENT_ALIGN);
77 . = ALIGN(4);
96 . = ALIGN(PECOFF_SEGMENT_ALIGN);
104 .got : ALIGN(16) { *(.got) }
105 .plt : ALIGN(16) { *(.plt) }
106 .got.plt : ALIGN(16) { *(.got.plt) }
110 .rela.dyn : ALIGN(8) {
[all …]
/linux-6.12.1/arch/sparc/lib/
Dbitext.c9 * by align size, should provide fast enough search while maintaining low
22 * @align: requested alignment
28 int bit_map_string_get(struct bit_map *t, int len, int align) in bit_map_string_get() argument
36 /* align is overloaded to be the page color */ in bit_map_string_get()
37 color = align; in bit_map_string_get()
38 align = t->num_colors; in bit_map_string_get()
41 if (align == 0) in bit_map_string_get()
42 align = 1; in bit_map_string_get()
44 align1 = align - 1; in bit_map_string_get()
45 if ((align & align1) != 0) in bit_map_string_get()
[all …]
/linux-6.12.1/drivers/firmware/efi/libstub/
Dalignedmem.c16 * @align: minimum alignment of the base of the allocation
20 * to @align, which should be >= EFI_ALLOC_ALIGN. The last allocated page will
26 unsigned long max, unsigned long align, in efi_allocate_pages_aligned() argument
35 if (align < EFI_ALLOC_ALIGN) in efi_allocate_pages_aligned()
36 align = EFI_ALLOC_ALIGN; in efi_allocate_pages_aligned()
38 alloc_addr = ALIGN_DOWN(max + 1, align) - 1; in efi_allocate_pages_aligned()
40 slack = align / EFI_PAGE_SIZE - 1; in efi_allocate_pages_aligned()
48 *addr = ALIGN((unsigned long)alloc_addr, align); in efi_allocate_pages_aligned()
51 int l = (alloc_addr & (align - 1)) / EFI_PAGE_SIZE; in efi_allocate_pages_aligned()
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/
Dmsm_media_info.h51 * Total size = align((Y_Stride * Y_Scanlines
89 * Total size = align((Y_Stride * Y_Scanlines
149 * Total size = align((2*(Y_Stride * Y_Scanlines)
227 * Y_Stride = align(Width, 128)
228 * UV_Stride = align(Width, 128)
229 * Y_Scanlines = align(Height, 32)
230 * UV_Scanlines = align(Height/2, 16)
231 * Y_UBWC_Plane_size = align(Y_Stride * Y_Scanlines, 4096)
232 * UV_UBWC_Plane_size = align(UV_Stride * UV_Scanlines, 4096)
233 * Y_Meta_Stride = align(roundup(Width, Y_TileWidth), 64)
[all …]
/linux-6.12.1/arch/s390/kernel/
Dvmlinux.lds.S57 . = ALIGN(PAGE_SIZE);
63 . = ALIGN(PAGE_SIZE);
66 . = ALIGN(PAGE_SIZE);
72 . = ALIGN(PAGE_SIZE);
90 . = ALIGN(8);
97 . = ALIGN(PAGE_SIZE);
101 . = ALIGN(PAGE_SIZE); /* Init code and data */
104 . = ALIGN(PAGE_SIZE);
108 . = ALIGN(PAGE_SIZE);
130 . = ALIGN(8);
[all …]
/linux-6.12.1/drivers/gpu/drm/
Ddrm_suballoc.c57 * @align: alignment for each suballocated chunk
62 size_t size, size_t align) in drm_suballoc_manager_init() argument
68 if (!align) in drm_suballoc_manager_init()
69 align = 1; in drm_suballoc_manager_init()
72 if (WARN_ON_ONCE(align & (align - 1))) in drm_suballoc_manager_init()
73 align = roundup_pow_of_two(align); in drm_suballoc_manager_init()
77 sa_manager->align = align; in drm_suballoc_manager_init()
164 size_t size, size_t align) in drm_suballoc_try_alloc() argument
170 wasted = round_up(soffset, align) - soffset; in drm_suballoc_try_alloc()
187 size_t size, size_t align) in __drm_suballoc_event() argument
[all …]
/linux-6.12.1/arch/csky/kernel/
Dvmlinux.lds.S17 . = ALIGN(1024); \
27 . = ALIGN(PAGE_SIZE);
45 . = ALIGN(PAGE_SIZE);
50 . = ALIGN(PAGE_SIZE);
60 . = ALIGN(PAGE_SIZE);
66 . = ALIGN(4);
73 . = ALIGN(4);
88 . = ALIGN(4);
91 . = ALIGN(4);
101 . = ALIGN(PAGE_SIZE);
/linux-6.12.1/arch/microblaze/kernel/
Dvmlinux.lds.S43 . = ALIGN (4) ;
47 . = ALIGN (8) ;
55 . = ALIGN(16);
64 . = ALIGN(PAGE_SIZE); /* page aligned when MMU used */
66 . = ALIGN(8);
77 . = ALIGN(8);
94 . = ALIGN(PAGE_SIZE);
103 . = ALIGN(4);
130 .bss ALIGN (PAGE_SIZE) : AT(ADDR(.bss) - LOAD_OFFSET) {
135 . = ALIGN (4) ;
[all …]
/linux-6.12.1/arch/arc/include/asm/
Duaccess.h51 " .align 4\n" \
59 " .align 4\n" \
72 " .align 4\n" \
81 " .align 4\n" \
106 " .align 4\n" \
111 " .align 4\n" \
124 " .align 4\n" \
129 " .align 4\n" \
163 " .align 4 \n" in raw_copy_from_user()
167 " .align 4 \n" in raw_copy_from_user()
[all …]
/linux-6.12.1/tools/perf/util/include/linux/
Dlinkage.h14 #define __ALIGN .align 4,0x90
15 #define __ALIGN_STR ".align 4,0x90"
23 /* SYM_A_* -- align the symbol? */
24 #define SYM_A_ALIGN ALIGN
31 #define ALIGN __ALIGN macro
37 #define SYM_ENTRY(name, linkage, align...) \ argument
39 align ASM_NL \
45 #define SYM_START(name, linkage, align...) \ argument
46 SYM_ENTRY(name, linkage, align)
126 #define SYM_TYPED_START(name, linkage, align...) \ argument
[all …]
/linux-6.12.1/arch/riscv/kernel/
Dvmlinux.lds.S36 . = ALIGN(PAGE_SIZE);
51 . = ALIGN(SECTION_ALIGN);
54 .init.text : AT(ADDR(.init.text) - LOAD_OFFSET) ALIGN(SECTION_ALIGN) { \
60 . = ALIGN(8);
80 . = ALIGN(SECTION_ALIGN);
82 . = ALIGN(PECOFF_SECTION_ALIGNMENT);
106 .rela.dyn : ALIGN(8) {
114 . = ALIGN(8);
129 . = ALIGN(SECTION_ALIGN);
151 .pecoff_edata_padding : { BYTE(0); . = ALIGN(PECOFF_FILE_ALIGNMENT); }
[all …]
/linux-6.12.1/drivers/nvdimm/
Dpfn_devs.c93 return sprintf(buf, "%ld\n", nd_pfn->align); in align_show()
130 rc = nd_size_select_store(dev, buf, &nd_pfn->align, in align_store()
139 static DEVICE_ATTR_RW(align);
307 nd_pfn->align = nd_pfn_default_alignment(); in nd_pfn_devinit()
402 zero_len = ALIGN(num_bad << 9, PAGE_SIZE); in nd_pfn_clear_memmap_errors()
426 static bool nd_supported_alignment(unsigned long align) in nd_supported_alignment() argument
431 if (align == 0) in nd_supported_alignment()
436 if (align == supported[i]) in nd_supported_alignment()
457 unsigned long align, start_pad, end_trunc; in nd_pfn_validate() local
489 pfn_sb->align = 0; in nd_pfn_validate()
[all …]

12345678910>>...127