Home
last modified time | relevance | path

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

12345678910>>...25

/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/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()
111 int const right = -shift & (bits - 1); in bitcpy() local
[all …]
Dsyscopyarea.c32 int const shift = dst_idx-src_idx; in bitcpy()
33 int left, right; in bitcpy() local
52 n -= bits - dst_idx; in bitcpy()
66 n -= 8; in bitcpy()
68 while (n--) in bitcpy()
80 right = shift & (bits - 1); in bitcpy()
81 left = -shift & (bits - 1); in bitcpy()
92 *dst = comp(*src >> right, *dst, first); in bitcpy()
97 *dst = comp(d0 >> right | d1 << left, *dst, in bitcpy()
114 n -= bits - dst_idx; in bitcpy()
[all …]
/Linux-v6.1/arch/ia64/lib/
Dstrlen.S1 /* SPDX-License-Identifier: GPL-2.0 */
14 * Copyright (C) 1999, 2001 Hewlett-Packard Co
32 // string may not be 8-byte aligned. In this case we load the 8byte
55 // - the cmp r0,r0 is used as a fast way to initialize a predicate
59 // - we don't use the epilogue counter to exit the loop but we need to set
62 // - after the loop we must test for Nat values because neither the
68 // - Clearly performance tuning is required.
92 dep src=0,in0,0,3 // src=8byte-aligned in0 address
101 mov mask=-1 // our mask
105 sub tmp=64,tmp // how many bits to shift our mask on the right
[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]
56 #define rshift r14 // right 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/drivers/media/platform/verisilicon/
Drockchip_vpu2_hw_jpeg_enc.c1 // SPDX-License-Identifier: GPL-2.0
8 * ------------
10 * The quantization coefficients are 8-bit values, complying with
20 * VEPU_swreg_0-VEPU_swreg_15, and chroma table values to
21 * VEPU_swreg_16-VEPU_swreg_31. A special order is needed, neither
26 #include <media/v4l2-mem2mem.h>
42 * The format width and height are already macroblock aligned in rockchip_vpu2_set_src_img_ctrl()
45 * .vidioc_s_selection(), and the width is 4-aligned. in rockchip_vpu2_set_src_img_ctrl()
47 overfill_r = ctx->src_fmt.width - ctx->dst_fmt.width; in rockchip_vpu2_set_src_img_ctrl()
48 overfill_b = ctx->src_fmt.height - ctx->dst_fmt.height; in rockchip_vpu2_set_src_img_ctrl()
[all …]
/Linux-v6.1/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()
319 u32 right, u32 bottom) in SetOverlayViewPort() argument
348 srcDest.ulSrcX2 = ovlWidth - 1; in SetOverlayViewPort()
[all …]
/Linux-v6.1/arch/mips/include/asm/
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
31 * aligned to a 2^16 byte boundary.
33 * aligned to one byte before a 2^16 byte boundary.
43 /* Addresses begin at bit 16, but are shifted right 4 bits */ in write_maar_pair()
78 * maar_init() - initialise MAARs
87 * struct maar_config - MAAR configuration data
89 * aligned to a 2^16 byte boundary.
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_mmhubbub.c2 * Copyright 2012-15 Advanced Micro Devices, Inc.
34 mcif_wb20->mcif_wb_regs->reg
37 mcif_wb20->base.ctx
41 mcif_wb20->mcif_wb_shift->field_name, mcif_wb20->mcif_wb_mask->field_name
83 REG_UPDATE(MCIF_WB_BUFMGR_SW_CONTROL, MCIF_WB_BUFMGR_SW_LOCK, params->swlock); in mmhubbub2_config_mcif_buf()
86 REG_UPDATE(MCIF_WB_BUF_1_ADDR_Y, MCIF_WB_BUF_1_ADDR_Y, MCIF_ADDR(params->luma_address[0])); in mmhubbub2_config_mcif_buf()
87 …REG_UPDATE(MCIF_WB_BUF_1_ADDR_Y_HIGH, MCIF_WB_BUF_1_ADDR_Y_HIGH, MCIF_ADDR_HIGH(params->luma_addre… in mmhubbub2_config_mcif_buf()
88 /* right eye sub-buffer address offset for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf()
92 REG_UPDATE(MCIF_WB_BUF_1_ADDR_C, MCIF_WB_BUF_1_ADDR_C, MCIF_ADDR(params->chroma_address[0])); in mmhubbub2_config_mcif_buf()
93 …REG_UPDATE(MCIF_WB_BUF_1_ADDR_C_HIGH, MCIF_WB_BUF_1_ADDR_C_HIGH, MCIF_ADDR_HIGH(params->chroma_add… in mmhubbub2_config_mcif_buf()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/media/
Dvideo-interface-devices.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/video-interface-devices.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacopo Mondi <jacopo@jmondi.org>
11 - Sakari Ailus <sakari.ailus@linux.intel.com>
14 flash-leds:
15 $ref: /schemas/types.yaml#/definitions/phandle-array
17 An array of phandles, each referring to a flash LED, a sub-node of the LED
20 lens-focus:
[all …]
/Linux-v6.1/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
25 * but we can't really use the available area right from 0x000400 as
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
[all …]
/Linux-v6.1/fs/ntfs/
Dlayout.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * layout.h - All NTFS associated on-disk structures. Part of the Linux-NTFS
6 * Copyright (c) 2001-2005 Anton Altaparmakov
71 approx. 4.7x10^21 bytes. (-; */
117 * operator! (-8
163 * been written to disk. The values 0 and -1 (ie. 0xffff) are not used. All
170 * (obviously) finish before the last le16 of the first 512-byte sector.
175 NTFS_RECORD_TYPE magic; /* A four-byte magic identifying the record
212 FILE_BadClus = 8, /* Contains all bad clusters in the non-resident
223 FILE_reserved12 = 12, /* Reserved for future use (records 12-15). */
[all …]
/Linux-v6.1/arch/mips/kernel/
Djump_label.c23 * - the ISA bit of the target, either 0 or 1 respectively,
25 * - the amount the jump target address is shifted right to fit in the
28 * - the mask determining the size of the jump region relative to the
29 * delay-slot instruction, either 256MB or 128MB,
31 * - the jump target alignment, either 4 or 2 bytes.
34 #define J_RANGE_SHIFT (2 - J_ISA_BIT)
35 #define J_RANGE_MASK ((1ul << (26 + J_RANGE_SHIFT)) - 1)
36 #define J_ALIGN_MASK ((1ul << J_RANGE_SHIFT) - 1)
45 insn_p = (union mips_instruction *)msk_isa16_mode(e->code); in arch_jump_label_transform()
47 /* Target must have the right alignment and ISA must be preserved. */ in arch_jump_label_transform()
[all …]
/Linux-v6.1/tools/testing/selftests/powerpc/alignment/
Dcopy_first_unaligned.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Calls to copy_first which are not 128-byte aligned should be
22 unsigned int *pc = (unsigned int *)ctx->uc_mcontext.gp_regs[PT_NIP]; in signal_action_handler()
24 unsigned int *pc = (unsigned int *)ctx->uc_mcontext.uc_regs->gregs[PT_NIP]; in signal_action_handler()
32 _exit(0); /* We hit the right instruction */ in signal_action_handler()
/Linux-v6.1/arch/x86/include/asm/
Dvvar.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * A handful of variables are accessible (read-only) from userspace
25 * right place. Also, it's used by kernel code to import offsets values.
45 __attribute__((section(".vvar_" #name), aligned(16))) __visible
/Linux-v6.1/fs/cramfs/
DREADME2 --------------------------
9 All data is currently in host-endian format; neither mkcramfs nor the
22 Filename. Not generally null-terminated, but it is
23 null-padded to a multiple of 4 bytes.
25 The order of inode traversal is described as "width-first" (not to be
26 confused with breadth-first); i.e. like depth-first but listing all of
28 same order as `ls -AUR' (but without the /^\..*:$/ directory header
29 lines); put another way, the same order as `find -type d -exec
30 ls -AU1 {} \;'.
34 exist, speeds up user-space directory sorts, etc.
[all …]
/Linux-v6.1/Documentation/translations/
Dindex.rst20 ----------
33 immediately to all translations. Translations' maintainers - and
34 contributors - follow the evolution of the official documentation and they
35 maintain translations aligned as much as they can. For this reason there is
37 translation does not sound right compared to what you read in the code, please
38 inform the translation maintainer and - if you can - check also the English
/Linux-v6.1/drivers/block/drbd/
Ddrbd_interval.c1 // SPDX-License-Identifier: GPL-2.0
7 * interval_end - return end of @node
13 return this->end; in interval_end()
16 #define NODE_END(node) ((node)->sector + ((node)->size >> 9))
22 * drbd_insert_interval - insert a new interval into a tree
27 struct rb_node **new = &root->rb_node, *parent = NULL; in drbd_insert_interval()
28 sector_t this_end = this->sector + (this->size >> 9); in drbd_insert_interval()
30 BUG_ON(!IS_ALIGNED(this->size, 512)); in drbd_insert_interval()
37 if (here->end < this_end) in drbd_insert_interval()
38 here->end = this_end; in drbd_insert_interval()
[all …]
/Linux-v6.1/drivers/fsi/
Dcf-fsi-fw.h1 /* SPDX-License-Identifier: GPL-2.0+ */
61 * +---------------------------+
64 * +---------------------------+
110 * Last byte of message must be left aligned
114 /* Response data area, right aligned, unused top bits are 1 */
118 #define INT_CNT 0x30 /* 32-bit interrupt count */
119 #define BAD_INT_VEC 0x34 /* 32-bit bad interrupt vector # */
120 #define CF_STARTED 0x38 /* byte, set to -1 when copro started */
121 #define CLK_CNT 0x3c /* 32-bit, clock count (debug only) */
/Linux-v6.1/drivers/crypto/nx/
Dnx-common-powernv.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 #include "nx-842.h"
18 #include <asm/opal-api.h>
25 MODULE_ALIAS_CRYPTO("842-nx");
32 /* Below fields must be properly aligned */
36 /* Above fields must be properly aligned */
76 * setup_indirect_dde - Setup an indirect DDE
85 dde->flags = 0; in setup_indirect_dde()
86 dde->count = dde_count; in setup_indirect_dde()
87 dde->index = 0; in setup_indirect_dde()
[all …]
/Linux-v6.1/Documentation/virt/kvm/x86/
Dmsr.rst1 .. SPDX-License-Identifier: GPL-2.0
4 KVM-specific MSRs
16 ---------------
24 4-byte alignment physical address of a memory area which must be
42 An odd version indicates an in-progress update.
53 Note that although MSRs are per-CPU entities, the effect of this
63 4-byte aligned physical address of a memory area which must be in
80 updates of this structure is arbitrary and implementation-dependent.
89 An odd version indicates an in-progress update.
104 tsc-related quantity to nanoseconds
[all …]
/Linux-v6.1/drivers/staging/sm750fb/
Dsm750_accel.c1 // SPDX-License-Identifier: GPL-2.0
23 writel(regValue, accel->dprBase + offset); in write_dpr()
28 return readl(accel->dprBase + offset); in read_dpr()
33 writel(data, accel->dpPortBase); in write_dpPort()
95 if (accel->de_wait() != 0) { in sm750_hw_fillrect()
101 return -1; in sm750_hw_fillrect()
160 /* Direction of ROP2 operation: 1 = Left to Right, (-1) = Right to Left */ in sm750_hw_copyarea()
167 /* +----------+ in sm750_hw_copyarea()
169 * | +----------+ in sm750_hw_copyarea()
172 * +---|------+ | in sm750_hw_copyarea()
[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 …]

12345678910>>...25