| /OK3568_Linux_fs/kernel/arch/arm64/crypto/ |
| H A D | ghash-ce-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2014 - 2018 Linaro Ltd. <ard.biesheuvel@linaro.org> 60 .arch armv8-a+crypto 63 pmull \rd\().1q, \rn\().1d, \rm\().1d 67 pmull2 \rd\().1q, \rn\().2d, \rm\().2d 71 ext t3.8b, \ad\().8b, \ad\().8b, #1 // A1 79 tbl t3.16b, {\ad\().16b}, perm1.16b // A1 80 tbl t5.16b, {\ad\().16b}, perm2.16b // A2 81 tbl t7.16b, {\ad\().16b}, perm3.16b // A3 95 __pmull_p8_tail \rq, \ad\().16b, SHASH.16b, 16b, 2, sh1, sh2, sh3, sh4 [all …]
|
| H A D | sha3-ce-core.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * sha3-ce-core.S - core SHA-3 transform using v8.2 Crypto Extensions 15 .irp b,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31 17 .set .Lv\b\().16b, \b 24 .inst 0xce000000 | .L\rd | (.L\rn << 5) | (.L\ra << 10) | (.L\rm << 16) 28 .inst 0xce608c00 | .L\rd | (.L\rn << 5) | (.L\rm << 16) 32 .inst 0xce200000 | .L\rd | (.L\rn << 5) | (.L\ra << 10) | (.L\rm << 16) 36 .inst 0xce800000 | .L\rd | (.L\rn << 5) | ((\imm6) << 10) | (.L\rm << 16) 46 ld1 { v0.1d- v3.1d}, [x0] 47 ld1 { v4.1d- v7.1d}, [x8], #32 [all …]
|
| H A D | aes-ce-ccm-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * aesce-ccm-core.S - AES-CCM transform for ARMv8 with Crypto Extensions 5 * Copyright (C) 2013 - 2017 Linaro Ltd <ard.biesheuvel@linaro.org> 12 .arch armv8-a+crypto 20 ld1 {v0.16b}, [x0] /* load mac */ 21 cbz w8, 1f 22 sub w8, w8, #16 23 eor v1.16b, v1.16b, v1.16b 24 0: ldrb w7, [x1], #1 /* get 1 byte of input */ 25 subs w2, w2, #1 [all …]
|
| H A D | sha512-ce-core.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * sha512-ce-core.S - core SHA-384/SHA-512 transform using v8 Crypto Extensions 15 .irp b,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 21 .inst 0xce608000 | .L\rd | (.L\rn << 5) | (.L\rm << 16) 25 .inst 0xce608400 | .L\rd | (.L\rn << 5) | (.L\rm << 16) 33 .inst 0xce608800 | .L\rd | (.L\rn << 5) | (.L\rm << 16) 37 * The SHA-512 round constants 85 ld1 {v\rc1\().2d}, [x4], #16 88 ext v6.16b, v\i2\().16b, v\i3\().16b, #8 89 ext v5.16b, v5.16b, v5.16b, #8 [all …]
|
| H A D | aes-neonbs-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 10 * 'Faster and Timing-Attack Resistant AES-GCM' by Emilia Kaesper and 14 * for 32-bit ARM written by Andy Polyakov <appro@openssl.org> 191 in_bs_ch \b0\().16b, \b1\().16b, \b2\().16b, \b3\().16b, \ 192 \b4\().16b, \b5\().16b, \b6\().16b, \b7\().16b 193 inv_gf256 \b6\().16b, \b5\().16b, \b0\().16b, \b3\().16b, \ 194 \b7\().16b, \b1\().16b, \b4\().16b, \b2\().16b, \ 195 \t0\().16b, \t1\().16b, \t2\().16b, \t3\().16b, \ 196 \s0\().16b, \s1\().16b, \s2\().16b, \s3\().16b 197 out_bs_ch \b7\().16b, \b1\().16b, \b4\().16b, \b2\().16b, \ [all …]
|
| /OK3568_Linux_fs/kernel/arch/alpha/kernel/ |
| H A D | sys_takara.c | 1 // SPDX-License-Identifier: GPL-2.0 34 static unsigned long cached_irq_mask[2] = { -1, -1 }; 41 mask = (irq >= 64 ? mask << 16 : mask >> ((irq - 16) & 0x30)); in takara_update_irq_hw() 42 regaddr = 0x510 + (((irq - 16) >> 2) & 0x0c); in takara_update_irq_hw() 49 unsigned int irq = d->irq; in takara_enable_irq() 51 mask = (cached_irq_mask[irq >= 64] &= ~(1UL << (irq & 63))); in takara_enable_irq() 58 unsigned int irq = d->irq; in takara_disable_irq() 60 mask = (cached_irq_mask[irq >= 64] |= 1UL << (irq & 63)); in takara_disable_irq() 99 if (intstatus & 8) handle_irq(16+3); in takara_device_interrupt() 100 if (intstatus & 4) handle_irq(16+2); in takara_device_interrupt() [all …]
|
| H A D | sys_rx164.c | 1 // SPDX-License-Identifier: GPL-2.0 51 rx164_update_irq_hw(cached_irq_mask |= 1UL << (d->irq - 16)); in rx164_enable_irq() 57 rx164_update_irq_hw(cached_irq_mask &= ~(1UL << (d->irq - 16))); in rx164_disable_irq() 85 pld &= pld - 1; /* clear least bit set */ in rx164_device_interrupt() 89 handle_irq(16+i); in rx164_device_interrupt() 100 for (i = 16; i < 40; ++i) { in rx164_init_irq() 108 if (request_irq(16 + 20, no_action, 0, "isa-cascade", NULL)) in rx164_init_irq() 109 pr_err("Failed to register isa-cascade interrupt\n"); in rx164_init_irq() 120 * 1 7 4 9 14 19 123 * 4 10 1 6 11 16 [all …]
|
| H A D | sys_miata.c | 1 // SPDX-License-Identifier: GPL-2.0 39 irq = (vector - 0x800) >> 4; in miata_srm_device_interrupt() 47 * for reporting any interrupts (the PCI-ISA bridge, bit 7, isn't in miata_srm_device_interrupt() 49 * vectors 0x800-0x8f0). in miata_srm_device_interrupt() 53 * So, here's this grotty hack... :-( in miata_srm_device_interrupt() 55 if (irq >= 16) in miata_srm_device_interrupt() 76 NMI (1), or EIDE (9). in miata_init_irq() 83 if (request_irq(16 + 2, no_action, 0, "halt-switch", NULL)) in miata_init_irq() 84 pr_err("Failed to register halt-switch interrupt\n"); in miata_init_irq() 85 if (request_irq(16 + 6, no_action, 0, "timer-cascade", NULL)) in miata_init_irq() [all …]
|
| H A D | sys_dp264.c | 1 // SPDX-License-Identifier: GPL-2.0 50 unsigned long isa_enable = 1UL << 55; in tsunami_update_irq_hw() 59 mask1 = mask & cpu_irq_affinity[1]; in tsunami_update_irq_hw() 64 else if (bcpu == 1) mask1 |= isa_enable; in tsunami_update_irq_hw() 68 dim0 = &cchip->dim0.csr; in tsunami_update_irq_hw() 69 dim1 = &cchip->dim1.csr; in tsunami_update_irq_hw() 70 dim2 = &cchip->dim2.csr; in tsunami_update_irq_hw() 71 dim3 = &cchip->dim3.csr; in tsunami_update_irq_hw() 73 if (!cpu_possible(1)) dim1 = &dummy; in tsunami_update_irq_hw() 88 if (bcpu == 0) dimB = &cchip->dim0.csr; in tsunami_update_irq_hw() [all …]
|
| H A D | sys_noritake.c | 1 // SPDX-License-Identifier: GPL-2.0 44 mask >>= 16; in noritake_update_irq_hw() 53 noritake_update_irq_hw(d->irq, cached_irq_mask |= 1 << (d->irq - 16)); in noritake_enable_irq() 59 noritake_update_irq_hw(d->irq, cached_irq_mask &= ~(1 << (d->irq - 16))); in noritake_disable_irq() 77 | ((unsigned long) inw(0x54a) << 16) in noritake_device_interrupt() 87 pld &= pld - 1; /* clear least bit set */ in noritake_device_interrupt() 88 if (i < 16) { in noritake_device_interrupt() 101 irq = (vector - 0x800) >> 4; in noritake_srm_device_interrupt() 110 * So, here's this additional grotty hack... :-( in noritake_srm_device_interrupt() 112 if (irq >= 16) in noritake_srm_device_interrupt() [all …]
|
| H A D | sys_cabriolet.c | 1 // SPDX-License-Identifier: GPL-2.0 43 int ofs = (irq - 16) / 8; in cabriolet_update_irq_hw() 44 outb(mask >> (16 + ofs * 8), 0x804 + ofs); in cabriolet_update_irq_hw() 50 cabriolet_update_irq_hw(d->irq, cached_irq_mask &= ~(1UL << d->irq)); in cabriolet_enable_irq() 56 cabriolet_update_irq_hw(d->irq, cached_irq_mask |= 1UL << d->irq); in cabriolet_disable_irq() 73 pld = inb(0x804) | (inb(0x805) << 8) | (inb(0x806) << 16); in cabriolet_device_interrupt() 81 pld &= pld - 1; /* clear least bit set */ in cabriolet_device_interrupt() 85 handle_irq(16 + i); in cabriolet_device_interrupt() 106 for (i = 16; i < 35; ++i) { in common_init_irq() 114 if (request_irq(16 + 4, no_action, 0, "isa-cascade", NULL)) in common_init_irq() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h265e/ |
| H A D | hal_h265e_vepu580_tune.c | 8 * http://www.apache.org/licenses/LICENSE-2.0 37 // level: 0~2: 0 <--> static, 1 <-->medium motion, 2 <--> large motion 39 // level: 0~2: 0 <--> simple texture, 1 <--> medium texture, 2 <--> complex texture 51 {21, 20, 19, 18, 20, 22, 24, 16}, 52 {19, 18, 17, 16, 18, 20, 21, 16}, 53 {20, 19, 18, 17, 19, 21, 22, 16}, 54 {16, 16, 16, 16, 16, 16, 16, 16}, 58 {21, 20, 19, 18, 20, 22, 24, 16}, 59 {19, 18, 17, 16, 18, 20, 21, 16}, 60 {20, 19, 18, 17, 19, 21, 22, 16}, [all …]
|
| /OK3568_Linux_fs/buildroot/package/frecon/ |
| H A D | 0008-Support-unifont.patch | 2 From: Jeffy Chen <jeffy.chen@rock-chips.com> 6 https://ftp.gnu.org/gnu/unifont/unifont-14.0.04/unifont-14.0.04.bdf.gz 8 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> 9 --- 10 Makefile | 11 +- 11 font.c | 11 +- 12 font.h | 2 +- 13 font_to_c.py | 13 +- 14 term.c | 2 +- 15 unifont-14.0.04.bdf | 1313010 ++++++++++++++++++++++++++++++++++++++++ [all …]
|
| /OK3568_Linux_fs/buildroot/board/forlinx/ok3568/fs-overlay/usr/lib/firmware/nxp/ |
| H A D | txpwrlimit_cfg_8987.conf | 5 Action:2=0 # 0 - GET 6 SubBand:2=0x00 # 0x00 2G subband (2.4G: channel 1-14) 15 # 5G: channel 7,8,11,12,16,34) 21 Action:2=0 # 0 - GET 22 SubBand:2=0x10 # 0x00 2G subband (2.4G: channel 1-14) 31 # 5G: channel 7,8,11,12,16,34) 37 Action:2=0 # 0 - GET 38 SubBand:2=0x11 # 0x00 2G subband (2.4G: channel 1-14) 47 # 5G: channel 7,8,11,12,16,34) 53 Action:2=0 # 0 - GET [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h264e/ |
| H A D | hal_h264e_vepu580_tune.c | 8 * http://www.apache.org/licenses/LICENSE-2.0 37 // level: 0~2: 0 <--> static, 1 <-->medium motion, 2 <--> large motion 39 // level: 0~2: 0 <--> simple texture, 1 <--> medium texture, 2 <--> complex texture 60 {0, 0, 0, 1}, 61 {0, 0, 1, 0}, 62 {0, 0, 1, 1}, 63 {1, 0, 0, 0}, 64 {1, 1, 1, 1}, 68 {22, 19, 16, 22, 19, 18, 22, 19, 16}, 70 {22, 19, 16, 22, 19, 18, 22, 19, 16}, [all …]
|
| /OK3568_Linux_fs/kernel/arch/alpha/lib/ |
| 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_hw_v1.h | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 60 #define HNS_ROCE_V1_GID_NUM 16 65 #define HNS_ROCE_V1_AEQE_VEC_NUM 1 66 #define HNS_ROCE_V1_ABNORMAL_VEC_NUM 1 80 #define HNS_ROCE_V1_TABLE_CHUNK_SIZE (1 << 17) 93 #define HNS_ROCE_V1_SDB_ALFUL (HNS_ROCE_V1_SDB_DEPTH - HNS_ROCE_V1_DB_RSVD) 95 #define HNS_ROCE_V1_ODB_ALFUL (HNS_ROCE_V1_ODB_DEPTH - HNS_ROCE_V1_DB_RSVD) 99 #define HNS_ROCE_V1_EXT_SDB_ENTRY 16 100 #define HNS_ROCE_V1_EXT_ODB_ENTRY 16 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/device_include/ |
| H A D | svga3d_surfacedefs.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 4 * Copyright 2008-2015 VMware, Inc., Palo Alto, CA., USA 20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 29 * svga3d_surfacedefs.h -- 49 * enum svga3d_block_desc - describes generic properties about formats. 56 SVGA3DBLOCKDESC_BLUE = 1 << 0, 57 SVGA3DBLOCKDESC_W = 1 << 0, 58 SVGA3DBLOCKDESC_BUMP_L = 1 << 0, 61 SVGA3DBLOCKDESC_GREEN = 1 << 1, 62 SVGA3DBLOCKDESC_V = 1 << 1, [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/serial/ |
| H A D | serial_sh.h | 2 * Copy and modify from linux/drivers/serial/sh-sci.h 26 # define SCPCR 0xA4000116 /* 16 bit SCI and SCIF */ 28 # define SCSCR_INIT(port) 0x30 /* TIE=0,RIE=0,TE=1,RE=1 */ 38 * SCIF2 (0xA4410000) -> External clock, SCK pin used as clock input 39 * SCIF0 (0xA4400000) -> Internal clock, SCK pin as serial clock output 41 # define SCSCR_INIT(port) (port->mapbase == SCIF2) ? 0xF3 : 0xF0 49 # define SCSCR_INIT(port) 0x0030 /* TIE=0,RIE=0,TE=1,RE=1 */ 55 # define SCSPTR2 0xFFE80020 /* 16 bit SCIF */ 57 # define SCSCR_INIT(port) 0x3a /* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */ 65 # define SCSPTR2 0xFFE80020 /* 16 bit SCIF */ [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/timers/ |
| H A D | valid-adjtimex.c | 9 * Usage: valid-adjtimex 12 * $ gcc valid-adjtimex.c -o valid-adjtimex -lrt 66 -499<<16, 67 -450<<16, 68 -400<<16, 69 -350<<16, 70 -300<<16, 71 -250<<16, 72 -200<<16, 73 -150<<16, [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/common/ |
| H A D | vepu540c_common.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 60 /* 0x000021e0 reg2168 - 0x00002c7c reg2847*/ 73 RK_U32 scal_clk_sel : 1; 78 /* 0x00002200 reg2176 - 0x0000227c reg2207*/ 80 /* 0x00002280 reg2208 - 0x000022fc reg2239*/ 82 /* 0x00002300 reg2240 - 0x0000237c reg2271*/ 85 /* 0x00002380 reg2272 - 0x000023fc reg2303*/ 87 /* 0x00002400 reg2304 - 0x0000247c reg2335*/ 89 /* 0x00002480 reg2336 - 0x000024fc reg2367*/ 92 /* 0x00002500 reg2368 - 0x000025fc reg2431*/ [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/geometry/ |
| H A D | debug_font_data.hpp | 6 const int8_t simplex_1[] = { 5, 21, 5, 7, -1, -1, 5, 2, 4, 1, 5, 0, 6, 1, 5, 2 }; 7 const int8_t simplex_2[] = { 4, 21, 4, 14, -1, -1, 12, 21, 12, 14 }; 8 const int8_t simplex_3[] = { 11, 25, 4, -7, -1, -1, 17, 25, 10, -7, -1, -1, 4, 12, 18, 12, -1, -1, … 9 …-4, -1, -1, 12, 25, 12, -4, -1, -1, 17, 18, 15, 20, 12, 21, 8, 21, 5, 20, 3, 18, 3, 16, 4, 14, 5, … 10 …-1, -1, 8, 21, 10, 19, 10, 17, 9, 15, 7, 14, 5, 14, 3, 16, 3, 18, 4, 20, 6, 21, 8, 21, 10, 20, 13,… 11 …1, 11, 0, 7, 0, 5, 1, 4, 2, 3, 4, 3, 6, 4, 8, 5, 9, 12, 13, 13, 14, 14, 16, 14, 18, 13, 20, 11, 21… 12 const int8_t simplex_7[] = { 5, 19, 4, 20, 5, 21, 6, 20, 6, 18, 5, 16, 4, 15 }; 13 const int8_t simplex_8[] = { 11, 25, 9, 23, 7, 20, 5, 16, 4, 11, 4, 7, 5, 2, 7, -2, 9, -5, 11, -7 }; 14 const int8_t simplex_9[] = { 3, 25, 5, 23, 7, 20, 9, 16, 10, 11, 10, 7, 9, 2, 7, -2, 5, -5, 3, -7 }; 15 const int8_t simplex_10[] = { 8, 21, 8, 9, -1, -1, 3, 18, 13, 12, -1, -1, 13, 18, 3, 12 }; [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/include/stb/ |
| H A D | stb_image_write.h | 1 /* stb_image_write - v1.13 - public domain - http://nothings.org/stb 2 writes out PNG/BMP/TGA/JPEG/HDR images to C stdio - Sean Barrett 2010-2015 11 Will probably not work correctly with strict-aliasing optimizations. 17 The PNG output is not optimal; it is 20-50% larger than the file 21 not optimal image file size or run-time performance. 29 You can #define STBIW_ZLIB_COMPRESS to use a custom zlib-style compress function 40 and pass utf8-encoded filenames. Call stbiw_convert_wchar_to_utf8 to convert 53 void stbi_flip_vertically_on_write(int flag); // flag is non-zero to flip data vertically 56 expected to open/close your file-equivalent before and after calling these: 70 int stbi_write_force_png_filter; // defaults to -1; set to 0..5 to force a filter mode [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/stb/ |
| H A D | stb_image_write.h | 1 /* stb_image_write - v1.13 - public domain - http://nothings.org/stb 2 writes out PNG/BMP/TGA/JPEG/HDR images to C stdio - Sean Barrett 2010-2015 11 Will probably not work correctly with strict-aliasing optimizations. 17 The PNG output is not optimal; it is 20-50% larger than the file 21 not optimal image file size or run-time performance. 29 You can #define STBIW_ZLIB_COMPRESS to use a custom zlib-style compress function 40 and pass utf8-encoded filenames. Call stbiw_convert_wchar_to_utf8 to convert 53 void stbi_flip_vertically_on_write(int flag); // flag is non-zero to flip data vertically 56 expected to open/close your file-equivalent before and after calling these: 70 int stbi_write_force_png_filter; // defaults to -1; set to 0..5 to force a filter mode [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ |
| H A D | nand_ids.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 {"TC58NVG0S3E 1G 3.3V 8-bit", 31 SZ_2K, SZ_128, SZ_128K, 0, 8, 64, NAND_ECC_INFO(1, SZ_512), }, 32 {"TC58NVG2S0F 4G 3.3V 8-bit", 35 {"TC58NVG2S0H 4G 3.3V 8-bit", 38 {"TC58NVG3S0F 8G 3.3V 8-bit", 41 {"TC58NVG5D2 32G 3.3V 8-bit", 44 {"TC58NVG6D2 64G 3.3V 8-bit", 47 {"SDTNRGAMA 64G 3.3V 8-bit", 50 {"H27UCG8T2ATR-BC 64G 3.3V 8-bit", [all …]
|