| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/ |
| D | stmmac.txt | 4 - compatible: Should be "snps,dwmac-<ip_version>", "snps,dwmac" or 5 "snps,dwxgmac-<ip_version>", "snps,dwxgmac". 6 For backwards compatibility: "st,spear600-gmac" is also supported. 7 - reg: Address and length of the register set for the device 8 - interrupts: Should contain the STMMAC interrupts 9 - interrupt-names: Should contain a list of interrupt names corresponding to 12 - "macirq" (combined signal for various interrupt events) 13 - "eth_wake_irq" (the interrupt to manage the remote wake-up packet detection) 14 - "eth_lpi" (the interrupt that occurs when Rx exits the LPI state) 15 - phy-mode: See ethernet.txt file in the same directory. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | snps,dwmac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Torgue <alexandre.torgue@st.com> 11 - Giuseppe Cavallaro <peppe.cavallaro@st.com> 12 - Jose Abreu <joabreu@synopsys.com> 23 - snps,dwmac 24 - snps,dwmac-3.50a 25 - snps,dwmac-3.610 26 - snps,dwmac-3.70a [all …]
|
| /kernel/linux/linux-4.19/lib/ |
| D | test_printf.c | 66 written = min(bufsize-1, elen); in do_test() 68 pr_warn("vsnprintf(buf, %d, \"%s\", ...) did not nul-terminate buffer\n", in do_test() 73 if (memchr_inv(test_buffer + written + 1, FILL_CHAR, BUF_SIZE + PAD_SIZE - (written + 1))) { in do_test() 74 pr_warn("vsnprintf(buf, %d, \"%s\", ...) wrote beyond the nul-terminator\n", in do_test() 134 /* Work around annoying "warning: zero-length gnu_printf format string". */ in test_basic() 146 test("0x1234abcd ", "%#-12x", 0x1234abcd); in test_number() 148 …test("0|001| 12|+123| 1234|-123|-1234", "%d|%03d|%3d|%+d|% d|%+d|% d", 0, 1, 12, 123, 1234, -123, … in test_number() 149 test("0|1|1|128|255", "%hhu|%hhu|%hhu|%hhu|%hhu", 0, 1, 257, 128, -1); in test_number() 150 test("0|1|1|-128|-1", "%hhd|%hhd|%hhd|%hhd|%hhd", 0, 1, 257, 128, -1); in test_number() 151 test("2015122420151225", "%ho%ho%#ho", 1037, 5282, -11627); in test_number() [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | test_printf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 72 written = min(bufsize-1, elen); in do_test() 74 pr_warn("vsnprintf(buf, %d, \"%s\", ...) did not nul-terminate buffer\n", in do_test() 79 if (memchr_inv(test_buffer + written + 1, FILL_CHAR, BUF_SIZE + PAD_SIZE - (written + 1))) { in do_test() 80 pr_warn("vsnprintf(buf, %d, \"%s\", ...) wrote beyond the nul-terminator\n", in do_test() 140 /* Work around annoying "warning: zero-length gnu_printf format string". */ in test_basic() 152 test("0x1234abcd ", "%#-12x", 0x1234abcd); in test_number() 154 …test("0|001| 12|+123| 1234|-123|-1234", "%d|%03d|%3d|%+d|% d|%+d|% d", 0, 1, 12, 123, 1234, -123, … in test_number() 155 test("0|1|1|128|255", "%hhu|%hhu|%hhu|%hhu|%hhu", 0, 1, 257, 128, -1); in test_number() 156 test("0|1|1|-128|-1", "%hhd|%hhd|%hhd|%hhd|%hhd", 0, 1, 257, 128, -1); in test_number() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
| D | stmmac_platform.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 Copyright (C) 2007-2011 STMicroelectronics Ltd 25 * dwmac1000_validate_mcast_bins - validates the number of Multicast filter bins 56 * dwmac1000_validate_ucast_entries - validate the Unicast address entries 87 * stmmac_axi_setup - parse DT parameters for programming the AXI register 90 * if required, from device-tree the AXI internal register can be tuned 98 np = of_parse_phandle(pdev->dev.of_node, "snps,axi-config", 0); in stmmac_axi_setup() 102 axi = devm_kzalloc(&pdev->dev, sizeof(*axi), GFP_KERNEL); in stmmac_axi_setup() 105 return ERR_PTR(-ENOMEM); in stmmac_axi_setup() 108 axi->axi_lpi_en = of_property_read_bool(np, "snps,lpi_en"); in stmmac_axi_setup() [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/stmicro/stmmac/ |
| D | stmmac_platform.c | 4 Copyright (C) 2007-2011 STMicroelectronics Ltd 35 * dwmac1000_validate_mcast_bins - validates the number of Multicast filter bins 65 * dwmac1000_validate_ucast_entries - validate the Unicast address entries 94 * stmmac_axi_setup - parse DT parameters for programming the AXI register 97 * if required, from device-tree the AXI internal register can be tuned 105 np = of_parse_phandle(pdev->dev.of_node, "snps,axi-config", 0); in stmmac_axi_setup() 109 axi = devm_kzalloc(&pdev->dev, sizeof(*axi), GFP_KERNEL); in stmmac_axi_setup() 112 return ERR_PTR(-ENOMEM); in stmmac_axi_setup() 115 axi->axi_lpi_en = of_property_read_bool(np, "snps,lpi_en"); in stmmac_axi_setup() 116 axi->axi_xit_frm = of_property_read_bool(np, "snps,xit_frm"); in stmmac_axi_setup() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/tehuti/ |
| D | tehuti.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 * 1) RX Free Fifo - RXF - holds descriptors of empty buffers to accept incoming 16 * 2) RX Data Fifo - RXD - holds descriptors of full buffers. This Fifo is 23 * One holds 1.5K packets and another - 26K packets. Depending on incoming 30 * skb db - used to keep track of all skbs owned by SW and their dma addresses. 34 * fifo - keeps info about fifo's size and location, relevant HW registers, 42 * NIC sees that there is no RXF buffers and raises 45 * NAPI - interrupt-driven mixed with polling 46 * interrupt-driven only 48 * Interrupt-driven only flow is following. When buffer is ready, HW raises [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/tehuti/ |
| D | tehuti.c | 16 * 1) RX Free Fifo - RXF - holds descriptors of empty buffers to accept incoming 20 * 2) RX Data Fifo - RXD - holds descriptors of full buffers. This Fifo is 27 * One holds 1.5K packets and another - 26K packets. Depending on incoming 34 * skb db - used to keep track of all skbs owned by SW and their dma addresses. 38 * fifo - keeps info about fifo's size and location, relevant HW registers, 46 * NIC sees that there is no RXF buffers and raises 49 * NAPI - interrupt-driven mixed with polling 50 * interrupt-driven only 52 * Interrupt-driven only flow is following. When buffer is ready, HW raises 111 nic->port_num == 1 ? "" : ", 2-Port"); in print_hw_id() [all …]
|
| /kernel/linux/linux-4.19/drivers/infiniband/hw/ocrdma/ |
| D | ocrdma_sli.h | 3 * Copyright (C) 2012-2015 Emulex. All rights reserved. 16 * - Redistributions of source code must retain the above copyright notice, 19 * - Redistributions in binary form must reproduce the above copyright 26 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 36 * linux-drivers@emulex.com 149 #define OCRDMA_DB_CQ_RING_ID_MASK 0x3FF /* bits 0 - 9 */ 150 #define OCRDMA_DB_CQ_RING_ID_EXT_MASK 0x0C00 /* bits 10-11 of qid at 12-11 */ 151 /* qid #2 msbits at 12-11 */ 153 #define OCRDMA_DB_CQ_NUM_POPPED_SHIFT 16 /* bits 16 - 28 */ 159 #define OCRDMA_EQ_ID_MASK 0x1FF /* bits 0 - 8 */ [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
| D | ocrdma_sli.h | 3 * Copyright (C) 2012-2015 Emulex. All rights reserved. 16 * - Redistributions of source code must retain the above copyright notice, 19 * - Redistributions in binary form must reproduce the above copyright 26 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 36 * linux-drivers@emulex.com 149 #define OCRDMA_DB_CQ_RING_ID_MASK 0x3FF /* bits 0 - 9 */ 150 #define OCRDMA_DB_CQ_RING_ID_EXT_MASK 0x0C00 /* bits 10-11 of qid at 12-11 */ 151 /* qid #2 msbits at 12-11 */ 153 #define OCRDMA_DB_CQ_NUM_POPPED_SHIFT 16 /* bits 16 - 28 */ 159 #define OCRDMA_EQ_ID_MASK 0x1FF /* bits 0 - 8 */ [all …]
|
| /kernel/linux/linux-4.19/drivers/infiniband/hw/cxgb3/ |
| D | cxio_wr.h | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 47 #define Q_FULL(rptr,wptr,size_log2) ( (((wptr)-(rptr))>>(size_log2)) && \ 50 #define Q_FREECNT(rptr,wptr,size_log2) ((1UL<<size_log2)-((wptr)-(rptr))) 51 #define Q_COUNT(rptr,wptr) ((wptr)-(rptr)) 52 #define Q_PTR2IDX(ptr,size_log2) (ptr & ((1UL<<size_log2)-1)) 59 #define SEQ32_GE(x,y) (!( (((u32) (x)) - ((u32) (y))) & 0x80000000 )) 114 return -1; in wr2opcode() 308 uP_RI_MPA_IETF_ENABLE = 0x8 [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | stm32h743.dtsi | 2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com> 4 * This file is dual-licensed: you can use it either under the terms 36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 43 #include "armv7-m.dtsi" 44 #include <dt-bindings/clock/stm32h7-clks.h> 45 #include <dt-bindings/mfd/stm32h7-rcc.h> 46 #include <dt-bindings/interrupt-controller/irq.h> 49 #address-cells = <1>; 50 #size-cells = <1>; 53 clk_hse: clk-hse { [all …]
|
| D | sun9i-a80.dtsi | 2 * Copyright 2014 Chen-Yu Tsai 4 * Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 38 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 45 #include <dt-bindings/interrupt-controller/arm-gic.h> 47 #include <dt-bindings/clock/sun9i-a80-ccu.h> 48 #include <dt-bindings/clock/sun9i-a80-de.h> 49 #include <dt-bindings/clock/sun9i-a80-usb.h> 50 #include <dt-bindings/reset/sun9i-a80-ccu.h> 51 #include <dt-bindings/reset/sun9i-a80-de.h> [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
| D | t4fw_ri_api.h | 2 * Copyright (c) 2009-2010 Chelsio, Inc. All rights reserved. 14 * - Redistributions of source code must retain the above 17 * - Redistributions in binary form must reproduce the above 25 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 45 FW_RI_RDMA_INIT = 0x8, /* CHELSIO RI specific ... */ 739 __u64 pbl[2]; member
|
| D | t4.h | 2 * Copyright (c) 2009-2010 Chelsio, Inc. All rights reserved. 14 * - Redistributions of source code must retain the above 17 * - Redistributions in binary form must reproduce the above 25 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 43 #define T4_PAGESIZE_MASK 0xffff000 /* 4KB-128MB */ 49 __be32 rsvd1; /* flit 0 - hw owns */ 54 u8 qp_err; /* flit 1 - sw owns */ 70 #define T4_MAX_SEND_SGE ((T4_SQ_NUM_BYTES - sizeof(struct fw_ri_send_wr) - \ 72 #define T4_MAX_SEND_INLINE ((T4_SQ_NUM_BYTES - sizeof(struct fw_ri_send_wr) - \ 74 #define T4_MAX_WRITE_INLINE ((T4_SQ_NUM_BYTES - \ [all …]
|
| /kernel/linux/linux-4.19/drivers/infiniband/hw/cxgb4/ |
| D | t4fw_ri_api.h | 2 * Copyright (c) 2009-2010 Chelsio, Inc. All rights reserved. 14 * - Redistributions of source code must retain the above 17 * - Redistributions in binary form must reproduce the above 25 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 45 FW_RI_RDMA_INIT = 0x8, /* CHELSIO RI specific ... */ 739 __u64 pbl[2]; member
|
| D | t4.h | 2 * Copyright (c) 2009-2010 Chelsio, Inc. All rights reserved. 14 * - Redistributions of source code must retain the above 17 * - Redistributions in binary form must reproduce the above 25 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 42 #define T4_PAGESIZE_MASK 0xffff000 /* 4KB-128MB */ 48 __be32 rsvd1; /* flit 0 - hw owns */ 53 u8 qp_err; /* flit 1 - sw owns */ 69 #define T4_MAX_SEND_SGE ((T4_SQ_NUM_BYTES - sizeof(struct fw_ri_send_wr) - \ 71 #define T4_MAX_SEND_INLINE ((T4_SQ_NUM_BYTES - sizeof(struct fw_ri_send_wr) - \ 73 #define T4_MAX_WRITE_INLINE ((T4_SQ_NUM_BYTES - \ [all …]
|
| /kernel/linux/linux-4.19/drivers/scsi/ |
| D | scsi_debug.c | 9 * Copyright (C) 2001 - 2018 Douglas Gilbert 39 #include <linux/crc-t10dif.h> 45 #include <linux/t10-pi.h> 72 #define LOGICAL_UNIT_COMMUNICATION_FAILURE 0x8 133 #define DEF_SCSI_LEVEL 7 /* INQUIRY, byte2 [6->SPC-4; 7->SPC-5] */ 146 #define JDELAY_OVERRIDDEN -9999 177 * - a missing response is simulated if SDEBUG_OPT_TIMEOUT is set 178 * - a RECOVERED_ERROR is simulated on successful read and write 180 * - a TRANSPORT_ERROR is simulated on successful read and write 182 * - similarly for DIF_ERR, DIX_ERR, SHORT_TRANSFER, HOST_BUSY and [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/ |
| D | scsi_debug.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * Copyright (C) 2001 - 2020 Douglas Gilbert 34 #include <linux/crc-t10dif.h> 40 #include <linux/t10-pi.h> 71 #define LOGICAL_UNIT_COMMUNICATION_FAILURE 0x8 142 #define DEF_SCSI_LEVEL 7 /* INQUIRY, byte2 [6->SPC-4; 7->SPC-5] */ 156 #define JDELAY_OVERRIDDEN -9999 194 /* As indicated in SAM-5 and SPC-4 Unit Attentions (UAs) are returned in 215 * per-device DEF_CMD_PER_LUN can be changed via sysfs: 223 /* UA - Unit Attention; SA - Service Action; SSU - Start Stop Unit */ [all …]
|
| /kernel/linux/linux-5.10/kernel/rcu/ |
| D | tree_plugin.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Read-Copy Update mechanism for mutual exclusion (tree-based version) 4 * Internal non-public definitions that provide either classic 31 pr_info("\tCONFIG_RCU_FANOUT set to non-default value of %d.\n", in rcu_bootup_announce_oddness() 36 pr_info("\tRCU dyntick-idle grace-period acceleration is enabled.\n"); in rcu_bootup_announce_oddness() 40 pr_info("\tRCU strict (and thus non-scalable) grace periods enabled.\n"); in rcu_bootup_announce_oddness() 42 pr_info("\tFour(or more)-level hierarchy is enabled.\n"); in rcu_bootup_announce_oddness() 44 pr_info("\tBuild-time adjustment of leaf fanout to %d.\n", in rcu_bootup_announce_oddness() 47 pr_info("\tBoot-time adjustment of leaf fanout to %d.\n", in rcu_bootup_announce_oddness() 56 pr_info("\tBoot-time adjustment of callback invocation limit to %ld.\n", blimit); in rcu_bootup_announce_oddness() [all …]
|
| /kernel/linux/linux-4.19/kernel/rcu/ |
| D | tree_plugin.h | 2 * Read-Copy Update mechanism for mutual exclusion (tree-based version) 3 * Internal non-public definitions that provide either classic 18 * http://www.gnu.org/licenses/gpl-2.0.html. 34 #include "../time/tick-internal.h" 41 * Control variables for per-CPU and per-rcu_node kthreads. These 55 * This probably needs to be excluded from -rt builds. 77 pr_info("\tCONFIG_RCU_FANOUT set to non-default value of %d.\n", in rcu_bootup_announce_oddness() 82 pr_info("\tRCU dyntick-idle grace-period acceleration is enabled.\n"); in rcu_bootup_announce_oddness() 86 pr_info("\tFour(or more)-level hierarchy is enabled.\n"); in rcu_bootup_announce_oddness() 88 pr_info("\tBuild-time adjustment of leaf fanout to %d.\n", in rcu_bootup_announce_oddness() [all …]
|
| /kernel/linux/linux-4.19/drivers/infiniband/hw/mthca/ |
| D | mthca_cmd.c | 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 28 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 78 CMD_CLOSE_HCA = 0x8, 151 * commands. So we can't use strict timeouts described in PRM -- we 194 return readl(dev->hcr + HCR_STATUS_OFFSET) & in go_bit() 206 void __iomem *ptr = dev->cmd.dbell_map; in mthca_cmd_post_dbell() 207 u16 *offs = dev->cmd.dbell_offsets; in mthca_cmd_post_dbell() 249 return -EAGAIN; in mthca_cmd_post_hcr() 257 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), dev->hcr + 0 * 4); in mthca_cmd_post_hcr() [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
| D | mthca_cmd.c | 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 28 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 78 CMD_CLOSE_HCA = 0x8, 151 * commands. So we can't use strict timeouts described in PRM -- we 194 return readl(dev->hcr + HCR_STATUS_OFFSET) & in go_bit() 206 void __iomem *ptr = dev->cmd.dbell_map; in mthca_cmd_post_dbell() 207 u16 *offs = dev->cmd.dbell_offsets; in mthca_cmd_post_dbell() 249 return -EAGAIN; in mthca_cmd_post_hcr() 257 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), dev->hcr + 0 * 4); in mthca_cmd_post_hcr() [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_main.c | 4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 28 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 94 #define DRV_VERSION "2.0.0-ko" 110 /* Include PCI Device IDs for both PF4 and PF0-3 so our PCI probe() routine is 127 #define FW4_CFNAME "cxgb4/t4-config.txt" 128 #define FW5_CFNAME "cxgb4/t5-config.txt" 129 #define FW6_CFNAME "cxgb4/t6-config.txt" 146 * order MSI-X, MSI, legacy INTx interrupts. This parameter determines which [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_main.c | 4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 28 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 110 /* Include PCI Device IDs for both PF4 and PF0-3 so our PCI probe() routine is 127 #define FW4_CFNAME "cxgb4/t4-config.txt" 128 #define FW5_CFNAME "cxgb4/t5-config.txt" 129 #define FW6_CFNAME "cxgb4/t6-config.txt" 145 * order MSI-X, MSI, legacy INTx interrupts. This parameter determines which 155 MODULE_PARM_DESC(msi, "whether to use INTx (0), MSI (1) or MSI-X (2)"); [all …]
|