Home
last modified time | relevance | path

Searched +full:address +full:- +full:aligned (Results 1 – 25 of 1042) sorted by relevance

12345678910>>...42

/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/
H A Dia_css_env.h1 /* SPDX-License-Identifier: GPL-2.0 */
26 * CSS-API host-code by the environment in which the CSS-API code runs.
52 /** Store an 8 bit value into an address in the CSS HW address space.
53 The address must be an 8 bit aligned address. */
55 /** Store a 16 bit value into an address in the CSS HW address space.
56 The address must be a 16 bit aligned address. */
58 /** Store a 32 bit value into an address in the CSS HW address space.
59 The address must be a 32 bit aligned address. */
61 /** Load an 8 bit value from an address in the CSS HW address
62 space. The address must be an 8 bit aligned address. */
[all …]
/OK3568_Linux_fs/kernel/arch/sparc/include/asm/
H A Dhypervisor.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 * -----------------------------------------------
23 * -----------------------------------------------
25 * The second type are "hyper-fast traps" which encode the function
27 * numbers > 0x80. The register usage for hyper-fast traps is as
30 * -----------------------------------------------
36 * -----------------------------------------------
44 * defined below. So, for example, if a hyper-fast trap takes
49 * is invalid, HV_EBADTRAP will be returned in %o0. Also, all 64-bits
63 #define HV_ENORADDR 2 /* Invalid real address */
[all …]
/OK3568_Linux_fs/u-boot/include/
H A Dmemalign.h4 * SPDX-License-Identifier: GPL-2.0+
28 * 1) The beginning of the array can be advanced enough to be aligned.
30 * 2) The size of the aligned portion of the array is a multiple of the minimum
33 * 3) The aligned portion contains enough space for the original number of
36 * The macro then creates a pointer to the aligned portion of this array and
37 * assigns to the pointer the address of the first element in the aligned
50 * 1) The resulting buffer is guaranteed to be aligned to the value of
55 * if you want the address of the buffer, which you probably do, to pass it
57 * In the macro case it will be the address of the pointer, not the address
59 * would be the address of the buffer. So if you are replacing hard coded
[all …]
/OK3568_Linux_fs/kernel/arch/alpha/lib/
H A Dev6-memset.S1 /* SPDX-License-Identifier: GPL-2.0 */
3 * arch/alpha/lib/ev6-memset.S
8 * 21264 version contributed by Rick Gorton <rick.gorton@alpha-processor.com>
13 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html
15 * E - either cluster
16 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1
17 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
48 * undertake a major re-write to interleave the constant materialization
49 * with other parts of the fall-through code. This is important, even
58 addq $18,$16,$6 # E : max address to write to
[all …]
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.displaying-bmps1 If you are experiencing hangups/data-aborts when trying to display a BMP image,
6 make sure all data is properly aligned, and in many situations simply choosing
7 a 32 bit aligned address is enough to ensure proper alignment. This is not
11 BMP images have a header that starts with 2 byte-size fields followed by mostly
23 When placed in an aligned address such as 0x80a00000, char signature offsets
25 0x80a00006, and so on...). When these fields are accessed by U-Boot, a 32 bit
26 access is generated at a non-32-bit-aligned address, causing a data abort.
27 The proper alignment for BMP images is therefore: 32-bit-aligned-address + 2.
/OK3568_Linux_fs/kernel/Documentation/sparc/oradax/
H A Ddax-hv-api.txt3 Publication date 2017-09-25 08:21
5 Extracted via "pdftotext -f 547 -l 572 -layout sun4v_20170925.pdf"
16 live-migration and other system management activities.
20 …high speed processoring of database-centric operations. The coprocessors may support one or more of
28 …e Completion Area and, unless execution order is specifically restricted through the use of serial-
45 …device node in the guest MD (Section 8.24.17, “Database Analytics Accelerators (DAX) virtual-device
51 36.1.1.1. "ORCL,sun4v-dax" Device Compatibility
54 • No-op/Sync
81 36.1.1.2. "ORCL,sun4v-dax-fc" Device Compatibility
82 … "ORCL,sun4v-dax-fc" is compatible with the "ORCL,sun4v-dax" interface, and includes additional CCB
[all …]
/OK3568_Linux_fs/kernel/arch/xtensa/lib/
H A Dchecksum.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
29 * This function assumes 2- or 4-byte alignment. Other alignments will fail!
32 /* ONES_ADD converts twos-complement math to ones-complement. */
44 * is aligned on either a 2-byte or 4-byte boundary.
48 bnez a5, 8f /* branch if 2-byte aligned */
49 /* Fall-through on common case, 4-byte alignment */
51 srli a5, a3, 5 /* 32-byte chunks */
57 add a5, a5, a2 /* a5 = end of last 32-byte chunk */
81 extui a5, a3, 2, 3 /* remaining 4-byte chunks */
87 add a5, a5, a2 /* a5 = end of last 4-byte chunk */
[all …]
H A Dmemcopy.S2 * arch/xtensa/lib/hal/memcopy.S -- Core HAL library functions
9 * Copyright (C) 2002 - 2012 Tensilica Inc.
24 * 32-bit load and store instructions (as required for these
34 * If source is aligned,
39 * This code tries to use fall-through branches for the common
40 * case of aligned source and destination and multiple
44 * a0/ return address
71 add a7, a3, a4 # a7 = end address for source
89 .Ldst1mod2: # dst is only byte aligned
95 addi a4, a4, -1
[all …]
/OK3568_Linux_fs/kernel/arch/arm/mm/
H A Dtlb-v7.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm/mm/tlb-v7.S
5 * Copyright (C) 1997-2002 Russell King
14 #include <asm/asm-offsets.h>
17 #include "proc-macros.S"
22 * Invalidate a range of TLB entries in the specified address space.
24 * - start - start address (may not be aligned)
25 * - end - end address (exclusive, may not be aligned)
26 * - vma - vma_struct describing address range
29 * - the "Invalidate single entry" instruction will invalidate
[all …]
H A Dtlb-v6.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm/mm/tlb-v6.S
5 * Copyright (C) 1997-2002 Russell King
12 #include <asm/asm-offsets.h>
16 #include "proc-macros.S"
23 * Invalidate a range of TLB entries in the specified address space.
25 * - start - start address (may not be aligned)
26 * - end - end address (exclusive, may not be aligned)
27 * - vma - vma_struct describing address range
30 * - the "Invalidate single entry" instruction will invalidate
[all …]
H A Dcache-v4wt.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm/mm/cache-v4wt.S
5 * Copyright (C) 1997-2002 Russell king
15 #include "proc-macros.S"
55 * Invalidate all cache entries in a particular address
78 * address space.
80 * - start - start address (inclusive, page aligned)
81 * - end - end address (exclusive, page aligned)
82 * - flags - vma_area_struct flags describing address space
101 * region described by start. If you have non-snooping
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Detherdevice.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
68 * is_link_local_ether_addr - Determine if given Ethernet address is link-local
69 * @addr: Pointer to a six-byte array containing the Ethernet address
71 * Return true if address is link local reserved addr (01:80:c2:00:00:0X) per
74 * Please note: addr must be aligned to u16.
91 * is_zero_ether_addr - Determine if give Ethernet address is all zeros.
92 * @addr: Pointer to a six-byte array containing the Ethernet address
94 * Return true if the address is all zeroes.
96 * Please note: addr must be aligned to u16.
110 * is_multicast_ether_addr - Determine if the Ethernet address is a multicast.
[all …]
/OK3568_Linux_fs/kernel/sound/soc/fsl/
H A Dfsl_dma.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * mpc8610-pcm.h - ALSA PCM interface for the Freescale MPC8610 SoC
15 __be32 clndar; /* Current link descriptor address register */
17 __be32 sar; /* Source address register */
19 __be32 dar; /* Destination address register */
21 __be32 enlndar; /* Next link descriptor extended address reg */
22 __be32 nlndar; /* Next link descriptor address register */
25 __be32 clsdar; /* Current list descriptor address register */
26 __be32 enlsdar; /* Next list descriptor extended address reg */
27 __be32 nlsdar; /* Next list descriptor address register */
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Dpsp_gfx_if.h46 GFX_CTRL_CMD_ID_ENABLE_INT = 0x00050000, /* enable PSP-to-Gfx interrupt */
47 GFX_CTRL_CMD_ID_DISABLE_INT = 0x00060000, /* disable PSP-to-Gfx interrupt */
57 /*-----------------------------------------------------------------------------
64 * SRBM-to-PSP mailbox registers (total 8 registers).
109 …hy_addr_lo; /* bits [31:0] of the GPU Virtual address of the TA binary (must be 4 KB aligne…
110 …uint32_t app_phy_addr_hi; /* bits [63:32] of the GPU Virtual address of the TA binar…
112 …_buf_phy_addr_lo; /* bits [31:0] of the GPU Virtual address of CMD buffer (must be 4 KB aligned
113 …uint32_t cmd_buf_phy_addr_hi; /* bits [63:32] of the GPU Virtual address of CMD buffer */
135 … buf_phy_addr_lo; /* bits [31:0] of GPU Virtual address of the buffer (must be 4 KB aligned
136 uint32_t buf_phy_addr_hi; /* bits [63:32] of GPU Virtual address of the buffer */
[all …]
/OK3568_Linux_fs/kernel/arch/s390/include/asm/
H A Dqdio.h1 /* SPDX-License-Identifier: GPL-2.0 */
18 #define QDIO_MAX_BUFFERS_MASK (QDIO_MAX_BUFFERS_PER_Q - 1)
28 * struct qdesfmt0 - queue descriptor, format 0
29 * @sliba: absolute address of storage list information block
30 * @sla: absolute address of storage list
31 * @slsba: absolute address of storage list state block
52 * struct qdr - queue description record (QDR)
59 * @qiba: absolute address of queue information block
90 * struct qib - queue information block (QIB)
95 * @isliba: absolute address of first input SLIB
[all …]
/OK3568_Linux_fs/kernel/arch/riscv/lib/
H A Duaccess.S2 #include <asm-generic/export.h>
23 /* Use word-oriented copy only if low-order bits match */
24 andi t0, a0, SZREG-1
25 andi t1, a1, SZREG-1
28 addi t0, a1, SZREG-1
29 andi t1, a3, ~(SZREG-1)
30 andi t0, t0, ~(SZREG-1)
32 * a3: terminal address of source region
33 * t0: lowest XLEN-aligned address in source
34 * t1: highest XLEN-aligned address in source
[all …]
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dvhost_types.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 /* Userspace interface for in-kernel virtio accelerators. */
26 int fd; /* Pass -1 to unbind from file. */
35 /* Whether log address is valid. If set enables logging. */
40 /* Used structure address. Must be 32 bit aligned */
42 /* Available structure address. Must be 16 bit aligned */
46 * address. Address must be 32 bit aligned. */
104 /* All region addresses and sizes must be 4K aligned. */
116 * Used by QEMU userspace to ensure a consistent vhost-scsi ABI.
118 * ABI Rev 0: July 2012 version starting point for v3.6-rc merge candidate +
[all …]
/OK3568_Linux_fs/kernel/arch/x86/platform/intel-quark/
H A Dimr.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * imr.c -- Intel Isolated Memory Region driver
6 * Copyright(c) 2015 Bryan O'Donoghue <pure.logic@nexus-software.ie>
10 * When a device behind a masked port performs an access - snooped or
22 * See quark-x1000-datasheet.pdf for register definitions.
23 * http://www.intel.com/content/dam/www/public/us/en/documents/datasheets/quark-x1000-datasheet.pdf
28 #include <asm-generic/sections.h>
50 * See quark-x1000-datasheet.pdf sections 12.7.4.5 and 12.7.4.6 for
56 * 23:2 1 KiB aligned lo address
61 * 23:2 1 KiB aligned hi address
[all …]
/OK3568_Linux_fs/kernel/Documentation/core-api/
H A Dunaligned-memory-access.rst23 from an address that is not evenly divisible by N (i.e. addr % N != 0).
24 For example, reading 4 bytes of data from address 0x10004 is fine, but
25 reading 4 bytes of data from address 0x10005 would be an unaligned memory
32 which will compile to multiple-byte memory access instructions, namely when
40 When accessing N bytes of memory, the base memory address must be evenly
59 - Some architectures are able to perform unaligned memory accesses
61 - Some architectures raise processor exceptions when unaligned accesses
64 - Some architectures raise processor exceptions when unaligned accesses
67 - Some architectures are not capable of unaligned memory access, but will
94 starting at address 0x10000. With a basic level of understanding, it would
[all …]
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Dnand_spl_loaders.c6 /* offs has to be aligned to a page address! */ in nand_spl_load_image()
8 lastblock = (offs + size - 1) / CONFIG_SYS_NAND_BLOCK_SIZE; in nand_spl_load_image()
18 * When offs is not aligned to page address the in nand_spl_load_image()
26 dst = (void *)((int)dst - page_offset); in nand_spl_load_image()
46 * Temporary storage for non NAND page aligned and non NAND page sized
54 * nand_spl_read_block - Read data from physical eraseblock into a buffer
58 * @dst: Address of the destination buffer
86 * Non page aligned reads go to the scratch buffer. in nand_spl_read_block()
87 * Page aligned reads go directly to the destination. in nand_spl_read_block()
91 read = min(len, CONFIG_SYS_NAND_PAGE_SIZE - offset); in nand_spl_read_block()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/lib/
H A Dcache-pl310.c6 * SPDX-License-Identifier: GPL-2.0+
19 writel(0, &pl310->pl310_cache_sync); in pl310_cache_sync()
26 assoc_16 = readl(&pl310->pl310_aux_ctrl) & in pl310_background_op_all_ways()
33 way_mask = (1 << associativity) - 1; in pl310_background_op_all_ways()
44 pl310_background_op_all_ways(&pl310->pl310_inv_way); in v7_outer_cache_inval_all()
49 pl310_background_op_all_ways(&pl310->pl310_clean_inv_way); in v7_outer_cache_flush_all()
52 /* Flush(clean invalidate) memory from start to stop-1 */
59 * Align to the beginning of cache-line - this ensures that in v7_outer_cache_flush_range()
62 start &= ~(line_size - 1); in v7_outer_cache_flush_range()
65 writel(pa, &pl310->pl310_clean_inv_line_pa); in v7_outer_cache_flush_range()
[all …]
/OK3568_Linux_fs/kernel/sound/pci/trident/
H A Dtrident_memory.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Trident 4DWave-NX memory page allocation (TLB area)
20 * aligned pages in others
23 do { (trident)->tlb.entries[page] = cpu_to_le32((addr) & ~(SNDRV_TRIDENT_PAGE_SIZE-1)); \
24 (trident)->tlb.shadow_entries[page] = (ptr); } while (0)
26 (void*)((trident)->tlb.shadow_entries[page])
28 (dma_addr_t)le32_to_cpu((trident->tlb.entries[page]) & ~(SNDRV_TRIDENT_PAGE_SIZE - 1))
33 #define MAX_ALIGN_PAGES SNDRV_TRIDENT_MAX_PAGES /* maxmium aligned pages */
37 …nt,page) __set_tlb_bus(trident, page, (unsigned long)trident->tlb.silent_page.area, trident->tlb.s…
38 /* get aligned page from offset address */
[all …]
/OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu541_reg.h8 * http://www.apache.org/licenses/LICENSE-2.0
25 * Address: 0x0000 Access type: read only
26 * VEPU version. It contains IP function summary and sub-version informations.
29 /* Sub-version(version 1.1) */
45 * 2'd0: 8-area OSD, with 256-color palette
51 * pre-process filter capability
52 * 2'd0: basic pre-process filter
53 * 2'd3: no pre-process filter
68 * Address: 0x0004 Access type: read and write/write only
82 * 2'd2: multi-frame encode start with link table
[all …]
/OK3568_Linux_fs/kernel/arch/mips/include/asm/octeon/
H A Dcvmx-fau.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
119 * Builds a store I/O address for writing to the FAU
124 * - Step by 2 for 16 bit access.
125 * - Step by 4 for 32 bit access.
126 * - Step by 8 for 64 bit access.
127 * Returns Address to store for atomic update
137 * Builds a I/O address for accessing the FAU
141 * - 0 = Don't wait
[all …]
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Dmaar.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
14 * platform_maar_init() - perform platform-level MAAR configuration
18 * MAAR pairs as required, from 0 up to the maximum of num_pairs-1, and returns
28 * write_maar_pair() - write to a pair of MAARs
30 * @lower: The lowest address that the MAAR pair will affect. Must be
31 * aligned to a 2^16 byte boundary.
32 * @upper: The highest address that the MAAR pair will affect. Must be
33 * aligned to one byte before a 2^16 byte boundary.
52 * Write the upper address & attributes (both MIPS_MAAR_VL and in write_maar_pair()
65 /* Write the lower address & attributes */ in write_maar_pair()
[all …]

12345678910>>...42