/Linux-v6.6/Documentation/devicetree/bindings/usb/ |
D | usb251xb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip USB 2.0 Hi-Speed Hub Controller 10 - Richard Leitner <richard.leitner@skidata.com> 15 - microchip,usb2422 16 - microchip,usb2512b 17 - microchip,usb2512bi 18 - microchip,usb2513b 19 - microchip,usb2513bi [all …]
|
/Linux-v6.6/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 1 /* Copyright 2008-2013 Broadcom Corporation 8 * at http://www.gnu.org/licenses/gpl-2.0.html (the "GPL"). 43 #define I2C_WA_PWR_ITER (I2C_WA_RETRY_CNT - 1) 205 (_phy)->def_md_devad, \ 211 (_phy)->def_md_devad, \ 220 static u32 bnx2x_bits_en(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_en() argument 222 u32 val = REG_RD(bp, reg); in bnx2x_bits_en() 225 REG_WR(bp, reg, val); in bnx2x_bits_en() 229 static u32 bnx2x_bits_dis(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_dis() argument 231 u32 val = REG_RD(bp, reg); in bnx2x_bits_dis() [all …]
|
D | bnx2x_init.h | 4 * Copyright (c) 2007-2013 Broadcom Corporation 29 OP_WB_ZR, /* Clear a string using DMAE or indirect-wr */ 207 static inline void bnx2x_map_q_cos(struct bnx2x *bp, u32 q_num, u32 new_cos) in bnx2x_map_q_cos() argument 210 u32 curr_cos = REG_RD(bp, QM_REG_QVOQIDX_0 + q_num * 4); in bnx2x_map_q_cos() 212 /* check if queue->COS mapping has changed */ in bnx2x_map_q_cos() 218 if (INIT_MODE_FLAGS(bp) & MODE_PORT4) { in bnx2x_map_q_cos() 220 if (BP_PORT(bp)) { in bnx2x_map_q_cos() 229 BNX2X_PF_Q_NUM(q_num, BP_PORT(bp), vnic); in bnx2x_map_q_cos() 232 /* overwrite queue->VOQ mapping */ in bnx2x_map_q_cos() 233 REG_WR(bp, BNX2X_Q_VOQ_REG_ADDR(pf_q_num), new_cos); in bnx2x_map_q_cos() [all …]
|
D | bnx2x_main.c | 3 * Copyright (c) 2007-2013 Broadcom Corporation 36 #include <linux/dma-mapping.h> 83 #define FW_FILE_NAME_E1 "bnx2x/bnx2x-e1-" FW_FILE_VERSION ".fw" 84 #define FW_FILE_NAME_E1H "bnx2x/bnx2x-e1h-" FW_FILE_VERSION ".fw" 85 #define FW_FILE_NAME_E2 "bnx2x/bnx2x-e2-" FW_FILE_VERSION ".fw" 86 #define FW_FILE_NAME_E1_V15 "bnx2x/bnx2x-e1-" FW_FILE_VERSION_V15 ".fw" 87 #define FW_FILE_NAME_E1H_V15 "bnx2x/bnx2x-e1h-" FW_FILE_VERSION_V15 ".fw" 88 #define FW_FILE_NAME_E2_V15 "bnx2x/bnx2x-e2-" FW_FILE_VERSION_V15 ".fw" 117 MODULE_PARM_DESC(int_mode, " Force interrupt mode other than MSI-X " 124 static int mrrs = -1; [all …]
|
D | bnx2x.h | 3 * Copyright (c) 2007-2013 Broadcom Corporation 21 #include <linux/dma-mapping.h> 37 * to break this driver due to amount of abuse of in-kernel interfaces 42 #define DRV_MODULE_VERSION "1.713.36-0" 53 #define BNX2X_MIN_MSIX_VEC_CNT(bp) ((bp)->min_msix_vec_cnt) argument 94 bp->dev ? (bp->dev->name) : "?", \ 99 if (unlikely(bp->msg_enable & (__mask))) \ 105 if (unlikely((bp->msg_enable & (__mask)) == __mask)) \ 111 if (unlikely(bp->msg_enable & (__mask))) \ 118 if (unlikely(netif_msg_probe(bp))) \ [all …]
|
D | bnx2x_self_test.c | 1 // SPDX-License-Identifier: GPL-2.0 30 u32 imm1; /* 1st value in predicate condition, left-to-right */ 31 u32 imm2; /* 2nd value in predicate condition, left-to-right */ 32 u32 imm3; /* 3rd value in predicate condition, left-to-right */ 33 u32 imm4; /* 4th value in predicate condition, left-to-right */ 36 /* struct representing self test record - a single test */ 54 return (args->val1 == args->imm1); in peq() 59 return (args->val1 != args->imm1); in pneq() 64 return ((args->val1 & args->imm1) != args->imm2); in pand_neq() 69 return (((args->val1 & args->imm1) != args->imm2) && in pand_neq_x2() [all …]
|
/Linux-v6.6/drivers/gpu/drm/sun4i/ |
D | sun4i_tcon.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Maxime Ripard <maxime.ripard@free-electrons.com> 11 #include <linux/media-bus-format.h> 48 drm_connector_list_iter_begin(encoder->dev, &iter); in sun4i_tcon_get_connector() 50 if (connector->encoder == encoder) { in sun4i_tcon_get_connector() 66 return -EINVAL; in sun4i_tcon_get_pixel_depth() 68 info = &connector->display_info; in sun4i_tcon_get_pixel_depth() 69 if (info->num_bus_formats != 1) in sun4i_tcon_get_pixel_depth() 70 return -EINVAL; in sun4i_tcon_get_pixel_depth() 72 switch (info->bus_formats[0]) { in sun4i_tcon_get_pixel_depth() [all …]
|
/Linux-v6.6/arch/arm/boot/dts/marvell/ |
D | armada-370-db.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * (DB-88F6710-BP-DDR3) 9 * Gregory CLEMENT <gregory.clement@free-electrons.com> 10 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 15 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 22 /dts-v1/; 23 #include "armada-370.dtsi" 27 compatible = "marvell,a370-db", "marvell,armada370", "marvell,armada-370-xp"; 30 stdout-path = "serial0:115200n8"; 43 internal-regs { [all …]
|
/Linux-v6.6/drivers/net/fddi/ |
D | defxx.c | 40 * Adapter Probe - 45 * Bus-Specific Initialization - 49 * initialization, the only bus-specific differences is in how the 51 * run-time critical code behaves the same on both families. 55 * Driver Open/Close - 67 * Driver Shutdown - 73 * to ensure that the adapter DMA engine is taken off-line. However, 79 * Interrupt Service Routine - 88 * have a bus-logic chip interrupt enable/disable as well as a DMA 92 * bus-logic chip and assumes that Linux will take care of clearing or [all …]
|
/Linux-v6.6/arch/mips/cavium-octeon/executive/ |
D | cvmx-helper-rgmii.c | 7 * Copyright (C) 2003-2018 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 34 #include <asm/octeon/cvmx-config.h> 36 #include <asm/octeon/cvmx-pko.h> 37 #include <asm/octeon/cvmx-helper.h> 38 #include <asm/octeon/cvmx-helper-board.h> 40 #include <asm/octeon/cvmx-npi-defs.h> 41 #include <asm/octeon/cvmx-gmxx-defs.h> 42 #include <asm/octeon/cvmx-asxx-defs.h> [all …]
|
/Linux-v6.6/drivers/usb/misc/ |
D | usb251xb.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for Microchip USB251xB USB 2.0 Hi-Speed Hub Controller 9 * a not-accepted patch by Fabien Lahoudere, see: 110 #define DRIVER_DESC "Microchip USB 2.0 Hi-Speed Hub Controller" 234 if (dev->type == &i2c_adapter_type) { in usb251xb_check_dev_children() 244 struct gpio_chip *gc = gpiod_to_chip(hub->gpio_reset); in usb251x_check_gpio_chip() 245 struct i2c_adapter *adap = hub->i2c->adapter; in usb251x_check_gpio_chip() 248 if (!hub->gpio_reset) in usb251x_check_gpio_chip() 252 return -EINVAL; in usb251x_check_gpio_chip() 254 ret = usb251xb_check_dev_children(&adap->dev, gc->parent); in usb251x_check_gpio_chip() [all …]
|
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 1 /* Broadcom NetXtreme-C/E network driver. 3 * Copyright (c) 2014-2016 Broadcom Corporation 4 * Copyright (c) 2016-2017 Broadcom Limited 47 struct bnxt *bp = netdev_priv(dev); in bnxt_get_msglevel() local 49 return bp->msg_enable; in bnxt_get_msglevel() 54 struct bnxt *bp = netdev_priv(dev); in bnxt_set_msglevel() local 56 bp->msg_enable = value; in bnxt_set_msglevel() 64 struct bnxt *bp = netdev_priv(dev); in bnxt_get_coalesce() local 70 coal->use_adaptive_rx_coalesce = bp->flags & BNXT_FLAG_DIM; in bnxt_get_coalesce() 72 hw_coal = &bp->rx_coal; in bnxt_get_coalesce() [all …]
|
D | bnxt.c | 1 /* Broadcom NetXtreme-C/E network driver. 3 * Copyright (c) 2014-2016 Broadcom Corporation 4 * Copyright (c) 2016-2019 Broadcom Limited 25 #include <linux/dma-mapping.h> 56 #include <linux/hwmon-sysfs.h> 92 [BCM57301] = { "Broadcom BCM57301 NetXtreme-C 10Gb Ethernet" }, 93 [BCM57302] = { "Broadcom BCM57302 NetXtreme-C 10Gb/25Gb Ethernet" }, 94 [BCM57304] = { "Broadcom BCM57304 NetXtreme-C 10Gb/25Gb/40Gb/50Gb Ethernet" }, 95 [BCM57417_NPAR] = { "Broadcom BCM57417 NetXtreme-E Ethernet Partition" }, 97 [BCM57311] = { "Broadcom BCM57311 NetXtreme-C 10Gb Ethernet" }, [all …]
|
/Linux-v6.6/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_eth.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later 3 * Copyright 2008 - 2016 Freescale Semiconductor Inc. 29 #include <linux/dma-mapping.h> 47 static int debug = -1; 71 /* Ingress congestion threshold on FMan ports 72 * The size in bytes of the ingress tail-drop threshold on FMan ports. 81 /* Egress congestion threshold on 1G ports, range 0x1000 .. 0x10000000 83 * 1G ports. The 1G dTSECs can quite easily be flooded by cores doing Tx in a 87 * - avoiding the device staying congested for a prolonged time (risking 88 * the netdev watchdog to fire - see also the tx_timeout module param); [all …]
|
/Linux-v6.6/drivers/net/ethernet/cirrus/ |
D | cs89x0.c | 4 * written 1993-1994 by Donald Becker. 13 * Mike Cruse : mcruse@cti-ltd.com 91 "v2.4.3-pre1 Russell Nelson <nelson@crynwr.com>, Andrew Morton"; 96 * A zero-terminated list of I/O addresses to be probed. Some special flags.. 124 /* The number of low I/O ports used by the ethercard. */ 141 int auto_neg_cnf; /* auto-negotiation word from EEPROM */ 162 /* Example routines you must write ;->. */ 205 tmp16 = ioread16(lp->virt_addr + portno); in readwords() 208 } while (--length); in readwords() 220 iowrite16(tmp16, lp->virt_addr + portno); in writewords() [all …]
|
/Linux-v6.6/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 /* Copyright 2014-2016 Freescale Semiconductor Inc. 3 * Copyright 2016-2022 NXP 23 #include "dpaa2-eth.h" 29 #include "dpaa2-eth-trace.h" 40 priv->features = 0; in dpaa2_eth_detect_features() 44 priv->features |= DPAA2_ETH_FEATURE_ONESTEP_CFG_DIRECT; in dpaa2_eth_detect_features() 57 if (dpni_set_single_step_cfg(priv->mc_io, 0, priv->mc_token, &cfg)) in dpaa2_update_ptp_onestep_indirect() 72 if (priv->onestep_reg_base) in dpaa2_update_ptp_onestep_direct() 73 writel(val, priv->onestep_reg_base); in dpaa2_update_ptp_onestep_direct() [all …]
|
/Linux-v6.6/net/ipv4/ |
D | route.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * ROUTE - implementation of the IP router. 48 * Andi Kleen : Load-limit warning messages. 110 ((oldflp4)->flowi4_tos & (IPTOS_RT_MASK | RTO_ONLINK)) 217 seq_printf(seq, "%-127s\n", in rt_cache_seq_show() 238 for (cpu = *pos-1; cpu < nr_cpu_ids; ++cpu) { in rt_cpu_seq_start() 280 0, /* st->in_hit */ in rt_cpu_seq_show() 281 st->in_slow_tot, in rt_cpu_seq_show() 282 st->in_slow_mc, in rt_cpu_seq_show() 283 st->in_no_route, in rt_cpu_seq_show() [all …]
|
/Linux-v6.6/arch/x86/kernel/ |
D | sev.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/percpu-defs.h> 25 #include <linux/psp-sev.h> 26 #include <uapi/linux/sev-guest.h> 31 #include <asm/insn-eval.h> 62 /* For early boot hypervisor communication in SEV-ES enabled guests */ 74 /* #VC handler runtime per-CPU data */ 88 * Mark the per-cpu GHCBs as in-use to detect nested #VC exceptions. 93 * This is necessary for example in the #VC->NMI->#VC case when the NMI 104 * Cached DR7 value - write it on DR7 writes and return it on reads. [all …]
|
D | process.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include <linux/user-return-notifier.h> 27 #include <linux/elf-randomize.h> 31 #include <linux/entry-common.h> 47 #include <asm/spec-ctrl.h> 59 * per-CPU TSS segments. Threads are completely 'soft' on Linux, 60 * no more per-task TSS's. The TSS size is kept cacheline-aligned 62 * section. Since TSS's are completely CPU-local, we want them 63 * on exact cacheline boundaries, to eliminate cacheline ping-pong. 73 .sp0 = (1UL << (BITS_PER_LONG-1)) + 1, [all …]
|
/Linux-v6.6/net/sctp/ |
D | socket.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 6 * Copyright (c) 2001-2003 Intel Corp. 7 * Copyright (c) 2001-2002 Nokia, Inc. 16 * functions--this file is the functions which populate the struct proto 21 * lksctp developers <linux-sctp@vger.kernel.org> 31 * Inaky Perez-Gonzalez <inaky.gonzalez@intel.com> 109 struct sock *sk = asoc->base.sk; in sctp_wspace() 111 return asoc->ep->sndbuf_policy ? sk->sk_sndbuf - asoc->sndbuf_used in sctp_wspace() [all …]
|
/Linux-v6.6/drivers/ata/ |
D | libata-scsi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * libata-scsi.c - helper library for ATA 5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved. 6 * Copyright 2003-2004 Jeff Garzik 9 * as Documentation/driver-api/libata.rst 12 * - http://www.t10.org/ 13 * - http://www.t13.org/ 38 #include "libata-transport.h" 66 RW_RECOVERY_MPAGE_LEN - 2, 76 CACHE_MPAGE_LEN - 2, [all …]
|
/Linux-v6.6/arch/ia64/kernel/ |
D | smpboot.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * SMP boot-related support 5 * Copyright (C) 1998-2003, 2005 Hewlett-Packard Co 6 * David Mosberger-Tang <davidm@hpl.hp.com> 7 * Copyright (C) 2001, 2004-2005 Intel Corp 15 * 02/07/31 David Mosberger <davidm@hpl.hp.com> Switch over to hotplug-CPU boot-sequence. 21 * Add multi-threading and multi-core detection 131 unsigned long ap_wakeup_vector = -1; /* External Int use to wakeup APs */ 210 * (time-keeper) CPU. A positive number indicates our itc is ahead of the master, 228 if (t1 - t0 < best_t1 - best_t0) in get_delta() [all …]
|
/Linux-v6.6/net/ipv6/ |
D | route.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * FIB front-end. 14 * - respect outgoing interface 15 * - select from (probably) reachable routers (i.e. 17 * - always select the same router if it is (probably) 18 * reachable. otherwise, round-robin the list. 79 RT6_NUD_FAIL_HARD = -3, 80 RT6_NUD_FAIL_PROBE = -2, 81 RT6_NUD_FAIL_DO_RR = -1, 142 rt->dst.rt_uncached_list = ul; in rt6_uncached_list_add() [all …]
|
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 2 * This file is part of the Chelsio T4 PCI-E SR-IOV Virtual Function Ethernet 5 * Copyright (c) 2009-2010 Chelsio Communications, Inc. All rights reserved. 17 * - Redistributions of source code must retain the above 21 * - Redistributions in binary form must reproduce the above 42 #include <linux/dma-mapping.h> 74 * order MSI-X then MSI. This parameter determines which of these schemes the 77 * msi = 2: choose from among MSI-X and MSI 82 * the PCI-E SR-IOV standard). 91 MODULE_PARM_DESC(msi, "whether to use MSI-X or MSI"); 112 * list entries are 64-bit PCI DMA addresses. And since the state of [all …]
|
/Linux-v6.6/drivers/scsi/ |
D | qla1280.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (C) 2001-2004 Jes Sorensen, Wild Open Source Inc. 8 * Copyright (C) 2003-2004 Christoph Hellwig 15 - Retain firmware image for error recovery. 17 - General code cleanup. 18 - Improve error recovery. 20 - Ditch all < 2.6 support 22 - use pci_map_single to map non-S/G requests 23 - remove qla1280_proc_info 25 - add support for ISP1020/1040 [all …]
|