/openbmc/linux/Documentation/devicetree/bindings/iommu/ |
H A 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 …]
|
/openbmc/linux/arch/arm64/boot/dts/hisilicon/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3.c | 1 // SPDX-License-Identifier: GPL-2.0 19 #include <linux/io-pgtable.h> 27 #include <linux/pci-ats.h> 30 #include "arm-smmu-v3.h" 31 #include "../../dma-iommu.h" 32 #include "../../iommu-sva.h" 42 "Disable MSI-based polling for CMD_SYNC completion."); 84 { ARM_SMMU_OPT_SKIP_PREFETCH, "hisilicon,broken-prefetch-cmd" }, 85 { ARM_SMMU_OPT_PAGE0_REGS_ONLY, "cavium,cn9900-broken-page1-regspace"}, 94 if (of_property_read_bool(smmu->dev->of_node, in parse_driver_options() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A 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> 53 #define RX_MAX_PENDING (RX_LE_SIZE/6 - 2) 69 #define RING_NEXT(x, s) (((x)+1) & ((s)-1)) 76 static int debug = -1; /* defaults above */ 84 static int disable_msi = -1; 93 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x9000) }, /* SK-9Sxx */ 94 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x9E00) }, /* SK-9Exx */ [all …]
|
H A 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> 60 MODULE_AUTHOR("Stephen Hemminger <shemminger@linux-foundation.org>"); 68 static int debug = -1; /* defaults above */ 76 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x4300) }, /* SK-9xx */ 78 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x4320) }, /* SK-98xx V2.0 */ 79 { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4b01) }, /* D-Link DGE-530T (rev.B) */ 80 { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4c00) }, /* D-Link DGE-530T */ [all …]
|
H A D | mvneta.c | 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 156 #define MVNETA_TX_INTR_MASK(nr_txqs) (((1 << nr_txqs) - 1) << 0) 158 #define MVNETA_RX_INTR_MASK(nr_rxqs) (((1 << nr_rxqs) - 1) << 8) 270 * to cover all rate-limit values from 10Kbps up to 5Gbps 296 (((index) < (q)->last_desc) ? ((index) + 1) : 0) 374 #define MVNETA_MAX_RX_BUF_SIZE (PAGE_SIZE - MVNETA_SKB_PAD) 377 (((rxd)->status & MVNETA_RXD_BM_POOL_MASK) >> MVNETA_RXD_BM_POOL_SHIFT) 486 /* Pointer to the CPU-local NAPI struct */ 599 u32 reserved2; /* hw_cmd - (for future use, PMT) */ 600 u32 reserved3[4]; /* Reserved - (for future use) */ [all …]
|
/openbmc/linux/drivers/net/ethernet/i825xx/ |
H A D | 82596.c | 1 // SPDX-License-Identifier: GPL-1.0+ 6 This driver is for the Apricot 82596 bus-master interface 18 non-cached page, so we can run on 68060 in copyback mode. 25 Most of my modifications relate to the braindead big-endian 27 'big-endian' mode, it thinks a 32 bit value of 0x12345678 140 * the following commands are available (p5-18). The 32-bit port command 141 * must be word-swapped with the most significant word written first. 172 #define CMD_SUSP 0x4000 /* Suspend after doing cmd. */ 173 #define CMD_INTR 0x2000 /* Interrupt after doing cmd. */ 233 struct i596_cmd cmd; member [all …]
|
H A D | lib82596.c | 1 // SPDX-License-Identifier: GPL-1.0+ 2 /* lasi_82596.c -- driver for the intel 82596 ethernet controller, as 9 3 primary sources of the mess -- 27 03/02/2000 changes for better/correct(?) cache-flushing (deller) 34 This driver is for the Apricot 82596 bus-master interface 46 non-cached page, so we can run on 68060 in copyback mode. 53 Most of my modifications relate to the braindead big-endian 55 'big-endian' mode, it thinks a 32 bit value of 0x12345678 82 #include <linux/dma-mapping.h> 114 * the following commands are available (p5-18). The 32-bit port command [all …]
|
/openbmc/linux/drivers/scsi/ |
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A 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 …]
|
/openbmc/linux/drivers/scsi/sym53c8xx_2/ |
H A 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 …]
|
/openbmc/linux/drivers/pci/ |
H A 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> 84 unsigned int delay_ms = max(dev->d3hot_delay, pci_pm_d3hot_delay); in pci_dev_d3_sleep() 97 return dev->reset_methods[0] != 0; in pci_reset_supported() 116 * pci=hpmmiosize=nnM overrides non-prefetchable MMIO size, 127 /* PCIe MPS/MRRS strategy; can be overridden by kernel command-line param */ 144 * measured in 32-bit words, not bytes. 186 * pci_bus_max_busnr - returns maximum PCI bus number of given bus' children [all …]
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | pxa25x_udc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Intel PXA25x and IXP4xx on-chip full speed USB device controllers 23 #include <asm/mach-types.h> 32 #include <asm/arch/pxa-regs.h> 53 * not used here. IN-DMA (to host) is simple enough, when the data is 55 * other software can. OUT-DMA is buggy in most chip versions, as well 57 * bother using DMA. (Mostly-working IN-DMA support was available in 61 #define DRIVER_VERSION "18-August-2012" 71 udc->watchdog.base = get_timer(0); in start_watchdog() 72 udc->watchdog.running = 1; in start_watchdog() [all …]
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/natsemi/ |
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/realtek/ |
H A 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> 38 #define FIRMWARE_8168D_1 "rtl_nic/rtl8168d-1.fw" 39 #define FIRMWARE_8168D_2 "rtl_nic/rtl8168d-2.fw" 40 #define FIRMWARE_8168E_1 "rtl_nic/rtl8168e-1.fw" 41 #define FIRMWARE_8168E_2 "rtl_nic/rtl8168e-2.fw" 42 #define FIRMWARE_8168E_3 "rtl_nic/rtl8168e-3.fw" 43 #define FIRMWARE_8168F_1 "rtl_nic/rtl8168f-1.fw" [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A 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> 94 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 96 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 98 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) [all …]
|
/openbmc/linux/net/ipv4/ |
H A 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 77 #include <linux/bpf-cgroup.h> 138 return sk->sk_prot->h.udp_table ? : sock_net(sk)->ipv4.udp_table; in udp_get_table_prot() 149 sk_for_each(sk2, &hslot->head) { in udp_lib_lport_inuse() 152 (bitmap || udp_sk(sk2)->udp_port_hash == num) && in udp_lib_lport_inuse() 153 (!sk2->sk_reuse || !sk->sk_reuse) && in udp_lib_lport_inuse() 154 (!sk2->sk_bound_dev_if || !sk->sk_bound_dev_if || in udp_lib_lport_inuse() 155 sk2->sk_bound_dev_if == sk->sk_bound_dev_if) && in udp_lib_lport_inuse() [all …]
|
/openbmc/linux/fs/f2fs/ |
H A D | segment.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/prefetch.h> 45 shift -= BITS_PER_BYTE; in __reverse_ulong() 51 * __reverse_ffs is copied from include/asm-generic/bitops/__ffs.h since 94 * MSB <--> LSB 108 size -= (offset & ~(BITS_PER_LONG - 1)); in __find_rev_next_bit() 119 tmp &= (~0UL << (BITS_PER_LONG - size)); in __find_rev_next_bit() 125 size -= BITS_PER_LONG; in __find_rev_next_bit() 131 return result - size + __reverse_ffs(tmp); in __find_rev_next_bit() 144 size -= (offset & ~(BITS_PER_LONG - 1)); in __find_rev_next_zero_bit() [all …]
|
/openbmc/linux/drivers/scsi/aic7xxx/ |
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_main.c | 3 * Copyright (c) 2007-2013 Broadcom Corporation 36 #include <linux/dma-mapping.h> 55 #include <linux/prefetch.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 " [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A 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> 55 * with fine resolution and binary rollover. This avoid non-monotonic behavior 62 #define TSO_MAX_BUFF_SIZE (SZ_16K - 1) 70 static int debug = -1; 72 MODULE_PARM_DESC(debug, "Message Level (-1: default, 0: no output, 16: all)"); 74 static int phyaddr = -1; [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 31 #include <linux/prefetch.h> 57 "Copyright (c) 2007-2014 Intel Corporation."; 144 static int igb_ioctl(struct net_device *, struct ifreq *, int cmd); 236 MODULE_AUTHOR("Intel Corporation, <e1000-devel@lists.sourceforge.net>"); 241 static int debug = -1; 286 /* igb_regdump - register printout routine */ 293 switch (reginfo->ofs) { in igb_regdump() 343 pr_info("%-15s %08x\n", reginfo->name, rd32(reginfo->ofs)); in igb_regdump() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 26 #include <linux/prefetch.h> 62 "Copyright (c) 1999-2016 Intel Corporation."; 77 /* ixgbe_pci_tbl - PCI Device ID Table 152 …"Maximum number of virtual functions to allocate per physical function - default is zero and maxim… 158 "Allow unsupported and untested SFP+ modules on 82599-based adapters"); 161 static int debug = -1; 181 return dev && (dev->netdev_ops == &ixgbe_netdev_ops); in netif_is_ixgbe() 190 parent_bus = adapter->pdev->bus->parent; in ixgbe_read_pci_cfg_word_parent() [all …]
|