Home
last modified time | relevance | path

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

12345678910>>...42

/kernel/linux/linux-6.6/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 …]
/kernel/linux/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 …]
/kernel/linux/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()
111 int const right = -shift & (bits - 1); in bitcpy() local
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/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()
319 u32 right, u32 bottom) in SetOverlayViewPort() argument
348 srcDest.ulSrcX2 = ovlWidth - 1; in SetOverlayViewPort()
[all …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/arm64/arm/neoverse-n1/
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…
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Drk3399_vpu_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>
38 struct v4l2_pix_format_mplane *pix_fmt = &ctx->src_fmt; in rk3399_vpu_set_src_img_ctrl()
42 * The pix fmt width/height are already macroblock aligned in rk3399_vpu_set_src_img_ctrl()
45 reg = VEPU_REG_IN_IMG_CTRL_ROW_LEN(pix_fmt->width); in rk3399_vpu_set_src_img_ctrl()
52 * from the right/bottom within the last macroblock. The offset from the in rk3399_vpu_set_src_img_ctrl()
[all …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2-v2/
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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/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
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 …]

12345678910>>...42