Home
last modified time | relevance | path

Searched +full:len +full:- +full:or +full:- +full:define (Results 1 – 25 of 1137) sorted by relevance

12345678910>>...46

/linux-6.12.1/scripts/dtc/
Dutil.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #define UTIL_H
17 #define PRINTF(i, j) __attribute__((format (__MINGW_PRINTF_FORMAT, i, j)))
19 #define PRINTF(i, j) __attribute__((format (gnu_printf, i, j)))
21 #define PRINTF(i, j) __attribute__((format (printf, i, j)))
23 #define NORETURN __attribute__((noreturn))
25 #define PRINTF(i, j)
26 #define NORETURN
29 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
31 #define stringify(s) stringify_(s)
[all …]
/linux-6.12.1/arch/mips/lib/
Dmemcpy.S23 * dma-coherent systems.
37 #include <asm/asm-offsets.h>
40 #define dst a0
41 #define src a1
42 #define len a2 macro
47 * memcpy copies len bytes from src to dst and sets v0 to dst.
49 * - src and dst don't overlap
50 * - src is readable
51 * - dst is writable
54 * __copy_user copies up to len bytes from src to dst and sets a2 (len) to
[all …]
Dcsum_partial.S16 #include <asm/asm-offsets.h>
29 #define t0 $8
30 #define t1 $9
31 #define t2 $10
32 #define t3 $11
33 #define t4 $12
34 #define t5 $13
35 #define t6 $14
36 #define t7 $15
38 #define USE_DOUBLE
[all …]
/linux-6.12.1/drivers/crypto/caam/
Ddesc_constr.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright 2008-2012 Freescale Semiconductor, Inc.
10 #define DESC_CONSTR_H
15 #define IMMEDIATE (1 << 23)
16 #define CAAM_CMD_SZ sizeof(u32)
17 #define CAAM_PTR_SZ caam_ptr_sz
18 #define CAAM_PTR_SZ_MAX sizeof(dma_addr_t)
19 #define CAAM_PTR_SZ_MIN sizeof(u32)
20 #define CAAM_DESC_BYTES_MAX (CAAM_CMD_SZ * MAX_CAAM_DESCSIZE)
21 #define __DESC_JOB_IO_LEN(n) (CAAM_CMD_SZ * 5 + (n) * 3)
[all …]
/linux-6.12.1/include/uapi/linux/
Dscif_ioctl.h1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
5 * This file is provided under a dual BSD/GPLv2 license. When using or
12 * This program is free software; you can redistribute it and/or modify
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25 * Redistribution and use in source and binary forms, with or without
33 * the documentation and/or other materials provided with the
36 * contributors may be used to endorse or promote products derived
40 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
43 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
44 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
[all …]
Dinput.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
5 * This program is free software; you can redistribute it and/or modify it
10 #define _UAPI_INPUT_H
20 #include "input-event-codes.h"
31 #define input_event_sec time.tv_sec
32 #define input_event_usec time.tv_usec
41 #define input_event_sec __sec
42 #define input_event_usec __usec
53 #define EV_VERSION 0x010001
[all …]
Dnetlink.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 #define _UAPI__LINUX_NETLINK_H
9 #define NETLINK_ROUTE 0 /* Routing/device hook */
10 #define NETLINK_UNUSED 1 /* Unused number */
11 #define NETLINK_USERSOCK 2 /* Reserved for user mode socket protocols */
12 #define NETLINK_FIREWALL 3 /* Unused number, formerly ip_queue */
13 #define NETLINK_SOCK_DIAG 4 /* socket monitoring */
14 #define NETLINK_NFLOG 5 /* netfilter/iptables ULOG */
15 #define NETLINK_XFRM 6 /* ipsec */
16 #define NETLINK_SELINUX 7 /* SELinux event notifications */
[all …]
/linux-6.12.1/drivers/net/wireless/ath/ath9k/
Dar9003_mci.h2 * Copyright (c) 2010-2011 Atheros Communications Inc.
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 #define AR9003_MCI_H
20 #define MCI_FLAG_DISABLE_TIMESTAMP 0x00000001 /* Disable time stamp */
21 #define MCI_RECOVERY_DUR_TSF (100 * 1000) /* 100 ms */
[all …]
Ddfs_debug.c2 * Copyright (c) 2008-2011 Atheros Communications Inc.
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
27 #define ATH9K_DFS_STAT(s, p) \
28 len += scnprintf(buf + len, size - len, "%28s : %10u\n", s, \
29 sc->debug.stats.dfs_stats.p)
[all …]
Dhtc_drv_debug.c2 * Copyright (c) 2010-2011 Atheros Communications Inc.
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 struct ath9k_htc_priv *priv = file->private_data; in read_file_tgt_int_stats()
25 unsigned int len = 0; in read_file_tgt_int_stats() local
35 return -EINVAL; in read_file_tgt_int_stats()
[all …]
Dcommon-debug.c2 * Copyright (c) 2008-2011 Atheros Communications Inc.
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 struct ath_hw *ah = file->private_data; in read_file_modal_eeprom()
23 u32 len = 0, size = 6000; in read_file_modal_eeprom() local
29 return -ENOMEM; in read_file_modal_eeprom()
[all …]
/linux-6.12.1/drivers/media/v4l2-core/
Dv4l2-jpeg.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * For reference, see JPEG ITU-T.81 (ISO/IEC 10918-1) [1]
9 * [1] https://www.w3.org/Graphics/JPEG/itu-t81.pdf
17 #include <media/v4l2-jpeg.h>
23 /* Table B.1 - Marker code assignments */
24 #define SOF0 0xffc0 /* start of frame */
25 #define SOF1 0xffc1
26 #define SOF2 0xffc2
27 #define SOF3 0xffc3
28 #define SOF5 0xffc5
[all …]
/linux-6.12.1/include/net/
D6lowpan.h10 * This program is free software; you can redistribute it and/or modify
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
28 * Redistribution and use in source and binary forms, with or without
35 * documentation and/or other materials provided with the distribution.
37 * may be used to endorse or promote products derived from this software
41 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
43 * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
44 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
46 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
[all …]
/linux-6.12.1/arch/riscv/crypto/
Daes-riscv64-zvkned.S1 /* SPDX-License-Identifier: Apache-2.0 OR BSD-2-Clause */
3 // This file is dual-licensed, meaning that you can use it under your
9 // a copy in the file LICENSE in the source distribution or at
12 // or
20 // Redistribution and use in source and binary forms, with or without
27 // documentation and/or other materials provided with the distribution.
30 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
34 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
35 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
[all …]
Daes-riscv64-zvkned-zvbb-zvkg.S1 /* SPDX-License-Identifier: Apache-2.0 OR BSD-2-Clause */
3 // This file is dual-licensed, meaning that you can use it under your
9 // a copy in the file LICENSE in the source distribution or at
12 // or
18 // Redistribution and use in source and binary forms, with or without
25 // documentation and/or other materials provided with the distribution.
28 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
31 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
32 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
33 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
[all …]
/linux-6.12.1/arch/powerpc/include/asm/
Dchecksum.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #define _ASM_POWERPC_CHECKSUM_H
12 * Computes the checksum of a memory block at src, length len,
13 * and adds in "sum" (32-bit), while copying the block to dst.
14 * If an access exception occurs on src or dst, it stores -EFAULT
15 * to *src_err or *dst_err respectively (if that pointer is not
21 extern __wsum csum_partial_copy_generic(const void *src, void *dst, int len);
23 #define _HAVE_ARCH_COPY_AND_CSUM_FROM_USER
25 int len);
26 #define HAVE_CSUM_COPY_USER
[all …]
/linux-6.12.1/include/linux/
Dminmax.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define _LINUX_MINMAX_H
13 * - Avoid multiple evaluations of the arguments (so side-effects like
14 * "x++" happen only once) when non-constant.
15 * - Retain result as a constant expressions when called with only
18 * - Perform signed v unsigned type-checking (to generate compile
20 * - Unsigned char/short are always promoted to signed int and can be
21 * compared against signed or unsigned arguments.
22 * - Unsigned arguments can be compared against non-negative signed constants.
23 * - Comparison of a signed argument against an unsigned constant fails
[all …]
/linux-6.12.1/arch/riscv/kvm/
Dvcpu_insn.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2019 Western Digital Corporation or its affiliates.
12 #define INSN_OPCODE_MASK 0x007c
13 #define INSN_OPCODE_SHIFT 2
14 #define INSN_OPCODE_SYSTEM 28
16 #define INSN_MASK_WFI 0xffffffff
17 #define INSN_MATCH_WFI 0x10500073
19 #define INSN_MASK_WRS 0xffffffff
20 #define INSN_MATCH_WRS 0x00d00073
22 #define INSN_MATCH_CSRRW 0x1073
[all …]
/linux-6.12.1/net/bluetooth/cmtp/
Dcapi.c3 Copyright (C) 2002-2003 Marcel Holtmann <marcel@holtmann.org>
5 This program is free software; you can redistribute it and/or modify
10 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13 CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES
14 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS, RELATING TO USE OF THIS
47 #define CAPI_INTEROPERABILITY 0x20
49 #define CAPI_INTEROPERABILITY_REQ CAPICMD(CAPI_INTEROPERABILITY, CAPI_REQ)
[all …]
/linux-6.12.1/tools/include/uapi/linux/
Dnetlink.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 #define _UAPI__LINUX_NETLINK_H
9 #define NETLINK_ROUTE 0 /* Routing/device hook */
10 #define NETLINK_UNUSED 1 /* Unused number */
11 #define NETLINK_USERSOCK 2 /* Reserved for user mode socket protocols */
12 #define NETLINK_FIREWALL 3 /* Unused number, formerly ip_queue */
13 #define NETLINK_SOCK_DIAG 4 /* socket monitoring */
14 #define NETLINK_NFLOG 5 /* netfilter/iptables ULOG */
15 #define NETLINK_XFRM 6 /* ipsec */
16 #define NETLINK_SELINUX 7 /* SELinux event notifications */
[all …]
/linux-6.12.1/arch/x86/crypto/
Dcrc32-pclmul_glue.c3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * This program is free software; you can redistribute it and/or modify
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * information or have any questions.
41 #define CHKSUM_BLOCK_SIZE 1
42 #define CHKSUM_DIGEST_SIZE 4
44 #define PCLMUL_MIN_LEN 64L /* minimum size of buffer
46 #define SCALE_F 16L /* size of xmm register */
47 #define SCALE_F_MASK (SCALE_F - 1)
49 u32 crc32_pclmul_le_16(unsigned char const *buffer, size_t len, u32 crc32);
[all …]
/linux-6.12.1/include/media/
Ddvb_ringbuffer.h9 * Copyright (C) 1999-2003 Ralph Metzler & Marcus Metzler
12 * This program is free software; you can redistribute it and/or
15 * of the License, or (at your option) any later version.
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 #define _DVB_RINGBUFFER_H_
30 * struct dvb_ringbuffer - Describes a ring buffer used at DVB framework
52 #define DVB_RINGBUFFER_PKTHDRSIZE 3
55 * dvb_ringbuffer_init - initialize ring buffer, lock and queue
59 * @len: bytes from ring buffer into @buf
62 size_t len);
[all …]
/linux-6.12.1/include/linux/mtd/
Dspinand.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2016-2017 Micron Technology, Inc.
9 #define __LINUX_MTD_SPINAND_H
17 #include <linux/spi/spi-mem.h>
23 #define SPINAND_RESET_OP \
29 #define SPINAND_WR_EN_DIS_OP(enable) \
35 #define SPINAND_READID_OP(naddr, ndummy, buf, len) \ argument
39 SPI_MEM_OP_DATA_IN(len, buf, 1))
41 #define SPINAND_SET_FEATURE_OP(reg, valptr) \
47 #define SPINAND_GET_FEATURE_OP(reg, valptr) \
[all …]
/linux-6.12.1/include/net/bluetooth/
Dbluetooth.h2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (C) 2000-2001 Qualcomm Incorporated
8 This program is free software; you can redistribute it and/or modify
13 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES
17 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
18 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
19 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS, RELATING TO USE OF THIS
27 #define __BLUETOOTH_H
[all …]
/linux-6.12.1/include/acpi/
Dacbuffer.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
4 * Name: acbuffer.h - Support for buffers returned by ACPI predefined names
6 * Copyright (C) 2000 - 2023, Intel Corp.
11 #define __ACBUFFER_H__
23 * essentially useless for dealing with packed data in on-disk formats or
24 * binary wire protocols." (Or ACPI tables and buffers.) "If you ask me,
110 * 1) Convert a _PLD buffer to internal struct acpi_pld_info format - ACPI_PLD_GET*
112 * 2) Construct a _PLD buffer - ACPI_PLD_SET*
115 #define ACPI_PLD_REV1_BUFFER_SIZE 16 /* For Revision 1 of the buffer (From ACPI spec)…
116 #define ACPI_PLD_REV2_BUFFER_SIZE 20 /* For Revision 2 of the buffer (From ACPI spec)…
[all …]

12345678910>>...46