| /linux/arch/arm64/crypto/ |
| 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 16 .set .Lv\b\().2d, \b 46 ld1 { v0.1d- v3.1d}, [x0] 47 ld1 { v4.1d- v7.1d}, [x8], #32 48 ld1 { v8.1d-v11.1d}, [x8], #32 49 ld1 {v12.1d-v15.1d}, [x8], #32 50 ld1 {v16.1d-v19.1d}, [x8], #32 51 ld1 {v20.1d-v23.1d}, [x8], #32 [all …]
|
| 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> 61 .arch armv8-a+crypto 64 pmull \rd\().1q, \rn\().1d, \rm\().1d 68 pmull2 \rd\().1q, \rn\().2d, \rm\().2d 72 ext t3.8b, \ad\().8b, \ad\().8b, #1 // A1 107 pmull\t \rq\().8h, \ad, \bd // D = A*B 113 uzp1 t4.2d, t3.2d, t5.2d 114 uzp2 t3.2d, t3.2d, t5.2d 115 uzp1 t6.2d, t7.2d, t9.2d [all …]
|
| H A D | sm4-ce-gcm-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * SM4-GCM AEAD Algorithm using ARMv8 Crypto Extensions 14 #include "sm4-ce-asm.h" 16 .arch armv8-a+crypto 18 .irp b, 0, 1, 2, 3, 24, 25, 26, 27, 28, 29, 30, 31 37 * output: r0:r1 (low 128-bits in r0, high in r1) 41 pmull r0.1q, m0.1d, m1.1d; \ 42 pmull T1.1q, m0.1d, T0.1d; \ 43 pmull2 T0.1q, m0.2d, T0.2d; \ 44 pmull2 r1.1q, m0.2d, m1.2d; \ [all …]
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_rogue_fwif_sf.h | 1 /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ 47 * - --- ---- ---- ---- ---- ---- ---- ---- 48 * 0-11: id number 49 * 12-15: group id number 50 * 16-19: number of parameters 51 * 20-27: unused 52 * 28-30: active: identify SF packet, otherwise regular int32 79 { ROGUE_FW_LOG_CREATESFID(1, ROGUE_FW_GROUP_MAIN, 6), 80 "Kick 3D: FWCtx 0x%08.8x @ %d, RTD 0x%08x. Partial render:%d, CSW resume:%d, prio:%d" }, 82 "3D finished, HWRTData0State=%x, HWRTData1State=%x" }, [all …]
|
| /linux/drivers/pinctrl/sunplus/ |
| H A D | sppctl_sp7021.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #define D(x, y) ((x) * 8 + (y)) macro 15 #define P(x, y) PINCTRL_PIN(D(x, y), D_PIS(x, y)) 18 D_PIS(0, 0), D_PIS(0, 1), D_PIS(0, 2), D_PIS(0, 3), 20 D_PIS(1, 0), D_PIS(1, 1), D_PIS(1, 2), D_PIS(1, 3), 21 D_PIS(1, 4), D_PIS(1, 5), D_PIS(1, 6), D_PIS(1, 7), 22 D_PIS(2, 0), D_PIS(2, 1), D_PIS(2, 2), D_PIS(2, 3), 24 D_PIS(3, 0), D_PIS(3, 1), D_PIS(3, 2), D_PIS(3, 3), 26 D_PIS(4, 0), D_PIS(4, 1), D_PIS(4, 2), D_PIS(4, 3), 28 D_PIS(5, 0), D_PIS(5, 1), D_PIS(5, 2), D_PIS(5, 3), [all …]
|
| /linux/sound/usb/ |
| H A D | validate.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 // Validation of USB-audio class descriptors 9 #include <linux/usb/audio-v2.h> 10 #include <linux/usb/audio-v3.h> 22 #define UAC_VERSION_ALL (unsigned char)(-1) 28 const struct uac1_ac_header_descriptor *d = p; validate_uac1_header() local 38 const struct uac_mixer_unit_descriptor *d = p; validate_mixer_unit() local 72 const struct uac_processing_unit_descriptor *d = p; validate_processing_unit() local 170 const struct uac_selector_unit_descriptor *d = p; validate_selector_unit() local 194 const struct uac_feature_unit_descriptor *d = p; validate_uac1_feature_unit() local 205 const struct uac2_feature_unit_descriptor *d = p; validate_uac2_feature_unit() local 216 const struct uac3_feature_unit_descriptor *d = p; validate_uac3_feature_unit() local 227 const struct uac3_power_domain_descriptor *d = p; validate_uac3_power_domain_unit() local 238 const struct usb_midi_out_jack_descriptor *d = p; validate_midi_out_jack() local [all...] |
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | fieldseq_bt.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later --> 6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 21 borderopacity="1" 27 inkscape:window-width="1920" 28 inkscape:window-height="997" 32 fit-margin-top="0" 33 fit-margin-left="0" 34 fit-margin-right="0" [all …]
|
| H A D | fieldseq_tb.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later --> 6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 21 borderopacity="1" 27 inkscape:window-width="1920" 28 inkscape:window-height="997" 31 fit-margin-top="0" 32 fit-margin-left="0" 33 fit-margin-right="0" [all …]
|
| H A D | pixfmt-tch-td16.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-TCH-FMT-DELTA-TD16: 11 16-bit signed little endian Touch Delta 19 Delta values may range from -32768 to 32767. Typically the values will vary 27 .. flat-table:: 28 :header-rows: 0 29 :stub-columns: 0 30 :widths: 2 1 1 1 1 1 1 1 1 32 * - start + 0: 33 - D'\ :sub:`00low` [all …]
|
| /linux/include/math-emu/ |
| H A D | double.h | 1 /* Software floating-point emulation. 23 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 39 #define _FP_FRACXBITS_D (_FP_FRACTBITS_D - _FP_FRACBITS_D) 41 #define _FP_WFRACXBITS_D (_FP_FRACTBITS_D - _FP_WFRACBITS_D) 47 ((_FP_W_TYPE)1 << (_FP_FRACBITS_D-2) % _FP_W_TYPE_SIZE) 49 ((_FP_W_TYPE)1 << (_FP_FRACBITS_D-1) % _FP_W_TYPE_SIZE) 51 ((_FP_W_TYPE)1 << _FP_WFRACBITS_D % _FP_W_TYPE_SIZE) 60 unsigned sign : 1; 62 unsigned frac1 : _FP_FRACBITS_D - (_FP_IMPLBIT_D != 0) - _FP_W_TYPE_SIZE; 66 unsigned frac1 : _FP_FRACBITS_D - (_FP_IMPLBIT_D != 0) - _FP_W_TYPE_SIZE; [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_dump.c | 1 // SPDX-License-Identifier: GPL-2.0 29 struct btf_dump *d; in btf_dump_all_types() local 32 d = btf_dump__new(btf, btf_dump_printf, ctx, NULL); in btf_dump_all_types() 33 err = libbpf_get_error(d); in btf_dump_all_types() 37 for (id = 1; id < type_cnt; id++) { in btf_dump_all_types() 38 err = btf_dump__dump_type(d, id); in btf_dump_all_types() 44 btf_dump__free(d); in btf_dump_all_types() 52 int err = 0, fd = - in test_btf_dump_case() 131 struct btf_dump *d; global() member 339 btf_dump_data(struct btf * btf,struct btf_dump * d,char * name,char * prefix,__u64 flags,void * ptr,size_t ptr_sz,char * str,const char * expected_val) btf_dump_data() argument 420 test_btf_dump_int_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_int_data() argument 478 test_btf_dump_float_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_float_data() argument 523 test_btf_dump_char_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_char_data() argument 545 test_btf_dump_typedef_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_typedef_data() argument 600 test_btf_dump_enum_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_enum_data() argument 636 test_btf_dump_struct_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_struct_data() argument 871 test_btf_dump_var_data(struct btf * btf,struct btf_dump * d,char * str) test_btf_dump_var_data() argument 884 struct btf_dump *d; global() member 966 struct btf_dump *d; test_btf_dump_string_data() local 998 test_btf_datasec(struct btf * btf,struct btf_dump * d,char * str,const char * name,const char * expected_val,void * data,size_t data_sz) test_btf_datasec() argument 1028 struct btf_dump *d; test_btf_dump_datasec_data() local 1048 struct btf_dump *d; test_btf_dump() local [all...] |
| H A D | select_reuseport.c | 1 // SPDX-License-Identifier: GPL-2.0 37 static int reuseport_array = -1, outer_map = -1; 60 return -1; \ 74 "reuseport_array:%d errno:%d\n", reuseport_array, errno); in create_maps() 79 sizeof(__u32), sizeof(__u32), 1, &opts); in create_maps() 81 "outer_map:%d errno:%d\n", outer_map, errno); in create_maps() 95 "obj:%p PTR_ERR(obj):%d\n", obj, err); in prepare_bpf_obj() 100 RET_ERR(err, "reuse outer_map", "err:%d\n", err); in prepare_bpf_obj() 103 RET_ERR(err, "load bpf_object", "err:%d\n", err); in prepare_bpf_obj() 109 "select_by_skb_data_prog:%d\n", select_by_skb_data_prog); in prepare_bpf_obj() [all …]
|
| /linux/tools/power/x86/x86_energy_perf_policy/ |
| H A D | x86_energy_perf_policy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * x86_energy_perf_policy -- set the energy versus performance 7 * Copyright (c) 2010 - 2025 Intel Corporation. 30 #define OPTARG_NORMAL (INT_MAX - 1) 31 #define OPTARG_POWER (INT_MAX - 138 double d; msr_perf_2_ratio() local [all...] |
| /linux/arch/m68k/math-emu/ |
| H A D | multi_arith.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* multi_arith.h: multi-precision integer arithmetic functions, needed 3 to do extended-precision floating point. 5 (c) 1998 David Huggins-Daines. 7 Somewhat based on arch/alpha/math-emu/ieee-math.c, which is (c) 8 David Mosberger-Tang. 14 These are not general multi-precision math routines. Rather, they 16 multiply, divide, and normalize 128-bit unsigned mantissae. */ 25 reg->exp += cnt; in fp_denormalize() 29 reg->lowmant = reg->mant.m32[1] << (8 - cnt); in fp_denormalize() [all …]
|
| /linux/tools/perf/tests/ |
| H A D | time-utils-test.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include "time-utils.h" 21 pr_debug("error %d\n", err); in test__parse_nsec_time() 45 pr_debug("Error %d\n", err); in test__perf_time__parse_str() 70 static bool test__perf_time__parse_for_ranges(struct test_data *d) in test__perf_time__parse_for_ranges() argument 73 .first_sample_time = d->first, in test__perf_time__parse_for_ranges() 74 .last_sample_time = d->last, in test__perf_time__parse_for_ranges() 82 pr_debug("\nperf_time__parse_for_ranges(\"%s\")\n", d->str); in test__perf_time__parse_for_ranges() 84 if (strchr(d->str, '%')) in test__perf_time__parse_for_ranges() 86 d->first, d->last); in test__perf_time__parse_for_ranges() [all …]
|
| /linux/tools/perf/util/ |
| H A D | genelf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 39 '.', 't', 'e', 'x', 't', 0, /* 1 */ 43 …'.', 'n', 'o', 't', 'e', '.', 'g', 'n', 'u', '.', 'b', 'u', 'i', 'l', 'd', '-', 'i', 'd', 0, /* 33… 44 '.', 'd', 'e', 'b', 'u', 'g', '_', 'l', 'i', 'n', 'e', 0, /* 52 */ 45 '.', 'd', 'e', 'b', 'u', 'g', '_', 'i', 'n', 'f', 'o', 0, /* 64 */ 46 '.', 'd', 'e', 'b', 'u', 'g', '_', 'a', 'b', 'b', 'r', 'e', 'v', 0, /* 76 */ 47 '.', 'e', 'h', '_', 'f', 'r', 'a', 'm', 'e', '_', 'h', 'd', 'r', 0, /* 90 */ 52 Elf_Note desc; /* descsz: size of build-id, must be multiple of 4 */ 66 { .st_name = 1, /* index in sym_string table */ 68 .st_shndx = 1, [all …]
|
| /linux/lib/crypto/arm64/ |
| 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 17 * assemblers both consider the SHA-512 instructions to be part of the 20 * versions.) "sha3" doesn't make a lot of sense, since SHA-512 is part 21 * of the SHA-2 family of algorithms, and also the Arm Architecture 25 .arch armv8-a+sha3 28 * The SHA-512 round constants 76 ld1 {v\rc1\().2d}, [x4], #16 78 add v5.2d, v\rc0\().2d, v\in0\().2d 82 add v\i3\().2d, v\i3\().2d, v5.2d [all …]
|
| /linux/arch/loongarch/mm/ |
| H A D | page.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited 13 lu12i.w t0, 1 << (PAGE_SHIFT - 12) 14 add.d t0, t0, a0 15 1: 16 st.d zero, a0, 0 17 st.d zero, a0, 8 18 st.d zero, a0, 16 19 st.d zero, a0, 24 20 st.d zero, a0, 32 [all …]
|
| /linux/lib/crypto/powerpc/ |
| H A D | md5-asm.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 #include <asm/asm-offsets.h> 9 #include <asm/asm-compat.h> 40 PPC_STLU r1,-INT_FRAME_SIZE(r1); \ 61 #define R_00_15(a, b, c, d, w0, w1, p, q, off, k0h, k0l, k1h, k1l) \ argument 63 and rT0,b,c; /* 1: f = b and c */ \ 65 andc rT1,d,b; /* 1: f' = ~b and d */ \ 67 or rT0,rT0,rT1; /* 1: f = f or f' */ \ 68 addi w0,w0,k0l; /* 1: wk = w + k */ \ 69 add a,a,rT0; /* 1: a = a + f */ \ [all …]
|
| /linux/drivers/media/usb/dvb-usb-v2/ |
| H A D | dvb_usb_core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2004-6 Patrick Boettcher <patrick.boettcher@posteo.de> 10 #include <media/media-device.h> 22 static int dvb_usbv2_download_firmware(struct dvb_usb_device *d, in dvb_usbv2_download_firmware() argument 27 dev_dbg(&d->udev->dev, "%s:\n", __func__); in dvb_usbv2_download_firmware() 29 if (!d->props->download_firmware) { in dvb_usbv2_download_firmware() 30 ret = -EINVAL; in dvb_usbv2_download_firmware() 34 ret = request_firmware(&fw, name, &d->udev->dev); in dvb_usbv2_download_firmware() 36 dev_err(&d->udev->dev, in dvb_usbv2_download_firmware() 37 …"%s: Did not find the firmware file '%s' (status %d). You can use <kernel_dir>/scripts/get_dvb_fir… in dvb_usbv2_download_firmware() [all …]
|
| /linux/Documentation/staging/ |
| H A D | lzo.rst | 26 - a distance when copying data from the dictionary (past output buffer) 27 - a length (number of bytes to copy from dictionary) 28 - the number of literals to copy, which is retained in variable "state" 43 around 255:1). The variable length encoding using #bits is always the same:: 45 length = byte & ((1 << #bits) - 1) 47 length = ((1 << #bits) - 1) 49 length += first-non-zero-byte 57 forming a little-endian 16-bit quantity (marked LE16 below). 59 After any instruction except the large literal copy, 0, 1, 2 or 3 literals 84 1: LZO-RLE [all …]
|
| /linux/drivers/sh/intc/ |
| H A D | core.c | 5 * Copyright (C) 2009 - 2012 Paul Mundt 12 * Copyright (C) 2003 Takashi Kusuda <kusuda-takashi@hitachi-ul.co.jp> 33 #include <linux/radix-tree.h> 44 * - this needs to be at least 2 for 5-bit priorities on 7780 46 static unsigned int default_prio_level = 2; /* 2 - 16 */ 74 struct intc_desc_int *d, in intc_register_irq() argument 84 radix_tree_insert(&d->tree, enum_id, intc_irq_xlate_get(irq)); in intc_register_irq() 90 * 1. bitmap, single interrupt source in intc_register_irq() 95 data[0] = intc_get_mask_handle(desc, d, enum_id, 0); in intc_register_irq() 96 data[1] = intc_get_prio_handle(desc, d, enum_id, 0); in intc_register_irq() [all …]
|
| /linux/drivers/media/usb/dvb-usb/ |
| H A D | dvb-usb-init.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * DVB USB library - provides a generic interface for a DVB USB device driver. 5 * dvb-usb-init.c 7 * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de) 9 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information 11 #include "dvb-usb-common.h" 16 …ULE_PARM_DESC(debug, "set debugging level (1=info,xfer=2,pll=4,ts=8,err=16,rc=32,fw=64,mem=128,uxf… 24 MODULE_PARM_DESC(force_pid_filter_usage, "force all dvb-usb-devices to use a PID filter, if any (de… 26 static int dvb_usb_adapter_init(struct dvb_usb_device *d, short *adapter_nrs) in dvb_usb_adapter_init() argument 31 for (n = 0; n < d->props.num_adapters; n++) { in dvb_usb_adapter_init() [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | fcnal-test.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 # 1. icmp, tcp, udp and netfilter 9 # 2. client, server, no-server 13 # 6. VRF and non-VRF permutations 16 # ns-A | ns-B 18 # [ lo ] [ eth1 ]-- [all...] |
| /linux/drivers/acpi/acpica/ |
| H A D | acmacros.h | 1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 4 * Name: acmacros.h - C macros for the entire subsystem. 6 * Copyright (C) 2000 - 2025, Intel Corp. 15 * get into potential alignment issues -- see the STORE macros below. 33 * with emitting 64-bit integers and 64-bit pointers with the same code 34 * for both 32-bit and 64-bit hosts. 45 * Macros for big-endian machines 48 /* These macros reverse the bytes during the move, converting little-endian to big endian */ 52 /* 16-bit source, 16/32/64 destination */ 54 #define ACPI_MOVE_16_TO_16(d, s) {(( u8 *)(void *)(d))[0] = ((u8 *)(void *)(s))[1];\ argument [all …]
|