/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 …]
|
/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/drivers/video/fbdev/core/ |
H A D | sysfillrect.c | 21 * 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 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 …]
|
H A 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() local 111 int const right = -shift & (bits - 1); in bitcpy() [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/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-regs.c | 1 // 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/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A D | chcr_ktls.c | 1 // SPDX-License-Identifier: GPL-2.0-only 36 frag_size = min(len, skb_linear_data_len - start); in chcr_get_nfrags_to_send() 38 start -= skb_linear_data_len; in chcr_get_nfrags_to_send() 40 frag = &si->frags[frag_idx]; in chcr_get_nfrags_to_send() 43 start -= frag_size; in chcr_get_nfrags_to_send() 45 frag = &si->frags[frag_idx]; in chcr_get_nfrags_to_send() 48 frag_size = min(len, skb_frag_size(frag) - start); in chcr_get_nfrags_to_send() 50 len -= frag_size; in chcr_get_nfrags_to_send() 54 frag_size = min(len, skb_frag_size(&si->frags[frag_idx])); in chcr_get_nfrags_to_send() 55 len -= frag_size; in chcr_get_nfrags_to_send() [all …]
|
/linux/arch/riscv/lib/ |
H A D | uaccess.S | 4 #include <asm/asm-extable.h> 7 #include <asm/alternative-macros.h> 36 * a0 - start of uncopied dst 37 * a1 - start of uncopied src 38 * a2 - size 39 * t0 - end of uncopied dst 47 li a3, 9*SZREG-1 /* size must >= (word_copy stride + SZREG-1) */ 51 * Copy first bytes until dst is aligned to word boundary. 52 * a0 - start of dst 53 * t1 - start of aligned dst [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/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/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/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/media/platform/st/sti/delta/ |
H A D | delta-debug.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include "delta-debug.h" 20 (char *)&s->streamformat, s->width, s->height, in delta_streaminfo_str() 21 s->profile, s->level, s->dpb, in delta_streaminfo_str() 22 (s->field == V4L2_FIELD_NONE) ? "progressive" : "interlaced", in delta_streaminfo_str() 23 s->other, in delta_streaminfo_str() 24 s->flags & DELTA_STREAMINFO_FLAG_CROP ? "crop=" : "", in delta_streaminfo_str() 25 s->crop.width, s->crop.height, in delta_streaminfo_str() 26 s->crop.left, s->crop.top, in delta_streaminfo_str() 27 s->flags & DELTA_STREAMINFO_FLAG_PIXELASPECT ? "par=" : "", in delta_streaminfo_str() [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 …]
|