Home
last modified time | relevance | path

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

12345678910>>...20

/linux/Documentation/input/
H A 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/drivers/video/fbdev/core/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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/drivers/media/platform/verisilicon/
H A 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/drivers/video/fbdev/kyro/
H A 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/tools/perf/pmu-events/arch/arm64/arm/neoverse-n1/
H A Dspec_operation.json8 "PublicDescription": "Counts branches speculatively executed and were predicted right."
16 …he actual instruction), even if they are subsequently issued as multiple aligned accesses. The eve…
20 …ned by the actual instruction), even if they are subsequently issued as multiple aligned accesses."
24 …ned by the actual instruction), even if they are subsequently issued as multiple aligned accesses."
28 …"PublicDescription": "Counts Load-Exclusive operations that have been speculatively executed. Eg: …
32 …"PublicDescription": "Counts store-exclusive operations that have been speculatively executed and …
36 …"PublicDescription": "Counts store-exclusive operations that have been speculatively executed and …
40 … "PublicDescription": "Counts store-exclusive operations that have been speculatively executed."
56 …ively executed Advanced SIMD operations excluding load, store and move micro-operations that move …
80 …udes operations that force a software change of the PC, other than exception-generating operations…
/linux/drivers/gpu/drm/amd/display/dc/mmhubbub/dcn20/
H A 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/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
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/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/
H A Dspec_operation.json8 "PublicDescription": "Counts branches speculatively executed and were predicted right."
16 …"PublicDescription": "Counts micro-operations speculatively executed. This is the count of the num…
20 …he actual instruction), even if they are subsequently issued as multiple aligned accesses. The eve…
24 …ned by the actual instruction), even if they are subsequently issued as multiple aligned accesses."
28 …ned by the actual instruction), even if they are subsequently issued as multiple aligned accesses."
32 …"PublicDescription": "Counts Load-Exclusive operations that have been speculatively executed. Eg: …
36 …"PublicDescription": "Counts store-exclusive operations that have been speculatively executed and …
40 …"PublicDescription": "Counts store-exclusive operations that have been speculatively executed and …
44 … "PublicDescription": "Counts store-exclusive operations that have been speculatively executed."
60 …ively executed Advanced SIMD operations excluding load, store and move micro-operations that move …
[all …]
/linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2-v2/
H A Dspec_operation.json16 "PublicDescription": "Counts micro-operations speculatively executed. This is the count of the number of micro-operations dispatched in a cycle."
20 "PublicDescription": "Counts unaligned memory read operations issued by the CPU. This event counts unaligned accesses (as defined by the actual instruction), even if they are subsequently issued as multiple aligned accesses. The event does not count preload operations (PLD, PLI)."
24 "PublicDescription": "Counts unaligned memory write operations issued by the CPU. This event counts unaligned accesses (as defined by the actual instruction), even if they are subsequently issued as multiple aligned accesses."
28 "PublicDescription": "Counts unaligned memory operations issued by the CPU. This event counts unaligned accesses (as defined by the actual instruction), even if they are subsequently issued as multiple aligned accesses."
32 "PublicDescription": "Counts Load-Exclusive operations that have been speculatively executed. For example: LDREX, LDX"
36 "PublicDescription": "Counts store-exclusive operations that have been speculatively executed and have successfully completed the store operation."
40 "PublicDescription": "Counts store-exclusive operations that have been speculatively executed and have not successfully completed the store operation."
44 "PublicDescription": "Counts store-exclusive operations that have been speculatively executed."
60 "PublicDescription": "Counts speculatively executed Advanced SIMD operations excluding load, store and move micro-operation
[all...]
/linux/Documentation/devicetree/bindings/media/
H A 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/drivers/mtd/devices/
H A 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/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-regs.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Author: Ping-Hsun Wu <ping-hsun.wu@mediatek.com>
8 #include <media/v4l2-common.h>
9 #include <media/videobuf2-v4l2.h>
10 #include <media/videobuf2-dma-contig.h>
11 #include "mtk-mdp3-core.h"
12 #include "mtk-mdp3-regs.h"
13 #include "mtk-mdp3-m2m.h"
22 for (i = 0; i < mdp_data->format_len; ++i) { in mdp_find_fmt()
23 if (!(mdp_data->format[i].flags & flag)) in mdp_find_fmt()
[all …]
/linux/arch/mips/kernel/
H A 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/tools/testing/selftests/powerpc/alignment/
H A 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/fs/cramfs/
H A 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/drivers/crypto/nx/
H A 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/Documentation/translations/
H A Dindex.rst21 ----------
34 immediately to all translations. Translations' maintainers - and
35 contributors - follow the evolution of the official documentation and they
36 maintain translations aligned as much as they can. For this reason there is
38 translation does not sound right compared to what you read in the code, please
39 inform the translation maintainer and - if you can - check also the English
/linux/Documentation/virt/kvm/x86/
H A 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/drivers/staging/sm750fb/
H A Dsm750_accel.c1 // SPDX-License-Identifier: GPL-2.0
22 writel(regValue, accel->dprBase + offset); in write_dpr()
27 return readl(accel->dprBase + offset); in read_dpr()
32 writel(data, accel->dpPortBase); in write_dpPort()
94 if (accel->de_wait() != 0) { in sm750_hw_fillrect()
100 return -1; in sm750_hw_fillrect()
159 /* Direction of ROP2 operation: 1 = Left to Right, (-1) = Right to Left */ in sm750_hw_copyarea()
166 /* +----------+ in sm750_hw_copyarea()
168 * | +----------+ in sm750_hw_copyarea()
171 * +---|------+ | in sm750_hw_copyarea()
[all …]
/linux/drivers/fsi/
H A 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/arch/alpha/lib/
H A 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 …]
/linux/drivers/block/drbd/
H A Ddrbd_interval.c1 // SPDX-License-Identifier: GPL-2.0-only
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 …]

12345678910>>...20