/linux/arch/alpha/lib/ |
H A D | ev6-clear_user.S | 1 /* 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 …]
|
H A D | ev6-memset.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * arch/alpha/lib/ev6-memset.S 8 * 21264 version contributed by Rick Gorton <rick.gorton@alpha-processor.com> 13 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 15 * E - either cluster 16 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1 17 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 48 * undertake a major re-write to interleave the constant materialization 49 * with other parts of the fall-through code. This is important, even 88 subq $16,$3,$16 # E : $16 is new aligned destination [all …]
|
H A D | ev6-memchr.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * arch/alpha/lib/ev6-memchr.S 5 * 21264 version contributed by Rick Gorton <rick.gorton@alpha-processor.com> 9 * - memory accessed as aligned quadwords only 10 * - uses cmpbge to compare 8 bytes in parallel 11 * - does binary search to find 0 byte in last 18 * - only minimum number of quadwords may be accessed 19 * - the third argument is an unsigned long 24 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 26 * E - either cluster [all …]
|
H A D | ev6-memcpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * arch/alpha/lib/ev6-memcpy.S 4 * 21264 version by Rick Gorton <rick.gorton@alpha-processor.com> 8 * - memory accessed as aligned quadwords only 9 * - uses bcmpge to compare 8 bytes in parallel 14 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 16 * E - either cluster 17 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1 18 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 21 * $1,$2, - scratch [all …]
|
H A D | stxncpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Copy no more than COUNT bytes of the null-terminated string from 27 * a2 = the number of full words left in COUNT 29 * Furthermore, v0, a3-a5, t11, and $at are untouched. 42 aligned copy in its own procedure descriptor */ 55 lda t2, -1 # e1 : build a mask against false zero 79 the end-of-count bit is set in t8 iff it applies. 107 /* Add the end-of-count bit to the eos detection bitmask. */ 121 /* Are source and destination co-aligned? */ 128 srl a2, 3, a2 # e0 : a2 = loop counter = (count - 1)/8 [all …]
|
H A D | memchr.S | 17 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 18 Boston, MA 02111-1307, USA. */ 22 - memory accessed as aligned quadwords only 23 - uses cmpbge to compare 8 bytes in parallel 24 - does binary search to find 0 byte in last 31 - only minimum number of quadwords may be accessed 32 - the third argument is an unsigned long 44 # Hack -- if someone passes in (size_t)-1, hoping to just 47 # that we will never have a 56-bit address space, cropping 49 zap $18, 0x80, $5 #-e0 : [all …]
|
H A D | ev6-stxncpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * arch/alpha/lib/ev6-stxncpy.S 4 * 21264 version contributed by Rick Gorton <rick.gorton@api-networks.com> 6 * Copy no more than COUNT bytes of the null-terminated string from 27 * a2 = the number of full words left in COUNT 29 * Furthermore, v0, a3-a5, t11, and $at are untouched. 34 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 36 * E - either cluster 37 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1 38 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 [all …]
|
/linux/include/linux/ |
H A D | regset.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * User-mode machine state access 22 size_t left; member 27 if (s->left) { in membuf_zero() 28 if (size > s->left) in membuf_zero() 29 size = s->left; in membuf_zero() 30 memset(s->p, 0, size); in membuf_zero() 31 s->p += size; in membuf_zero() 32 s->left -= size; in membuf_zero() 34 return s->left; in membuf_zero() [all …]
|
/linux/arch/sparc/lib/ |
H A D | M7memcpy.S | 15 * Fast assembler language version of the following C-program for memcpy 16 * which represents the `standard' for the C-library. 26 * } while (--n != 0); 37 * if src & dst aligned on word boundary but not long word boundary, 39 * if src & dst aligned on long word boundary 41 * if src & dst not aligned and length <= SHORTCHECK (SHORTCHECK=14) 59 * finish_long: src/dst aligned on 8 bytes 60 * copy with ldx/stx in 8-way unrolled loop; 61 * copy final 0-63 bytes; exit with dst addr 62 * } else { src/dst aligned; count > MED_MAX [all …]
|
H A D | M7memset.S | 15 * Fast assembler language version of the following C-program for memset 16 * which represents the `standard' for the C-library. 25 * } while (--n != 0); 35 * Then store as many 4-byte chunks, followed by trailing bytes. 39 * store 8-bytes chunks to align the address on 64 byte boundary 42 * 64-byte cache line to zero which will also clear the 49 * In the main loop, continue pre-setting the first long 56 * store remaining data in 64-byte chunks until less than 59 * Store as many 8-byte chunks, followed by trailing bytes. 109 .size M7clear_page,.-M7clear_page [all …]
|
/linux/Documentation/input/ |
H A 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 …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | pio_copy.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 8 /* additive distance between non-SOP and SOP space */ 10 #define PIO_BLOCK_MASK (PIO_BLOCK_SIZE - 1) 15 * pio_copy - copy data block to MMIO space 19 * @from: source, must be 8 byte aligned 20 * @count: number of DWORD (32-bit) quantities to copy from source 27 * o pbuf->start always starts on a block boundary 33 void __iomem *dest = pbuf->start + SOP_DISTANCE; in pio_copy() 35 void __iomem *dend; /* 8-byte data end */ in pio_copy() 41 /* calculate where the QWORD data ends - in SOP=1 space */ in pio_copy() [all …]
|
/linux/Documentation/arch/sparc/oradax/ |
H A D | dax-hv-api.txt | 3 Publication date 2017-09-25 08:21 5 Extracted via "pdftotext -f 547 -l 572 -layout sun4v_20170925.pdf" 16 live-migration and other system management activities. 20 …high speed processoring of database-centric operations. The coprocessors may support one or more of 28 …e Completion Area and, unless execution order is specifically restricted through the use of serial- 45 …device node in the guest MD (Section 8.24.17, “Database Analytics Accelerators (DAX) virtual-device 51 36.1.1.1. "ORCL,sun4v-dax" Device Compatibility 54 • No-op/Sync 81 36.1.1.2. "ORCL,sun4v-dax-fc" Device Compatibility 82 … "ORCL,sun4v-dax-fc" is compatible with the "ORCL,sun4v-dax" interface, and includes additional CCB [all …]
|
/linux/arch/riscv/lib/ |
H A D | uaccess.S | 4 #include <asm/asm-extable.h> 7 #include <asm/alternative-macros.h> 65 * a0 - start of uncopied dst 66 * a1 - start of uncopied src 67 * a2 - size 68 * t0 - end of uncopied dst 76 li a3, 9*SZREG-1 /* size must >= (word_copy stride + SZREG-1) */ 80 * Copy first bytes until dst is aligned to word boundary. 81 * a0 - start of dst 82 * t1 - start of aligned dst [all …]
|
H A D | memmove.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 * a0 - dest 15 * a0 - Inclusive first byte of dest 16 * a1 - Inclusive first byte of src 17 * a2 - Length of copy n 22 * Note: This currently only works on little-endian. 23 * To port to big-endian, reverse the direction of shifts 33 * Forward Copy: a1 - Index counter of src 34 * Reverse Copy: a4 - Index counter of src 35 * Forward Copy: t3 - Index counter of dest [all …]
|
/linux/tools/testing/selftests/powerpc/stringloops/ |
H A D | memcmp_64.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 #include <asm/ppc-opcode.h> 42 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1); \ 43 std r4,-STACKFRAMESIZE+STK_REG(R30)(r1); \ 44 std r5,-STACKFRAMESIZE+STK_REG(R29)(r1); \ 46 stdu r1,-STACKFRAMESIZE(r1); \ 58 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1); \ 59 std r4,-STACKFRAMESIZE+STK_REG(R30)(r1); \ 60 std r5,-STACKFRAMESIZE+STK_REG(R29)(r1); \ 62 stdu r1,-STACKFRAMESIZE(r1); \ [all …]
|
/linux/arch/powerpc/lib/ |
H A D | memcmp_64.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 #include <asm/ppc-opcode.h> 42 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1); \ 43 std r4,-STACKFRAMESIZE+STK_REG(R30)(r1); \ 44 std r5,-STACKFRAMESIZE+STK_REG(R29)(r1); \ 46 stdu r1,-STACKFRAMESIZE(r1); \ 58 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1); \ 59 std r4,-STACKFRAMESIZE+STK_REG(R30)(r1); \ 60 std r5,-STACKFRAMESIZE+STK_REG(R29)(r1); \ 62 stdu r1,-STACKFRAMESIZE(r1); \ [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | selection-api-configuration.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 15 time the cropping/composing rectangles may have to be aligned, and both 20 :ref:`constraint flags <v4l2-selection-flags>`. 26 See figure :ref:`sel-targets-capture` for examples of the selection 30 The range of coordinates of the top left corner, width and height of 32 target. It is recommended for the driver developers to put the top/left 36 The top left corner, width and height of the source rectangle, that is 51 coordinates are expressed in pixels. The rectangle's top/left corner 63 :ref:`constraint flags <v4l2-selection-flags>`. 91 All coordinates are expressed in pixels. The top/left corner is always [all …]
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | video-interface-devices.yaml | 1 # 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/video/fbdev/kyro/ |
H A 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() 318 u32 left, u32 top, in SetOverlayViewPort() argument 348 srcDest.ulSrcX2 = ovlWidth - 1; in SetOverlayViewPort() [all …]
|
/linux/drivers/mtd/devices/ |
H A 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 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 42 * The firmware only handles the MS02-NV board if installed in the [all …]
|
/linux/tools/iio/ |
H A D | iio_generic_buffer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * generic_buffer -n <device_name> -t <trigger_name> 38 * enum autochan - state for the automatic channel enabling mechanism 47 * size_from_channelarray() - calculate the storage size of a scan 66 channels[i].location = bytes - bytes % channels[i].bytes in size_from_channelarray() 73 * We want the data in next sample to also be properly aligned so in size_from_channelarray() 79 bytes += max - misalignment; in size_from_channelarray() 88 * of left aligned data in print1byte() 90 input >>= info->shift; in print1byte() 91 input &= info->mask; in print1byte() [all …]
|
/linux/lib/crc/ |
H A D | crc4.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * crc4.c - simple crc-4 calculations. 16 * crc4 - calculate the 4-bit crc of a value. 23 * The @x value is treated as left-aligned, and bits above @bits are ignored 31 x &= (1ull << bits) - 1; in crc4() 33 /* Align to 4-bits */ in crc4() 36 /* Calculate crc4 over four-bit nibbles, starting at the MSbit */ in crc4() 37 for (i = bits - 4; i >= 0; i -= 4) in crc4()
|
H A D | crc7.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * Table for CRC-7 (polynomial x^7 + x^3 + 1). 13 * This is a big-endian CRC (msbit is highest power of x), 14 * aligned so the msbit of the byte is the x^6 coefficient 53 * crc7_be - update the CRC7 for the data buffer 60 * The CRC7 is left-aligned in the byte (the lsbit is always 0), as that 66 while (len--) in crc7_be()
|
/linux/arch/hexagon/lib/ |
H A D | memcpy.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. 12 * and length from 0 to 2^32-1 23 * DJH 6/ 1/09 Version 1.1 modified ABI to inlcude R16-R19 25 * DJH 10/14/09 Version 1.3 added special loop for aligned case, was 28 * occurring if only 1 left outstanding, fixes bug 36 * aligned to dword boundaries,underwriting by 1 63 * ptr8_in = (s64 *) &ptr_in[-offset]; //read in the aligned pointers 70 * prolog = 32 - ((int) ptr_out); 73 * kernel = len - prolog; [all …]
|