| /linux/scripts/dtc/ | 
| H A D | util.h | 1 /* 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 PRINT
 45 xmalloc(size_t len) xmalloc()  argument
 55 xrealloc(void * p,size_t len) xrealloc()  argument
 [all...]
 | 
| /linux/arch/mips/lib/ | 
| H A D | memcpy.S | 23  * 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 …]
 
 | 
| H A D | csum_partial.S | 16 #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/drivers/crypto/caam/ | 
| H A D | desc_constr.h | 1 /* 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/include/uapi/linux/ | 
| H A D | scif_ioctl.h | 1 /* 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 …]
 
 | 
| H A D | input.h | 1 /* 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-code
 120 __u8 len; global()  member
 142 EVIOCGNAME(len) global()  argument
 143 EVIOCGPHYS(len) global()  argument
 144 EVIOCGUNIQ(len) global()  argument
 145 EVIOCGPROP(len) global()  argument
 171 EVIOCGMTSLOTS(len) global()  argument
 173 EVIOCGKEY(len) global()  argument
 174 EVIOCGLED(len) global()  argument
 175 EVIOCGSND(len) global()  argument
 176 EVIOCGSW(len) global()  argument
 178 EVIOCGBIT(ev,len) global()  argument
 [all...]
 | 
| H A D | netlink.h | 1 /* 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/drivers/net/wireless/ath/ath9k/ | 
| H A D | ar9003_mci.h | 2  * 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 …]
 
 | 
| H A D | dfs_debug.c | 2  * 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 …]
 
 | 
| H A D | htc_drv_debug.c | 2  * 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 …]
 
 | 
| H A D | common-debug.c | 2  * 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.
 23 	struct ath_hw *ah = file->private_data;  in read_file_modal_eeprom()
 24 	u32 len = 0, size = 6000;  in read_file_modal_eeprom()  local
 30 		return -ENOMEM;  in read_file_modal_eeprom()
 [all …]
 
 | 
| /linux/include/net/ | 
| H A D | 6lowpan.h | 10  * This program is free software; you can redistribute it and/or modify16  * 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/fs/xfs/scrub/ | 
| H A D | scrub.h | 1 // SPDX-License-Identifier: GPL-2.0-or-later3  * Copyright (C) 2017-2023 Oracle.  All Rights Reserved.
 7 #define __XFS_SCRUB_SCRUB_H__
 18 #define XCHK_RELAX_NEXT		(jiffies + (HZ / 10))
 20 #define INIT_XCHK_RELAX	\
 31  * then so that we don't run afoul of the soft lockup watchdog or RCU stall
 39 	if (likely(++widget->resched_nr < 100))  in xchk_maybe_relax()
 41 	widget->resched_nr = 0;  in xchk_maybe_relax()
 43 	if (unlikely(widget->next_resched <= jiffies)) {  in xchk_maybe_relax()
 45 		widget->next_resched = XCHK_RELAX_NEXT;  in xchk_maybe_relax()
 [all …]
 
 | 
| /linux/arch/riscv/crypto/ | 
| H A D | aes-riscv64-zvkned.S | 1 /* 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 …]
 
 | 
| H A D | aes-riscv64-zvkned-zvbb-zvkg.S | 1 /* 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 …]
 
 | 
| H A D | ghash-riscv64-zvkg.S | 1 /* 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
 19 // Redistribution and use in source and binary forms, with or without
 26 //    documentation and/or other materials provided with the distribution.
 29 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 32 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 33 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 34 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 [all …]
 
 | 
| /linux/arch/powerpc/include/asm/ | 
| H A D | checksum.h | 1 /* 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/net/bluetooth/cmtp/ | 
| H A D | capi.c | 3    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/tools/include/uapi/linux/ | 
| H A D | netlink.h | 1 /* 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/include/net/bluetooth/ | 
| H A D | bluetooth.h | 2    BlueZ - Bluetooth protocol stack for Linux3    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 I
 224 __u8 len; global()  member
 505 bt_skb_alloc(unsigned int len,gfp_t how) bt_skb_alloc()  argument
 516 bt_skb_send_alloc(struct sock * sk,unsigned long len,int nb,int * err) bt_skb_send_alloc()  argument
 546 bt_skb_sendmsg(struct sock * sk,struct msghdr * msg,size_t len,size_t mtu,size_t headroom,size_t tailroom) bt_skb_sendmsg()  argument
 576 bt_skb_sendmmsg(struct sock * sk,struct msghdr * msg,size_t len,size_t mtu,size_t headroom,size_t tailroom) bt_skb_sendmmsg()  argument
 [all...]
 | 
| /linux/lib/crypto/x86/ | 
| H A D | sha256-ni-asm.S | 2  * Intel SHA Extensions optimized implementation of a SHA-256 update function4  * This file is provided under a dual BSD/GPLv2 license.  When using or
 11  * This program is free software; you can redistribute it and/or modify
 17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 28  * Redistribution and use in source and binary forms, with or without
 36  * 	  the documentation and/or other materials provided with the
 39  * 	  contributors may be used to endorse or promote products derived
 43  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 46  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 47  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 [all …]
 
 | 
| /linux/include/media/ | 
| H A D | dvb_ringbuffer.h | 9  * Copyright (C) 1999-2003 Ralph Metzler & Marcus Metzler12  * 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/include/acpi/ | 
| H A D | acbuffer.h | 1 /* 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 - 2025, 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 …]
 
 | 
| /linux/lib/zlib_deflate/ | 
| H A D | defutil.h | 2 #define DEFUTIL_H6 #define Assert(err, str)
 7 #define Trace(dummy)
 8 #define Tracev(dummy)
 9 #define Tracecv(err, dummy)
 10 #define Tracevv(dummy)
 14 #define LENGTH_CODES 29
 17 #define LITERALS  256
 20 #define L_CODES (LITERALS+1+LENGTH_CODES)
 21 /* number of Literal or Length codes, including the END_BLOCK code */
 [all …]
 
 | 
| /linux/include/linux/ | 
| H A D | crc32.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */3 #define _LINUX_CRC32_H
 9  * crc32_le() - Compute least-significant-bit-first IEEE CRC-32
 10  * @crc: Initial CRC value.  ~0 (recommended) or 0 for a new CRC computation, or
 13  * @len: Length of data in bytes
 15  * This implements the CRC variant that is often known as the IEEE CRC-32, or
 16  * simply CRC-32, and is widely used in Ethernet and other applications:
 18  * - Polynomial: x^32 + x^26 + x^23 + x^22 + x^16 + x^12 + x^11 + x^10 + x^8 +
 20  * - Bit order: Least-significant-bit-first
 21  * - Polynomial in integer form: 0xedb88320
 [all …]
 
 |