/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt7986a-rfb.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/pinctrl/mt65xx.h> 14 chassis-type = "embedded"; 15 compatible = "mediatek,mt7986a-rfb", "mediatek,mt7986a"; 22 stdout-path = "serial0:115200n8"; 30 reg_1p8v: regulator-1p8v { 31 compatible = "regulator-fixed"; 32 regulator-name = "fixed-1.8V"; 33 regulator-min-microvolt = <1800000>; [all …]
|
H A D | mt7986a-bananapi-bpi-r3.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 * Frank Wunderlich <frank-w@public-files.de> 9 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/pinctrl/mt65xx.h> 18 model = "Bananapi BPI-R3"; 19 chassis-type = "embedded"; 20 compatible = "bananapi,bpi-r3", "mediatek,mt7986a"; [all …]
|
/openbmc/qemu/hw/display/ |
H A D | vhost-user-gpu.c | 2 * vhost-user GPU Device 7 * Marc-André Lureau <marcandre.lureau@redhat.com> 10 * See the COPYING file in the top-level directory. 14 #include "qemu/error-report.h" 16 #include "hw/qdev-properties.h" 17 #include "hw/virtio/virtio-gpu.h" 18 #include "chardev/char-fe.h" 124 VhostUserGpuCursorPos *pos = &msg->payload.cursor_pos; in vhost_user_gpu_handle_cursor() 127 if (pos->scanout_id >= g->parent_obj.conf.max_outputs) { in vhost_user_gpu_handle_cursor() 130 s = &g->parent_obj.scanout[pos->scanout_id]; in vhost_user_gpu_handle_cursor() [all …]
|
H A D | virtio-gpu.c | 4 * Copyright Red Hat, Inc. 2013-2014 11 * See the COPYING file in the top-level directory. 24 #include "migration/qemu-file-types.h" 25 #include "hw/virtio/virtio-gpu.h" 26 #include "hw/virtio/virtio-gpu-bswap.h" 27 #include "hw/virtio/virtio-gpu-pixman.h" 28 #include "hw/virtio/virtio-bus.h" 29 #include "hw/qdev-properties.h" 34 #include "qemu/error-report.h" 59 if (res->blob_size) { in virtio_gpu_update_cursor_data() [all …]
|
H A D | virtio-gpu-base.c | 4 * Copyright Red Hat, Inc. 2013-2014 11 * See the COPYING file in the top-level directory. 16 #include "hw/virtio/virtio-gpu.h" 19 #include "qemu/error-report.h" 28 g->enable = 0; in virtio_gpu_base_reset() 30 for (i = 0; i < g->conf.max_outputs; i++) { in virtio_gpu_base_reset() 31 g->scanout[i].resource_id = 0; in virtio_gpu_base_reset() 32 g->scanout[i].width = 0; in virtio_gpu_base_reset() 33 g->scanout[i].height = 0; in virtio_gpu_base_reset() 34 g->scanout[i].x = 0; in virtio_gpu_base_reset() [all …]
|
H A D | virtio-gpu-rutabaga.c | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 #include "qemu/error-report.h" 9 #include "hw/virtio/virtio-gpu.h" 10 #include "hw/virtio/virtio-gpu-pixman.h" 11 #include "hw/virtio/virtio-iommu.h" 21 (cmd)->error = VIRTIO_GPU_RESP_ERR_UNSPEC; \ 46 if (res->width != s->current_cursor->width || in virtio_gpu_rutabaga_update_cursor() 47 res->height != s->current_cursor->height) { in virtio_gpu_rutabaga_update_cursor() 54 transfer.w = res->width; in virtio_gpu_rutabaga_update_cursor() 55 transfer.h = res->height; in virtio_gpu_rutabaga_update_cursor() [all …]
|
/openbmc/qemu/hw/net/ |
H A D | xilinx_axienet.c | 2 * QEMU model of Xilinx AXI-Ethernet. 35 #include "hw/qdev-properties.h" 41 #define TYPE_XILINX_AXI_ENET "xlnx.axi-ethernet" 42 #define TYPE_XILINX_AXI_ENET_DATA_STREAM "xilinx-axienet-data-stream" 43 #define TYPE_XILINX_AXI_ENET_CONTROL_STREAM "xilinx-axienet-control-stream" 55 #define ADVERTISE_10FULL 0x0040 /* Try for 10mbps full-duplex */ 56 #define ADVERTISE_100HALF 0x0080 /* Try for 100mbps half-duplex */ 57 #define ADVERTISE_100FULL 0x0100 /* Try for 100mbps full-duplex */ 81 if (!phy->link) { in tdk_read() 99 r |= phy->regs[4] & (15 << 5); in tdk_read() [all …]
|
H A D | sunhme.c | 4 * Copyright (c) 2017 Mark Cave-Ayland 27 #include "hw/qdev-properties.h" 162 NICConf conf; member 181 DEFINE_NIC_PROPERTIES(SunHMEState, conf), 188 s->sebregs[HME_SEBI_RESET] &= ~HME_SEB_RESET_ETX; in sunhme_reset_tx() 194 s->sebregs[HME_SEBI_RESET] &= ~HME_SEB_RESET_ERX; in sunhme_reset_rx() 202 /* MIF interrupt mask (16-bit) */ in sunhme_update_irq() 203 uint32_t mifmask = ~(s->mifregs[HME_MIFI_IMASK >> 2]) & 0xffff; in sunhme_update_irq() 204 uint32_t mif = s->mifregs[HME_MIFI_STAT >> 2] & mifmask; in sunhme_update_irq() 207 uint32_t sebmask = ~(s->sebregs[HME_SEBI_IMASK >> 2]) & in sunhme_update_irq() [all …]
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_defs_svc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 130 u32 fcp_conf_req; /* FCP conf requested */ 141 u32 ioh_len_err_event; /* IOH len error - fcp_dl != 146 u32 ioh_cpu_owned_event; /* IOH hit -iost owned by f/w */ 149 u32 ioh_err_int; /* IOH error int during data-phase 154 u32 tio_conf_proc; /* TIO CONF processed */ 155 u32 tio_conf_drop; /* TIO CONF dropped */ [all …]
|
/openbmc/linux/scripts/kconfig/ |
H A D | confdata.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 91 * For example, if 'include/config/auto.conf' is given, create 'include/config'. 99 tmp[sizeof(tmp) - 1] = 0; in make_parent_dir() 117 return -1; in make_parent_dir() 137 return -1; in conf_touch_dep() 142 if (fd == -1) in conf_touch_dep() 143 return -1; in conf_touch_dep() 209 return name ? name : "include/config/auto.conf"; in conf_get_autoconfig_name() 230 switch (sym->type) { in conf_set_sym_val() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | recv.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 17 #include <linux/dma-mapping.h> 21 #define SKB_CB_ATHBUF(__skb) (*((struct ath_rxbuf **)__skb->cb)) 25 return sc->ps_enabled && in ath9k_check_auto_sleep() 26 (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP); in ath9k_check_auto_sleep() 35 * to a sender if last desc is self-linked. 40 struct ath_hw *ah = sc->sc_ah; in ath_rx_buf_link() 42 struct ath_desc *ds; in ath_rx_buf_link() local 45 ds = bf->bf_desc; in ath_rx_buf_link() 46 ds->ds_link = 0; /* link to null */ in ath_rx_buf_link() [all …]
|
/openbmc/linux/drivers/pinctrl/meson/ |
H A D | pinctrl-meson.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * The AO bank is special because it belongs to the Always-On power 46 #include <linux/pinctrl/pinconf-generic.h> 56 #include "../pinctrl-utils.h" 57 #include "pinctrl-meson.h" 64 * meson_get_bank() - find the bank containing a given pin 77 for (i = 0; i < pc->data->num_banks; i++) { in meson_get_bank() 78 if (pin >= pc->data->banks[i].first && in meson_get_bank() 79 pin <= pc->data->banks[i].last) { in meson_get_bank() 80 *bank = &pc->data->banks[i]; in meson_get_bank() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | mediatek,mt7986-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt7986-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sean Wang <sean.wang@kernel.org> 18 - mediatek,mt7986a-pinctrl 19 - mediatek,mt7986b-pinctrl 25 reg-names: 27 - const: gpio 28 - const: iocfg_rt [all …]
|
/openbmc/u-boot/scripts/kconfig/ |
H A D | confdata.c | 2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 81 return name ? name : "include/config/auto.conf"; in conf_get_autoconfig_name() 94 strncat(res_value, in, src - in); in conf_expand_value() 130 switch (sym->type) { in conf_set_sym_val() 133 sym->def[def].tri = mod; in conf_set_sym_val() 134 sym->flags |= def_flags; in conf_set_sym_val() 140 sym->def[def].tri = yes; in conf_set_sym_val() 141 sym->flags |= def_flags; in conf_set_sym_val() 145 sym->def[def].tri = no; in conf_set_sym_val() 146 sym->flags |= def_flags; in conf_set_sym_val() [all …]
|
/openbmc/qemu/hw/pci-host/ |
H A D | dino.c | 2 * HP-PARISC Dino PCI chipset emulation, as in B160L and similar machines 4 * (C) 2017-2019 by Helge Deller <deller@gmx.de> 9 * https://parisc.wiki.kernel.org/images-parisc/9/91/Dino_ers.pdf 10 * https://parisc.wiki.kernel.org/images-parisc/7/70/Dino_3_1_Errata.pdf 20 #include "hw/qdev-properties.h" 21 #include "hw/pci-host/dino.h" 36 tmp = extract32(s->io_control, 7, 2); in gsc_to_pci_forwarding() 38 io_addr_en = s->io_addr_en; in gsc_to_pci_forwarding() 44 MemoryRegion *mem = &s->pci_mem_alias[i]; in gsc_to_pci_forwarding() 108 ioaddr = phb->config_reg + (addr & 3); in dino_chip_read_with_attrs() [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | ni_atmio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Comedi driver for NI AT-MIO E series cards 5 * COMEDI - Linux Control and Measurement Device Interface 6 * Copyright (C) 1997-2001 David A. Schleef <ds@schleef.org> 11 * Description: National Instruments AT-MIO-E series 12 * Author: ds 13 * Devices: [National Instruments] AT-MIO-16E-1 (ni_atmio), 14 * AT-MIO-16E-2, AT-MIO-16E-10, AT-MIO-16DE-10, AT-MIO-64E-3, 15 * AT-MIO-16XE-50, AT-MIO-16XE-10, AT-AI-16XE-10 23 * modprobe the isa-pnp module for /proc/isapnp to exist) so the id numbers [all …]
|
/openbmc/qemu/pc-bios/optionrom/ |
H A D | pvh.S | 145 /* the LJMP sets CS for us and gets us to 32-bit */ 155 movl %eax, %ds 186 * (base=0, limit=0x0ffff, type=16bit code exec/read/conf, DPL=0, 1b) 197 .short (5 * 8) - 1
|
H A D | multiboot.S | 96 /* The multiboot entry size has offset -4, so leave some space */ 113 movl %ecx, %es:-4(%edi) 158 addl %es:-4(%di), %edi 175 /* the LJMP sets CS for us and gets us to 32-bit */ 185 movl %eax, %ds 222 /* 0x18: code segment (base=0, limit=0x0ffff, type=16bit code exec/read/conf, DPL=0, 1b) */ 229 .short (5 * 8) - 1
|
/openbmc/linux/net/mac80211/ |
H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2002-2005, Instant802 Networks, Inc. 4 * Copyright 2005-2006, Devicescape Software, Inc. 5 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 6 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2018-2023 Intel Corporation 30 #include "driver-ops.h" 43 if (atomic_read(&local->iff_allmultis)) in ieee80211_configure_filter() 46 if (local->monitors || test_bit(SCAN_SW_SCANNING, &local->scanning) || in ieee80211_configure_filter() 47 test_bit(SCAN_ONCHANNEL_SCANNING, &local->scanning)) in ieee80211_configure_filter() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ui/ |
H A D | knotty.py | 6 # Copyright (C) 2006-2012 Richard Purdie 8 # SPDX-License-Identifier: GPL-2.0-only 40 def __init__(self, msg, maxval, widgets=None, extrapos=-1, resize_handler=None): 69 if self.extrapos > -1: 226 sec -= hrs * 3600 228 sec -= min * 60 230 return "%dh%dm%ds" % (hrs, min, sec) 232 return "%dm%ds" % (min, sec) 234 return "%ds" % (sec) 238 print("Bitbake still alive (no events for %ds). Active tasks:" % t) [all …]
|
/openbmc/linux/Documentation/translations/zh_TW/admin-guide/ |
H A D | README.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 .. include:: ../disclaimer-zh_TW.rst 5 :Original: Documentation/admin-guide/README.rst 19 --------------- 32 ----------------------------- 36 PowerPC64、ARM、Hitachi SuperH、Cell、IBM S/390、MIPS、HP PA-RISC、Intel 37 IA-64、DEC VAX、AMD x86-64 Xtensa和ARC架構上。 47 ----- 52 - 網際網路上和書籍上都有大量的(電子)文檔,既有Linux專屬文檔,也有與普通 56 - 文檔/子目錄中有各種自述文件:例如,這些文件通常包含一些特定驅動程序的 [all …]
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_fs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * f_fs.c -- user mode file system API for USB composite function controllers 9 * Copyright (C) 2003-2004 David Brownell 57 /* Called with ffs->mutex held; take over ownership of data. */ 69 struct usb_configuration *conf; member 91 cmpxchg(&ffs->setup_state, FFS_SETUP_CANCELLED, FFS_NO_SETUP); in ffs_setup_state_clear_cancelled() 118 struct usb_ep *ep; /* P: ffs->eps_lock */ 119 struct usb_request *req; /* P: epfile->mutex */ 128 /* Protects ep->ep and ep->req. */ 132 struct ffs_ep *ep; /* P: ffs->eps_lock */ [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | cooker.py | 4 # Copyright (C) 2003 - 2005 Michael 'Mickey' Lauer 7 # Copyright (C) 2006 - 2007 Richard Purdie 9 # SPDX-License-Identifier: GPL-2.0-only 115 str_event = codecs.encode(pickle.dumps(event), 'base64').decode('utf-8') 307 bb.fatal("Unable to start PR Server, exiting, check the bitbake-cookerdaemon.log") 382 nice = int(nice) - curnice 470 …logger.plain("%-35s %25s %25s %25s", "Recipe Name", "Latest Version", "Preferred Version", "Requir… 471 …logger.plain("%-35s %25s %25s %25s\n", "===========", "==============", "=================", "====… 480 requiredstr = preferred[0][0] + ":" + preferred[0][1] + '-' + preferred[0][2] 484 preferredstr = preferred[0][0] + ":" + preferred[0][1] + '-' + preferred[0][2] [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | fib_rule_tests.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 # Kselftest framework requirement - SKIP code is 4. 12 IP="ip -netns testns" 13 IP_PEER="ip -netns peerns" 35 if [ ${rc} -eq ${expected} ]; then 37 printf "\n TEST: %-50s [ OK ]\n" "${msg}" 41 printf "\n TEST: %-50s [FAIL]\n" "${msg}" 75 if [ "${ret}" -eq 0 ]; then 78 echo "nettest not found (try 'make -C ${SELFTEST_PATH} nettest')" 86 set -e [all …]
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-gpu.h | 4 * Copyright Red Hat, Inc. 2013-2014 11 * See the COPYING file in the top-level directory. 18 #include "ui/qemu-pixman.h" 22 #include "sysemu/vhost-user-backend.h" 24 #include "standard-headers/linux/virtio_gpu.h" 25 #include "standard-headers/linux/virtio_ids.h" 28 #define TYPE_VIRTIO_GPU_BASE "virtio-gpu-base" 32 #define TYPE_VIRTIO_GPU "virtio-gpu-device" 35 #define TYPE_VIRTIO_GPU_GL "virtio-gpu-gl-device" 38 #define TYPE_VHOST_USER_GPU "vhost-user-gpu" [all …]
|