/Linux-v5.15/Documentation/devicetree/bindings/iommu/ |
D | arm,smmu-v3.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/iommu/arm,smmu-v3.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Will Deacon <will@kernel.org> 11 - Robin Murphy <Robin.Murphy@arm.com> 15 revisions, replacing the MMIO register interface with in-memory command 21 pattern: "^iommu@[0-9a-f]*" 23 const: arm,smmu-v3 32 interrupt-names: [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/hisilicon/ |
D | hip07.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 compatible = "hisilicon,hip07-d05"; 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <2>; 17 compatible = "arm,psci-0.2"; 22 #address-cells = <1>; 23 #size-cells = <0>; 25 cpu-map { [all …]
|
D | hip06.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 compatible = "hisilicon,hip06-d03"; 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <2>; 17 compatible = "arm,psci-0.2"; 22 #address-cells = <1>; 23 #size-cells = <0>; 25 cpu-map { [all …]
|
/Linux-v5.15/drivers/ata/ |
D | pata_bk3710.c | 1 // SPDX-License-Identifier: GPL-2.0 53 unsigned int rptime; /* tRP -- Ready to pause time (nsec) */ 54 unsigned int cycletime; /* tCYCTYP2/2 -- avg Cycle Time (nsec) */ 76 ideclk_period) - 1; in pata_bk3710_setudmamode() 77 tenv = DIV_ROUND_UP(20, ideclk_period) - 1; in pata_bk3710_setudmamode() 79 ideclk_period) - 1; in pata_bk3710_setudmamode() 112 cycletime = max_t(int, t->cycle, min_cycle); in pata_bk3710_setmwdmamode() 116 td = DIV_ROUND_UP(t->active, ideclk_period); in pata_bk3710_setmwdmamode() 117 tkw = t0 - td - 1; in pata_bk3710_setmwdmamode() 118 td--; in pata_bk3710_setmwdmamode() [all …]
|
/Linux-v5.15/drivers/atm/ |
D | ambassador.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 Copyright (C) 1995-1999 Madge Networks Ltd. 8 /* * dedicated to the memory of Graham Gordon 1971-1998 * */ 48 This driver is for the PCI ATMizer-based Ambassador card (except 58 The cards are big-endian. 66 The cards are reset and the self-test results are checked. The 68 pointer to a descriptor containing details of the host-based queues 81 contents of several other "shared run-time registers" (bad) which 96 1. Driver <-> Adapter Communication 104 All queues are host-based circular queues. They are contiguous and [all …]
|
/Linux-v5.15/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <linux/dma-iommu.h> 20 #include <linux/io-pgtable.h> 28 #include <linux/pci-ats.h> 33 #include "arm-smmu-v3.h" 34 #include "../../iommu-sva-lib.h" 44 "Disable MSI-based polling for CMD_SYNC completion."); 86 { ARM_SMMU_OPT_SKIP_PREFETCH, "hisilicon,broken-prefetch-cmd" }, 87 { ARM_SMMU_OPT_PAGE0_REGS_ONLY, "cavium,cn9900-broken-page1-regspace"}, 96 if (of_property_read_bool(smmu->dev->of_node, in parse_driver_options() [all …]
|
/Linux-v5.15/drivers/net/ethernet/marvell/ |
D | sky2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * of the original driver such as link fail-over and link management because 19 #include <linux/dma-mapping.h> 32 #include <linux/prefetch.h> 54 #define RX_MAX_PENDING (RX_LE_SIZE/6 - 2) 71 #define RING_NEXT(x, s) (((x)+1) & ((s)-1)) 78 static int debug = -1; /* defaults above */ 86 static int disable_msi = -1; 95 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x9000) }, /* SK-9Sxx */ 96 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x9E00) }, /* SK-9Exx */ [all …]
|
D | skge.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * of the original driver such as link fail-over and link management because 28 #include <linux/dma-mapping.h> 35 #include <linux/prefetch.h> 61 MODULE_AUTHOR("Stephen Hemminger <shemminger@linux-foundation.org>"); 69 static int debug = -1; /* defaults above */ 77 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x4300) }, /* SK-9xx */ 79 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x4320) }, /* SK-98xx V2.0 */ 80 { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4b01) }, /* D-Link DGE-530T (rev.B) */ 81 { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4c00) }, /* D-Link DGE-530T */ [all …]
|
D | mvneta.c | 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 153 #define MVNETA_TX_INTR_MASK(nr_txqs) (((1 << nr_txqs) - 1) << 0) 155 #define MVNETA_RX_INTR_MASK(nr_rxqs) (((1 << nr_rxqs) - 1) << 8) 266 (((index) < (q)->last_desc) ? ((index) + 1) : 0) 335 #define MVNETA_MAX_RX_BUF_SIZE (PAGE_SIZE - MVNETA_SKB_PAD) 338 ((addr >= txq->tso_hdrs_phys) && \ 339 (addr < txq->tso_hdrs_phys + txq->size * TSO_HEADER_SIZE)) 342 (((rxd)->status & MVNETA_RXD_BM_POOL_MASK) >> MVNETA_RXD_BM_POOL_SHIFT) 451 /* Pointer to the CPU-local NAPI struct */ 563 u32 reserved2; /* hw_cmd - (for future use, PMT) */ [all …]
|
/Linux-v5.15/drivers/net/ethernet/i825xx/ |
D | 82596.c | 5 This driver is for the Apricot 82596 bus-master interface 17 non-cached page, so we can run on 68060 in copyback mode. 24 Most of my modifications relate to the braindead big-endian 26 'big-endian' mode, it thinks a 32 bit value of 0x12345678 141 * the following commands are available (p5-18). The 32-bit port command 142 * must be word-swapped with the most significant word written first. 173 #define CMD_SUSP 0x4000 /* Suspend after doing cmd. */ 174 #define CMD_INTR 0x2000 /* Interrupt after doing cmd. */ 234 struct i596_cmd cmd; member 242 struct i596_cmd cmd; member [all …]
|
D | lib82596.c | 1 /* lasi_82596.c -- driver for the intel 82596 ethernet controller, as 8 3 primary sources of the mess -- 26 03/02/2000 changes for better/correct(?) cache-flushing (deller) 33 This driver is for the Apricot 82596 bus-master interface 45 non-cached page, so we can run on 68060 in copyback mode. 52 Most of my modifications relate to the braindead big-endian 54 'big-endian' mode, it thinks a 32 bit value of 0x12345678 83 #include <linux/dma-mapping.h> 115 * the following commands are available (p5-18). The 32-bit port command 116 * must be word-swapped with the most significant word written first. [all …]
|
/Linux-v5.15/drivers/scsi/ |
D | ncr53c8xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 ** Device driver for the PCI-SCSI NCR538XX controller family. 8 **----------------------------------------------------------------------------- 22 ** Stefan Esser <se@mi.Uni-Koeln.de> 27 **----------------------------------------------------------------------------- 38 ** Support for Fast-20 scsi. 42 ** Support for Fast-40 scsi. 43 ** Support for on-Board RAM. 46 ** Full support for scsi scripts instructions pre-fetching. 57 ** Low PCI traffic for command handling when on-chip RAM is present. [all …]
|
/Linux-v5.15/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/dma-mapping.h> 30 #include <linux/prefetch.h> 54 static int debug = -1; 73 * sxgbe_verify_args - verify the driver parameters. 86 if (!priv->tx_path_in_lpi_mode) in sxgbe_enable_eee_mode() 87 priv->hw->mac->set_eee_mode(priv->ioaddr); in sxgbe_enable_eee_mode() 93 priv->hw->mac->reset_eee_mode(priv->ioaddr); in sxgbe_disable_eee_mode() 94 del_timer_sync(&priv->eee_ctrl_timer); in sxgbe_disable_eee_mode() 95 priv->tx_path_in_lpi_mode = false; in sxgbe_disable_eee_mode() [all …]
|
/Linux-v5.15/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * of PCI-SCSI IO processors. 6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 7 * Copyright (c) 2003-2005 Matthew Wilcox <matthew@wil.cx> 10 * Copyright (C) 1998-2000 Gerard Roudier 13 * a port of the FreeBSD ncr driver to Linux-1.2.13. 17 * Stefan Esser <se@mi.Uni-Koeln.de> 25 *----------------------------------------------------------------------------- 55 while (n-- > 0) in sym_printl_hex() 62 sym_print_addr(cp->cmd, "%s: ", label); in sym_print_msg() [all …]
|
/Linux-v5.15/drivers/pci/ |
D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 1993 -- 1997 Drew Eckhardt, Frederic Potter, 6 * David Mosberger-Tang 8 * Copyright 1997 -- 2000 Martin Mares <mj@ucw.cz> 67 unsigned int delay = dev->d3hot_delay; in pci_dev_d3_sleep() 78 return dev->reset_methods[0] != 0; in pci_reset_supported() 97 * pci=hpmmiosize=nnM overrides non-prefetchable MMIO size, 108 /* PCIe MPS/MRRS strategy; can be overridden by kernel command-line param */ 125 * measured in 32-bit words, not bytes. 170 * pci_bus_max_busnr - returns maximum PCI bus number of given bus' children [all …]
|
/Linux-v5.15/drivers/net/ethernet/sun/ |
D | cassini.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 * load balancing (non-VLAN mode) 16 * page-based RX descriptor engine with separate completion rings 22 * -- driver allocates pages at a time and keeps reference counts 24 * -- the upper protocol layers assume that the header is in the skb 27 * -- driver appends the rest of the data pages as frags to skbuffs 29 * -- on page reclamation, the driver swaps the page with a spare page. 37 * TX has 4 queues. currently these queues are used in a round-robin 41 * alternatively, the queues can be configured via use of the all-purpose 49 * encrypted and non-encrypted packets, but we use them for buffering [all …]
|
/Linux-v5.15/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 3 Written/copyright 1999-2001 by Donald Becker. 23 [link no longer provides useful info -jgarzik] 50 #include <linux/prefetch.h> 62 /* Updated to recommendations in pci-skeleton v2.03. */ 64 /* The user-configurable values. 72 static int debug = -1; 76 /* Maximum number of multicast addresses to filter (vs. rx-all-multicast). 80 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 101 There are no ill effects from too-large receive rings. */ 121 * The nic writes 32-bit values, even if the upper bytes of [all …]
|
/Linux-v5.15/drivers/net/ethernet/realtek/ |
D | r8169_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2003 - 2007 Francois Romieu <romieu@fr.zoreil.com> 26 #include <linux/dma-mapping.h> 29 #include <linux/prefetch.h> 37 #define FIRMWARE_8168D_1 "rtl_nic/rtl8168d-1.fw" 38 #define FIRMWARE_8168D_2 "rtl_nic/rtl8168d-2.fw" 39 #define FIRMWARE_8168E_1 "rtl_nic/rtl8168e-1.fw" 40 #define FIRMWARE_8168E_2 "rtl_nic/rtl8168e-2.fw" 41 #define FIRMWARE_8168E_3 "rtl_nic/rtl8168e-3.fw" 42 #define FIRMWARE_8168F_1 "rtl_nic/rtl8168f-1.fw" [all …]
|
/Linux-v5.15/net/ipv4/ |
D | udp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 * Fred Van Kempen : Net2e support for sk->broadcast. 63 * bound-to-device socket 140 sk_for_each(sk2, &hslot->head) { in udp_lib_lport_inuse() 143 (bitmap || udp_sk(sk2)->udp_port_hash == num) && in udp_lib_lport_inuse() 144 (!sk2->sk_reuse || !sk->sk_reuse) && in udp_lib_lport_inuse() 145 (!sk2->sk_bound_dev_if || !sk->sk_bound_dev_if || in udp_lib_lport_inuse() 146 sk2->sk_bound_dev_if == sk->sk_bound_dev_if) && in udp_lib_lport_inuse() 148 if (sk2->sk_reuseport && sk->sk_reuseport && in udp_lib_lport_inuse() 149 !rcu_access_pointer(sk->sk_reuseport_cb) && in udp_lib_lport_inuse() [all …]
|
/Linux-v5.15/drivers/net/ethernet/broadcom/ |
D | tg3.c | 7 * Copyright (C) 2005-2016 Broadcom Corporation. 8 * Copyright (C) 2016-2017 Broadcom Limited. 14 * Copyright (C) 2000-2016 Broadcom Corporation. 15 * Copyright (C) 2016-2017 Broadcom Ltd. 51 #include <linux/prefetch.h> 52 #include <linux/dma-mapping.h> 56 #include <linux/hwmon-sysfs.h> 92 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 94 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 96 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) [all …]
|
/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 This is the driver for the ST MAC 10/100/1000 on-chip Ethernet controllers. 6 Copyright(C) 2007-2011 STMicroelectronics Ltd 29 #include <linux/dma-mapping.h> 32 #include <linux/prefetch.h> 54 #define TSO_MAX_BUFF_SIZE (SZ_16K - 1) 62 static int debug = -1; 64 MODULE_PARM_DESC(debug, "Message Level (-1: default, 0: no output, 16: all)"); 66 static int phyaddr = -1; 70 #define STMMAC_TX_THRESH(x) ((x)->dma_tx_size / 4) [all …]
|
/Linux-v5.15/drivers/scsi/aic7xxx/ |
D | aic79xx_core.c | 4 * Copyright (c) 1994-2002 Justin T. Gibbs. 5 * Copyright (c) 2000-2003 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 68 { DPARERR, "Data-path Parity Error" }, 76 { P_DATAOUT, NOP, "in Data-out phase" }, 77 { P_DATAIN, INITIATOR_ERROR, "in Data-in phase" }, 78 { P_DATAOUT_DT, NOP, "in DT Data-out phase" }, 79 { P_DATAIN_DT, INITIATOR_ERROR, "in DT Data-in phase" }, 81 { P_MESGOUT, NOP, "in Message-out phase" }, 83 { P_MESGIN, MSG_PARITY_ERROR, "in Message-in phase" }, [all …]
|
/Linux-v5.15/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 3 * Copyright (c) 2007-2013 Broadcom Corporation 37 #include <linux/dma-mapping.h> 56 #include <linux/prefetch.h> 77 #define FW_FILE_NAME_E1 "bnx2x/bnx2x-e1-" FW_FILE_VERSION ".fw" 78 #define FW_FILE_NAME_E1H "bnx2x/bnx2x-e1h-" FW_FILE_VERSION ".fw" 79 #define FW_FILE_NAME_E2 "bnx2x/bnx2x-e2-" FW_FILE_VERSION ".fw" 105 MODULE_PARM_DESC(int_mode, " Force interrupt mode other than MSI-X " 112 static int mrrs = -1; 367 pci_write_config_dword(bp->pdev, PCICFG_GRC_ADDRESS, addr); in bnx2x_reg_wr_ind() 368 pci_write_config_dword(bp->pdev, PCICFG_GRC_DATA, val); in bnx2x_reg_wr_ind() [all …]
|
/Linux-v5.15/drivers/net/ethernet/freescale/ |
D | fec_main.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 * Copyright (c) 2001-2005 Greg Ungerer (gerg@snapgear.com) 20 * Copyright (c) 2004-2006 Macq Electronique SA. 22 * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. 65 #include <linux/prefetch.h> 164 .name = "imx25-fec", 167 .name = "imx27-fec", 170 .name = "imx28-fec", 173 .name = "imx6q-fec", 176 .name = "mvf600-fec", [all …]
|
/Linux-v5.15/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 32 #include <linux/prefetch.h> 57 "Copyright (c) 2007-2014 Intel Corporation."; 143 static int igb_ioctl(struct net_device *, struct ifreq *, int cmd); 235 MODULE_AUTHOR("Intel Corporation, <e1000-devel@lists.sourceforge.net>"); 240 static int debug = -1; 285 /* igb_regdump - register printout routine */ 292 switch (reginfo->ofs) { in igb_regdump() 342 pr_info("%-15s %08x\n", reginfo->name, rd32(reginfo->ofs)); in igb_regdump() [all …]
|