Home
last modified time | relevance | path

Searched +full:1 +full:- +full:d (Results 1 – 25 of 1204) sorted by relevance

12345678910>>...49

/kernel/liteos_a/testsuites/unittest/net/socket/smoke/
Dnet_socket_test_012.cpp2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
8 * 1. Redistributions of source code must retain the above copyright notice, this list of
40 static struct iovec gIov[IOV_MAX + 1];
56 LogPrintln("accept: %d, errno=%d", ret, errno); in SocketNullTestInternal()
57 ICUNIT_ASSERT_EQUAL(ret, -1, errno); in SocketNullTestInternal()
60 LogPrintln("accept: %d, errno=%d", ret, errno); in SocketNullTestInternal()
61 ICUNIT_ASSERT_EQUAL(ret, -1, errno); in SocketNullTestInternal()
64 LogPrintln("accept: %d, errno=%d", ret, errno); in SocketNullTestInternal()
65 ICUNIT_ASSERT_EQUAL(ret, -1, errno); in SocketNullTestInternal()
[all …]
/kernel/linux/linux-5.10/arch/arm64/crypto/
Dsha3-ce-core.S1 /* 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 …]
Dghash-ce-core.S1 /* 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
106 pmull\t \rq\().8h, \ad, \bd // D = A*B
112 uzp1 t4.2d, t3.2d, t5.2d
113 uzp2 t3.2d, t3.2d, t5.2d
114 uzp1 t6.2d, t7.2d, t9.2d
[all …]
Dsha512-ce-core.S1 /* 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
17 .set .Lv\b\().2d, \b
37 * The SHA-512 round constants
85 ld1 {v\rc1\().2d}, [x4], #16
87 add v5.2d, v\rc0\().2d, v\in0\().2d
91 add v\i3\().2d, v\i3\().2d, v5.2d
94 sha512su0 v\in0\().2d, v\in1\().2d
96 sha512h q\i3, q6, v7.2d
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/shaders/clear_kernel/
Dhsw.asm1 // SPDX-License-Identifier: MIT
9 * 1. Clear all 64 GRF registers assigned to the kernel with designated value;
15 mov(1) f0.1<1>UW g1.2<0,1,0>UW { align1 1N };
20 * DW 1.0 - Block Offset to write Render Cache
21 * DW 1.1 [15:0] - Clear Word
22 * DW 1.2 - Delay iterations
23 * DW 1.3 - Enable Instrumentation (only for debug)
24 * DW 1.4 - Rsvd (intended for context ID)
25 * DW 1.5 - [31:16]:SliceCount, [15:0]:SubSlicePerSliceCount
26 * DW 1.6 - Rsvd MBZ (intended for Enable Wait on Total Thread Count)
[all …]
Divb.asm1 // SPDX-License-Identifier: MIT
9 * 1. Clear all 64 GRF registers assigned to the kernel with designated value;
15 mov(1) f0.1<1>UW g1.2<0,1,0>UW { align1 1N };
20 * DW 1.0 - Block Offset to write Render Cache
21 * DW 1.1 [15:0] - Clear Word
22 * DW 1.2 - Delay iterations
23 * DW 1.3 - Enable Instrumentation (only for debug)
24 * DW 1.4 - Rsvd (intended for context ID)
25 * DW 1.5 - [31:16]:SliceCount, [15:0]:SubSlicePerSliceCount
26 * DW 1.6 - Rsvd MBZ (intended for Enable Wait on Total Thread Count)
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
Danysee.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * DVB USB Linux driver for Anysee E30 DVB-C & DVB-T USB2.0 receiver
8 * - add smart card reader support for Conditional Access (CA)
22 #include "dvb-pll.h"
36 static int anysee_ctrl_msg(struct dvb_usb_device *d, in anysee_ctrl_msg() argument
39 struct anysee_state *state = d_to_priv(d); in anysee_ctrl_msg()
42 mutex_lock(&d->usb_mutex); in anysee_ctrl_msg()
44 memcpy(&state->buf[0], sbuf, slen); in anysee_ctrl_msg()
45 state->buf[60] = state->seq++; in anysee_ctrl_msg()
47 dev_dbg(&d->udev->dev, "%s: >>> %*ph\n", __func__, slen, state->buf); in anysee_ctrl_msg()
[all …]
Drtl28xxu.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 static int rtl28xxu_ctrl_msg(struct dvb_usb_device *d, struct rtl28xxu_req *req) in rtl28xxu_ctrl_msg() argument
19 struct rtl28xxu_dev *dev = d->priv; in rtl28xxu_ctrl_msg()
24 mutex_lock(&d->usb_mutex); in rtl28xxu_ctrl_msg()
26 if (req->size > sizeof(dev->buf)) { in rtl28xxu_ctrl_msg()
27 dev_err(&d->intf->dev, "too large message %u\n", req->size); in rtl28xxu_ctrl_msg()
28 ret = -EINVAL; in rtl28xxu_ctrl_msg()
32 if (req->index & CMD_WR_FLAG) { in rtl28xxu_ctrl_msg()
34 memcpy(dev->buf, req->data, req->size); in rtl28xxu_ctrl_msg()
36 pipe = usb_sndctrlpipe(d->udev, 0); in rtl28xxu_ctrl_msg()
[all …]
Daf9035.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 for (i = 1; i < len; i++) { in af9035_checksum()
32 static int af9035_ctrl_msg(struct dvb_usb_device *d, struct usb_req *req) in af9035_ctrl_msg() argument
38 struct state *state = d_to_priv(d); in af9035_ctrl_msg()
39 struct usb_interface *intf = d->intf; in af9035_ctrl_msg()
43 mutex_lock(&d->usb_mutex); in af9035_ctrl_msg()
46 if (req->wlen > (BUF_LEN - REQ_HDR_LEN - CHECKSUM_LEN) || in af9035_ctrl_msg()
47 req->rlen > (BUF_LEN - ACK_HDR_LEN - CHECKSUM_LEN)) { in af9035_ctrl_msg()
48 dev_err(&intf->dev, "too much data wlen=%d rlen=%d\n", in af9035_ctrl_msg()
49 req->wlen, req->rlen); in af9035_ctrl_msg()
[all …]
/kernel/linux/linux-5.10/sound/usb/
Dvalidate.c1 // 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; in validate_uac1_header() local
30 return d->bLength >= sizeof(*d) && in validate_uac1_header()
31 d->bLength >= sizeof(*d) + d->bInCollection; in validate_uac1_header()
38 const struct uac_mixer_unit_descriptor *d = p; in validate_mixer_unit() local
41 if (d->bLength < sizeof(*d) || !d->bNrInPins) in validate_mixer_unit()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dfcnal-test.sh2 # 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 ]---|---[ eth1 ] [ lo ]
21 # [ red ]---[ eth1 ]---|---[ eth1 ] [ lo ]
23 # ns-A:
24 # eth1: 172.16.1.1/24, 2001:db8:1::1/64
25 # lo: 127.0.0.1/8, ::1/128
[all …]
/kernel/linux/linux-5.10/include/math-emu/
Ddouble.h1 /* 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 …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dfieldseq_bt.svg1 <?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 …]
Dfieldseq_tb.svg1 <?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 …]
Dpixfmt-tch-td16.rst1 .. 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 …]
/kernel/linux/linux-5.10/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * x86_energy_perf_policy -- set the energy versus performance
7 * Copyright (c) 2010 - 2017 Intel Corporation.
30 #define OPTARG_NORMAL (INT_MAX - 1)
31 #define OPTARG_POWER (INT_MAX - 2)
32 #define OPTARG_BALANCE_POWER (INT_MAX - 3)
33 #define OPTARG_BALANCE_PERFORMANCE (INT_MAX - 4)
34 #define OPTARG_PERFORMANCE (INT_MAX - 5)
100 fprintf(stderr, "scope: --cpu cpu-list [--hwp-use-pkg #] | --pkg pkg-list\n"); in usage()
101 fprintf(stderr, "field: --all | --epb | --hwp-epp | --hwp-min | --hwp-max | --hwp-desired\n"); in usage()
[all …]
/kernel/linux/linux-5.10/tools/perf/tests/
Dtime-utils-test.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
Ddw2102.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * DVBWorld DVB-S 2101, 2102, DVB-S2 2104, DVB-C 3101,
7 * TechnoTrend S2-4600,
9 * Copyright (C) 2008-2012 Igor M. Liplianin (liplianin@me.by)
11 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information
13 #include <media/dvb-usb-ids.h>
41 #define DW210X_WRITE_MSG 1
52 #define DW2101_FIRMWARE "dvb-usb-dw2101.fw"
53 #define DW2102_FIRMWARE "dvb-usb-dw2102.fw"
54 #define DW2104_FIRMWARE "dvb-usb-dw2104.fw"
[all …]
Dgp8psk.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * - GENPIX 8pks/qpsk/DCII USB2.0 DVB-S module
6 * Copyright (C) 2006,2007 Genpix Electronics (genpix@genpix-electronics.com)
12 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information
15 #include "gp8psk-fe.h"
18 static char bcm4500_firmware[] = "dvb-usb-gp8psk-02.fw";
21 MODULE_PARM_DESC(debug, "set debugging level (1=info,xfer=2,rc=4 (or-able))." DVB_USB_DEBUG_STATUS);
29 static int gp8psk_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, in gp8psk_usb_in_op() argument
32 struct gp8psk_state *st = d->priv; in gp8psk_usb_in_op()
35 if (blen > sizeof(st->data)) in gp8psk_usb_in_op()
[all …]
/kernel/linux/linux-5.10/arch/m68k/math-emu/
Dmulti_arith.h1 /* 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. */
23 reg->exp += cnt; in fp_denormalize()
27 reg->lowmant = reg->mant.m32[1] << (8 - cnt); in fp_denormalize()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dirq.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 * Thanks. --rmk
36 * Bits 0-7 are the same as the IRQF_* bits in linux/interrupt.h
38 * IRQ_TYPE_NONE - default, unspecified type
39 * IRQ_TYPE_EDGE_RISING - rising edge triggered
40 * IRQ_TYPE_EDGE_FALLING - falling edge triggered
41 * IRQ_TYPE_EDGE_BOTH - rising and falling edge triggered
42 * IRQ_TYPE_LEVEL_HIGH - high level triggered
43 * IRQ_TYPE_LEVEL_LOW - low level triggered
44 * IRQ_TYPE_LEVEL_MASK - Mask to filter out the level bits
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dselect_reuseport.c1 // SPDX-License-Identifier: GPL-2.0
38 static int reuseport_array = -1, outer_map = -1;
41 static int saved_tcp_syncookie = -1;
43 static int saved_tcp_fo = -1;
63 return -1; \
81 RET_ERR(reuseport_array == -1, "creating reuseport_array", in create_maps()
82 "reuseport_array:%d errno:%d\n", reuseport_array, errno); in create_maps()
89 attr.max_entries = 1; in create_maps()
92 RET_ERR(outer_map == -1, "creating outer_map", in create_maps()
93 "outer_map:%d errno:%d\n", outer_map, errno); in create_maps()
[all …]
Dskeleton.c1 // SPDX-License-Identifier: GPL-2.0
26 if (CHECK(skel->kconfig, "skel_kconfig", "kconfig is mmaped()!\n")) in test_skeleton()
29 bss = skel->bss; in test_skeleton()
30 data = skel->data; in test_skeleton()
31 rodata = skel->rodata; in test_skeleton()
33 /* validate values are pre-initialized correctly */ in test_skeleton()
34 CHECK(data->in1 != -1, "in1", "got %d != exp %d\n", data->in1, -1); in test_skeleton()
35 CHECK(data->out1 != -1, "out1", "got %d != exp %d\n", data->out1, -1); in test_skeleton()
36 CHECK(data->in2 != -1, "in2", "got %lld != exp %lld\n", data->in2, -1LL); in test_skeleton()
37 CHECK(data->out2 != -1, "out2", "got %lld != exp %lld\n", data->out2, -1LL); in test_skeleton()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dgenelf.c1 // SPDX-License-Identifier: GPL-2.0-only
63 '.', 't', 'e', 'x', 't', 0, /* 1 */
67 …'.', 'n', 'o', 't', 'e', '.', 'g', 'n', 'u', '.', 'b', 'u', 'i', 'l', 'd', '-', 'i', 'd', 0, /* 33…
68 '.', 'd', 'e', 'b', 'u', 'g', '_', 'l', 'i', 'n', 'e', 0, /* 52 */
69 '.', 'd', 'e', 'b', 'u', 'g', '_', 'i', 'n', 'f', 'o', 0, /* 64 */
70 '.', 'd', 'e', 'b', 'u', 'g', '_', 'a', 'b', 'b', 'r', 'e', 'v', 0, /* 76 */
71 '.', 'e', 'h', '_', 'f', 'r', 'a', 'm', 'e', '_', 'h', 'd', 'r', 0, /* 90 */
76 Elf_Note desc; /* descsz: size of build-id, must be multiple of 4 */
90 { .st_name = 1, /* index in sym_string table */
92 .st_shndx = 1,
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dc2p_core.h2 * Fast C2P (Chunky-to-Planar) Conversion
4 * Copyright (C) 2003-2008 Geert Uytterhoeven
7 * - This code was inspired by Scout's C2P tutorial
8 * - It assumes to run on a big endian system
22 static inline void _transp(u32 d[], unsigned int i1, unsigned int i2, in _transp() argument
25 u32 t = (d[i1] ^ (d[i2] >> shift)) & mask; in _transp()
27 d[i1] ^= t; in _transp()
28 d[i2] ^= t << shift; in _transp()
35 case 1: in get_mask()
57 * Transpose operations on 8 32-bit words
[all …]

12345678910>>...49