/linux/Documentation/devicetree/bindings/usb/ |
H A 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/drivers/net/ethernet/broadcom/bnxt/ |
H A 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 49 struct bnxt *bp = netdev_priv(dev); in bnxt_get_msglevel() local 51 return bp->msg_enable; in bnxt_get_msglevel() 56 struct bnxt *bp = netdev_priv(dev); in bnxt_set_msglevel() local 58 bp->msg_enable = value; in bnxt_set_msglevel() 66 struct bnxt *bp = netdev_priv(dev); in bnxt_get_coalesce() local 72 coal->use_adaptive_rx_coalesce = bp->flags & BNXT_FLAG_DIM; in bnxt_get_coalesce() 74 hw_coal = &bp->rx_coal; in bnxt_get_coalesce() [all …]
|
H A 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> 91 [BCM57301] = { "Broadcom BCM57301 NetXtreme-C 10Gb Ethernet" }, 92 [BCM57302] = { "Broadcom BCM57302 NetXtreme-C 10Gb/25Gb Ethernet" }, 93 [BCM57304] = { "Broadcom BCM57304 NetXtreme-C 10Gb/25Gb/40Gb/50Gb Ethernet" }, 94 [BCM57417_NPAR] = { "Broadcom BCM57417 NetXtreme-E Ethernet Partition" }, 96 [BCM57311] = { "Broadcom BCM57311 NetXtreme-C 10Gb Ethernet" }, 97 [BCM57312] = { "Broadcom BCM57312 NetXtreme-C 10Gb/25Gb Ethernet" }, [all …]
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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/drivers/gpu/drm/sun4i/ |
H A 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/arch/arm/boot/dts/marvell/ |
H A 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/drivers/net/fddi/ |
H A 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/drivers/usb/misc/ |
H A 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/arch/mips/cavium-octeon/executive/ |
H A 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/net/ipv4/ |
H A 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. 215 seq_printf(seq, "%-127s\n", in rt_cache_seq_show() 236 for (cpu = *pos-1; cpu < nr_cpu_ids; ++cpu) { in rt_cpu_seq_start() 278 0, /* st->in_hit */ in rt_cpu_seq_show() 279 st->in_slow_tot, in rt_cpu_seq_show() 280 st->in_slow_mc, in rt_cpu_seq_show() 281 st->in_no_route, in rt_cpu_seq_show() 282 st->in_brd, in rt_cpu_seq_show() [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A 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/net/sctp/ |
H A 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> 110 struct sock *sk = asoc->base.sk; in sctp_wspace() 112 return asoc->ep->sndbuf_policy ? sk->sk_sndbuf - asoc->sndbuf_used in sctp_wspace() [all …]
|
/linux/drivers/ata/ |
H A 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/arch/x86/coco/sev/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/percpu-defs.h> 27 #include <linux/psp-sev.h> 29 #include <uapi/linux/sev-guest.h> 36 #include <asm/insn-eval.h> 69 [MSR_AMD64_SEV_ES_ENABLED_BIT] = "SEV-ES", 70 [MSR_AMD64_SEV_SNP_ENABLED_BIT] = "SEV-SNP", 86 /* For early boot hypervisor communication in SEV-ES enabled guests */ 110 /* #VC handler runtime per-CPU data */ 124 * Mark the per-cpu GHCBs as in-use to detect nested #VC exceptions. [all …]
|
/linux/net/ipv6/ |
H A 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/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A 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/drivers/scsi/ |
H A 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 …]
|
/linux/arch/x86/kvm/vmx/ |
H A D | vmx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Kernel-based Virtual Machine driver for Linux 5 * This module enables machines with Intel VT-x extensions to run virtual 31 #include <linux/entry-kvm.h> 50 #include <asm/spec-ctrl.h> 77 MODULE_DESCRIPTION("KVM support for VMX (Intel VT-x) extensions"); 140 /* Guest_tsc -> host_tsc conversion requires 64-bit division. */ 192 * These 2 parameters are used to config the controls for Pause-Loop Exiting: 208 /* Default doubles per-vcpu window every exit. */ 212 /* Default resets per-vcpu window every exit to ple_window. */ [all …]
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_nvme.c | 4 * Copyright (C) 2017-2024 Broadcom. All Rights Reserved. The term * 6 * Copyright (C) 2004-2016 Emulex. All rights reserved. * 9 * Portions Copyright (C) 2004-2005 Christoph Hellwig * 17 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 28 #include <linux/crc-t10dif.h> 54 /* NVME initiator-based functions */ 66 * lpfc_nvme_create_queue - 70 * @handle: An opaque driver handle used in follow-up calls. 74 * A hardware queue maps (qidx) to a specific driver MSI-X vector/EQ/CQ/WQ. 77 * 0 - Success [all …]
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_init.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2003-2014 QLogic Corporation 43 /* SRB Extensions ---------------------------------------------------------- */ 50 scsi_qla_host_t *vha = sp->vha; in qla2x00_sp_timeout() 53 iocb = &sp->u.iocb_cmd; in qla2x00_sp_timeout() 54 iocb->timeout(sp); in qla2x00_sp_timeout() 57 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_sp_timeout() 59 if (vha && qla2x00_isp_reg_stat(vha->hw)) { in qla2x00_sp_timeout() 68 struct srb_iocb *iocb = &sp->u.iocb_cmd; in qla2x00_sp_free() 70 del_timer(&iocb->timer); in qla2x00_sp_free() [all …]
|
/linux/Documentation/virt/kvm/ |
H A D | api.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 The Definitive KVM (Kernel-based Virtual Machine) API Documentation 24 - System ioctls: These query and set global attributes which affect the 28 - VM ioctls: These query and set attributes that affect an entire virtual 35 - vcpu ioctls: These query and set attributes that control the operation 43 - device ioctls: These query and set attributes that control the operation 92 facility that allows backward-compatible extensions to the API to be 133 ----------------------- 150 ----------------- 189 address used by the VM. The IPA_Bits is encoded in bits[7-0] of the [all …]
|