Home
last modified time | relevance | path

Searched refs:unaligned (Results 1 – 25 of 87) sorted by relevance

1234

/Linux-v5.4/Documentation/
Dunaligned-memory-access.txt15 unaligned accesses, why you need to write code that doesn't cause them,
19 The definition of an unaligned access
25 reading 4 bytes of data from address 0x10005 would be an unaligned memory
52 Why unaligned access is bad
55 The effects of performing an unaligned memory access vary from architecture
59 - Some architectures are able to perform unaligned memory accesses
61 - Some architectures raise processor exceptions when unaligned accesses
62 happen. The exception handler is able to correct the unaligned access,
64 - Some architectures raise processor exceptions when unaligned accesses
66 unaligned access to be corrected.
[all …]
/Linux-v5.4/Documentation/arm/
Dmem_alignment.rst14 unaligned memory access in general. If those access are predictable, you
15 are better to use the macros provided by include/asm/unaligned.h. The
20 trap to SIGBUS any code performing unaligned access (good for debugging bad
27 real bad - it changes the behaviour of all unaligned instructions in user
36 0 A user process performing an unaligned memory access
42 performing the unaligned access. This is of course
47 performing the unaligned access.
59 information on unaligned access occurrences plus the current mode of
/Linux-v5.4/arch/sh/include/asm/
Dunaligned-sh4a.h37 unsigned long unaligned; in sh4a_get_unaligned_cpu32() local
41 : "=z" (unaligned) in sh4a_get_unaligned_cpu32()
45 return unaligned; in sh4a_get_unaligned_cpu32()
/Linux-v5.4/arch/alpha/kernel/
Dtraps.c429 } unaligned[2]; variable
445 unaligned[0].count++; in do_entUna()
446 unaligned[0].va = (unsigned long) va; in do_entUna()
447 unaligned[0].pc = pc; in do_entUna()
754 ++unaligned[1].count; in do_entUnaUser()
755 unaligned[1].va = (unsigned long)va; in do_entUnaUser()
756 unaligned[1].pc = regs->pc - 4; in do_entUnaUser()
Dsetup.c1136 } unaligned[2]; in show_cpuinfo() local
1199 unaligned[0].count, unaligned[0].pc, unaligned[0].va, in show_cpuinfo()
1200 unaligned[1].count, unaligned[1].pc, unaligned[1].va, in show_cpuinfo()
/Linux-v5.4/Documentation/devicetree/bindings/pci/
Dti-pci.txt36 - ti,syscon-unaligned-access: phandle to the syscon DT node. The 1st argument
39 for setting the bit to enable unaligned
54 - ti,syscon-unaligned-access: phandle to the syscon DT node. The 1st argument
57 for setting the bit to enable unaligned
/Linux-v5.4/lib/
DKconfig.ubsan36 This option disables the check of unaligned memory accesses.
38 Disabling this option on architectures that support unaligned
/Linux-v5.4/arch/parisc/boot/compressed/
Dvmlinux.scr7 output_len = . - 4; /* can be at unaligned address */
/Linux-v5.4/Documentation/devicetree/bindings/mtd/
Dmtd-physmap.txt19 - no-unaligned-direct-access: boolean to disable the default direct
23 unaligned accesses as implemented in the JFFS2 code via memcpy().
24 By defining "no-unaligned-direct-access", the flash will not be
/Linux-v5.4/arch/arc/lib/
DMakefile12 lib-$(CONFIG_ISA_ARCV2) +=memcpy-archs-unaligned.o
Dmemcpy-archs.S94 ;;; CASE 1: The source is unaligned, off by 1
139 ;;; CASE 2: The source is unaligned, off by 2
180 ;;; CASE 3: The source is unaligned, off by 3
Dstrchr-700.S41 breq r7,0,.Loop ; For speed, we want this branch to be unaligned.
45 breq r12,0,.Loop ; For speed, we want this branch to be unaligned.
/Linux-v5.4/Documentation/dev-tools/
Dubsan.rst78 Detection of unaligned accesses controlled through the separate option -
80 unaligned accesses (CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y). One could
/Linux-v5.4/drivers/spi/
Dspi-imx.c306 int unaligned; in spi_imx_buf_rx_swap() local
309 unaligned = spi_imx->remainder % 4; in spi_imx_buf_rx_swap()
311 if (!unaligned) { in spi_imx_buf_rx_swap()
323 while (unaligned--) { in spi_imx_buf_rx_swap()
325 *(u8 *)spi_imx->rx_buf = (val >> (8 * unaligned)) & 0xff; in spi_imx_buf_rx_swap()
358 int unaligned; in spi_imx_buf_tx_swap() local
361 unaligned = spi_imx->count % 4; in spi_imx_buf_tx_swap()
363 if (!unaligned) { in spi_imx_buf_tx_swap()
373 while (unaligned--) { in spi_imx_buf_tx_swap()
375 val |= *(u8 *)spi_imx->tx_buf << (8 * unaligned); in spi_imx_buf_tx_swap()
/Linux-v5.4/arch/powerpc/include/asm/
Demulated_ops.h35 struct ppc_emulated_entry unaligned; member
/Linux-v5.4/arch/arm/crypto/
Dsha512-core.S_shipped551 vld1.64 {d0},[r1]! @ handles unaligned
588 vld1.64 {d1},[r1]! @ handles unaligned
625 vld1.64 {d2},[r1]! @ handles unaligned
662 vld1.64 {d3},[r1]! @ handles unaligned
699 vld1.64 {d4},[r1]! @ handles unaligned
736 vld1.64 {d5},[r1]! @ handles unaligned
773 vld1.64 {d6},[r1]! @ handles unaligned
810 vld1.64 {d7},[r1]! @ handles unaligned
847 vld1.64 {d8},[r1]! @ handles unaligned
884 vld1.64 {d9},[r1]! @ handles unaligned
[all …]
/Linux-v5.4/arch/s390/include/asm/
DKbuild25 generic-y += unaligned.h
/Linux-v5.4/arch/arc/kernel/
DMakefile19 obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o
Dhead.S51 ; gcc 7.3.1 (ARC GNU 2018.03) onwards generates unaligned access
/Linux-v5.4/arch/mips/include/asm/
DKbuild24 generic-y += unaligned.h
/Linux-v5.4/arch/arm64/include/asm/
DKbuild26 generic-y += unaligned.h
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dbgmac.c646 ring->unaligned = bgmac_dma_unaligned(bgmac, ring, in bgmac_dma_alloc()
648 if (ring->unaligned) in bgmac_dma_alloc()
671 ring->unaligned = bgmac_dma_unaligned(bgmac, ring, in bgmac_dma_alloc()
673 if (ring->unaligned) in bgmac_dma_alloc()
694 if (!ring->unaligned) in bgmac_dma_init()
700 if (ring->unaligned) in bgmac_dma_init()
712 if (!ring->unaligned) in bgmac_dma_init()
718 if (ring->unaligned) in bgmac_dma_init()
/Linux-v5.4/arch/riscv/include/asm/
DKbuild33 generic-y += unaligned.h
/Linux-v5.4/arch/parisc/kernel/
DMakefile11 signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
/Linux-v5.4/arch/hexagon/include/asm/
DKbuild36 generic-y += unaligned.h

1234