Home
last modified time | relevance | path

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

12345678910>>...98

/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/include/asm-generic/
H A Dvmlinux.lds.h86 /* Align . function alignment. */
87 #define ALIGN_FUNCTION() . = ALIGN(CONFIG_FUNCTION_ALIGNMENT)
143 * Except GCC 4.9, that feels the need to align on 64 bytes.
146 #define STRUCT_ALIGN() . = ALIGN(STRUCT_ALIGNMENT)
198 #define MCOUNT_REC() . = ALIGN(8); \
260 . = ALIGN(8); \
276 . = ALIGN(8); \
293 . = ALIGN(8); \
308 . = ALIGN(8); \
316 . = ALIGN(8); \
[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/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 __ksymtab_gpl 0 : ALIGN(8) { *(SORT(___ksymtab_gpl+*)) }
24 __kcrctab 0 : ALIGN(4) { *(SORT(___kcrctab+*)) }
25 __kcrctab_gpl 0 : ALIGN(4) { *(SORT(___kcrctab_gpl+*)) }
27 .ctors 0 : ALIGN(8) { *(SORT(.ctors.*)) *(.ctors) }
28 .init_array 0 : ALIGN(8) { *(SORT(.init_array.*)) *(.init_array) }
30 .altinstructions 0 : ALIGN(8) { KEEP(*(.altinstructions)) }
31 __bug_table 0 : ALIGN(8) { KEEP(*(__bug_table)) }
32 __jump_table 0 : ALIGN(8) { KEEP(*(__jump_table)) }
33 __ex_table 0 : ALIGN(4) { KEEP(*(__ex_table)) }
[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/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/arch/arm64/kernel/
H A Dvmlinux.lds.S11 . = ALIGN(SZ_8); \
18 . = ALIGN(PAGE_SIZE); \
22 . = ALIGN(PAGE_SIZE); \
28 . = ALIGN(PAGE_SIZE); \
31 . = ALIGN(PAGE_SIZE); \
36 . = ALIGN(PAGE_SIZE); \
42 .hyp.reloc : ALIGN(4) { \
51 . = ALIGN(PAGE_SIZE); \
88 . = ALIGN(PAGE_SIZE); \
95 . = ALIGN(PAGE_SIZE); \
[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/net/wireless/
H A 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/arch/s390/kernel/
H A Dvmlinux.lds.S56 . = ALIGN(PAGE_SIZE);
62 . = ALIGN(PAGE_SIZE);
65 . = ALIGN(PAGE_SIZE);
71 . = ALIGN(PAGE_SIZE);
74 . = ALIGN(8);
96 . = ALIGN(8);
103 . = ALIGN(PAGE_SIZE);
107 . = ALIGN(PAGE_SIZE); /* Init code and data */
110 . = ALIGN(PAGE_SIZE);
114 . = ALIGN(PAGE_SIZE);
[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/x86/kernel/
H A Dvmlinux.lds.S51 * On 64-bit, align RODATA to 2MB so we retain large page mappings for
61 #define X86_ALIGN_RODATA_BEGIN . = ALIGN(HPAGE_SIZE);
64 . = ALIGN(HPAGE_SIZE); \
68 #define ALIGN_ENTRY_TEXT_BEGIN . = ALIGN(PMD_SIZE);
69 #define ALIGN_ENTRY_TEXT_END . = ALIGN(PMD_SIZE);
74 . = ALIGN(PAGE_SIZE); \
91 . = ALIGN(PMD_SIZE); \
95 . = ALIGN(PAGE_SIZE); \
97 . = ALIGN(PMD_SIZE); \
107 . = ALIGN(0x100); \
[all …]
/linux/arch/loongarch/kernel/
H A 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/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/drivers/gpu/drm/
H A Ddrm_suballoc.c59 * @align: alignment for each suballocated chunk
64 size_t size, size_t align) in drm_suballoc_manager_init() argument
70 if (!align) in drm_suballoc_manager_init()
71 align = 1; in drm_suballoc_manager_init()
74 if (WARN_ON_ONCE(align & (align - 1))) in drm_suballoc_manager_init()
75 align = roundup_pow_of_two(align); in drm_suballoc_manager_init()
79 sa_manager->align = align; in drm_suballoc_manager_init()
166 size_t size, size_t align) in drm_suballoc_try_alloc() argument
172 wasted = round_up(soffset, align) - soffset; in drm_suballoc_try_alloc()
189 size_t size, size_t align) in __drm_suballoc_event() argument
[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/arc/include/asm/
H A 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/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/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 …]
/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 …]

12345678910>>...98