Home
last modified time | relevance | path

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

12345678910>>...88

/linux/drivers/media/platform/qcom/venus/
H A 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/drivers/media/platform/raspberrypi/pisp_be/
H A 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/include/trace/events/
H A Dcma.h42 unsigned long total_count, unsigned int align),
44 TP_ARGS(name, request_count, available_count, total_count, align),
51 __field(unsigned int, align)
59 __entry->align = align;
62 TP_printk("name=%s request_count=%lu available_count=%lu total_count=%lu align=%u",
67 __entry->align)
73 unsigned long count, unsigned int align, int errorno),
75 TP_ARGS(name, pfn, page, count, align, errorno),
82 __field(unsigned int, align)
91 __entry->align = align;
[all …]
H A 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/scripts/
H A 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 …]
H A Dmodule.lds.S22 __ksymtab 0 : ALIGN(8) { *(SORT(___ksymtab+*)) }
23 __kcrctab 0 : ALIGN(4) { *(SORT(___kcrctab+*)) }
24 __kflagstab 0 : ALIGN(1) { *(SORT(___kflagstab+*)) }
26 .ctors 0 : ALIGN(8) { *(SORT(.ctors.*)) *(.ctors) }
27 .init_array 0 : ALIGN(8) { *(SORT(.init_array.*)) *(.init_array) }
29 .altinstructions 0 : ALIGN(8) { KEEP(*(.altinstructions)) }
30 __bug_table 0 : ALIGN(8) { KEEP(*(__bug_table)) }
31 __jump_table 0 : ALIGN(8) { KEEP(*(__jump_table)) }
32 __ex_table 0 : ALIGN(4) { KEEP(*(__ex_table)) }
36 .init.klp_funcs 0 : ALIGN(
[all...]
/linux/drivers/clk/tegra/
H A 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/arch/powerpc/kernel/
H A Dvmlinux.lds.S7 #define SOFT_MASK_TABLE(align) \ argument
8 . = ALIGN(align); \
15 #define RESTART_TABLE(align) \ argument
16 . = ALIGN(align); \
88 * ALIGN(0) overrides the default output section alignment because
92 .text ALIGN(0) : AT(ADDR(.text) - LOAD_OFFSET) {
122 . = ALIGN(PAGE_SIZE);
167 .got : AT(ADDR(.got) - LOAD_OFFSET) ALIGN(256) {
186 . = ALIGN(8);
193 . = ALIGN(8);
[all …]
/linux/Documentation/networking/device_drivers/can/ctu/
H A 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/rust/zerocopy/src/util/
H A Dmacro_util.rs92 #[repr(C, align(65536))]
238 // followed by the padding needed to align `_trailing`, then the layout
240 // correctly-align the entire struct.
244 // is `1`, then no padding is required align `_trailing` and it will be
335 // The `align` and `packed` directives can be ignored here. Regardless
350 ($t:ty, $align:expr, $packed:expr, [$($ts:tt),*]) => {{
352 $align,
388 // The `align` and `packed` directives can be ignored here. Regardless
422 // The `align` and `packed` directives are irrelevant. `$align` can be
607 Src::LAYOUT.align.get() >= Dst::LAYOUT.align.get() in try_transmute_ref()
[all …]
H A Dmod.rs64 /// `align`.
71 pub(crate) fn miri_promise_symbolic_alignment(ptr: *const (), align: usize); in miri_promise_symbolic_alignment()
141 /// Returns the bytes needed to pad `len` to the next multiple of `align`.
143 /// This function assumes that align is a power of two; there are no guarantees
148 kani::requires(align.is_power_of_two()),
149 kani::ensures(|&p| (len + p) % align.get() == 0),
151 kani::ensures(|&p| p < align.get()),
155 pub(crate) const fn padding_needed_for(len: usize, align: NonZeroUsize) -> usize { in padding_needed_for()
163 // align - (len % align). in padding_needed_for()
164 // Handling the case where len%align is 0. in padding_needed_for()
[all …]
/linux/net/wireless/
H A Dradiotap.c18 [IEEE80211_RADIOTAP_TSFT] = { .align = 8, .size = 8, },
19 [IEEE80211_RADIOTAP_FLAGS] = { .align = 1, .size = 1, },
20 [IEEE80211_RADIOTAP_RATE] = { .align = 1, .size = 1, },
21 [IEEE80211_RADIOTAP_CHANNEL] = { .align = 2, .size = 4, },
22 [IEEE80211_RADIOTAP_FHSS] = { .align = 2, .size = 2, },
23 [IEEE80211_RADIOTAP_DBM_ANTSIGNAL] = { .align = 1, .size = 1, },
24 [IEEE80211_RADIOTAP_DBM_ANTNOISE] = { .align = 1, .size = 1, },
25 [IEEE80211_RADIOTAP_LOCK_QUALITY] = { .align = 2, .size = 2, },
26 [IEEE80211_RADIOTAP_TX_ATTENUATION] = { .align = 2, .size = 2, },
27 [IEEE80211_RADIOTAP_DB_TX_ATTENUATION] = { .align = 2, .size = 2, },
[all …]
/linux/arch/xtensa/kernel/
H A Dalign.S2 * arch/xtensa/kernel/align.S
185 and a3, a3, a8 # align memory address
263 and a3, a3, a8 # align memory address
313 .align 8
315 s32i a3, a2, PT_AREG0; _j .Lexit; .align 8
316 mov a1, a3; _j .Lexit; .align 8 # fishy??
317 s32i a3, a2, PT_AREG2; _j .Lexit; .align 8
318 s32i a3, a2, PT_AREG3; _j .Lexit; .align 8
319 s32i a3, a2, PT_AREG4; _j .Lexit; .align 8
320 s32i a3, a2, PT_AREG5; _j .Lexit; .align 8
[all …]
/linux/arch/x86/lib/
H A Dbhi.S20 .align 32
25 .align 32
34 .align 32
44 .align 8
51 .align 32
62 .align 32
74 .align 32
87 .align 32
101 .align 8
108 .align 32
[all …]
/linux/arch/loongarch/kernel/
H A Dvmlinux.lds.S48 . = ALIGN(PECOFF_SEGMENT_ALIGN);
60 . = ALIGN(PECOFF_SEGMENT_ALIGN);
63 . = ALIGN(PECOFF_SEGMENT_ALIGN);
72 . = ALIGN(PECOFF_SEGMENT_ALIGN);
82 . = ALIGN(4);
101 . = ALIGN(PECOFF_SEGMENT_ALIGN);
109 .got : ALIGN(16) { *(.got) }
110 .plt : ALIGN(16) { *(.plt) }
111 .got.plt : ALIGN(16) { *(.got.plt) }
115 .rela.dyn : ALIGN(8) {
[all …]
/linux/drivers/firmware/efi/libstub/
H A 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()
H A Dzboot.lds9 .head : ALIGN(4096) {
17 .rodata : ALIGN(8) {
24 . = ALIGN(4);
28 _etext = ALIGN(4096);
32 .sbat : ALIGN(4096) {
35 _esbat = ALIGN(4096);
39 .data : ALIGN(4096) {
42 _edata = ALIGN(512);
48 _end = ALIGN(512);
/linux/arch/sparc/lib/
H A 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/rust/zerocopy/src/
H A Dlayout.rs34 pub(crate) align: NonZeroUsize, field
186 let align = match repr_align { in new_zst() localVariable
187 Some(align) => align, in new_zst()
191 const_assert!(align.get().is_power_of_two()); in new_zst()
194 align, in new_zst()
210 // SAFETY: `align` is correct by construction. `T: Sized`, and so it is in for_type()
215 align: match NonZeroUsize::new(mem::align_of::<T>()) { in for_type()
216 Some(align) => align, in for_type()
244 // element type, and so `align` is initialized correctly. in for_slice()
252 align: match NonZeroUsize::new(mem::align_of::<T>()) { in for_slice()
[all …]
/linux/arch/csky/kernel/
H A 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/arch/microblaze/kernel/
H A 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/rust/kernel/
H A Dptr.rs34 /// Validates that `ALIGN` is a power of two at build-time, and returns an [`Alignment`] of the
37 /// A build error is triggered if `ALIGN` is not a power of two.
48 pub const fn new<const ALIGN: usize>() -> Self { in new()
50 ALIGN.is_power_of_two(), in new()
54 // INVARIANT: `align` is a power of two. in new()
55 // SAFETY: `align` is a power of two, and thus non-zero. in new()
56 Self(unsafe { NonZero::new_unchecked(ALIGN) }) in new()
59 /// Validates that `align` is a power of two at runtime, and returns an
62 /// Returns [`None`] if `align` is not a power of two.
75 pub const fn new_checked(align
[all...]
/linux/tools/perf/util/include/linux/
H A 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/arch/riscv/kernel/
H A Dvmlinux.lds.S32 . = ALIGN(PAGE_SIZE);
47 . = ALIGN(SECTION_ALIGN);
50 .init.text : AT(ADDR(.init.text) - LOAD_OFFSET) ALIGN(SECTION_ALIGN) { \
56 . = ALIGN(8);
76 . = ALIGN(SECTION_ALIGN);
78 . = ALIGN(PECOFF_SECTION_ALIGNMENT);
105 .rela.dyn : ALIGN(8) {
113 . = ALIGN(8);
128 . = ALIGN(SECTION_ALIGN);
150 .pecoff_edata_padding : { BYTE(0); . = ALIGN(PECOFF_FILE_ALIGNMENT); }
[all …]
/linux/drivers/nvdimm/
H A Dpfn_devs.c89 return sprintf(buf, "%ld\n", nd_pfn->align); in align_show()
126 rc = nd_size_select_store(dev, buf, &nd_pfn->align, in align_store()
133 static DEVICE_ATTR_RW(align);
296 nd_pfn->align = nd_pfn_default_alignment(); in nd_pfn_devinit()
392 zero_len = ALIGN(num_bad << 9, PAGE_SIZE); in nd_pfn_clear_memmap_errors()
416 static bool nd_supported_alignment(unsigned long align) in nd_supported_alignment() argument
421 if (align == 0) in nd_supported_alignment()
426 if (align == supported[i]) in nd_supported_alignment()
447 unsigned long align, start_pad, end_trunc; in nd_pfn_validate() local
479 pfn_sb->align = 0; in nd_pfn_validate()
[all …]

12345678910>>...88