| /kernel/liteos_m/targets/riscv_nuclei_gd32vf103_soc_gcc/SoC/gd32vf103/Common/Include/ |
| D | gd32vf103_dac.h | 5 \version 2019-6-5, V1.0.0, firmware for GD32VF103 50 #define DAC0_R12DH REG32(DAC + 0x08U) /*!< DAC0 12-bit right-aligned data holding re… 51 #define DAC0_L12DH REG32(DAC + 0x0CU) /*!< DAC0 12-bit left-aligned data holding reg… 52 #define DAC0_R8DH REG32(DAC + 0x10U) /*!< DAC0 8-bit right-aligned data holding reg… 53 #define DAC1_R12DH REG32(DAC + 0x14U) /*!< DAC1 12-bit right-aligned data holding re… 54 #define DAC1_L12DH REG32(DAC + 0x18U) /*!< DAC1 12-bit left-aligned data holding reg… 55 #define DAC1_R8DH REG32(DAC + 0x1CU) /*!< DAC1 8-bit right-aligned data holding reg… 56 #define DACC_R12DH REG32(DAC + 0x20U) /*!< DAC concurrent mode 12-bit right-aligned … 57 #define DACC_L12DH REG32(DAC + 0x24U) /*!< DAC concurrent mode 12-bit left-aligned d… 58 #define DACC_R8DH REG32(DAC + 0x28U) /*!< DAC concurrent mode 8-bit right-aligned d… [all …]
|
| /kernel/linux/linux-4.19/Documentation/input/ |
| D | gamepad.rst | 1 --------------------------- 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/ |
| D | gamepad.rst | 1 --------------------------- 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/ |
| D | sysfillrect.c | 21 * 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 …]
|
| D | cfbfillrect.c | 4 * 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 …]
|
| D | cfbcopyarea.c | 4 * 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-4.19/drivers/video/fbdev/core/ |
| D | sysfillrect.c | 21 * 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 …]
|
| D | cfbfillrect.c | 4 * 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 …]
|
| D | cfbcopyarea.c | 4 * 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-4.19/arch/ia64/lib/ |
| D | strlen.S | 1 /* 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 …]
|
| D | copy_user.S | 1 /* 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/ |
| D | strlen.S | 1 /* 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 …]
|
| D | copy_user.S | 1 /* 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/drivers/gpu/drm/amd/display/dc/dcn20/ |
| D | dcn20_mmhubbub.c | 2 * 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-5.10/drivers/video/fbdev/kyro/ |
| D | STG4000OverlayDevice.c | 57 /*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-4.19/drivers/video/fbdev/kyro/ |
| D | STG4000OverlayDevice.c | 57 /*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-4.19/arch/mips/include/asm/ |
| D | maar.h | 18 * platform_maar_init() - perform platform-level MAAR configuration 22 * MAAR pairs as required, from 0 up to the maximum of num_pairs-1, and returns 32 * write_maar_pair() - write to a pair of MAARs 35 * aligned to a 2^16 byte boundary. 37 * aligned to one byte before a 2^16 byte boundary. 47 /* Addresses begin at bit 16, but are shifted right 4 bits */ in write_maar_pair() 69 * maar_init() - initialise MAARs 78 * struct maar_config - MAAR configuration data 80 * aligned to a 2^16 byte boundary. 82 * aligned to one byte before a 2^16 byte boundary. [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
| D | rk3399_vpu_hw_jpeg_enc.c | 1 // 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-5.10/arch/mips/include/asm/ |
| D | maar.h | 1 /* 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-4.19/arch/mips/kernel/ |
| D | jump_label.c | 23 * - 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) 44 insn_p = (union mips_instruction *)msk_isa16_mode(e->code); in arch_jump_label_transform() 46 /* Jump only works within an aligned region its delay slot is in. */ in arch_jump_label_transform() [all …]
|
| /kernel/linux/linux-4.19/drivers/block/drbd/ |
| D | drbd_interval.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * interval_end - return end of @node 13 return this->end; in interval_end() 17 * compute_subtree_last - compute end of @node 26 sector_t max = node->sector + (node->size >> 9); in compute_subtree_last() 28 if (node->rb.rb_left) { in compute_subtree_last() 29 sector_t left = interval_end(node->rb.rb_left); in compute_subtree_last() 33 if (node->rb.rb_right) { in compute_subtree_last() 34 sector_t right = interval_end(node->rb.rb_right); in compute_subtree_last() local 35 if (right > max) in compute_subtree_last() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/kernel/ |
| D | jump_label.c | 23 * - 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/ |
| D | ms02-nv.h | 1 /* 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 …]
|
| /kernel/linux/linux-4.19/drivers/mtd/devices/ |
| D | ms02-nv.h | 4 * DEC MS02-NV (54-20948-01) battery backed-up NVRAM module for 20 * 0x000000 - 0x3fffff SRAM 21 * 0x400000 - 0x7fffff CSR 26 * 0x000000 - 0x0003ff diagnostic area, destroyed upon a reboot 27 * 0x000400 - ENDofRAM storage area, available to operating systems 29 * but we can't really use the available area right from 0x000400 as 35 * for the start address of the user-available is 0x001000 which is 36 * nicely page aligned. The area between 0x000404 and 0x000fff may 40 * operating system, a magic ID to distinguish a MS02-NV board from 46 * The firmware only handles the MS02-NV board if installed in the [all …]
|
| /kernel/linux/linux-4.19/arch/x86/include/asm/ |
| D | vvar.h | 6 * A handful of variables are accessible (read-only) from userspace 25 * right place. 41 __attribute__((section(".vvar_" #name), aligned(16))) __visible
|