/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. 266 struct i596_rbd *rbd; member 282 struct i596_rbd *b_addr; /* This rbd addr from i596 view */ 371 static int max_cmd_backlog = TX_RING_SIZE-1; [all …]
|
/openbmc/qemu/hw/net/ |
H A D | i82596.c | 16 #include "hw/qdev-properties.h" 18 #include "exec/address-spaces.h" 32 #define BITS(n, m) (((0xffffffffU << (31 - n)) >> (31 - n + m)) << m) 77 #define I596_PREFETCH (s->config[0] & 0x80) 78 #define I596_PROMISC (s->config[8] & 0x01) 79 #define I596_BC_DISABLE (s->config[8] & 0x02) /* broadcast disable */ 80 #define I596_NOCRC_INS (s->config[8] & 0x08) 81 #define I596_CRCINM (s->config[11] & 0x04) /* CRC appended */ 82 #define I596_MC_ALL (s->config[11] & 0x20) 83 #define I596_MULTIIA (s->config[13] & 0x40) [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-fh.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2021, 2023 Intel Corporation 4 * Copyright (C) 2015-2017 Intel Deutschland GmbH 12 #include "iwl-trans.h" 28 * Keep-Warm (KW) buffer base address. 31 * host DRAM powered on (via dummy accesses to DRAM) to maintain low-latency 33 * from going into a power-savings mode that would cause higher DRAM latency, 34 * and possible data over/under-runs, before all Tx/Rx is complete. 38 * automatically invokes keep-warm accesses when normal accesses might not 42 * 31-0: Keep-warm buffer physical base address [35:4], must be 4K aligned [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/ |
H A D | qemu.inc | 7 LICENSE = "GPL-2.0-only & LGPL-2.1-only" 9 DEPENDS += "bison-native meson-native ninja-native" 11 RDEPENDS:${PN}-ptest = "bash" 13 require qemu-targets.inc 14 # https://gitlab.com/qemu-project/qemu/-/commit/81e2b198a8cb4ee5fdf108bd438f44b193ee3a36 means 15 # we need a full python3-native setup 16 inherit pkgconfig ptest update-rc.d systemd python3native 21 SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \ 23 file://run-ptest \ 24 file://fix-strerrorname_np.patch \ [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | rx.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2003-2014, 2018-2023 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 11 #include "iwl-prph.h" 12 #include "iwl-io.h" 14 #include "iwl-op-mode.h" 15 #include "iwl-context-info-gen3.h" 36 * to -- the driver can read up to (but not including) this position and get 40 * The WRITE index maps to the last position the driver has read from -- the [all …]
|
H A D | internal.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2003-2015, 2018-2023 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 18 #include "iwl-fh.h" 19 #include "iwl-csr.h" 20 #include "iwl-trans.h" 21 #include "iwl-debug.h" 22 #include "iwl-io.h" 23 #include "iwl-op-mode.h" [all …]
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | quicc_simple.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 27 typedef void (handle_rx_error_routine)(int scc_num, int channel_num, QUICC_BD *rbd); 45 /* Interrupt enable/disable routines for critical pieces of code*/
|
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 79 * Acquire il->lock before calling this function ! 83 * il4965_tx_queue_set_status - (optionally) start Tx/Cmd queue 84 * @tx_fifo_id: Tx DMA/FIFO channel (range 0-7) that the queue will feed 87 * NOTE: Acquire il->lock before calling this function ! 181 * The first queue used for block-ack aggregation is #7 (4965 only). 182 * All block-ack aggregation queues should map to Tx DMA/FIFO channel 7. 194 #define IL49_RTC_INST_SIZE (IL49_RTC_INST_UPPER_BOUND - \ [all …]
|
H A D | common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 31 #define IL_ERR(f, a...) dev_err(&il->pci_dev->dev, f, ## a) 32 #define IL_WARN(f, a...) dev_warn(&il->pci_dev->dev, f, ## a) 33 #define IL_WARN_ONCE(f, a...) dev_warn_once(&il->pci_dev->dev, f, ## a) 34 #define IL_INFO(f, a...) dev_info(&il->pci_dev->dev, f, ## a) 46 #define U32_PAD(n) ((4-(n))&0x3) 48 /* CT-KILL constants */ 56 * Use default noise value of -127 ... this is below the range of measurable [all …]
|
H A D | 4965-mac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. 11 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 22 #include <linux/dma-mapping.h> 71 if (!test_bit(S_EXIT_PENDING, &il->status)) in il4965_check_abort_status() 72 queue_work(il->workqueue, &il->tx_flush); in il4965_check_abort_status() 89 spin_lock_irqsave(&rxq->lock, flags); in il4965_rx_queue_reset() 90 INIT_LIST_HEAD(&rxq->rx_free); in il4965_rx_queue_reset() 91 INIT_LIST_HEAD(&rxq->rx_used); in il4965_rx_queue_reset() 96 if (rxq->pool[i].page != NULL) { in il4965_rx_queue_reset() [all …]
|
/openbmc/linux/drivers/atm/ |
H A D | fore200e.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #define RBD_BLK_SIZE 32 /* nbr of supplied rx buffers per rbd */ 52 #define RSD_REQUIRED (((MAX_PDU_SIZE - SMALL_BUFFER_SIZE + LARGE_BUFFER_SIZE) / LARGE_BUFFER_SIZE)… 56 /* RSD_REQUIRED receive segment descriptors are enough to describe a max-sized PDU, 61 #define RSD_EXTENSION ((RSD_REQUIRED - RSD_FIXED) + 1) 65 #define FORE200E_DEV(d) ((struct fore200e*)((d)->dev_data)) 66 #define FORE200E_VCC(d) ((struct fore200e_vcc*)((d)->dev_data)) 188 typedef struct rbd { struct 197 struct rbd rbd[ RBD_BLK_SIZE ]; /* receive buffer descriptor */ argument 232 u32 rbd_block_haddr; /* host DMA address of rbd block */ [all …]
|
H A D | fore200e.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 A FORE Systems 200E-series driver for ATM on Linux. 4 Christophe Lizzi (lizzi@cnam.fr), October 1999-March 2003. 6 Based on the PCA-200E driver from Uwe Dannowski (Uwe.Dannowski@inf.tu-dresden.de). 8 This driver simultaneously supports PCA-200E and SBA-200E adapters 24 #include <linux/dma-mapping.h> 53 #if 1 /* ensure correct handling of 52-byte AAL0 SDUs expected by atmdump-like apps */ 76 ((((unsigned long)(addr) + (alignment - 1)) & ~(alignment - 1)) - (unsigned long)(addr)) 100 MODULE_AUTHOR("Christophe Lizzi - credits to Uwe Dannowski and Heikki Vatiainen"); 101 MODULE_DESCRIPTION("FORE Systems 200E-series ATM driver - version " FORE200E_VERSION); [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | fec_mxc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 #include <asm/arch/imx-regs.h> 26 #include <asm/mach-imx/sys_proto.h> 27 #include <asm-generic/gpio.h> 40 * The standard 32-byte DMA alignment does not work on mx6solox, which requires 41 * 64-byte alignment in the DMA RX FEC buffer. 43 * satisfies the alignment on other SoCs (32-bytes) 87 /* MII-interface related functions */ 100 writel(FEC_IEVENT_MII, ð->ievent); in fec_mdio_read() 105 phy | reg, ð->mii_data); in fec_mdio_read() [all …]
|
/openbmc/qemu/scripts/ |
H A D | meson-buildoptions.sh | 1 # This file is generated by meson-buildoptions.py, do not edit! 3 printf "%s\n" ' --audio-drv-list=CHOICES Set audio driver list [default] (choices: alsa/co' 6 printf "%s\n" ' --bindir=VALUE Executable directory [bin]' 7 printf "%s\n" ' --block-drv-ro-whitelist=VALUE' 8 printf "%s\n" ' set block driver read-only whitelist (by default' 9 printf "%s\n" ' affects only QEMU, not tools like qemu-img)' 10 printf "%s\n" ' --block-drv-rw-whitelist=VALUE' 11 printf "%s\n" ' set block driver read-write whitelist (by default' 12 printf "%s\n" ' affects only QEMU, not tools like qemu-img)' 13 printf "%s\n" ' --datadir=VALUE Data file directory [share]' [all …]
|
/openbmc/qemu/qapi/ |
H A D | transaction.json | 1 # -*- Mode: Python -*- 9 { 'include': 'block-core.json' } 46 # @block-dirty-bitmap-add: Since 2.5 48 # @block-dirty-bitmap-remove: Since 4.2 50 # @block-dirty-bitmap-clear: Since 2.5 52 # @block-dirty-bitmap-enable: Since 4.0 54 # @block-dirty-bitmap-disable: Since 4.0 56 # @block-dirty-bitmap-merge: Since 4.0 58 # @blockdev-backup: Since 2.3 60 # @blockdev-snapshot: Since 2.5 [all …]
|
H A D | block-core.json | 1 # -*- Mode: Python -*- 20 # @vm-state-size: size of the VM state 22 # @date-sec: UTC date of the snapshot in seconds 24 # @date-nsec: fractional part in nano seconds to be used with date-sec 26 # @vm-clock-sec: VM clock relative to boot in seconds 28 # @vm-clock-nsec: fractional part in nano seconds to be used with 29 # vm-clock-sec 32 # record/replay is enabled. Used for "time-traveling" to match 34 # counter may be obtained through @query-replay command (since 40 'data': { 'id': 'str', 'name': 'str', 'vm-state-size': 'int', [all …]
|
/openbmc/qemu/ |
H A D | meson.build | 10 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py')) 23 config_host = keyval.load(meson.current_build_dir() / 'config-host.mak') 30 tmpdir = meson.current_build_dir() / 'meson-private/temp' 61 have_linux_user = have_linux_user or target.endswith('linux-user') 62 have_bsd_user = have_bsd_user or target.endswith('bsd-user') 63 have_system = have_system or target.endswith('-softmmu') 107 …dgen.version() + ' is unsupported. You can install a new version with "cargo install bindgen-cli"') 114 message('To use Rust you can install a new version with "cargo install bindgen-cli"') 132 # instead. QEMU --enable-modules depends on this because the SystemTap 135 add_global_arguments('-DSTAP_SDT_V2', [all …]
|
H A D | meson_options.txt | 1 # These options do not correspond to a --enable/--disable-* option 3 # scripts/meson-buildoptions.py's SKIP_OPTIONS constant too. 9 option('qemu_firmwarepath', type : 'array', value : ['share/qemu-firmware'], 12 description: 'use specified string as sub-version of the package') 25 …description: 'set block driver read-write whitelist (by default affects only QEMU, not tools like … 27 …description: 'set block driver read-only whitelist (by default affects only QEMU, not tools like q… 28 option('interp_prefix', type : 'string', value : '/usr/gnemul/qemu-%M', 33 description: 'fuzzing engine library for OSS-Fuzz') 40 # Everything else can be set via --enable/--disable-* option 42 # here make sure to run "make update-buildoptions". [all …]
|
H A D | qemu-options.hx | 14 "-h or -help display this help and exit\n", QEMU_ARCH_ALL) 16 ``-h`` 21 "-version display version information and exit\n", QEMU_ARCH_ALL) 23 ``-version`` 28 "-machine [type=]name[,prop[=value][,...]]\n" 29 " selects emulated machine ('-machine help' for list)\n" 33 " dump-guest-core=on|off include guest memory in a core dump (default=on)\n" 34 " mem-merge=on|off controls memory merge support (default: on)\n" 35 " aes-key-wrap=on|off controls support for AES key wrapping (default=on)\n" 36 " dea-key-wrap=on|off controls support for DEA key wrapping (default=on)\n" [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | common.rc | 4 # Copyright (c) 2000-2006 Silicon Graphics, Inc. All Rights Reserved. 24 HOSTOS=$(uname -s) 25 arch=$(uname -m) 40 if ! command -v gsed >/dev/null 2>&1; then 41 if sed --version 2>&1 | grep -v 'not GNU sed' | grep 'GNU sed' > /dev/null; 59 command dd --help | grep noxfer > /dev/null 2>&1 61 if [ "$?" -eq 0 ] 84 while ((len--)); do 107 # coreutils' od --endian is not portable, so manually assemble bytes. 108 for byte in $(od -j"$2" -N"$3" -An -v -tu1 "$1"); do [all …]
|
/openbmc/qemu/scripts/coverity-scan/ |
H A D | run-coverity-scan | 1 #!/bin/sh -e 8 # See the COPYING file in the top-level directory. 10 # Copyright (c) 2017-2020 Linaro Limited 14 # run the (closed-source) coverity build tools, so don't 18 # tree, and that tree is a fresh clean one, because we do an in-tree 21 # regular expressions it uses; an out-of-tree build won't work for this.) 31 # --check-upload-only : return success if upload is possible 32 # --dry-run : run the tools, but don't actually do the upload 33 # --docker : create and work inside a container 34 # --docker-engine : specify the container engine to use (docker/podman/auto); [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | mac80211.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved. 5 * Copyright (C) 2018 - 2019, 2022 Intel Corporation 13 #include <linux/dma-mapping.h> 26 #include "iwl-io.h" 27 #include "iwl-trans.h" 28 #include "iwl-op-mode.h" 29 #include "iwl-modparams.h" 82 struct ieee80211_hw *hw = priv->hw; in iwlagn_mac_setup_register() 85 hw->rate_control_algorithm = "iwl-agn-rs"; in iwlagn_mac_setup_register() [all …]
|
/openbmc/qemu/docs/tools/ |
H A D | qemu-img.rst | 6 -------- 8 **qemu-img** [*standard options*] *command* [*command options*] 11 ----------- 13 qemu-img allows you to create, convert and modify images offline. It can handle 16 **Warning:** Never use qemu-img to modify images in use by a running virtual 22 ------- 24 .. program:: qemu-img 28 .. option:: -h, --help 32 .. option:: -V, --version 36 .. option:: -T, --trace [[enable=]PATTERN][,events=FILE][,file=FILE] [all …]
|
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/ |
H A D | ipw2100.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved. 9 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 12 Extensions 0.26 package and copyright (c) 1997-2003 Jean Tourrilhes 16 Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen 18 Copyright (c) 2002-2003, Jouni Malinen <j@w1.fi> 34 Tx - Commands and Data 84 There are two locks utilized. The first is the low level lock (priv->low_lock) 87 - Access to the Tx/Rx queue lists via priv->low_lock. The lists are as follows: 89 tx_free_list : Holds pre-allocated Tx buffers. [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ |
H A D | e100.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 26 * LAN-On-Motherboard (LOM), CardBus, MiniPCI, and ICHx 27 * configurations. 8255x supports a 32-bit linear addressing 32 * Memory-mapped mode is used exclusively to access the device's 33 * shared-memory structure, the Control/Status Registers (CSR). All 39 * 8255x is highly MII-compliant and all access to the PHY go 41 * driver leverages the mii.c library shared with other MII-compliant 44 * Big- and Little-Endian byte order as well as 32- and 64-bit 45 * archs are supported. Weak-ordered memory and non-cache-coherent [all …]
|