/openbmc/linux/include/uapi/linux/ |
H A D | libc-compat.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 20 * (a) Include libc-compat.h in the UAPI header. 21 * e.g. #include <linux/libc-compat.h> 24 * (b) In libc-compat.h add enough code to detect that the comflicting 28 * guard macros of the form __UAPI_DEF_FOO and set their values to 1, else 65 /* Everything up to IFF_DYNAMIC, matches net/if.h until glibc 2.23 */ 72 #else /* _NET_IF_H */ 74 /* Linux headers included first, and we must define everything 82 /* Everything up to IFF_DYNAMIC, matches net/if.h until glibc 2.23 */ 108 #else [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/serial/ |
H A D | amlogic,meson-uart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/serial/amlogic,meson-uart.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Neil Armstrong <neil.armstrong@linaro.org> 15 of SoCs, and can be present either in the "Always-On" power domain or the 16 "Everything-Else" power domain. 18 The particularity of the "Always-On" Serial Interface is that the hardware 19 is active since power-on and does not need any clock gating and is usable 23 - $ref: serial.yaml# [all …]
|
/openbmc/phosphor-fan-presence/presence/ |
H A D | pfpgen.py | 9 1 - Import the YAML configuration file as native python type(s) 11 2 - Create an instance of the Everything class from the 12 native python type instance(s) with the Everything.load 14 3 - The Everything class constructor orchestrates conversion of the 18 4 - Present the converted YAML to the command processing method 145 kw["name"] = "gpio-{}".format(self.key) 160 kw["name"] = "tach-{}".format("-".join(self.sensors)) 196 kw["name"] = "anyof-{}".format(kw["fan"]) 210 kw["name"] = "fallback-{}".format(kw["fan"]) 235 factory = Everything.classmap(self.rpolicy["type"]) [all …]
|
/openbmc/linux/drivers/soc/amlogic/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 41 tristate "Amlogic Meson Everything-Else Power Domains driver" 48 Say yes to expose Amlogic Meson Everything-Else Power Domains as
|
/openbmc/linux/arch/x86/kernel/cpu/mtrr/ |
H A D | cyrix.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <asm/processor-cyrix.h> 7 #include <asm/processor-flags.h> 38 * Power of two, at least 4K on ARR0-ARR6, 256K on ARR7 in cyrix_get_arr() 42 *size = (reg < 7 ? 0x1UL : 0x40UL) << (shift - 1); in cyrix_get_arr() 43 else in cyrix_get_arr() 46 /* Bit 0 is Cache Enable on ARR7, Cache Disable on ARR0-ARR6 */ in cyrix_get_arr() 63 } else { in cyrix_get_arr() 83 * cyrix_get_free_region - get a free ARR. 88 * Returns: the index of the region on success, else -1 on error. [all …]
|
/openbmc/qemu/tests/functional/ |
H A D | test_multiprocess.py | 6 # later. See the COPYING file in the top-level directory. 21 '/releases/31/Everything/x86_64/os/images/pxeboot/vmlinuz'), 26 '/releases/31/Everything/x86_64/os/images/pxeboot/initrd.img'), 31 '/releases/31/Everything/aarch64/os/images/pxeboot/vmlinuz'), 36 '/releases/31/Everything/aarch64/os/images/pxeboot/initrd.img'), 43 self.require_device('x-pci-proxy-dev') 56 remote_vm.add_args('-machine', 'x-remote') 57 remote_vm.add_args('-nodefaults') 58 remote_vm.add_args('-device', 'lsi53c895a,id=lsi1') 59 remote_vm.add_args('-object', 'x-remote-object,id=robj1,' [all …]
|
/openbmc/linux/arch/mips/sibyte/sb1250/ |
H A D | irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 74 unsigned int irq = d->irq; in sb1250_set_affinity() 114 unsigned int irq = d->irq; in disable_sb1250_irq() 121 unsigned int irq = d->irq; in enable_sb1250_irq() 129 unsigned int irq = d->irq; in ack_sb1250_irq() 148 #else in ack_sb1250_irq() 162 * Pass 2, the LDT world may be edge-triggered, but in ack_sb1250_irq() 164 * level-sensitive, the EOI is required. in ack_sb1250_irq() 173 .name = "SB1250-IMR", 205 * PCI and LDT to one cpu and everything else to the other [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | isa.rst | 27 now (for oldisa-only drivers) become:: 52 unsigned int id`` pair directly -- with the device creation completely 59 ALSA would want to keep the old non-load behaviour, it could stick all 61 everything was found to be present and accounted for. If it wanted the 64 do everything in .probe() as before. 70 values have been passed in) and .probe() for everything else. This is 85 if (dev->platform_data == isa_driver) { 86 if (!isa_driver->match || 87 isa_driver->match(dev, to_isa_dev(dev)->id)) 89 dev->platform_data = NULL; [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/pseudo/ |
H A D | pseudo.inc | 3 # BBFETCH2=True PSEUDO_BUILD=1 ../bitbake/bin/bitbake pseudo-native [-c CMD] 10 LICENSE = "LGPL-2.1-only" 15 INSANE_SKIP:${PN}-dbg += "libdir" 20 MAKEOPTS:class-native = "'RPATH=-Wl,--rpath=XORIGIN/../../../sqlite3-native/usr/lib/'" 29 NO32LIBS:class-nativesdk = "1" 31 PSEUDO_EXTRA_OPTS ?= "--enable-force-async --without-passwd-fallback --enable-epoll --enable-xattr" 36 …--prefix=${prefix} --libdir=${prefix}/lib/pseudo/lib${SITEINFO_BITS} --with-sqlite-lib=${baselib} … 37 else 38 …--prefix=${prefix} --libdir=${prefix}/lib/pseudo/lib --with-sqlite-lib=${baselib} --with-sqlite=${… 45 # We probably don't need to build 32-bit binaries. [all …]
|
/openbmc/openbmc/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/ |
H A D | 0001-libc-compat.h-fix-some-issues-arising-from-in6.h.patch | 4 Subject: [PATCH 1/3] libc-compat.h: fix some issues arising from in6.h 7 --- 8 Signed-off-by: Khem Raj <raj.khem@gmail.com> 9 Upstream-Status: Submitted 11 include/uapi/linux/libc-compat.h | 25 ++++++++----------------- 12 1 file changed, 8 insertions(+), 17 deletions(-) 14 Index: linux-4.15/include/uapi/linux/libc-compat.h 16 --- linux-4.15.orig/include/uapi/linux/libc-compat.h 2018-02-05 17:37:44.724314379 -0500 17 +++ linux-4.15/include/uapi/linux/libc-compat.h 2018-02-05 17:38:02.148913820 -0500 18 @@ -49,13 +49,12 @@ [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 066 | 40 # This tests qcow2-specific low-level functionality 46 _unsupported_imgopts 'compat=0.10' 'refcount_bits=1[^0-9]' data_file 56 # zero clusters) and discard everything. Everything should now read as 0. 57 $QEMU_IO -c "write 0 256k" -c "write -z 0 256k" -c "write 64M 512" \ 58 -c "discard 0 $IMG_SIZE" -c "read -P 0 0 $IMG_SIZE" "$TEST_IMG" \ 76 $QEMU_IO -c 'write -P 42 1M 256k' "$TEST_IMG" | _filter_qemu_io 77 orig_map=$($QEMU_IMG map --output=json "$TEST_IMG") 80 $QEMU_IO -c 'write -z 1M 256k' "$TEST_IMG" | _filter_qemu_io 83 $QEMU_IO -c "write -P 23 $(((1024 + 32) * 1024)) 192k" "$TEST_IMG" \ 90 $QEMU_IO -c "read -P 0 $(( 1024 * 1024)) 32k" \ [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | TODO.txt | 2 ----------------- 4 - For discrete memory manager, merge enough dg1 to be able to refactor it to 8 - Come up with a plan what to do with drm/scheduler and how to get there. 10 - Roll out dma_fence critical section annotations. 12 - There's a lot of complexity added past few years to make relocations faster. 15 1. Land a modern pre-bound uapi like VM_BIND 19 refcounts, caching, ... on everything. 23 - i915_sw_fence seems to be the main structure for the i915-gem dma_fence model. 24 How-to-dma_fence is core and drivers really shouldn't build their own world 25 here, treating everything else as a fixed platform. i915_sw_fence concepts [all …]
|
/openbmc/openbmc/meta-arm/scripts/ |
H A D | runfvp | 13 # Add meta-arm/lib/ to path 14 libdir = pathlib.Path(__file__).parents[1] / "meta-arm" / "lib" 26 …group.add_argument("-t", "--terminals", choices=terminals.all_terminals(), default=terminals.prefe… 27 …group.add_argument("-c", "--console", action="store_true", help="Attach the first uart to stdin/st… 28 parser.add_argument("--verbose", action="store_true", help="Output verbose logging") 29 parser.usage = f"{parser.format_usage().strip()} -- [ arguments passed to FVP ]" 32 …# If the arguments contains -- then everything after it should be passed to the FVP binary directl… 33 if "--" in arguments: 34 i = arguments.index("--") 37 else: [all …]
|
/openbmc/linux/arch/mips/sibyte/bcm1480/ |
H A D | irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 51 irq -= BCM1480_NR_IRQS_HALF; in bcm1480_mask_irq() 68 irq -= BCM1480_NR_IRQS_HALF; in bcm1480_unmask_irq() 80 unsigned int irq_dirty, irq = d->irq; in bcm1480_set_affinity() 97 irq_dirty -= BCM1480_NR_IRQS_HALF; in bcm1480_set_affinity() 127 unsigned int irq = d->irq; in disable_bcm1480_irq() 134 unsigned int irq = d->irq; in enable_bcm1480_irq() 142 unsigned int irq_dirty, irq = d->irq; in ack_bcm1480_irq() 154 irq_dirty -= BCM1480_NR_IRQS_HALF; in ack_bcm1480_irq() 171 #else in ack_bcm1480_irq() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | perforce.py | 6 - module 7 The top-level location to fetch while preserving the remote paths 11 from the module path. That is, the top-level directory in the module value 12 will also be the top-level directory in P4DIR. 14 - remotepath 23 # SPDX-License-Identifier: GPL-2.0-only 49 self._fire_progress(-1) 83 if delim != -1: 86 else: 95 else: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/ |
H A D | amlogic,meson-ee-pwrc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/power/amlogic,meson-ee-pwrc.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Amlogic Meson Everything-Else Power Domains 11 - Neil Armstrong <neil.armstrong@linaro.org> 14 The Everything-Else Power Domains node should be the child of a syscon 17 - compatible: Should be the following: 18 "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon" 26 - amlogic,meson8-pwrc [all …]
|
/openbmc/linux/lib/ |
H A D | win_minmax.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * the n'th best >= n-1'th best. It also makes sure that the three 19 * Upon getting a new min, we can forget everything earlier because 20 * it has no value - the new min is <= everything else in the window 32 u32 dt = val->t - m->s[0].t; in minmax_subwin_update() 42 m->s[0] = m->s[1]; in minmax_subwin_update() 43 m->s[1] = m->s[2]; in minmax_subwin_update() 44 m->s[2] = *val; in minmax_subwin_update() 45 if (unlikely(val->t - m->s[0].t > win)) { in minmax_subwin_update() 46 m->s[0] = m->s[1]; in minmax_subwin_update() [all …]
|
/openbmc/linux/sound/arm/ |
H A D | pxa2xx-ac97-lib.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Based on sound/arm/pxa2xx-ac97.c and sound/soc/pxa/pxa2xx-ac97.c 22 #include <sound/pxa2xx-lib.h> 24 #include <linux/platform_data/asoc-pxa.h> 26 #include "pxa2xx-ac97-regs.h" 48 int val = -ENODEV; in pxa2xx_ac97_read() 52 return -ENODEV; in pxa2xx_ac97_read() 60 else in pxa2xx_ac97_read() 75 val = -ETIMEDOUT; in pxa2xx_ac97_read() 102 else in pxa2xx_ac97_write() [all …]
|
/openbmc/linux/drivers/net/ipa/ |
H A D | ipa_qmi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2022 Linaro Ltd. 24 * both sides know when everything is ready to begin operating. The AP 53 * - Whenever the AP learns the modem has booted and its IPA QMI service 56 * - On the initial boot, the modem sets up the IPA microcontroller, and 58 * - When the modem is ready to receive an INIT_COMPLETE indication from 60 * - On the initial modem boot, everything is ready when: 61 * - AP has received a success response from its INIT_DRIVER request 62 * - AP has responded to a DRIVER_INIT_COMPLETE request [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | custom_sec_handlers.c | 1 // SPDX-License-Identifier: GPL-2.0 25 opts->prog_flags |= BPF_F_SLEEPABLE; in custom_prepare_load_prog() 26 else if (cookie == COOKIE_ABC1) in custom_prepare_load_prog() 44 /* no auto-attach for SEC("xyz") and SEC("kprobe") */ in custom_attach_prog() 49 return -EINVAL; in custom_attach_prog() 114 /* fallback treats everything as BPF_PROG_TYPE_SYSCALL program to test in test_custom_sec_handlers() 133 ASSERT_EQ(bpf_program__type(skel->progs.abc1), BPF_PROG_TYPE_RAW_TRACEPOINT, "abc1_type"); in test_custom_sec_handlers() 134 ASSERT_FALSE(bpf_program__autoload(skel->progs.abc1), "abc1_autoload"); in test_custom_sec_handlers() 136 ASSERT_EQ(bpf_program__type(skel->progs.abc2), BPF_PROG_TYPE_RAW_TRACEPOINT, "abc2_type"); in test_custom_sec_handlers() 137 ASSERT_EQ(bpf_program__type(skel->progs.custom1), BPF_PROG_TYPE_TRACEPOINT, "custom1_type"); in test_custom_sec_handlers() [all …]
|
/openbmc/linux/Documentation/core-api/ |
H A D | index.rst | 12 massive grab-bag of kerneldoc info left over from the docbook days; it 19 kernel-api 22 printk-basics 23 printk-formats 24 printk-index 25 symbol-namespaces 26 asm-annotations 28 Data structures and low-level utilities 42 circular-buffers 44 generic-radix-tree [all …]
|
/openbmc/phosphor-inventory-manager/ |
H A D | pimgen.py | 6 1 - Import YAML files as native python type(s) instance(s). 7 2 - Create an instance of the Everything class from the 8 native python type instance(s) with the Everything.load 10 3 - The Everything class constructor orchestrates conversion of the 14 4 - Present the converted YAML to the command processing method 63 return "::".join(["sdbusplus"] + self[:-1] + ["server", self[-1]]) 99 """Un-capitalize booleans.""" 169 """Non-array type arguments.""" 342 namespace = iface.namespace().split("::")[:-1] 343 name = iface[-1] [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | switch_to.h | 15 #include <asm/cpu-features.h> 24 * resume - resume execution of a task 44 * but did not actually use the FPU during the most recent time-slice (CU1 48 * force prompt migration - we're already switching the current CPU to a 60 prev->cpus_mask = prev->thread.user_cpus_allowed; \ 62 next->thread.emulated_fp = 0; \ 65 #else 90 unsigned long fcr31 = mask_fcr31_x(next->thread.fpu.fcr31); \ 94 pc = (void __user *)task_pt_regs(next)->cp0_epc; \ 95 next->thread.fpu.fcr31 &= ~fcr31; \ [all …]
|
/openbmc/qemu/common-user/host/mips/ |
H A D | safe-syscall.inc.S | 2 * safe-syscall.inc.S : host-specific assembly fragment 4 * This is intended to be included by common-user/safe-syscall.S 10 * See the COPYING file in the top-level directory. 37 #else 46 PTR_ADDIU sp, sp, -FRAME 61 * Shuffle everything around appropriately. 77 #else 88 * Shuffle everything around appropriately. 109 /* If signal_pending is non-zero, don't do the call */ 119 .cfi_adjust_cfa_offset -FRAME [all …]
|
/openbmc/u-boot/arch/arm/mach-sunxi/ |
H A D | spl_spi_sunxi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 * This is a very simple U-Boot image loading implementation, trying to 28 * A10/A13/A20 (sun4i variant) and everything else (sun6i variant). 88 * from SPI Flash, everything else is using pins PC0,PC1,PC2,PC3. 99 else in spi0_pinmux_setup() 130 } else { in spi0_enable_clock() 145 else in spi0_disable_clock() 211 /* Wait until everything is received in the RX FIFO */ in sunxi_spi0_read_data() 219 while (bufsize-- > 0) in sunxi_spi0_read_data() 246 } else { in spi0_read_data() [all …]
|