Home
last modified time | relevance | path

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

12345678910>>...26

/Linux-v6.1/arch/ia64/lib/
Dclear_user.S1 /* SPDX-License-Identifier: GPL-2.0 */
11 * Copyright (C) 1998, 1999, 2001 Hewlett-Packard Co
37 // - we check whether or not the buffer is small, i.e., less than 17
40 // - Otherwise we go progressively from 1 byte store to 8byte store in
65 adds tmp=-1,len // br.ctop is repeat/until
83 adds len=-1,len // countdown length using len
88 // len contains bytes left
99 // The use of len/len2 for countdown of the number of bytes left
106 EX( .Lexit3, (p6) st1 [buf]=r0,1 ) // 1-byte aligned
107 (p6) adds len=-1,len;; // sync because buf is modified
[all …]
Dmemset.S1 /* SPDX-License-Identifier: GPL-2.0 */
4 Copyright (c) 2002 Hewlett-Packard Co/CERN
15 we get to a 16B-aligned address, then loop on 128 B chunks using an
42 // This routine uses only scratch predicate registers (p6 - p15)
43 #define p_scr p6 // default register for same-cycle branches
72 and ptr2 = -(MIN1+1), dest // aligned address
93 (p_y) add cnt = -8, cnt //
96 (p_y) st8 [ptr2] = value,-4 //
100 (p_yy) add cnt = -4, cnt //
103 (p_yy) st4 [ptr2] = value,-2 //
[all …]
Dmemcpy.S1 /* SPDX-License-Identifier: GPL-2.0 */
13 * Copyright (C) 2000-2001 Hewlett-Packard Co
15 * David Mosberger-Tang <davidm@hpl.hp.com>
69 shr.u cnt=in2,3 // number of 8-byte words to copy
73 adds cnt=-1,cnt // br.ctop is repeat/until
103 (p[N-1])st8 [dst]=val[N-1],8
109 mov pr=saved_pr,-1
114 * Small (<16 bytes) unaligned copying is done via a simple byte-at-the-time
117 * issues, we want to avoid read-modify-write of entire words.
121 adds cnt=-1,in2 // br.ctop is repeat/until
[all …]
Dcopy_user.S1 /* SPDX-License-Identifier: GPL-2.0 */
23 * Copyright (C) 2000-2001 Hewlett-Packard Co
27 * - handle the case where we have more than 16 bytes and the alignment
29 * - more benchmarking
30 * - fix extraneous stop bit introduced by the EX() macro.
42 #define EPI p[PIPE_DEPTH-1]
57 #define lshift r15 // left shift in bits
83 adds len2=-1,len // br.ctop is repeat/until
116 EX(.failure_out,(EPI) st1 [dst1]=val1[PIPE_DEPTH-1],1)
125 // Not 8-byte aligned
[all …]
/Linux-v6.1/arch/alpha/lib/
Dev6-clear_user.S1 /* SPDX-License-Identifier: GPL-2.0 */
3 * arch/alpha/lib/ev6-clear_user.S
4 * 21264 version contributed by Rick Gorton <rick.gorton@alpha-processor.com>
8 * We have to make sure that $0 is always up-to-date and contains the
9 * right "bytes left to zero" value (and that it is updated only _after_
16 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html
18 * E - either cluster
19 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1
20 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
25 * it's going to be worth the effort to hand-unroll a big loop, and use wh64.
[all …]
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
88 subq $16,$3,$16 # E : $16 is new aligned destination
[all …]
Dev6-memchr.S1 /* SPDX-License-Identifier: GPL-2.0 */
3 * arch/alpha/lib/ev6-memchr.S
5 * 21264 version contributed by Rick Gorton <rick.gorton@alpha-processor.com>
9 * - memory accessed as aligned quadwords only
10 * - uses cmpbge to compare 8 bytes in parallel
11 * - does binary search to find 0 byte in last
18 * - only minimum number of quadwords may be accessed
19 * - the third argument is an unsigned long
24 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html
26 * E - either cluster
[all …]
Dev6-memcpy.S1 /* SPDX-License-Identifier: GPL-2.0 */
3 * arch/alpha/lib/ev6-memcpy.S
4 * 21264 version by Rick Gorton <rick.gorton@alpha-processor.com>
8 * - memory accessed as aligned quadwords only
9 * - uses bcmpge to compare 8 bytes in parallel
14 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html
16 * E - either cluster
17 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1
18 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1
21 * $1,$2, - scratch
[all …]
/Linux-v6.1/include/linux/
Dregset.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * User-mode machine state access
22 size_t left; member
27 if (s->left) { in membuf_zero()
28 if (size > s->left) in membuf_zero()
29 size = s->left; in membuf_zero()
30 memset(s->p, 0, size); in membuf_zero()
31 s->p += size; in membuf_zero()
32 s->left -= size; in membuf_zero()
34 return s->left; in membuf_zero()
[all …]
/Linux-v6.1/Documentation/input/
Dgamepad.rst1 ---------------------------
3 ---------------------------
11 having user-space deal with different button-mappings for each gamepad, this
25 | <===DP===> |SE| |ST| (W) -|- (E) | |
35 D-Pad Left Right Action Pad
43 - Action-Pad
44 4 buttons in diamonds-shape (on the right side). The buttons are
47 - D-Pad (Direction-pad)
48 4 buttons (on the left side) that point up, down, left and right.
49 - Menu-Pad
[all …]
/Linux-v6.1/arch/sparc/lib/
DM7memcpy.S15 * Fast assembler language version of the following C-program for memcpy
16 * which represents the `standard' for the C-library.
26 * } while (--n != 0);
37 * 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
60 * copy with ldx/stx in 8-way unrolled loop;
61 * copy final 0-63 bytes; exit with dst addr
62 * } else { src/dst aligned; count > MED_MAX
[all …]
DM7memset.S15 * Fast assembler language version of the following C-program for memset
16 * which represents the `standard' for the C-library.
25 * } while (--n != 0);
35 * Then store as many 4-byte chunks, followed by trailing bytes.
39 * store 8-bytes chunks to align the address on 64 byte boundary
42 * 64-byte cache line to zero which will also clear the
49 * In the main loop, continue pre-setting the first long
56 * store remaining data in 64-byte chunks until less than
59 * Store as many 8-byte chunks, followed by trailing bytes.
109 .size M7clear_page,.-M7clear_page
[all …]
/Linux-v6.1/drivers/infiniband/hw/hfi1/
Dpio_copy.c1 // SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause
8 /* additive distance between non-SOP and SOP space */
10 #define PIO_BLOCK_MASK (PIO_BLOCK_SIZE - 1)
15 * pio_copy - copy data block to MMIO space
19 * @from: source, must be 8 byte aligned
20 * @count: number of DWORD (32-bit) quantities to copy from source
27 * o pbuf->start always starts on a block boundary
33 void __iomem *dest = pbuf->start + SOP_DISTANCE; in pio_copy()
35 void __iomem *dend; /* 8-byte data end */ in pio_copy()
41 /* calculate where the QWORD data ends - in SOP=1 space */ in pio_copy()
[all …]
/Linux-v6.1/drivers/video/fbdev/core/
Dsysfillrect.c21 * Aligned pattern fill using 32/64-bit memory accesses
48 n -= bits - dst_idx; in bitfill_aligned()
64 * Unaligned generic pattern fill using 32/64-bit memory accesses
65 * The pattern must have been expanded to a full 32/64-bit value
66 * Left/right are the appropriate shifts to convert to the pattern to be
67 * used for the next 32/64-bit word
72 unsigned long pat, int left, int right, unsigned n, int bits) in bitfill_unaligned() argument
93 pat = pat << left | pat >> right; in bitfill_unaligned()
94 n -= bits - dst_idx; in bitfill_unaligned()
101 pat = pat << left | pat >> right; in bitfill_unaligned()
[all …]
Dcfbfillrect.c4 * Copyright (C) 2000 James Simmons (jsimmons@linux-fbdev.org)
31 * Aligned pattern fill using 32/64-bit memory accesses
58 n -= bits - dst_idx; in bitfill_aligned()
72 n -= 8; in bitfill_aligned()
74 while (n--) in bitfill_aligned()
85 * Unaligned generic pattern fill using 32/64-bit memory accesses
86 * The pattern must have been expanded to a full 32/64-bit value
87 * Left/right are the appropriate shifts to convert to the pattern to be
88 * used for the next 32/64-bit word
93 unsigned long pat, int left, int right, unsigned n, int bits) in bitfill_unaligned() argument
[all …]
Dcfbcopyarea.c4 * Copyright (C) 1999-2005 James Simmons <jsimmons@www.infradead.org>
21 * the ones for filling, i.e. in aligned and unaligned versions. This would
51 int const shift = dst_idx-src_idx; in bitcpy()
58 memmove((char *)dst + ((dst_idx & (bits - 1))) / 8, in bitcpy()
59 (char *)src + ((src_idx & (bits - 1))) / 8, n / 8); in bitcpy()
82 n -= bits - dst_idx; in bitcpy()
96 n -= 8; in bitcpy()
98 while (n--) in bitcpy()
110 int const left = shift & (bits - 1); in bitcpy() local
111 int const right = -shift & (bits - 1); in bitcpy()
[all …]
/Linux-v6.1/Documentation/sparc/oradax/
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 …]
/Linux-v6.1/arch/riscv/lib/
Duaccess.S2 #include <asm-generic/export.h>
4 #include <asm/asm-extable.h>
25 * a0 - start of uncopied dst
26 * a1 - start of uncopied src
27 * a2 - size
28 * t0 - end of uncopied dst
40 * Copy first bytes until dst is aligned to word boundary.
41 * a0 - start of dst
42 * t1 - start of aligned dst
44 addi t1, a0, SZREG-1
[all …]
/Linux-v6.1/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c1 // SPDX-License-Identifier: GPL-2.0-only
35 frag_size = min(len, skb_linear_data_len - start); in chcr_get_nfrags_to_send()
37 start -= skb_linear_data_len; in chcr_get_nfrags_to_send()
39 frag = &si->frags[frag_idx]; in chcr_get_nfrags_to_send()
42 start -= frag_size; in chcr_get_nfrags_to_send()
44 frag = &si->frags[frag_idx]; in chcr_get_nfrags_to_send()
47 frag_size = min(len, skb_frag_size(frag) - start); in chcr_get_nfrags_to_send()
49 len -= frag_size; in chcr_get_nfrags_to_send()
53 frag_size = min(len, skb_frag_size(&si->frags[frag_idx])); in chcr_get_nfrags_to_send()
54 len -= frag_size; in chcr_get_nfrags_to_send()
[all …]
/Linux-v6.1/arch/powerpc/lib/
Dmemcmp_64.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 #include <asm/ppc-opcode.h>
42 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1); \
43 std r4,-STACKFRAMESIZE+STK_REG(R30)(r1); \
44 std r5,-STACKFRAMESIZE+STK_REG(R29)(r1); \
46 stdu r1,-STACKFRAMESIZE(r1); \
58 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1); \
59 std r4,-STACKFRAMESIZE+STK_REG(R30)(r1); \
60 std r5,-STACKFRAMESIZE+STK_REG(R29)(r1); \
62 stdu r1,-STACKFRAMESIZE(r1); \
[all …]
/Linux-v6.1/tools/testing/selftests/powerpc/stringloops/
Dmemcmp_64.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 #include <asm/ppc-opcode.h>
42 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1); \
43 std r4,-STACKFRAMESIZE+STK_REG(R30)(r1); \
44 std r5,-STACKFRAMESIZE+STK_REG(R29)(r1); \
46 stdu r1,-STACKFRAMESIZE(r1); \
58 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1); \
59 std r4,-STACKFRAMESIZE+STK_REG(R30)(r1); \
60 std r5,-STACKFRAMESIZE+STK_REG(R29)(r1); \
62 stdu r1,-STACKFRAMESIZE(r1); \
[all …]
/Linux-v6.1/drivers/gpu/drm/vboxvideo/
Dvboxvideo.h1 /* SPDX-License-Identifier: MIT */
2 /* Copyright (C) 2006-2016 Oracle Corporation */
18 * Last 4096 bytes - Adapter information area.
19 * 4096 bytes aligned miniport heap (value specified in the config rouded up).
20 * Slack - what left after dividing the VRAM.
21 * 4096 bytes aligned framebuffers:
74 * len_and_flags & ~VBVA_F_RECORD_PARTIAL >= VBVA_RING_BUFFER_SIZE -
80 #define VBVA_RING_BUFFER_SIZE (4194304 - 1024)
146 /* guest->host commands */
165 /* G->H DMA command */
[all …]
/Linux-v6.1/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-regs.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Author: Ping-Hsun Wu <ping-hsun.wu@mediatek.com>
7 #include <media/v4l2-common.h>
8 #include <media/videobuf2-v4l2.h>
9 #include <media/videobuf2-dma-contig.h>
10 #include "mtk-mdp3-core.h"
11 #include "mtk-mdp3-regs.h"
12 #include "mtk-mdp3-m2m.h"
15 * All 10-bit related formats are not added in the basic format list,
292 struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp; in mdp_map_ycbcr_prof_mplane()
[all …]
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dselection-api-configuration.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
15 time the cropping/composing rectangles may have to be aligned, and both
20 :ref:`constraint flags <v4l2-selection-flags>`.
26 See figure :ref:`sel-targets-capture` for examples of the selection
30 The range of coordinates of the top left corner, width and height of
32 target. It is recommended for the driver developers to put the top/left
36 The top left corner, width and height of the source rectangle, that is
51 coordinates are expressed in pixels. The rectangle's top/left corner
63 :ref:`constraint flags <v4l2-selection-flags>`.
91 All coordinates are expressed in pixels. The top/left corner is always
[all …]
/Linux-v6.1/drivers/media/platform/st/sti/delta/
Ddelta-debug.c1 // SPDX-License-Identifier: GPL-2.0
10 #include "delta-debug.h"
20 (char *)&s->streamformat, s->width, s->height, in delta_streaminfo_str()
21 s->profile, s->level, s->dpb, in delta_streaminfo_str()
22 (s->field == V4L2_FIELD_NONE) ? "progressive" : "interlaced", in delta_streaminfo_str()
23 s->other, in delta_streaminfo_str()
24 s->flags & DELTA_STREAMINFO_FLAG_CROP ? "crop=" : "", in delta_streaminfo_str()
25 s->crop.width, s->crop.height, in delta_streaminfo_str()
26 s->crop.left, s->crop.top, in delta_streaminfo_str()
27 s->flags & DELTA_STREAMINFO_FLAG_PIXELASPECT ? "par=" : "", in delta_streaminfo_str()
[all …]

12345678910>>...26