Home
last modified time | relevance | path

Searched full:aligned (Results 1 – 25 of 1957) sorted by relevance

12345678910>>...79

/Linux-v5.10/drivers/scsi/
Dipr.h336 }__attribute__((packed, aligned (4)));
414 }__attribute__ ((packed, aligned (4)));
436 }__attribute__ ((packed, aligned (8)));
443 }__attribute__((packed, aligned (4)));
450 }__attribute__((packed, aligned (4)));
455 }__attribute__((packed, aligned (4)));
460 }__attribute__((packed, aligned (8)));
475 }__attribute__((packed, aligned (4)));
483 }__attribute__((packed, aligned (4)));
546 }__attribute__ ((packed, aligned(4)));
[all …]
/Linux-v5.10/arch/xtensa/include/asm/
Dcoprocessor.h118 #define __REG2_1(n,s,a) unsigned char n[s] __attribute__ ((aligned(a)));
119 #define __REG2_2(n,s,a) unsigned char n[s] __attribute__ ((aligned(a)));
122 __attribute__ ((aligned (XCHAL_NCP_SA_ALIGN)));
124 __attribute__ ((aligned (XCHAL_NCP_SA_ALIGN)));
129 __attribute__ ((aligned (XCHAL_CP0_SA_ALIGN)));
131 __attribute__ ((aligned (XCHAL_CP1_SA_ALIGN)));
133 __attribute__ ((aligned (XCHAL_CP2_SA_ALIGN)));
135 __attribute__ ((aligned (XCHAL_CP3_SA_ALIGN)));
137 __attribute__ ((aligned (XCHAL_CP4_SA_ALIGN)));
139 __attribute__ ((aligned (XCHAL_CP5_SA_ALIGN)));
[all …]
/Linux-v5.10/arch/xtensa/lib/
Dmemset.S23 * If the destination is aligned,
27 * setting 1B and 2B and then go to aligned case.
29 * case of an aligned destination (except for the branches to
47 .L0: # return here from .Ldstunaligned when dst is aligned
54 * Destination is word-aligned.
56 # set 16 bytes per iteration for word-aligned dst
106 bbci.l a5, 0, .L20 # branch if dst alignment half-aligned
107 # dst is only byte aligned
112 # now retest if dst aligned
113 bbci.l a5, 1, .L0 # if now aligned, return to main algorithm
[all …]
Dmemcopy.S34 * If source is aligned,
40 * case of aligned source and destination and multiple
89 .Ldst1mod2: # dst is only byte aligned
98 _bbci.l a5, 1, .Ldstaligned # if dst is now aligned, then
100 .Ldst2mod4: # dst 16-bit aligned
110 j .Ldstaligned # dst is now aligned, return to main algorithm
121 .Ldstaligned: # return here from .Ldst?mod? once dst is aligned
124 movi a8, 3 # if source is not aligned,
127 * Destination and source are word-aligned, use word copy.
129 # copy 16 bytes per iteration for word-aligned dst and word-aligned src
[all …]
Dusercopy.S30 * If the destination and source are both aligned,
33 * If destination is aligned and source unaligned,
38 * case of aligned destinations (except for the branches to
70 .Ldstaligned: # return here from .Ldstunaligned when dst is aligned
73 movi a8, 3 # if source is also aligned,
84 .Ldst1mod2: # dst is only byte aligned
93 bbci.l a5, 1, .Ldstaligned # if dst is now aligned, then
95 .Ldst2mod4: # dst 16-bit aligned
105 j .Ldstaligned # dst is now aligned, return to main algorithm
133 * Destination and source are word-aligned.
[all …]
Dchecksum.S44 * is aligned on either a 2-byte or 4-byte boundary.
48 bnez a5, 8f /* branch if 2-byte aligned */
112 /* uncommon case, buf is 2-byte aligned */
118 bnez a5, 8f /* branch if 1-byte aligned */
124 j 1b /* now buf is 4-byte aligned */
126 /* case: odd-byte aligned, len > 1
187 This function is optimized for 4-byte aligned addresses. Other
198 aligned case. Two bbsi.l instructions might seem more optimal
205 beqz a9, 1f /* branch if both are 4-byte aligned */
207 j 3f /* one address is 2-byte aligned */
[all …]
/Linux-v5.10/drivers/scsi/pm8001/
Dpm8001_hwi.h146 } __attribute__((packed, aligned(4)));
158 } __attribute__((packed, aligned(4)));
169 } __attribute__((packed, aligned(4)));
221 } __attribute__((packed, aligned(4)));
234 } __attribute__((packed, aligned(4)));
250 } __attribute__((packed, aligned(4)));
263 } __attribute__((packed, aligned(4)));
276 } __attribute__((packed, aligned(4)));
287 } __attribute__((packed, aligned(4)));
299 } __attribute__((packed, aligned(4)));
[all …]
Dpm80xx_hwi.h345 } __attribute__((packed, aligned(4)));
357 } __attribute__((packed, aligned(4)));
367 } __attribute__((packed, aligned(4)));
418 } __attribute__((packed, aligned(4)));
432 } __attribute__((packed, aligned(4)));
441 } __attribute__((packed, aligned(4)));
456 } __attribute__((packed, aligned(4)));
468 } __attribute__((packed, aligned(4)));
479 } __attribute__((packed, aligned(4)));
489 } __attribute__((packed, aligned(4)));
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/pci/
Dia_css_env.h53 The address must be an 8 bit aligned address. */
56 The address must be a 16 bit aligned address. */
59 The address must be a 32 bit aligned address. */
62 space. The address must be an 8 bit aligned address. */
65 space. The address must be a 16 bit aligned address. */
68 space. The address must be a 32 bit aligned address. */
70 /** Store a number of bytes into a byte-aligned address in the CSS HW address space. */
72 /** Load a number of bytes from a byte-aligned address in the CSS HW address space. */
/Linux-v5.10/arch/mips/kernel/
Dcmpxchg.c16 /* Check that ptr is naturally aligned */ in __xchg_small()
25 * exchange within the naturally aligned 4 byte integerthat includes in __xchg_small()
35 * Calculate a pointer to the naturally aligned 4 byte integer that in __xchg_small()
57 /* Check that ptr is naturally aligned */ in __cmpxchg_small()
67 * compare & exchange within the naturally aligned 4 byte integer in __cmpxchg_small()
77 * Calculate a pointer to the naturally aligned 4 byte integer that in __cmpxchg_small()
93 * Calculate the old & new values of the naturally aligned in __cmpxchg_small()
/Linux-v5.10/arch/sparc/kernel/
Dsstate.c37 static const char booting_msg[32] __attribute__((aligned(32))) =
39 static const char running_msg[32] __attribute__((aligned(32))) =
41 static const char halting_msg[32] __attribute__((aligned(32))) =
43 static const char poweroff_msg[32] __attribute__((aligned(32))) =
45 static const char rebooting_msg[32] __attribute__((aligned(32))) =
47 static const char panicking_msg[32] __attribute__((aligned(32))) =
/Linux-v5.10/lib/
Diomap_copy.c11 * @to: destination, in MMIO space (must be 32-bit aligned)
12 * @from: source (must be 32-bit aligned)
34 * @to: destination (must be 32-bit aligned)
35 * @from: source, in MMIO space (must be 32-bit aligned)
55 * @to: destination, in MMIO space (must be 64-bit aligned)
56 * @from: source (must be 64-bit aligned)
/Linux-v5.10/arch/arm64/lib/
Dmemset.S55 /*All store maybe are non-aligned..*/
71 /*Whether the start address is aligned with 16.*/
77 * then adjust the dst aligned with 16.This process will make the current
80 stp A_l, A_l, [dst] /*non-aligned store..*/
81 /*make the dst aligned..*/
104 * It will lead some bytes written twice and the access is non-aligned.
163 * Compute how far we need to go to become suitably aligned. We're
171 b.eq 2f /* Already aligned. */
172 /* Not aligned, check that there's enough to copy after alignment.*/
/Linux-v5.10/arch/parisc/lib/
Dio.c162 * SRC. SRC must be at least short aligned. This is used by the
179 case 0x00: /* Buffer 32-bit aligned */ in insw()
193 case 0x02: /* Buffer 16-bit aligned */ in insw()
210 case 0x01: /* Buffer 8-bit aligned */ in insw()
251 case 0x00: /* Buffer 32-bit aligned */ in insl()
259 case 0x02: /* Buffer 16-bit aligned */ in insl()
275 case 0x01: /* Buffer 8-bit aligned */ in insl()
292 case 0x03: /* Buffer 8-bit aligned */ in insl()
315 * Don't worry as much about doing aligned memory transfers:
349 case 0x00: /* Buffer 32-bit aligned */ in outsw()
[all …]
/Linux-v5.10/include/uapi/linux/
Drseq.h41 * struct rseq_cs is aligned on 4 * 8 bytes to ensure it is always
54 } __attribute__((aligned(4 * sizeof(__u64))));
57 * struct rseq is aligned on 4 * 8 bytes to ensure it is always
67 * registered this data structure. Aligned on 32-bit. Always
80 * data structure. Aligned on 32-bit. Values
107 * thread which registered this data structure. Aligned on 64-bit.
145 } __attribute__((aligned(4 * sizeof(__u64))));
Dswab.h169 * @p: pointer to a naturally-aligned 16-bit value
182 * @p: pointer to a naturally-aligned 32-bit value
195 * @p: pointer to a naturally-aligned 64-bit value
208 * @p: pointer to a naturally-aligned 32-bit value
223 * @p: pointer to a naturally-aligned 32-bit value
238 * @p: pointer to a naturally-aligned 16-bit value
250 * @p: pointer to a naturally-aligned 32-bit value
263 * @p: pointer to a naturally-aligned 64-bit value
276 * @p: pointer to a naturally-aligned 32-bit value
291 * @p: pointer to a naturally-aligned 32-bit value
/Linux-v5.10/arch/nios2/lib/
Dmemcpy.c22 /* Type to use for aligned memory operations.
48 the assumption that DST_BP is aligned on an OPSIZ multiple. If
70 Both SRCP and DSTP should be aligned for memory operations on `op_t's. */
109 DSTP should be aligned for memory operations on `op_t's, but SRCP must
110 *not* be aligned. */
119 aligned srcp to make it aligned for copy. */ in _wordcopy_fwd_dest_aligned()
124 /* Make SRCP aligned by rounding it down to the beginning of the `op_t' in _wordcopy_fwd_dest_aligned()
169 /* Copy just a few bytes to make DSTP aligned. */ in memcpy()
/Linux-v5.10/tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/
Dtypes.h49 /* this is a special 64bit data type that is 8-byte aligned */
50 #define aligned_u64 __u64 __attribute__((aligned(8)))
51 #define aligned_be64 __be64 __attribute__((aligned(8)))
52 #define aligned_le64 __le64 __attribute__((aligned(8)))
125 * The struct is aligned to size of pointer. On most architectures it happens
142 } __attribute__((aligned(sizeof(void *))));
/Linux-v5.10/Documentation/driver-api/dmaengine/
Dpxa_dma.rst100 - if Buffer1 and Buffer2 had all their addresses 8 bytes aligned
102 - and if Buffer3 has at least one address not 4 bytes aligned
107 this specific case if the DMA is already running in aligned mode.
146 - a driver submitted an aligned tx1, not chained
148 - a driver submitted an aligned tx2 => tx2 is cold chained to tx1
150 - a driver issued tx1+tx2 => channel is running in aligned mode
152 - a driver submitted an aligned tx3 => tx3 is hot-chained
159 - a driver submitted an aligned tx5 => tx5 is put in submitted queue, not
162 - a driver submitted an aligned tx6 => tx6 is put in submitted queue,
/Linux-v5.10/arch/sparc/lib/
DM7memset.S144 andcc %o5, 7, %o3 ! is sp1 aligned on a 8 byte bound?
145 bz,pt %xcc, .blkalign ! already long word aligned
146 sub %o3, 8, %o3 ! -(bytes till long word aligned)
149 ! Set -(%o3) bytes till sp1 long word aligned
155 ! Now sp1 is long word aligned (sp1 is found in %o5)
161 andcc %o5, 63, %o3 ! is sp1 block aligned?
162 bz,pt %xcc, .blkwr ! now block aligned
163 sub %o3, 64, %o3 ! o3 is -(bytes till block aligned)
166 ! Store -(%o3) bytes till dst is block (64 byte) aligned.
168 ! Recall that dst is already long word aligned
[all …]
DM7memcpy.S37 * if src & dst aligned on word boundary but not long word boundary,
39 * if src & dst aligned on long word boundary
41 * if src & dst not aligned and length <= SHORTCHECK (SHORTCHECK=14)
59 * finish_long: src/dst aligned on 8 bytes
62 * } else { src/dst aligned; count > MED_MAX
72 * } else { src/dst not aligned on 8 bytes
73 * if src is word aligned and count < MED_WMAX
168 #define SHORT_LONG 64 /* max copy for short longword-aligned case */
171 #define MED_UMAX 1024 /* max copy for medium un-aligned case */
172 #define MED_WMAX 1024 /* max copy for medium word-aligned case */
[all …]
/Linux-v5.10/drivers/gpu/drm/msm/disp/dpu1/
Dmsm_media_info.h46 * Y_Stride : Width aligned to 128
47 * UV_Stride : Width aligned to 128
48 * Y_Scanlines: Height aligned to 32
49 * UV_Scanlines: Height/2 aligned to 16
84 * Y_Stride : Width aligned to 128
85 * UV_Stride : Width aligned to 128
86 * Y_Scanlines: Height aligned to 32
87 * UV_Scanlines: Height/2 aligned to 16
142 * Y_Stride : Width aligned to 128
143 * UV_Stride : Width aligned to 128
[all …]
/Linux-v5.10/arch/sparc/include/asm/
Dhypervisor.h118 * ERRORS: HV_EBADALIGN Buffer is badly aligned
125 * aligned. Upon success or HV_EINVAL, this service returns the
250 * stopped state. The supplied RTBA must be aligned on a 256 byte
334 * EBADALIGN Base real address is not correctly aligned
339 * must be a power of 2. The base real address must be aligned
341 * long, so for example a 32 entry queue must be aligned on a 2048
397 * ERRORS: EBADALIGN Mondo data is not 64-byte aligned or CPU list
398 * is not 2-byte aligned.
410 * aligned. The mondo data will be delivered to the cpu_mondo queues
463 * EBADALIGN RTBA is incorrectly aligned for a trap table
[all …]
/Linux-v5.10/include/uapi/sound/
Dcompress_offload.h43 } __attribute__((packed, aligned(4)));
55 } __attribute__((packed, aligned(4)));
74 } __attribute__((packed, aligned(4)));
84 } __attribute__((packed, aligned(4)));
111 } __attribute__((packed, aligned(4)));
123 } __attribute__((packed, aligned(4)));
145 } __attribute__((packed, aligned(4)));
/Linux-v5.10/tools/testing/selftests/bpf/verifier/
Dvar_off.c6 /* Make it small and 4-byte aligned */
27 /* Make it small and 4-byte aligned */
77 /* Make it small and 4-byte aligned */
102 /* Make it small and 4-byte aligned */
127 /* Make it small and 4-byte aligned. */
152 /* Make it small and 4-byte aligned. */
178 /* Make it small and 4-byte aligned. */
207 /* Make it small and 4-byte aligned. */
232 /* Make it small and 4-byte aligned. */

12345678910>>...79