Home
last modified time | relevance | path

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

12345678910>>...31

/openbmc/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 …]
/openbmc/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 …]
/openbmc/linux/arch/ia64/lib/
H A 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 …]
H A 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 …]
/openbmc/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 …]
/openbmc/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…
/openbmc/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 …]
/openbmc/linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2-v2/
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 …]
/openbmc/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 …]
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DOGL-UK-1.03 You are encouraged to use and re-use the Information that is available under this licence, the Open…
6 Use of copyright and database right material expressly made available under this licence (the ‘Info…
8 The Licensor grants you a worldwide, royalty-free, perpetual, non-exclusive licence to use the Info…
10 …freedom under fair dealing or fair use or any other copyright or database right exceptions and lim…
29 - personal data in the Information;
30- Information that has neither been published nor disclosed under information access legislation (…
31- departmental or public sector organisation logos, crests and the Royal Arms except where they fo…
32 - military insignia;
33 - third party rights the Information Provider is not authorised to license;
34- Information subject to other intellectual property rights, including patents, trademarks, and de…
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/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 …]
/openbmc/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 …]
/openbmc/phosphor-webui/app/common/styles/layout/
H A Dsection.scss5 <div class="section-header">
6 <h2 class="section-title">Section Title</h2>
7 ... any element added here will be right aligned
9 <div class="section-content">
12 <div class="section-content">
19 margin-bottom: 3rem;
22 .section-header {
24 justify-content: space-between;
25 border-bottom: 1px solid $border-color-01;
26 padding-bottom: 0.5rem;
[all …]
/openbmc/qemu/hw/openrisc/
H A Dboot.c2 * SPDX-License-Identifier: GPL-2.0-or-later
11 #include "exec/cpu-defs.h"
18 #include "qemu/error-report.h"
46 ram_size - KERNEL_LOAD_ADDR); in openrisc_load_kernel()
71 /* We put the initrd right after the kernel; page aligned. */ in openrisc_load_initrd()
74 size = load_ramdisk(filename, start, mem_size - start); in openrisc_load_initrd()
76 size = load_image_targphys(filename, start, mem_size - start); in openrisc_load_initrd()
85 "linux,initrd-start", start); in openrisc_load_initrd()
87 "linux,initrd-end", start + size); in openrisc_load_initrd()
101 error_report("invalid device-tree"); in openrisc_load_fdt()
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/linux/fs/ntfs/
H A 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 …]
/openbmc/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()
/openbmc/linux/arch/x86/include/asm/
H A 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
/openbmc/u-boot/common/init/
H A Dboard_init.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Code shared between SPL and U-Boot proper
35 * - GD is aligned down on a 16-byte boundary
37 * - the early malloc arena is not aligned, therefore it follows the stack
40 * - GD is allocated last, so that the return value of this functions is
49 top -= CONFIG_VAL(SYS_MALLOC_F_LEN); in board_init_f_alloc_reserve()
52 top = rounddown(top-sizeof(struct global_data), 16); in board_init_f_alloc_reserve()
64 * to base+size-1 (where 'size' is the value returned by the allocation
80 * - through gd_ptr if before the call to arch_setup_gd();
82 * - through gd once arch_setup_gd() has been called.
[all …]
/openbmc/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 …]
/openbmc/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

12345678910>>...31