| /OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/ |
| H A D | cacheinfo.c | 1 // SPDX-License-Identifier: GPL-2.0 45 { 0x06, LVL_1_INST, 8 }, /* 4-way set assoc, 32 byte line size */ 46 { 0x08, LVL_1_INST, 16 }, /* 4-way set assoc, 32 byte line size */ 47 { 0x09, LVL_1_INST, 32 }, /* 4-way set assoc, 64 byte line size */ 48 { 0x0a, LVL_1_DATA, 8 }, /* 2 way set assoc, 32 byte line size */ 49 { 0x0c, LVL_1_DATA, 16 }, /* 4-way set assoc, 32 byte line size */ 50 { 0x0d, LVL_1_DATA, 16 }, /* 4-way set assoc, 64 byte line size */ 51 { 0x0e, LVL_1_DATA, 24 }, /* 6-way set assoc, 64 byte line size */ 52 { 0x21, LVL_2, 256 }, /* 8-way set assoc, 64 byte line size */ 53 { 0x22, LVL_3, 512 }, /* 4-way set assoc, sectored cache, 64 byte line size */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/sh/lib/ |
| H A D | udivsi3_i4i.S | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH GCC-exception-2.0 23 Uses a lookup table for divisors in the range -128 .. +128, and 54 mov.l r4,@-r15 56 mov.l r1,@-r15 67 mov.l r4,@-r15 70 mov.l r5,@-r15 108 mov.l r4,@-r15 110 mov.l r1,@-r15 117 mov.l r1,@-r15 132 mov.l r4,@-r15 [all …]
|
| /OK3568_Linux_fs/u-boot/arch/sh/lib/ |
| H A D | udivsi3_i4i.S | 5 * SPDX-License-Identifier: GPL-2.0+ 23 Uses a lookup table for divisors in the range -128 .. +128, and 54 mov.l r4,@-r15 56 mov.l r1,@-r15 67 mov.l r4,@-r15 70 mov.l r5,@-r15 108 mov.l r4,@-r15 110 mov.l r1,@-r15 117 mov.l r1,@-r15 131 mov.l r4,@-r15 [all …]
|
| /OK3568_Linux_fs/kernel/lib/lz4/ |
| H A D | lz4_compress.c | 2 * LZ4 - Fast LZ compression algorithm 3 * Copyright (C) 2011 - 2016, Yann Collet. 4 * BSD 2 - Clause License (http://www.opensource.org/licenses/bsd - license.php) 26 * - LZ4 homepage : http://www.lz4.org 27 * - LZ4 source repository : https://github.com/lz4/lz4 30 * Sven Schmidt <4sschmid@informatik.uni-hamburg.de> 33 /*-************************************ 43 static const int LZ4_64Klimit = ((64 * KB) + (MFLIMIT - 1)); 45 /*-****************************** 54 >> ((MINMATCH * 8) - (LZ4_HASHLOG + 1))); in LZ4_hash4() [all …]
|
| H A D | lz4hc_compress.c | 2 * LZ4 HC - High Compression Mode of LZ4 3 * Copyright (C) 2011-2015, Yann Collet. 5 * BSD 2 - Clause License (http://www.opensource.org/licenses/bsd - license.php) 27 * - LZ4 homepage : http://www.lz4.org 28 * - LZ4 source repository : https://github.com/lz4/lz4 31 * Sven Schmidt <4sschmid@informatik.uni-hamburg.de> 34 /*-************************************ 47 #define OPTIMAL_ML (int)((ML_MASK - 1) + MINMATCH) 50 >> ((MINMATCH*8) - LZ4HC_HASH_LOG)) 61 static void LZ4HC_init(LZ4HC_CCtx_internal *hc4, const BYTE *start) in LZ4HC_init() [all …]
|
| /OK3568_Linux_fs/kernel/arch/sparc/lib/ |
| 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); 34 * For less than 32 bytes stores, align the address on 4 byte boundary. 35 * Then store as many 4-byte chunks, followed by trailing bytes. 37 * For sizes greater than 32 bytes, align the address on 8 byte boundary. 38 * if (count >= 64) { 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 47 * ST_CHUNK cache lines (64 bytes each) before the main [all …]
|
| H A D | NGmemcpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 24 #define SAVE_AMOUNT 64 166 .align 64 172 save %sp, -SAVE_AMOUNT, %sp 187 * the destination to a 64-byte boundary which can chew up 188 * to (64 - 1) bytes from the length before we perform the 191 cmp %i2, (2 * 64) 206 /* Align destination on 64-byte boundary. */ 207 andcc %o0, (64 - 1), %i4 209 sub %i4, 64, %i4 [all …]
|
| 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); 49 * if dst on byte 1 51 * if dst on byte 3 52 * load words, shift 1 byte, store words; branch to finish_up 60 * copy with ldx/stx in 8-way unrolled loop; 61 * copy final 0-63 bytes; exit with dst addr 63 * align dst on 64 byte boundary; for main data movement: 66 * lines from memory. But pre-store first element of each cache line [all …]
|
| /OK3568_Linux_fs/kernel/drivers/rk_nand/ |
| H A D | rk_zftl_arm64.S | 2 * Copyright (c) 2016-2017, Fuzhou Rockchip Electronics Co., Ltd 8 * date: 2021-07-16 29 ldrb w6, [x6, -1] 34 .size flash_mem_cmp8, .-flash_mem_cmp8 60 .size slc_phy_page_address_calc, .-slc_phy_page_address_calc 74 .size zftl_nandc_get_irq_status, .-zftl_nandc_get_irq_status 79 and w1, w0, -33 90 .size isxdigit, .-isxdigit 105 .size zftl_get_density, .-zftl_get_density 109 stp x29, x30, [sp, -64]! [all …]
|
| H A D | rk_ftlv5_arm64.S | 2 * Copyright (c) 2016-2017, Fuzhou Rockchip Electronics Co., Ltd 8 * date: 2021-07-16 16 stp x29, x30, [sp, -32]! 47 .size flash_read_ecc, .-flash_read_ecc 51 stp x29, x30, [sp, -32]! 67 ldr x1, [x3, 64] 81 ldr x6, [x5, 64] 90 .size FlashReadFacBbtData.part.6, .-FlashReadFacBbtData.part.6 105 .size ftl_set_blk_mode.part.17, .-ftl_set_blk_mode.part.17 130 ldrb w6, [x6, -1] [all …]
|
| H A D | rk_ftl_arm_v8.S | 2 * Copyright (c) 2016-2017, Fuzhou Rockchip Electronics Co., Ltd 8 * date: 2021-07-16 15 stp x29, x30, [sp, -32]! 46 .size flash_read_ecc, .-flash_read_ecc 51 adrp x2, .LANCHOR0+64 53 ldr x3, [x2, #:lo12:.LANCHOR0+64] 61 .size ftl_set_blk_mode.part.9, .-ftl_set_blk_mode.part.9 86 ldrb w6, [x6, -1] 91 .size FlashMemCmp8, .-FlashMemCmp8 110 .size FlashRsvdBlkChk, .-FlashRsvdBlkChk [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/octeon/ |
| H A D | cvmx-fau.h | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 124 * - Step by 2 for 16 bit access. 125 * - Step by 4 for 32 bit access. 126 * - Step by 8 for 64 bit access. 141 * - 0 = Don't wait 142 * - 1 = Wait for tag switch to complete 144 * - Step by 2 for 16 bit access. 145 * - Step by 4 for 32 bit access. [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/rknand/ |
| H A D | rk_zftl_spl_arm_v8.S | 2 * Copyright (c) 2016-2017, Fuzhou Rockchip Electronics Co., Ltd 8 * date: 2021-06-15 10 .arch armv8-a+nosimd 27 ldrb w6, [x6, -1] 32 .size flash_mem_cmp8, .-flash_mem_cmp8 60 .size slc_phy_page_address_calc, .-slc_phy_page_address_calc 65 stp x29, x30, [sp, -64]! 110 mov w0, -1 120 ldp x29, x30, [sp], 64 126 mov w0, -1 [all …]
|
| H A D | rk_zftl_arm_v8.S | 2 * Copyright (c) 2016-2017, Fuzhou Rockchip Electronics Co., Ltd 8 * date: 2021-01-07 10 .arch armv8-a 27 ldrb w6, [x6, -1] 32 .size flash_mem_cmp8, .-flash_mem_cmp8 60 .size slc_phy_page_address_calc, .-slc_phy_page_address_calc 65 stp x29, x30, [sp, -64]! 110 mov w0, -1 120 ldp x29, x30, [sp], 64 126 mov w0, -1 [all …]
|
| H A D | rk_ftl_arm_v8.S | 2 * Copyright (c) 2016-2017, Fuzhou Rockchip Electronics Co., Ltd 8 * date: 2020-09-23 10 .arch armv8-a 19 stp x29, x30, [sp, -32]! 47 .size flash_read_ecc, .-flash_read_ecc 64 .size ftl_set_blk_mode.part.11, .-ftl_set_blk_mode.part.11 90 ldrb w6, [x6, -1] 95 .size FlashMemCmp8, .-FlashMemCmp8 115 .size FlashRsvdBlkChk, .-FlashRsvdBlkChk 128 stp x29, x30, [sp, -16]! [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/macsec/ |
| H A D | macsec_struct.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 21 /*! The match mask is per-nibble. 0 means don't care, i.e. every value 22 * will match successfully. The total data is 64 bit, i.e. 16 nibbles 52 /*! The 8 bit value used to compare with extracted value for byte 3. */ 54 /*! The 8 bit value used to compare with extracted value for byte 2. */ 56 /*! The 8 bit value used to compare with extracted value for byte 1. */ 58 /*! The 8 bit value used to compare with extracted value for byte 0. */ 62 /*! The 64 bit SCI field in the SecTAG. */ 82 /*! 0~63: byte location used extracted by packets comparator, which 83 * can be anything from the first 64 bytes of the MAC packets. [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/skylakex/ |
| H A D | uncore-other.json | 10 …"BriefDescription": "LLC misses - Uncacheable reads (from cpu) . Derived from unc_cha_tor_inserts.… 46 "ScaleUnit": "64Bytes", 57 "ScaleUnit": "64Bytes", 121 "ScaleUnit": "7.11E-06Bytes", 272 "BriefDescription": "Multi-socket cacheline Directory state lookups; Snoop Not Needed", 277 …"PublicDescription": "Counts transactions that looked into the multi-socket cacheline Directory st… 282 "BriefDescription": "Multi-socket cacheline Directory state lookups; Snoop Needed", 287 …"PublicDescription": "Counts transactions that looked into the multi-socket cacheline Directory s… 292 …"BriefDescription": "Multi-socket cacheline Directory state updates; Directory Updated memory writ… 297 …"PublicDescription": "Counts only multi-socket cacheline Directory state updates memory writes iss… [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/cascadelakex/ |
| H A D | uncore-other.json | 10 …"BriefDescription": "LLC misses - Uncacheable reads (from cpu) . Derived from unc_cha_tor_inserts.… 46 "ScaleUnit": "64Bytes", 57 "ScaleUnit": "64Bytes", 121 "ScaleUnit": "7.11E-06Bytes", 272 "BriefDescription": "Multi-socket cacheline Directory state lookups; Snoop Not Needed", 277 …"PublicDescription": "Counts transactions that looked into the multi-socket cacheline Directory st… 282 "BriefDescription": "Multi-socket cacheline Directory state lookups; Snoop Needed", 287 …"PublicDescription": "Counts transactions that looked into the multi-socket cacheline Directory s… 292 …"BriefDescription": "Multi-socket cacheline Directory state updates; Directory Updated memory writ… 297 …"PublicDescription": "Counts only multi-socket cacheline Directory state updates memory writes iss… [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/boot/ |
| H A D | header.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * BIG FAT NOTE: We're in real mode using 64k segments. Therefore segment 28 BOOTSEG = 0x07C0 /* original address of boot-sector */ 45 # "MZ", MS-DOS header 95 .byte 0 115 .word section_table - optional_header # SizeOfOptionalHeader 123 .byte 0x02 # MajorLinkerVersion 124 .byte 0x14 # MinorLinkerVersion 141 # PE specification requires ImageBase to be 64k aligned 179 .long (section_table - .) / 8 # NumberOfRvaAndSizes [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/spi-nor/ |
| H A D | winbond.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/mtd/spi-nor.h> 19 * Unfortunately, Winbond has re-used the same JEDEC ID for both in w25q256_post_bfpt_fixups() 25 if (bfpt_header->major == SFDP_JESD216_MAJOR && in w25q256_post_bfpt_fixups() 26 bfpt_header->minor == SFDP_JESD216A_MINOR) in w25q256_post_bfpt_fixups() 27 nor->flags |= SNOR_F_4B_OPCODES; in w25q256_post_bfpt_fixups() 37 /* Winbond -- w25x "blocks" are 64K, "sectors" are 4KiB */ 38 { "w25x05", INFO(0xef3010, 0, 64 * 1024, 1, SECT_4K) }, 39 { "w25x10", INFO(0xef3011, 0, 64 * 1024, 2, SECT_4K) }, 40 { "w25x20", INFO(0xef3012, 0, 64 * 1024, 4, SECT_4K) }, [all …]
|
| H A D | sst.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/mtd/spi-nor.h> 12 /* SST -- large erase sizes are "overlays", "sectors" are 4K */ 13 { "sst25vf040b", INFO(0xbf258d, 0, 64 * 1024, 8, 15 { "sst25vf080b", INFO(0xbf258e, 0, 64 * 1024, 16, 17 { "sst25vf016b", INFO(0xbf2541, 0, 64 * 1024, 32, 19 { "sst25vf032b", INFO(0xbf254a, 0, 64 * 1024, 64, 21 { "sst25vf064c", INFO(0xbf254b, 0, 64 * 1024, 128, 23 { "sst25wf512", INFO(0xbf2501, 0, 64 * 1024, 1, 25 { "sst25wf010", INFO(0xbf2502, 0, 64 * 1024, 2, [all …]
|
| /OK3568_Linux_fs/external/rockit/mpi/example/common/ |
| H A D | test_comm_imgproc.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 28 RK_U8 V = (64 + (x / 2) + frm_cnt * 5); in get_rgb_color() 30 RK_S32 _R = Y + ((360 * (V - 128)) >> 8); in get_rgb_color() 31 RK_S32 _G = Y - (((88 * (U - 128) + 184 * (V - 128))) >> 8); in get_rgb_color() 32 RK_S32 _B = Y + ((455 * (U - 128)) >> 8); in get_rgb_color() 41 // 16 bit pixel MSB --------> LSB in fill_MPP_FMT_RGB565() 43 // big endian | byte 0 | byte 1 | in fill_MPP_FMT_RGB565() 44 // little endian | byte 1 | byte 0 | in fill_MPP_FMT_RGB565() 59 // 16 bit pixel MSB --------> LSB in fill_MPP_FMT_BGR565() 61 // big endian | byte 0 | byte 1 | in fill_MPP_FMT_BGR565() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/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 …]
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A D | bpf_endian.h | 1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ 6 * Isolate byte #n and put it into byte #m, for __u##b type. 7 * E.g., moving byte #6 (nnnnnnnn) into byte #1 (mmmmmmmm) for __u64: 13 #define ___bpf_mvb(x, b, n, m) ((__u##b)(x) << (b-(n+1)*8) >> (b-8) << (m*8)) 26 ___bpf_mvb(x, 64, 0, 7) | \ 27 ___bpf_mvb(x, 64, 1, 6) | \ 28 ___bpf_mvb(x, 64, 2, 5) | \ 29 ___bpf_mvb(x, 64, 3, 4) | \ 30 ___bpf_mvb(x, 64, 4, 3) | \ 31 ___bpf_mvb(x, 64, 5, 2) | \ [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | special_insns.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #include <asm/processor-flags.h> 62 * This could fault if CR4 does not exist. Non-existent CR4 in native_read_cr4() 89 asm volatile(".byte 0x0f,0x01,0xee\n\t" in rdpkru() 103 asm volatile(".byte 0x0f,0x01,0xef\n\t" in wrpkru() 217 alternative_io(".byte " __stringify(NOP_DS_PREFIX) "; clflush %P0", in clflushopt() 218 ".byte 0x66; clflush %P0", in clflushopt() 225 volatile struct { char x[64]; } *p = __p; in clwb() 228 ".byte " __stringify(NOP_DS_PREFIX) "; clflush (%[pax])", in clwb() 229 ".byte 0x66; clflush (%[pax])", /* clflushopt (%%rax) */ in clwb() [all …]
|