Home
last modified time | relevance | path

Searched +full:de +full:- +full:assert (Results 1 – 25 of 193) sorted by relevance

12345678

/openbmc/u-boot/arch/arm/mach-socfpga/
H A Dfreeze_controller.c1 // SPDX-License-Identifier: GPL-2.0+
33 writel(SYSMGR_FRZCTRL_SRC_VIO1_ENUM_SW, &freeze_controller_base->src); in sys_mgr_frzctrl_freeze_req()
38 &freeze_controller_base->vioctrl + channel_id); in sys_mgr_frzctrl_freeze_req()
41 * Assert active low enrnsl, plniotri in sys_mgr_frzctrl_freeze_req()
52 * Assert active low bhniotri signal and de-assert in sys_mgr_frzctrl_freeze_req()
66 * Assert active low enrnsl, plniotri and in sys_mgr_frzctrl_freeze_req()
73 clrbits_le32(&freeze_controller_base->hioctrl, reg_cfg_mask); in sys_mgr_frzctrl_freeze_req()
76 * assert active low bhniotri & nfrzdrv signals, in sys_mgr_frzctrl_freeze_req()
77 * de-assert active high csrdone and assert in sys_mgr_frzctrl_freeze_req()
80 reg_value = readl(&freeze_controller_base->hioctrl); in sys_mgr_frzctrl_freeze_req()
[all …]
H A Dreset_manager_gen5.c1 // SPDX-License-Identifier: GPL-2.0+
18 /* Assert or de-assert SoCFPGA reset manager reset. */
26 reg = &reset_manager_base->mpu_mod_reset; in socfpga_per_reset()
29 reg = &reset_manager_base->per_mod_reset; in socfpga_per_reset()
32 reg = &reset_manager_base->per2_mod_reset; in socfpga_per_reset()
35 reg = &reset_manager_base->brg_mod_reset; in socfpga_per_reset()
38 reg = &reset_manager_base->misc_mod_reset; in socfpga_per_reset()
52 * Assert reset on every peripheral but L4WD0.
60 writel(~l4wd0, &reset_manager_base->per_mod_reset); in socfpga_per_reset_all()
61 writel(0xffffffff, &reset_manager_base->per2_mod_reset); in socfpga_per_reset_all()
[all …]
H A Dreset_manager_s10.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2016-2018 Intel Corporation <www.intel.com>
11 #include <dt-bindings/reset/altr,rst-mgr-s10.h>
20 /* Assert or de-assert SoCFPGA reset manager reset. */
26 reg = &reset_manager_base->mpumodrst; in socfpga_per_reset()
28 reg = &reset_manager_base->per0modrst; in socfpga_per_reset()
30 reg = &reset_manager_base->per1modrst; in socfpga_per_reset()
32 reg = &reset_manager_base->brgmodrst; in socfpga_per_reset()
43 * Assert reset on every peripheral but L4WD0.
53 &reset_manager_base->per0modrst); in socfpga_per_reset_all()
[all …]
H A Dreset_manager_arria10.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2016-2017 Intel Corporation
65 /* assert reset for watchdog */ in socfpga_watchdog_disable()
66 setbits_le32(&reset_manager_base->per1modrst, in socfpga_watchdog_disable()
73 clrbits_le32(&reset_manager_base->brgmodrst, in socfpga_reset_deassert_noc_ddr_scheduler()
85 return fdtdec_get_uint(blob, node, "init-val", 0); in get_bridge_init_val()
95 if (get_bridge_init_val(gd->fdt_blob, in socfpga_reset_deassert_bridges_handoff()
103 setbits_le32(&sysmgr_regs->noc_idlereq_clr, mask_noc); in socfpga_reset_deassert_bridges_handoff()
106 clrbits_le32(&reset_manager_base->brgmodrst, mask_rstmgr); in socfpga_reset_deassert_bridges_handoff()
109 return wait_for_bit_le32(&sysmgr_regs->noc_idleack, mask_noc, in socfpga_reset_deassert_bridges_handoff()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/udpcast/udpcast/
H A D0001-include-stddef.h-for-ptrdiff_t.patch2 From: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
8 Upstream-Status: Pending
10 Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
11 ---
15 diff --git a/receivedata.c b/receivedata.c
17 --- a/receivedata.c
19 @@ -1,6 +1,7 @@
22 #include <assert.h>
27 --
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Led/
H A DGroup.interface.yaml4 - name: Asserted
7 Whether or not the group is currently asserted. To assert a group, set
8 to True. To de-assert a group, set to False.
11 - name: identifying
17 - xyz.openbmc_project.Inventory.Item
18 - name: fault_identifying
24 - xyz.openbmc_project.Inventory.Item
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0016-pass-correct-parameters-to-getdents64.patch3 Date: Fri, 21 Jan 2022 15:15:11 -0800
7-dir.c:57:40: error: incompatible pointer types passing 'uint8_t *' (aka 'unsigned char *') to par…
8 … n = getdents64(dir_fd, (uint8_t*) de->buffer + de->buffer_size, bs - de->buffer_size);
11-util.c:102:28: error: incompatible pointer types passing 'union (unnamed union at ../git/src/basi…
15 Upstream-Status: Inappropriate [musl specific]
16 Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
18 ---
19 src/basic/recurse-dir.c | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
[all …]
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0016-pass-correct-parameters-to-getdents64.patch3 Date: Fri, 21 Jan 2022 15:15:11 -0800
7-dir.c:57:40: error: incompatible pointer types passing 'uint8_t *' (aka 'unsigned char *') to par…
8 … n = getdents64(dir_fd, (uint8_t*) de->buffer + de->buffer_size, bs - de->buffer_size);
11-util.c:102:28: error: incompatible pointer types passing 'union (unnamed union at ../git/src/basi…
15 Upstream-Status: Inappropriate [musl specific]
16 Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
18 ---
19 src/basic/recurse-dir.c | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
[all …]
/openbmc/u-boot/drivers/fpga/
H A Dstratixv.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2016 Stefan Roese <sr@denx.de>
25 return -1; in program_write()
28 return -1; in program_write()
40 * Return 0 for sucess, non-zero for error.
44 altera_board_specific_func *pfns = desc->iface_fns; in stratixv_load()
45 int cookie = desc->cookie; in stratixv_load()
52 return -EINVAL; in stratixv_load()
56 if (pfns->pre) in stratixv_load()
57 (pfns->pre)(cookie); in stratixv_load()
[all …]
/openbmc/dbus-sensors/src/
H A DThresholds.cpp11 #include <phosphor-logging/lg2.hpp>
74 if (std::visit(VariantToStringVisitor(), labelFind->second) != in parseThresholdsFromConfig()
92 (std::visit(VariantToIntVisitor(), indexFind->second) != in parseThresholdsFromConfig()
104 std::visit(VariantToDoubleVisitor(), hysteresisFind->second); in parseThresholdsFromConfig()
119 std::visit(VariantToUnsignedIntVisitor(), severityFind->second); in parseThresholdsFromConfig()
122 std::visit(VariantToStringVisitor(), directionFind->second); in parseThresholdsFromConfig()
131 double val = std::visit(VariantToDoubleVisitor(), valueFind->second); in parseThresholdsFromConfig()
147 conn->async_method_call( in persistThreshold()
165 std::visit(VariantToStringVisitor(), labelFind->second); in persistThreshold()
182 VariantToUnsignedIntVisitor(), severityFind->secon in persistThreshold()
343 startTimer(const std::weak_ptr<Sensor> & weakSensor,const Threshold & threshold,bool assert,double assertValue) startTimer() argument
455 assertThresholds(Sensor * sensor,double assertValue,thresholds::Level level,thresholds::Direction direction,bool assert) assertThresholds() argument
[all...]
/openbmc/u-boot/arch/arm/cpu/
H A Du-boot-spl.lds1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (c) 2004-2008 Texas Instruments
6 * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
9 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
69 __bss_size = __bss_end - __bss_start;
82 ASSERT(__image_copy_end - __image_copy_start < (IMAGE_MAX_SIZE), \
87 ASSERT(__bss_end - __bss_start < (CONFIG_SPL_BSS_MAX_SIZE), \
92 ASSERT(__bss_end - _start < (CONFIG_SPL_MAX_FOOTPRINT), \
/openbmc/u-boot/arch/x86/include/asm/arch-quark/
H A Dquark.h1 /* SPDX-License-Identifier: GPL-2.0+ */
175 /* USB EHCI memory-mapped registers */
178 /* USB device memory-mapped registers */
200 * qrk_pci_read_config_dword() - Read a configuration value
216 * qrk_pci_write_config_dword() - Write a PCI configuration value
232 * board_assert_perst() - Assert the PERST# pin
235 * Board-specific codes need supply this routine to assert PCIe slot reset.
245 * board_deassert_perst() - De-assert the PERST# pin
248 * Board-specific codes need supply this routine to de-assert PCIe slot reset.
/openbmc/u-boot/board/intel/galileo/
H A Dgalileo.c1 // SPDX-License-Identifier: GPL-2.0+
14 * We cannot use any public GPIO APIs in <asm-generic/gpio.h> to control this
19 * Check <asm/arch-quark/quark.h> for more details.
41 /* pull it down (assert) */ in board_assert_perst()
56 /* pull it up (de-assert) */ in board_deassert_perst()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-bsp/i2cdev/i2cdev/
H A Dfix-musl.patch2 Message-Id: <ce3affeb45a65649dda1edc9a4f0586e9db47ada.1705064898.git.joerg.sommer@navimatix.de>
3 From: =?UTF-8?q?J=C3=B6rg=20Sommer?= <joerg.sommer@navimatix.de>
12 Upstream-Status: Submitted [https://github.com/costad2/i2cdev/pull/5]
13 ---
14 libi2cdev/access.c | 1 -
15 libi2cdev/i2c-bus-parser.c | 1 -
16 libi2cdev/i2c-dev-path.c | 1 -
17 libi2cdev/i2c-error.c | 1 -
18 libi2cdev/init.c | 2 --
19 libi2cdev/sysfs.c | 1 -
[all …]
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Du-boot-spl.lds1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
27 __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1;
37 ASSERT(__bss_end <= 0xfff01000, "NAND bootstrap too big");
/openbmc/x86-power-control/
H A DREADME.md18 x86-power-control uses default json file (power-config-host0.json) for GPIO
20 power-config-host0.json file.
55 x86-power-control will monitor the property change from the given DbusName and
64 ### chassis-system-reset
68 ### use-plt-rst
71 de-asserts on reset. This de-assert behavior is currently used to detect warm
76 x86-power-control will use PLT_RST to detect warm resets instead of POST
79 See <https://github.com/Intel-BMC/host-misc-comm-manager> for implementation
/openbmc/qemu/util/
H A Dyank.c4 * Copyright (c) Lukas Straub <lukasstraub2@web.de>
7 * See the COPYING file in the top-level directory.
15 #include "qapi/qapi-commands-yank.h"
16 #include "qapi/qapi-visit-yank.h"
17 #include "qapi/clone-visitor.h"
37 * OOB-capable commands, it must be "fast", i.e. it may only be held for a
38 * bounded, short time. See docs/devel/qapi-code-gen.rst for additional
48 if (a->type != b->type) { in yank_instance_equal()
52 switch (a->type) { in yank_instance_equal()
54 return g_str_equal(a->u.block_node.node_name, in yank_instance_equal()
[all …]
/openbmc/u-boot/test/py/tests/
H A Dtest_efi_loader.py1 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2016, Alexander Graf <agraf@suse.de>
83 assert 'DHCP client bound to address ' in output
129 assert expected_text in output
139 assert expected_crc in output
155 assert expected_text in output
157 assert expected_text in output
163 The helloworld.efi file is included in U-Boot, execute it using the
169 assert expected_text in output
195 # And give us our U-Boot prompt back
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/breakpad/breakpad/
H A D0003-Fix-conflict-between-musl-libc-dirent.h-and-lss.patch2 From: Felix Janda <felix.janda@posteo.de>
8 ---
9 Upstream-Status: Pending
11 src/client/linux/crash_generation/crash_generation_server.cc | 3 ++-
12 1 file changed, 2 insertions(+), 1 deletion(-)
14 --- a/src/client/linux/crash_generation/crash_generation_server.cc
16 @@ -31,7 +31,6 @@
19 #include <assert.h>
20 -#include <dirent.h>
24 @@ -52,6 +51,8 @@
/openbmc/u-boot/doc/
H A DREADME.i2c4 While I2C supports multi-master buses this is difficult to get right.
6 Clock-stretching and the arbitrary time that an I2C transaction can take
8 When one or more masters can be reset independently part-way through a
11 U-Boot provides a scheme based on two 'claim' GPIOs, one driven by the
18 Since U-Boot runs on the AP, the terminology used is 'our' claim GPIO,
23 i2c-arb-gpio-challenge for the implementation.
28 - AP_CLAIM: output from AP, signalling to the EC that the AP wants the bus
29 - EC_CLAIM: output from EC, signalling to the AP that the EC wants the bus
31 The basic algorithm is to assert your line when you want the bus, then make
50 To release the bus, just de-assert the claim line.
[all …]
/openbmc/phosphor-led-sysfs/
H A Dphysical.hpp18 /** @brief De-assert value */
42 * @param[in] bus - system dbus handler
43 * @param[in] objPath - The Dbus path that hosts physical LED
44 * @param[in] ledPath - sysfs path where this LED is exported
45 * @param[in] color - led color name
56 // need to save what the micro-controller currently has. in Physical()
68 * @param[in] value - One of OFF / ON / BLINK
69 * @return - Success or exception thrown
75 * @return - One of OFF / ON / BLINK
84 /** @brief The value that will assert the LED */
[all …]
/openbmc/u-boot/board/theadorable/
H A Dfpga.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2016 Stefan Roese <sr@denx.de>
13 #include <asm/arch-mvebu/spi.h>
46 static int fpga_config_fn(int assert, int flush, int cookie) in fpga_config_fn() argument
53 if (assert) in fpga_config_fn()
87 control_reg = readl(&reg->ctrl); in fpga_write_fn()
88 config_reg = readl(&reg->cfg); in fpga_write_fn()
89 writel(0x00000214, &reg->cfg); /* 27MHz clock */ in fpga_write_fn()
90 writel(0x00000000, &reg->dw_cfg); /* don't de-asset CS */ in fpga_write_fn()
91 writel(KWSPI_CSN_ACT, &reg->ctrl); /* activate CS */ in fpga_write_fn()
[all …]
/openbmc/qemu/include/hw/s390x/
H A Ds390-virtio-ccw.h5 * Author(s): Cornelia Huck <cornelia.huck@de.ibm.com>
8 * your option) any later version. See the COPYING file in the top-level
18 #define TYPE_S390_CCW_MACHINE "s390-ccw-machine"
41 assert(s390ms->memory_limit); in s390_get_memory_limit()
42 return s390ms->memory_limit; in s390_get_memory_limit()
/openbmc/phosphor-led-manager/manager/
H A Dmanager.cpp5 #include <phosphor-logging/lg2.hpp>
46 -> std::map<LedName, Layout::LedAction> in getNewMapWithGroupPriorities()
54 for (const Layout::LedAction& action : it->actionSet) in getNewMapWithGroupPriorities()
70 for (const Layout::LedAction& action : it->actionSet) in getNewMapWithLEDPriorities()
92 if (it->priority != 0) in getNewMap()
110 // Assert -or- De-assert
111 bool Manager::setGroupState(const std::string& path, bool assert, in setGroupState() argument
114 if (assert) in setGroupState()
159 return assert; in setGroupState()
245 if ((now - it->second) < 1h) in drivePhysicalLED()
[all …]
/openbmc/phosphor-led-manager/test/
H A Dutest.cpp1 #include "led-test-map.hpp"
22 /** @brief Assert Single LED to On */
27 // Assert the LEDs. in TEST_F()
54 /** @brief Assert Single LED to Blink */
59 // Assert the LEDs. in TEST_F()
86 /** @brief Assert Single LED to On and Try Assert Again */
91 // Assert the LEDs. in TEST_F()
117 // Assert the LEDs. in TEST_F()
132 /** @brief Assert Multiple LEDs to On */
137 // Assert the LEDs. in TEST_F()
[all …]

12345678