| /kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
| D | enic_res.h | 2 * Copyright 2008-2010 Cisco Systems, Inc. All rights reserved. 5 * This program is free software; you may redistribute it and/or modify 10 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 12 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 13 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 14 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 15 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 #define _ENIC_RES_H_ 28 #define ENIC_MIN_WQ_DESCS 64 29 #define ENIC_MAX_WQ_DESCS 4096 [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
| D | trace_mmu.h | 4 * This file is provided under a dual BSD/GPLv2 license. When using or 9 * This program is free software; you can redistribute it and/or modify 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 * Redistribution and use in source and binary forms, with or without 24 * - Redistributions of source code must retain the above copyright 26 * - Redistributions in binary form must reproduce the above copyright 28 * the documentation and/or other materials provided with the 30 * - Neither the name of Intel Corporation nor the names of its 31 * contributors may be used to endorse or promote products derived 35 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT [all …]
|
| /kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
| D | v4l2-jpeg.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/scripts/dtc/ |
| D | util.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 #define UTIL_H 17 #define PRINTF(i, j) __attribute__((format (gnu_printf, i, j))) 19 #define PRINTF(i, j) __attribute__((format (printf, i, j))) 21 #define NORETURN __attribute__((noreturn)) 23 #define PRINTF(i, j) 24 #define NORETURN 27 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) 29 #define stringify(s) stringify_(s) 30 #define stringify_(s) #s [all …]
|
| /kernel/liteos_a/testsuites/unittest/basic/mem/vm/smoke/ |
| D | mmap_test_006.cpp | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 5 * Redistribution and use in source and binary forms, with or without modification, 12 * of conditions and the following disclaimer in the documentation and/or other materials 16 * to endorse or promote products derived from this software without specific prior written 20 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 24 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 26 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, [all …]
|
| /kernel/linux/linux-5.10/scripts/dtc/ |
| D | util.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 #define UTIL_H 17 #define PRINTF(i, j) __attribute__((format (printf, i, j))) 19 #define PRINTF(i, j) __attribute__((format (gnu_printf, i, j))) 21 #define NORETURN __attribute__((noreturn)) 23 #define PRINTF(i, j) 24 #define NORETURN 27 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) 29 #define stringify(s) stringify_(s) 30 #define stringify_(s) #s [all …]
|
| /kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
| D | v4l2-jpeg.c | 1 // 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 …]
|
| /kernel/liteos_a/kernel/extended/trace/pipeline/ |
| D | trace_tlv.c | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 5 * Redistribution and use in source and binary forms, with or without modification, 12 * of conditions and the following disclaimer in the documentation and/or other materials 16 * to endorse or promote products derived from this software without specific prior written 20 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 24 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 26 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, [all …]
|
| /kernel/liteos_m/components/trace/pipeline/ |
| D | trace_tlv.c | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 5 * Redistribution and use in source and binary forms, with or without modification, 12 * of conditions and the following disclaimer in the documentation and/or other materials 16 * to endorse or promote products derived from this software without specific prior written 20 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 24 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 26 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, [all …]
|
| /kernel/liteos_a/syscall/ |
| D | syscall_pub.h | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 5 * Redistribution and use in source and binary forms, with or without modification, 12 * of conditions and the following disclaimer in the documentation and/or other materials 16 * to endorse or promote products derived from this software without specific prior written 20 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 24 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 26 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, [all …]
|
| /kernel/linux/linux-5.10/tools/lib/traceevent/ |
| D | trace-seq.c | 1 // SPDX-License-Identifier: LGPL-2.1 6 #include "trace-seq.h" 14 #include "event-parse.h" 15 #include "event-utils.h" 21 #define TRACE_SEQ_POISON ((void *)0xdeadbeef) 22 #define TRACE_SEQ_CHECK(s) \ 24 if (WARN_ONCE((s)->buffer == TRACE_SEQ_POISON, \ 26 (s)->state = TRACE_SEQ__BUFFER_POISONED; \ 29 #define TRACE_SEQ_CHECK_RET_N(s, n) \ 32 if ((s)->state != TRACE_SEQ__GOOD) \ [all …]
|
| /kernel/linux/linux-5.10/arch/mips/lib/ |
| D | memcpy.S | 23 * dma-coherent systems. 36 #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 …]
|
| /kernel/linux/linux-6.6/arch/mips/lib/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/crypto/caam/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/crypto/caam/ |
| 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 …]
|
| /kernel/liteos_a/lib/libscrew/src/ |
| D | los_crc32.c | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 5 * Redistribution and use in source and binary forms, with or without modification, 12 * of conditions and the following disclaimer in the documentation and/or other materials 16 * to endorse or promote products derived from this software without specific prior written 20 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 24 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 26 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| 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 …]
|
| 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-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 …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| 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 …]
|
| 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-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 …]
|
| /kernel/linux/linux-5.10/drivers/i2c/busses/ |
| D | i2c-mlxcpld.c | 5 * Redistribution and use in source and binary forms, with or without 12 * documentation and/or other materials provided with the distribution. 14 * contributors may be used to endorse or promote products derived from 22 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 25 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 43 #define MLXPLAT_CPLD_LPC_I2C_BASE_ADDR 0x2000 44 #define MLXCPLD_I2C_DEVICE_NAME "i2c_mlxcpld" [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
| 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 …]
|
| 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 …]
|