/openbmc/linux/Documentation/networking/device_drivers/ethernet/ti/ |
H A D | cpsw_switchdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 ip -d link show dev sw0p1 | grep switchid 23 Dual mac mode 26 - The new (cpsw_new.c) driver is operating in dual-emac mode by default, thus 27 working as 2 individual network interfaces. Main differences from legacy CPSW 30 - optimized promiscuous mode: The P0_UNI_FLOOD (both ports) is enabled in 32 So, Ports in promiscuous mode will keep possibility of mcast and vlan 34 to the same bridge, but without enabling "switch" mode, or to different 36 - learning disabled on ports as it make not too much sense for 37 segregated ports - no forwarding in HW. [all …]
|
H A D | am65_nuss_cpsw_switchdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 ip -d link show dev sw0p1 | grep switchid 20 Multi mac mode 23 - The driver is operating in multi-mac mode by default, thus 24 working as N individual network interfaces. 29 See Documentation/networking/devlink/am65-nuss-cpsw-switch.rst 34 The Switch mode can be enabled by configuring devlink driver parameter 40 This can be done regardless of the state of Port's netdev devices - UP/DOWN, but 45 When the both interfaces joined the bridge - CPSW switch driver will enable 65 [*] bridge vlan add dev br0 vid 1 pvid untagged self [all …]
|
/openbmc/openbmc/poky/meta/lib/patchtest/ |
H A D | repo.py | 2 # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- 8 # SPDX-License-Identifier: GPL-2.0-only 20 def __init__(self, patch, repodir, commit=None, branch=None): argument 21 self.repodir = repodir 22 self.repo = git.Repo.init(repodir) 23 self.patch = mbox.PatchSeries(patch) 24 self.current_branch = self.repo.active_branch.name 29 if self.patch.branch in self.repo.branches: 30 valid_patch_branch = self.patch.branch 38 self._commit = self._get_commitid(commit) or \ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | x-powers,axp152.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: X-Powers AXP PMIC 10 - Chen-Yu Tsai <wens@csie.org> 13 - if: 18 - x-powers,axp152 19 - x-powers,axp202 20 - x-powers,axp209 [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/Power/ |
H A D | ACPIPowerState.interface.yaml | 5 - name: SysACPIStatus 6 type: enum[self.ACPI] 11 - name: DevACPIStatus 12 type: enum[self.ACPI] 18 - name: ACPI 22 - name: S0_G0_D0 24 Working, the system is running 25 - name: S1_D1 29 - name: S2_D2 33 - name: S3_D3 [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/Security/ |
H A D | SpecialMode.interface.yaml | 2 Implement to specify a special mode of operation 5 - name: SpecialMode 6 type: enum[self.Modes] 8 The special mode. 11 - name: Modes 15 - name: None 17 BMC is under normal working condition. 18 - name: Manufacturing 20 Indicate that BMC is in manufacturing mode and is allowed to 22 - name: ValidationUnsecure [all …]
|
/openbmc/u-boot/scripts/kconfig/tests/ |
H A D | conftest.py | 1 # SPDX-License-Identifier: GPL-2.0 24 This class provides methods to run text-based interface of Kconfig 30 def __init__(self, request): argument 36 self._test_dir = os.path.dirname(str(request.fspath)) 39 def _run_conf(self, mode, dot_config=None, out_file='.config', argument 41 """Run text-based Kconfig executable and save the result. 43 mode: input mode option (--oldaskconfig, --defconfig=<file> etc.) 46 interactive: flag to specify the interactive mode 51 command = [CONF_PATH, mode, 'Kconfig'] 54 extra_env['srctree'] = self._test_dir [all …]
|
/openbmc/linux/scripts/kconfig/tests/ |
H A D | conftest.py | 1 # SPDX-License-Identifier: GPL-2.0 24 This class provides methods to run text-based interface of Kconfig 30 def __init__(self, request): argument 36 self._test_dir = os.path.dirname(str(request.fspath)) 39 def _run_conf(self, mode, dot_config=None, out_file='.config', argument 41 """Run text-based Kconfig executable and save the result. 43 mode: input mode option (--oldaskconfig, --defconfig=<file> etc.) 46 interactive: flag to specify the interactive mode 51 command = [CONF_PATH, mode, 'Kconfig'] 54 extra_env['srctree'] = self._test_dir [all …]
|
/openbmc/openbmc/meta-arm/meta-arm/lib/fvp/ |
H A D | runner.py | 13 if config["fvp-bindir"]: 14 cli.append(os.path.join(config["fvp-bindir"], config["exe"])) 19 cli.extend(["--parameter", f"{param}={value}"]) 22 cli.extend(["--data", value]) 25 cli.extend(["--application", f"{param}={value}"]) 30 # TODO if raw mode 31 # cli.extend(["--parameter", f"{terminal}.mode=raw"]) 32 …cli.extend(["--parameter", f"{terminal}.terminal_command={terminals[terminal_choice].command.forma… 35 cli.extend(["--parameter", f"{terminal}.start_telnet=0"]) 48 def __init__(self, lines): argument [all …]
|
/openbmc/qemu/tests/functional/ |
H A D | test_acpi_bits.py | 23 # pylint: disable=invalid-name 24 # pylint: disable=consider-using-f-string 31 https://gitlab.com/qemu-project/biosbits-bits . 85 class QEMUBitsMachine(QEMUMachine): # pylint: disable=too-few-public-methods 87 A QEMU VM, with isa-debugcon enabled and bits iso passed 88 using -cdrom to QEMU commandline. 91 def __init__(self, argument 97 debugcon_log: str = "debugcon-log.txt", 100 # pylint: disable=too-many-arguments 103 name = "qemu-bits-%d" % os.getpid() [all …]
|
H A D | test_s390x_ccw_virtio.py | 12 # later. See the COPYING file in the top-level directory. 29 '20201126T092837Z/dists/buster/main/installer-s390x/' 34 '20201126T092837Z/dists/buster/main/installer-s390x/' 40 '/fedora-secondary/releases/31/Server/s390x/os' 45 '/fedora-secondary/releases/31/Server/s390x/os' 49 def wait_for_console_pattern(self, success_message, vm=None): argument 50 wait_for_console_pattern(self, success_message, 51 failure_message='Kernel panic - not syncing', 54 def wait_for_crw_reports(self): argument 55 exec_command_and_wait_for_pattern(self, [all …]
|
/openbmc/qemu/docs/devel/testing/ |
H A D | functional.rst | 1 .. _checkfunctional-ref: 10 is a lot of similarity to those tests here (see :ref:`checkavocado-ref` for 22 that there is no TAP-incompatible output written to stdio, e.g. either by 30 ``self.vm`` attribute (a QEMUMachine instance) 43 ------------- 49 make check-functional 56 make check-functional-x86_64 62 to the QEMU binary that should be used for the test. The current working 66 $ export QEMU_TEST_QEMU_BINARY=$PWD/qemu-system-x86_64 76 -------- [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | crate.py | 2 # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- 9 # SPDX-License-Identifier: GPL-2.0-only 26 def _cargo_bitbake_path(self, rootdir): argument 29 def supports(self, ud, d): argument 35 def recommends_checksum(self, urldata): argument 38 def urldata_init(self, ud, d): argument 44 self._crate_urldata_init(ud, d) 46 super(Crate, self).urldata_init(ud, d) 48 def _crate_urldata_init(self, ud, d): argument 62 version = parts[-1].split(";")[0] [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | rockchip,rk3399-dmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/rockchip,rk3399-dmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Brian Norris <briannorris@chromium.org> 15 - rockchip,rk3399-dmc 17 devfreq-events: 21 Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt. 26 clock-names: 28 - const: dmc_clk [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/cirrus/ |
H A D | cs89x0.rst | 1 .. SPDX-License-Identifier: GPL-2.0 33 2.1 CS8900-based Adapter Configuration 34 2.2 CS8920-based Adapter Configuration 40 4.2 Compiling the driver to support memory mode 46 5.2.1 Diagnostic Self-Test 66 The CS8900-based ISA Ethernet Adapters from Cirrus Logic follow 67 IEEE 802.3 standards and support half or full-duplex operation in ISA bus 69 in 16-bit ISA or EISA bus expansion slots and are available in 70 10BaseT-only or 3-media configurations (10BaseT, 10Base2, and AUI for 10Base-5 73 CS8920-based adapters are similar to the CS8900-based adapter with additional [all …]
|
/openbmc/qemu/tests/docker/ |
H A D | docker.py | 12 # the top-level directory. 43 def __str__(self): argument 44 return self.name.lower() 46 def __repr__(self): argument 47 return str(self) 65 return _bytes_checksum(text.encode('utf-8')) 68 return open(path, 'rt', encoding='utf-8').read() 75 """ Guess a working engine command or raise exception if not found""" 81 commands += [["docker"], ["sudo", "-n", "docker"]] 92 raise Exception("Cannot find working engine command. Tried:\n%s" % [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | combo-layer | 3 # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- 6 # Authored-by: Yu Ke <ke.yu@intel.com> 10 # SPDX-License-Identifier: GPL-2.0-only 44 branchname = runcmd("git symbolic-ref HEAD 2>/dev/null", repodir).strip() 55 For an example config file, see combo-layer.conf.example 58 def __init__(self, options): argument 60 setattr(self, key, val) 65 self.repos[repo][name] = eval(value.strip("@")) 72 self.repos[repo][name] = value 77 self.commit_msg_template = value [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | ehci-mv.c | 1 // SPDX-License-Identifier: GPL-2.0+ 27 #define hcd_to_ehci_hcd_mv(h) ((struct ehci_hcd_mv *)hcd_to_ehci(h)->priv) 30 /* Which mode does this ehci running OTG/Host ? */ 31 int mode; member 49 retval = clk_prepare_enable(ehci_mv->clk); in mv_ehci_enable() 53 retval = phy_init(ehci_mv->phy); in mv_ehci_enable() 55 clk_disable_unprepare(ehci_mv->clk); in mv_ehci_enable() 62 phy_exit(ehci_mv->phy); in mv_ehci_disable() 63 clk_disable_unprepare(ehci_mv->clk); in mv_ehci_disable() 68 struct device *dev = hcd->self.controller; in mv_ehci_reset() [all …]
|
/openbmc/linux/arch/x86/realmode/rm/ |
H A D | reboot.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include <asm/processor-flags.h> 6 #include <asm/msr-index.h> 11 * mode and jumping to the BIOS reset entry point, as if the CPU has 15 * to stop this code working; hence the copious comments. 30 /* Disable paging to drop us out of long mode */ 46 /* Set up the IDT for real mode. */ 51 * mode. The GDT is not used in real mode; it is just needed here to 57 * Load the data segment registers with 16-bit compatible values 69 * This is 16-bit protected mode code to disable paging and the cache, [all …]
|
/openbmc/linux/Documentation/trace/coresight/ |
H A D | coresight-cpu-debug.rst | 9 ------------ 11 Coresight CPU debug module is defined in ARMv8-a architecture reference manual 13 debug module and it is mainly used for two modes: self-hosted debug and 14 external debug. Usually the external debug mode is well known as the external 16 explore debugging method which rely on self-hosted debug mode, this document 19 The debug module provides sample-based profiling extension, which can be used 21 every CPU has one dedicated debug module to be connected. Based on self-hosted 29 -------------- 31 - During driver registration, it uses EDDEVID and EDDEVID1 - two device ID 32 registers to decide if sample-based profiling is implemented or not. On some [all …]
|
/openbmc/linux/arch/arm64/boot/dts/allwinner/ |
H A D | sun50i-h616-orangepi-zero2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "sun50i-h616-orangepi-zero.dtsi" 12 compatible = "xunlong,orangepi-zero2", "allwinner,sun50i-h616"; 16 allwinner,rx-delay-ps = <3100>; 17 allwinner,tx-delay-ps = <700>; 18 phy-mode = "rgmii"; 19 phy-supply = <®_dcdce>; 23 vmmc-supply = <®_dcdce>; 30 compatible = "x-powers,axp305", "x-powers,axp805", [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | cs8900.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 11 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> 16 * This program is loaded into SRAM in bootstrap mode, where it waits 19 * target board. Anything with a CL-PS7111 or EP7211 should be able to run 20 * this code in bootstrap mode. All the board specifics can be handled on 28 /* although the registers are 16 bit, they are 32-bit aligned on the 29 EDB7111. so we have to read them as 32-bit registers and ignore the 30 upper 16-bits. i'm not sure if this holds for the EDB7211. */ 66 #define PP_ChipID 0x0000 /* Chip identifier - must be 0x630E */ 79 #define PP_RxCFG_Stream 0x0080 /* Enable streaming mode */ [all …]
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | sys_eiger.c | 1 // SPDX-License-Identifier: GPL-2.0 39 static unsigned long cached_irq_mask[2] = { -1, -1 }; 46 mask = (irq >= 64 ? mask << 16 : mask >> ((irq - 16) & 0x30)); in eiger_update_irq_hw() 47 regaddr = 0x510 + (((irq - 16) >> 2) & 0x0c); in eiger_update_irq_hw() 54 unsigned int irq = d->irq; in eiger_enable_irq() 63 unsigned int irq = d->irq; in eiger_disable_irq() 88 * mode. in eiger_device_interrupt() 90 * OTOH, the accelerator thing doesn't seem to be working in eiger_device_interrupt() 116 int irq = (vector - 0x800) >> 4; in eiger_srm_device_interrupt() 134 eiger_update_irq_hw(i, -1); in eiger_init_irq() [all …]
|
/openbmc/linux/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_plane.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> 10 #include <linux/mfd/atmel-hlcdc.h> 23 * struct atmel_hlcdc_plane_state - Atmel HLCDC Plane state structure. 128 static int atmel_hlcdc_format_to_plane_mode(u32 format, u32 *mode) in atmel_hlcdc_format_to_plane_mode() argument 132 *mode = ATMEL_HLCDC_C8_MODE; in atmel_hlcdc_format_to_plane_mode() 135 *mode = ATMEL_HLCDC_XRGB4444_MODE; in atmel_hlcdc_format_to_plane_mode() 138 *mode = ATMEL_HLCDC_ARGB4444_MODE; in atmel_hlcdc_format_to_plane_mode() 141 *mode = ATMEL_HLCDC_RGBA4444_MODE; in atmel_hlcdc_format_to_plane_mode() 144 *mode = ATMEL_HLCDC_RGB565_MODE; in atmel_hlcdc_format_to_plane_mode() [all …]
|
/openbmc/openbmc/poky/scripts/lib/devtool/ |
H A D | ide_sdk.py | 1 # Development tool - ide-sdk command plugin 3 # Copyright (C) 2023-2024 Siemens AG 5 # SPDX-License-Identifier: GPL-2.0-only 7 """Devtool ide-sdk plugin""" 34 """Different modes are supported by the ide-sdk plugin. 37 - auto: modified if all recipes are modified, shared if none of the recipes is modified. 38 - mixed: modified mode for modified recipes, shared mode for all other recipes. 48 def __init__(self, args): argument 49 self.extraoptions = '' 51 self.extraoptions += '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' [all …]
|