/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | azoteq,iqs7222.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d 29 irq-gpios: 32 Specifies the GPIO connected to the device's active-low RDY output. [all …]
|
/openbmc/linux/arch/arm/mm/ |
H A D | cache-b15-rac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Broadcom Brahma-B15 CPU read-ahead cache management functions 5 * Copyright (C) 2015-2016 Broadcom 19 #include <asm/hardware/cache-b15-rac.h> 33 /* Brahma-B15 is a quad-core only design */ 35 /* Brahma-B53 is an octo-core design */ 39 /* Bitmask to enable instruction and data prefetching with a 256-bytes stride */ 58 * multi-platform kernels from crashing here as well. 127 /* The readahead cache present in the Brahma-B15 CPU is a special piece of 130 * or 256 bytes. The rationale is that the data-bus of the CPU interface is [all …]
|
/openbmc/linux/Documentation/input/devices/ |
H A D | iforce-protocol.rst | 7 Home page at `<http://web.archive.org/web/*/http://www.esil.univ-mrs.fr>`_ 16 specify force effects to I-Force 2.0 devices. None of this information comes 25 send data to your I-Force device based on what you read in this document. 30 All values are hexadecimal with big-endian encoding (msb on the left). Beware, 31 values inside packets are encoded using little-endian. Bytes whose roles are 35 ------------------------ 64 00 X-Axis lsb 65 01 X-Axis msb 66 02 Y-Axis lsb, or gas pedal for a wheel 67 03 Y-Axis msb, or brake pedal for a wheel [all …]
|
/openbmc/linux/sound/ppc/ |
H A D | pmac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #include <linux/dma-mapping.h> 38 * tx status comes up "DEAD". This happens on some PowerComputing Pmac 40 * IDE and sound. However, this measure would deal with DEAD status if 54 rec->space = dma_alloc_coherent(&chip->pdev->dev, rsize, in snd_pmac_dbdma_alloc() 55 &rec->dma_base, GFP_KERNEL); in snd_pmac_dbdma_alloc() 56 if (rec->space == NULL) in snd_pmac_dbdma_alloc() 57 return -ENOMEM; in snd_pmac_dbdma_alloc() 58 rec->size = size; in snd_pmac_dbdma_alloc() 59 memset(rec->space, 0, rsize); in snd_pmac_dbdma_alloc() [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | bmc_date_and_time_utils.robot | 2 Documentation This module provides general keywords for date time and ntp. 30 # date_time New time to set for BMC (eg. 31 # "2019-06-30 09:21:28"). If this value is 33 # date time of the local system. 36 # this is when testing a bad date-time, the 40 # Assign default value of UTC current date time if date_time is empty. 45 # Change date format to 2024-03-07T07:58:50+00:00 from 2024-03-07 07:58:50.000. 51 ${date_time_formatted}= Convert Date ${date_time} result_format=%Y-%m-%dT%H:%M:%S+00:00 58 Set Time To Manual Mode 59 [Documentation] Set date time to manual mode via Redfish. [all …]
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.sh | 2 # SPDX-License-Identifier: GPL-2.0 37 if [ $tc_loss -eq 100 ];then 39 elif [ $tc_loss -ge 10 ]; then 41 elif [ $tc_loss -ge 1 ]; then 48 echo "Usage: $0 [ -a ]" 49 echo -e "\t-d: tc/netem delay in milliseconds, e.g. \"-d 10\" (default random)" 50 echo -e "\t-l: tc/netem loss percentage, e.g. \"-l 0.02\" (default random)" 51 …echo -e "\t-r: tc/netem reorder mode, e.g. \"-r 25% 50% gap 5\", use "-r 0" to disable reordering … 52 …echo -e "\t-e: ethtool features to disable, e.g.: \"-e tso -e gso\" (default: randomly disable any… 53 echo -e "\t-4: IPv4 only: disable IPv6 tests (default: test both IPv4 and IPv6)" [all …]
|
H A D | mptcp_join.sh | 2 # SPDX-License-Identifier: GPL-2.0 48 declare -A all_tests 49 declare -a only_tests_ids 50 declare -a only_tests_names 51 declare -A failed_tests 90 rndh=$(printf %x $sec)-$(mktemp -u XXXXXX) 92 ns1="ns1-$rndh" 93 ns2="ns2-$rndh" 98 ip -net $netns link set lo up 99 ip netns exec $netns sysctl -q net.mptcp.enabled=1 [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | orangefs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 OrangeFS is an LGPL userspace scale-out parallel storage system. It is ideal 51 On Fedora, install orangefs and orangefs-server:: 53 dnf -y install orangefs orangefs-server 64 pvfs2-client-core. 68 pvfs2-server -f /etc/orangefs/orangefs.conf 72 systemctl start orangefs-server 76 pvfs2-ping -m /pvfsmnt 81 systemctl start orangefs-client 85 mount -t pvfs2 tcp://localhost:3334/orangefs /pvfsmnt [all …]
|
/openbmc/docs/ |
H A D | meta-layer-guidelines.md | 31 If it needs to be per-project or per-machine configurable, check it in under a 32 compile time option, at the suggestion of the maintainer, and add a 33 PACKAGECONFIG entry that can be set to enable it. 49 cherry-pick the commit into the OpenBMC tree, with a pointer to the review in 66 autotools to meson, in pursuit of other goals. Having tool-specific 72 use that to enable said feature in your meta layer. 105 pushed to. If you're pulling in code from a dead project, inquire to the 118 - Relies on or implements on OpenBMC defined Dbus interfaces. 119 - Is not designed with configurability to be used outside of OpenBMC 120 - Relies on OpenBMC specific layouts, configuration information to accomplish [all …]
|
/openbmc/linux/include/linux/mfd/ |
H A D | stm32-timers.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #include <linux/dma-mapping.h> 23 #define TIM_CCER 0x20 /* Capt/Comp Enable Reg */ 26 #define TIM_ARR 0x2c /* Auto-Reload Register */ 31 #define TIM_BDTR 0x44 /* Break and Dead-Time Reg */ 36 #define TIM_CR1_CEN BIT(0) /* Counter Enable */ 38 #define TIM_CR1_ARPE BIT(7) /* Auto-reload Preload Ena */ 44 #define TIM_DIER_UDE BIT(8) /* Update DMA request Enable */ 45 #define TIM_DIER_CC1DE BIT(9) /* CC1 DMA request Enable */ 46 #define TIM_DIER_CC2DE BIT(10) /* CC2 DMA request Enable */ [all …]
|
/openbmc/bmcweb/ |
H A D | meson.options | 6 description: '''Enable the KVM host video WebSocket. Path is /kvm/0. 15 description: 'Enable Unit tests for bmcweb', 20 'vm-websocket', 23 description: '''Enable the Virtual Media WebSocket. Path is /vm/0/0 and /nbd/<id> to 29 'redfish-use-3-digit-messageid', 36 removed Q2-2025''', 43 # this interface, so for the moment this appears to be dead code; In leiu of 47 # 'vm-nbdproxy', 50 # description: 'Enable the Virtual Media WebSocket.' 58 description: '''Enable Phosphor REST (D-Bus) APIs. Paths directly map [all …]
|
/openbmc/linux/include/linux/ |
H A D | hwspinlock.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com 7 * Contact: Ohad Ben-Cohen <ohad@wizery.com> 29 * struct hwspinlock_pdata - platform data for hwspinlock drivers 32 * hwspinlock devices provide system-wide hardware locks that are used 35 * To achieve that, each physical lock must have a system-wide id number 41 * (num-of-locks - 1). 95 * Note: ERR_PTR(-ENODEV) will still be considered a success for NULL-checking 100 return ERR_PTR(-ENODEV); in hwspin_lock_request() 105 return ERR_PTR(-ENODEV); in hwspin_lock_request_specific() [all …]
|
/openbmc/linux/Documentation/mm/ |
H A D | vmalloced-kernel-stacks.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 -------- 19 ------------ 22 susceptible to exploits. Problems could show up at a later time making 23 it difficult to isolate and root-cause. 25 Virtually-mapped kernel stacks with guard pages causes kernel stack 29 HAVE_ARCH_VMAP_STACK and VMAP_STACK configuration options enable 40 -------------------- 43 enable this bool configuration option. The requirements are: 45 - vmalloc space must be large enough to hold many kernel stacks. This [all …]
|
/openbmc/linux/drivers/hid/intel-ish-hid/ipc/ |
H A D | ipc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2014-2016, Intel Corporation. 8 #include <linux/devm-helpers.h> 14 #include "hw-ish.h" 22 * ish_reg_read() - Read register 35 return readl(hw->mem_addr + offset); in ish_reg_read() 39 * ish_reg_write() - Write register 52 writel(value, hw->mem_addr + offset); in ish_reg_write() 56 * _ish_read_fw_sts_reg() - Read FW status register 69 * check_generated_interrupt() - Check if ISH interrupt [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | pata_macio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 55 controller_kl_ata3, /* KeyLargo ATA-3 */ 56 controller_kl_ata4, /* KeyLargo ATA-4 */ 57 controller_un_ata6, /* UniNorth2 ATA-6 */ 58 controller_k2_ata6, /* K2 ATA-6 */ 59 controller_sh_ata6, /* Shasta ATA-6 */ 65 "KeyLargo ATA-3", /* KeyLargo ATA-3 (MDMA only) */ 66 "KeyLargo ATA-4", /* KeyLargo ATA-4 (UDMA/66) */ 67 "UniNorth ATA-6", /* UniNorth2 ATA-6 (UDMA/100) */ 68 "K2 ATA-6", /* K2 ATA-6 (UDMA/100) */ [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | eeh_driver.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * PCI Error Recovery Driver for RPA-compliant PPC64 platform. 17 #include <asm/ppc-pci.h> 18 #include <asm/pci-bridge.h> 78 return !edev || (edev->mode & EEH_DEV_REMOVED); in eeh_dev_removed() 83 if (!edev->pdev) in eeh_edev_actionable() 85 if (edev->pdev->error_state == pci_channel_io_perm_failure) in eeh_edev_actionable() 89 if (eeh_pe_passed(edev->pe)) in eeh_edev_actionable() 96 * eeh_pcid_get - Get the PCI device driver 106 if (!pdev || !pdev->dev.driver) in eeh_pcid_get() [all …]
|
/openbmc/linux/drivers/iio/buffer/ |
H A D | industrialio-buffer-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2013-2015 Analog Devices Inc. 4 * Author: Lars-Peter Clausen <lars@metafoo.de> 16 #include <linux/iio/buffer-dma.h> 17 #include <linux/dma-mapping.h> 21 * For DMA buffers the storage is sub-divided into so called blocks. Each block 48 * * Dead: A block that is dead has been marked as to be freed. It might still 98 WARN_ON(block->state != IIO_BLOCK_STATE_DEAD); in iio_buffer_block_release() 100 dma_free_coherent(block->queue->dev, PAGE_ALIGN(block->size), in iio_buffer_block_release() 101 block->vaddr, block->phys_addr); in iio_buffer_block_release() [all …]
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A D | dm-raid.rst | 2 dm-raid 5 The device-mapper RAID (dm-raid) target provides a bridge from DM to MD. 6 It allows the MD RAID drivers to be accessed using a device-mapper 11 ----------------------- 26 - Transitory layout 29 - rotating parity 0 with data continuation 32 - rotating parity N with data continuation 35 - rotating parity 0 with data restart 38 - rotating parity N with data restart 41 - rotating parity zero (left-to-right) with data restart [all …]
|
/openbmc/linux/init/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 - Re-run Kconfig when the compiler is updated 13 - Ensure full rebuild when the compiler is updated 14 include/linux/compiler-version.h contains this option in the comment 16 auto-generated dependency. When the compiler is updated, syncconfig 20 def_bool $(success,test "$(cc-name)" = GCC) 24 default $(cc-version) if CC_IS_GCC 28 def_bool $(success,test "$(cc-name)" = Clang) 32 default $(cc-version) if CC_IS_CLANG 36 def_bool $(success,test "$(as-name)" = GNU) [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | ehci-timer.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /* This file is part of ehci-hcd.c */ 8 /*-------------------------------------------------------------------------*/ 13 ehci->command |= bit; in ehci_set_command_bit() 14 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_set_command_bit() 17 ehci_readl(ehci, &ehci->regs->command); in ehci_set_command_bit() 23 ehci->command &= ~bit; in ehci_clear_command_bit() 24 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_clear_command_bit() 27 ehci_readl(ehci, &ehci->regs->command); in ehci_clear_command_bit() 30 /*-------------------------------------------------------------------------*/ [all …]
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | smp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 #include <linux/irqchip/arm-gic-v3.h> 91 return -ENOSYS; in op_cpu_kill() 104 if (ops->cpu_boot) in boot_secondary() 105 return ops->cpu_boot(cpu); in boot_secondary() 107 return -EOPNOTSUPP; in boot_secondary() 133 * time out. in __cpu_up() 162 pr_crit("CPU%u: does not support 52-bit VAs\n", cpu); in __cpu_up() 173 return -EIO; in __cpu_up() 207 current->active_mm = mm; in secondary_start_kernel() [all …]
|
/openbmc/linux/Documentation/locking/ |
H A D | hwspinlock.rst | 12 For example, OMAP4 has dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP, 17 A generic hwspinlock framework allows platform-independent drivers to use 22 This is necessary, for example, for Inter-processor communications: 23 on OMAP4, cpu-intensive multimedia tasks are offloaded by the host to the 26 To achieve fast message-based communications, a minimal kernel support 35 A common hwspinlock interface makes it possible to have generic, platform- 67 Retrieve the global lock id for an OF phandle-based specific lock. 72 The function returns a lock id number on success, -EPROBE_DEFER if 82 Free a previously-assigned hwspinlock; returns 0 on success, or an 83 appropriate error code on failure (e.g. -EINVAL if the hwspinlock [all …]
|
/openbmc/linux/include/linux/sched/ |
H A D | signal.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #include <linux/posix-timers.h> 17 * Types defining task->signal and task->sighand and APIs using them: 28 * Per-process accounting stats: 60 * struct thread_group_cputimer - thread group interval timer counts 102 /* current thread group signal load-balancing target: */ 125 * manager, to re-parent orphan (double-forking) child processes 180 * Cumulative resource counters for dead threads in the group, 181 * and for reaped dead child processes forked by this group. 197 * Cumulative ns of schedule CPU time fo dead threads in the [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_fw.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2014-2019 Intel Corporation 22 struct intel_uncore *uncore = gt->uncore; in guc_prepare_xfer() 29 if (GRAPHICS_VER_FULL(uncore->i915) < IP_VER(12, 50)) in guc_prepare_xfer() 36 if (IS_GEN9_LP(uncore->i915)) in guc_prepare_xfer() 41 if (GRAPHICS_VER(uncore->i915) == 9) { in guc_prepare_xfer() 42 /* DOP Clock Gating Enable for GuC clocks */ in guc_prepare_xfer() 60 return -ENOMEM; in guc_xfer_rsa_mmio() 74 intel_guc_ggtt_offset(guc, guc_fw->rsa_data)); in guc_xfer_rsa_vma() 83 if (guc_fw->rsa_data) in guc_xfer_rsa() [all …]
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | eeh-powernv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 #include <asm/ppc-pci.h> 34 #include <asm/pnv-pci.h> 40 static int eeh_event_irq = -EINVAL; 44 dev_dbg(&pdev->dev, "EEH: Setting up device\n"); in pnv_pcibios_bus_add_device() 69 struct pci_controller *hose = filp->private_data; in pnv_eeh_ei_write() 76 if (!eeh_ops || !eeh_ops->err_inject) in pnv_eeh_ei_write() 77 return -ENXIO; in pnv_eeh_ei_write() 82 return -EFAULT; in pnv_eeh_ei_write() 88 return -EINVAL; in pnv_eeh_ei_write() [all …]
|