Home
last modified time | relevance | path

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

12345678910>>...24

/linux-5.10/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-5.10/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-5.10/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-5.10/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-5.10/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-5.10/drivers/video/fbdev/core/
Dsysfillrect.c21 * Aligned pattern fill using 32/64-bit memory accesses
48 n -= bits - dst_idx; in bitfill_aligned()
62 n -= 8; in bitfill_aligned()
64 while (n--) in bitfill_aligned()
74 * Unaligned generic pattern fill using 32/64-bit memory accesses
75 * The pattern must have been expanded to a full 32/64-bit value
76 * Left/right are the appropriate shifts to convert to the pattern to be
77 * used for the next 32/64-bit word
82 unsigned long pat, int left, int right, unsigned n, int bits) in bitfill_unaligned() argument
103 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-5.10/drivers/infiniband/hw/hfi1/
Dpio_copy.c24 * - Redistributions of source code must retain the above copyright
26 * - Redistributions in binary form must reproduce the above copyright
30 * - Neither the name of Intel Corporation nor the names of its
50 /* additive distance between non-SOP and SOP space */
52 #define PIO_BLOCK_MASK (PIO_BLOCK_SIZE - 1)
57 * pio_copy - copy data block to MMIO space
60 * @from: source, must be 8 byte aligned
61 * @count: number of DWORD (32-bit) quantities to copy from source
68 * o pbuf->start always starts on a block boundary
74 void __iomem *dest = pbuf->start + SOP_DISTANCE; in pio_copy()
[all …]
/linux-5.10/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-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c1 // SPDX-License-Identifier: GPL-2.0-only
34 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-5.10/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-5.10/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-5.10/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-5.10/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-5.10/drivers/media/platform/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 …]
/linux-5.10/drivers/mtd/devices/
Dms02-nv.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * DEC MS02-NV (54-20948-01) battery backed-up NVRAM module for
16 * 0x000000 - 0x3fffff SRAM
17 * 0x400000 - 0x7fffff CSR
22 * 0x000000 - 0x0003ff diagnostic area, destroyed upon a reboot
23 * 0x000400 - ENDofRAM storage area, available to operating systems
31 * for the start address of the user-available is 0x001000 which is
32 * nicely page aligned. The area between 0x000404 and 0x000fff may
36 * operating system, a magic ID to distinguish a MS02-NV board from
42 * The firmware only handles the MS02-NV board if installed in the
[all …]
/linux-5.10/drivers/video/fbdev/kyro/
DSTG4000OverlayDevice.c57 /*clipped on-screen pixel position of overlay */
63 /*clipped pixel pos of source data within buffer thses need to be 128 bit word aligned */
69 /* on-screen pixel position of overlay */
152 return -EINVAL; in CreateOverlaySurface()
155 /* Stride in 16 byte words - 16Bpp */ in CreateOverlaySurface()
226 * Make sure that LUT not used - ?????? in CreateOverlaySurface()
280 return -EINVAL; in SetOverlayBlendMode()
309 ulBits--; in Overlap()
318 u32 left, u32 top, in SetOverlayViewPort() argument
348 srcDest.ulSrcX2 = ovlWidth - 1; in SetOverlayViewPort()
[all …]

12345678910>>...24