Home
last modified time | relevance | path

Searched +full:wait +full:- +full:on +full:- +full:read (Results 1 – 25 of 790) sorted by relevance

12345678910>>...32

/openbmc/openbmc-test-automation/lib/
H A Dstate_manager.robot17 [Documentation] Initiate host power on.
18 [Arguments] ${wait}=${1}
21 # wait Indicates that this keyword should wait for host running state.
27 # Does caller want to wait for status?
28 IF '${wait}' == '${0}' Return From Keyword
30 Wait Until Keyword Succeeds
38 [Arguments] ${wait}=${1}
41 # wait Indicates that this keyword should wait for host off state.
47 # Does caller want to wait for status?
48 IF '${wait}' == '${0}' Return From Keyword
[all …]
H A Dutils.robot79 [Documentation] Wait for Host to be online. Checks every X seconds
86 # max_timeout Maximum time to wait.
89 # interval Interval to wait between status checks.
93 Wait Until Keyword Succeeds
115 ... Read Attribute ${HOST_WATCHDOG_URI} ExpireAction
140 Redfish Power On stack_mode=skip quiet=1
171 ... echo ${os_password} | sudo -S reboot
192 ... echo ${os_password} | sudo -S shutdown${time_string}
203 # led_state LED state to be set (e.g. On, Off).
220 ${state}= Read Attribute ${OPENBMC_BASE_URI}sensors/host/BootProgress
[all …]
H A Dcode_update_utils_serial.robot10 [Documentation] Disable and re-enable the network while doing code update.
20 ${version_id}= Upload And Activate Image ${image_file_path} wait=${0}
24 Wait For Activation State Change ${version_id} ${ACTIVATING}
25 ${software_state}= Read Properties ${SOFTWARE_VERSION_URI}${version_id}
32 [Documentation] Turn the ethernet network interface off and then on again
37 Execute Command On Serial Console ifconfig eth0 down
39 Execute Command On Serial Console ifconfig eth0 up
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/
H A Dselenium_helpers_base.py5 # Copyright (C) 2013-2016 Intel Corporation
7 # SPDX-License-Identifier: GPL-2.0-only
9 # The Wait class and some of SeleniumDriverHelper and SeleniumTestCase are
33 # set default browser string based on env (if available)
40 options.add_argument('--headless')
41 options.add_argument('--disable-infobars')
42 options.add_argument('--disable-dev-shm-usage')
43 options.add_argument('--no-sandbox')
44 options.add_argument('--remote-debugging-port=9222')
50 …chrome_path = os.popen("find ~/.cache/selenium/chrome/ -name 'chrome' -type f -print -quit").read(…
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru/
H A Dobmc-read-eeprom@.service2 Description=Read %I EEPROM
3 Wants=mapper-wait@-xyz-openbmc_project-inventory.service
4 After=mapper-wait@-xyz-openbmc_project-inventory.service
8 Restart=on-failure
11 ExecStartPre={bindir}/of-name-to-eeprom.sh {envfiledir}/obmc/eeproms/%I
12 ExecStart=/usr/bin/env phosphor-read-eeprom --eeprom $SYSFS_PATH --fruid $FRUID
13 SyslogIdentifier=phosphor-read-eeprom
/openbmc/openbmc/meta-ufispace/meta-ncplite/recipes-phosphor/ipmi/phosphor-ipmi-fru/
H A Dncplite-obmc-read-eeprom@.service2 Description=Read %I EEPROM
3 Wants=mapper-wait@-xyz-openbmc_project-inventory.service
4 After=mapper-wait@-xyz-openbmc_project-inventory.service
9 Restart=on-failure
12 ExecStartPre={bindir}/of-name-to-eeprom.sh {envfiledir}/obmc/eeproms/%I
13 ExecStart=/usr/bin/env phosphor-read-eeprom --eeprom $SYSFS_PATH --fruid $FRUID
14 SyslogIdentifier=phosphor-read-eeprom
17 WantedBy=multi-user.target
/openbmc/qemu/docs/devel/
H A Drcu.rst1 Using RCU (Read-Copy-Update) for synchronization
4 Read-copy update (RCU) is a synchronization mechanism that is used to
5 protect read-mostly data structures. RCU is very efficient and scalable
6 on the read side (it is wait-free), and thus can make the read paths
10 thus it is not used alone. Typically, the write-side will use a lock to
17 RCU is fundamentally a "wait-to-finish" mechanism. The read side marks
18 sections of code with "critical sections", and the update side will wait
24 of the wait do not extend the wait, despite running concurrently with
26 for example, reader-writer locks. It is so much more scalable that
43 ------------------- ------------------------ -------------------
[all …]
/openbmc/qemu/include/io/
H A Dchannel.h25 #include "qemu/coroutine-core.h"
28 #define TYPE_QIO_CHANNEL "qio-channel"
33 #define QIO_CHANNEL_ERR_BLOCK -2
72 * - Use QOM to properly support arbitrary subclassing
73 * - Support use of iovecs for efficient I/O with multiple blocks
74 * - None of the character set translation, binary data exclusively
75 * - Direct support for QEMU Error object reporting
76 * - File descriptor passing
93 HANDLE event; /* For use with GSource on Win32 */
107 * must be thread-safe, terminate quickly and must not block.
[all …]
/openbmc/u-boot/include/
H A Dwait_bit.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Wait for bit with timeout and ctrlc
21 * (either 0->1 or 1->0). It can fail under two conditions:
22 * - Timeout
23 * - User interaction (CTRL-C)
25 * (depending on set option).
27 * @param reg Register that will be read (using read_x())
29 * @param set Selects wait condition (bit set or clear)
31 * @param breakable Enables CTRL-C interruption
32 * @return 0 on success, -ETIMEDOUT or -EINTR on failure
[all …]
H A Dmisc.h1 /* SPDX-License-Identifier: GPL-2.0+ */
10 * misc_read() - Read the device to buffer, optional.
12 * @offset: offset to read the device
14 * @size: data size in bytes to read the device
16 * Return: number of bytes read if OK (may be 0 if EOF), -ve on error
21 * misc_write() - Write buffer to the device, optional.
27 * Return: number of bytes written if OK (may be < @size), -ve on error
32 * misc_ioctl() - Assert command to the device, optional.
37 * Return: 0 if OK, -ve on error
42 * misc_call() - Send a message to the device and wait for a response.
[all …]
H A Dmpc8xx.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2000-2004
17 /*-----------------------------------------------------------------------
23 /*-----------------------------------------------------------------------
24 * SYPCR - System Protection Control Register 11-9
34 /*-----------------------------------------------------------------------
35 * SIUMCR - SIU Module Configuration Register 11-6
48 #define SIUMCR_DBGC01 0x00200000 /* - " - */
49 #define SIUMCR_DBGC10 0x00400000 /* - " - */
50 #define SIUMCR_DBGC11 0x00600000 /* - " - */
[all …]
/openbmc/u-boot/drivers/net/fm/
H A Dmemac_phy.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Roy Zang <tie-fei.zang@freescale.com>
43 struct memac_mdio_controller *regs = bus->priv; in memac_mdio_write()
49 memac_clrbits_32(&regs->mdio_stat, MDIO_STAT_ENC); in memac_mdio_write()
51 memac_setbits_32(&regs->mdio_stat, MDIO_STAT_ENC); in memac_mdio_write()
53 /* Wait till the bus is free */ in memac_mdio_write()
54 while ((memac_in_32(&regs->mdio_stat)) & MDIO_STAT_BSY) in memac_mdio_write()
59 memac_out_32(&regs->mdio_ctl, mdio_ctl); in memac_mdio_write()
63 memac_out_32(&regs->mdio_addr, regnum & 0xffff); in memac_mdio_write()
65 /* Wait till the bus is free */ in memac_mdio_write()
[all …]
/openbmc/openbmc-test-automation/gui/gui_test/settings_menu/
H A Dtest_snmp_alerts_sub_menu.robot3 Documentation Test OpenBMC GUI "SNMP Alerts" sub-menu of "Settings".
17 ${xpath_snmp_alerts_sub_menu} //*[@data-test-id='nav-item-snmp-alerts']
19 ${xpath_select_all_snmp} //*[@data-test-id='snmpAlerts-checkbox-selectAll']
22 ${xpath_ip_address_input_button} //*[@data-test-id='snmpAlerts-input-ipAddress']
23 ${xpath_port_optional_input_button} //*[@data-test-id='snmpAlerts-input-port']
24 ${xpath_snmp_add_destination_button} //*[@data-test-id='snmpAlerts-button-ok']
26 ${xpath_delete_button} //*[@data-test-id='snmpAlerts-button-deleteRow-un…
63 ... Wait Until Keyword Succeeds 10 sec 5 sec
67 Wait Until Page Contains Element ${xpath_snmp_alert_destination_heading}
74 Configure SNMP Settings On BMC With Non Default Port Via GUI And Verify
[all …]
/openbmc/qemu/util/
H A Dthrottle.c4 * Copyright (C) Nodalink, EURL. 2013-2014
41 leak = (bkt->avg * (double) delta_ns) / NANOSECONDS_PER_SECOND; in throttle_leak_bucket()
44 bkt->level = MAX(bkt->level - leak, 0); in throttle_leak_bucket()
47 * keep track of bkt->burst_level so the bkt->max goal per second in throttle_leak_bucket()
49 if (bkt->burst_length > 1) { in throttle_leak_bucket()
50 leak = (bkt->max * (double) delta_ns) / NANOSECONDS_PER_SECOND; in throttle_leak_bucket()
51 bkt->burst_level = MAX(bkt->burst_level - leak, 0); in throttle_leak_bucket()
62 int64_t delta_ns = now - ts->previous_leak; in throttle_do_leak()
65 ts->previous_leak = now; in throttle_do_leak()
73 throttle_leak_bucket(&ts->cfg.buckets[i], delta_ns); in throttle_do_leak()
[all …]
/openbmc/u-boot/board/freescale/common/
H A Dvid.c1 // SPDX-License-Identifier: GPL-2.0+
48 * accuracy. So we just check each address in a hopefully non-intrusive mode
52 * 0x08 (Verified on T1040RDB-PA,T4240RDB-PB,X-T4240RDB-16GPA)
53 * 0x09 (Verified on T1040RDB-PA)
54 * 0x38 (Verified on T2080QDS, T2081QDS, T4240RDB)
73 return -1; in find_ir_chip_on_i2c()
82 * read_voltage from sensor on I2C bus
88 /* If an INA220 chip is available, we can use it to read back the voltage
92 #define WAIT_FOR_ADC 532 /* wait for 532 microseconds for ADC */
95 #define WAIT_FOR_ADC 138 /* wait for 138 microseconds for ADC */
[all …]
/openbmc/u-boot/drivers/pci/
H A Dpci-aardvark.c20 * Ported from Linux driver - driver/pci/host/pci-aardvark.c
31 #include <asm-generic/gpio.h>
135 * struct pcie_advk - Advk PCIe controller state
139 * first_busno stores the bus number of the PCIe root-port
140 * number which may vary depending on the PCIe setup
152 writel(val, pcie->base + reg); in advk_writel()
157 return readl(pcie->base + reg); in advk_readl()
161 * pcie_advk_addr_valid() - Check for valid bus address
166 * Return: 1 on valid, 0 on invalid
171 * In PCIE-E only a single device (0) can exist in pcie_advk_addr_valid()
[all …]
/openbmc/openbmc-test-automation/gui/gui_test/security_and_access_menu/
H A Dtest_ldap_sub_menu.robot3 Documentation Test OpenBMC GUI "LDAP" sub-menu of "Security and access".
16 ${xpath_enable_ldap_checkbox} //*[@data-test-id='ldap-checkbox-ldapAuthenticationEnabled']
17 ${xpath_secure_ldap_checkbox} //*[@data-test-id='ldap-checkbox-secureLdapEnabled']
18 ${xpath_service_radio_button} //*[@data-test-id="ldap-radio-activeDirectoryEnabled"]
20 ${xpath_ldap_url} //*[@data-test-id='ldap-input-serverUri']
21 ${xpath_ldap_bind_dn} //*[@data-test-id='ldap-input-bindDn']
22 ${xpath_ldap_password} //*[@id='bind-password']
23 ${xpath_ldap_base_dn} //*[@data-test-id='ldap-input-baseDn']
24 ${xpath_ldap_save_settings} //*[@data-test-id='ldap-button-saveSettings']
26 ${xpath_add_group_name} //*[@id="role-group-name"]
[all …]
/openbmc/u-boot/drivers/mtd/onenand/
H A Donenand_base.c4 * Copyright (C) 2005-2007 Samsung Electronics
8 * Adrian Hunter <ext-adrian.hunter@nokia.com>:
9 * auto-placement support, read-while load support, various fixes
14 * Flex-OneNAND support
33 /* It should access 16-bit instead of 8-bit */
41 while (len-- > 0) in memcpy_16()
47 * onenand_oob_128 - oob info for Flex-Onenand with 4KB page
68 * onenand_oob_64 - oob info for large (2KB) page
85 * onenand_oob_32 - oob info for middle (1KB) page
122 * onenand_readw - [OneNAND Interface] Read OneNAND register
[all …]
/openbmc/openbmc-test-automation/ffdc/lib/
H A Dtelnet_utility.py30 specifies a new read timeout value to override the default one.
35 username (str): User on the remote host with access
37 password (str): Password for the user on the remote
40 read_timeout (int, optional): New read timeout value to override
77 self.tnclient.write(self.username.encode("utf-8") + b"\n")
82 self.tnclient.write(self.password.encode("utf-8") + b"\n")
141 Executes a command on the remote host using Telnet and returns the
144 This method executes a provided command on the remote host using
152 cmd (str): The command to be executed on the
160 # Wait time for command execution before reading the output.
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dexynos5250-snow.dts12 /dts-v1/;
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/input/input.h>
51 stdout-path = "serial3:115200n8";
59 samsung,bl1-offset = <0x1400>;
60 samsung,bl2-offset = <0x3400>;
61 u-boot-memory = "/memory";
62 u-boot-offset = <0x3e00000 0x100000>;
67 #address-cells = <1>;
[all …]
/openbmc/qemu/block/
H A Dgraph-lock.c22 #include "qemu/main-loop.h"
23 #include "block/graph-lock.h"
33 /* Written and read with atomic operations. */
37 * Many write-locked sections are also drained sections. There is a convenience
41 * because the aio_poll() call in bdrv_graph_wrlock() might re-enter
43 * bdrv_graph_wrunlock() might also re-enter a write-locked section.
66 * List of BdrvGraphRWlock kept in graph-lock.c
88 ctx->bdrv_graph = g_new0(BdrvGraphRWlock, 1); in register_aiocontext()
90 assert(ctx->bdrv_graph->reader_count == 0); in register_aiocontext()
91 QTAILQ_INSERT_TAIL(&aio_context_list, ctx->bdrv_graph, next_aio); in register_aiocontext()
[all …]
/openbmc/u-boot/drivers/usb/ulpi/
H A Dulpi-viewport.c1 // SPDX-License-Identifier: GPL-2.0
9 * Based on:
27 * Wait for the ULPI request to complete
29 * @ulpi_viewport - the address of the viewport
30 * @mask - expected value to wait for
32 * returns 0 on mask match, ULPI_ERROR on time out.
38 /* Wait for the bits in mask to become zero. */ in ulpi_wait()
39 while (--timeout) { in ulpi_wait()
40 if ((readl(ulpi_vp->viewport_addr) & mask) == 0) in ulpi_wait()
52 * returns 0 on success.
[all …]
/openbmc/openbmc-tools/pwmtachtool/src/
H A DEINTR_wrappers.c41 pDst->Timeout = *timeout; in sigwrap_InitTimeout()
43 …if ((timeout->tv_sec == 0) && (timeout->tv_nsec == 0)) // If both value are zero … in sigwrap_InitTimeout()
45 pDst->OnePoll = 1; in sigwrap_InitTimeout()
49 pDst->OnePoll = 0; in sigwrap_InitTimeout()
55 …pDst->EndTime.tv_sec = Now.tv_sec + pDst->Timeout.tv_sec; // Check necessary in 2038… in sigwrap_InitTimeout()
56 pDst->EndTime.tv_nsec = Now.tv_nsec + pDst->Timeout.tv_nsec; in sigwrap_InitTimeout()
58 if (pDst->EndTime.tv_nsec >= OneSecondasNS) in sigwrap_InitTimeout()
60 pDst->EndTime.tv_sec += (pDst->EndTime.tv_nsec / OneSecondasNS); in sigwrap_InitTimeout()
61 pDst->EndTime.tv_nsec = (pDst->EndTime.tv_nsec % OneSecondasNS); in sigwrap_InitTimeout()
68 …if (pTo->OnePoll == TRUE) // Make sure, that in the case that a single poll is requested at least … in sigwrap_CheckTimeout()
[all …]
/openbmc/openbmc-test-automation/gui/lib/
H A Dgui_resource.robot2 Documentation This is a resource file containing user-defined keywords for new Vue based OpenBMC G…
13 ${xpath_power_page} //*[@data-test-id='appHeader-container-power']
14 ${xpath_power_shutdown} //*[@data-test-id='serverPowerOperations-button-shutDown']
15 ${xpath_power_power_on} //*[@data-test-id='serverPowerOperations-button-powerOn']
16 ${xpath_power_reboot} //*[@data-test-id='serverPowerOperations-button-reboot']
33 # (e.g. https://openbmc-test.mybluemix.net/#/login).
48 ... login on windows platform.
65 # (e.g. https://openbmc-test.mybluemix.net/#/login).
80 Wait Until Keyword Succeeds 195 sec 65 sec Retry Browser Login Attempts
99 Wait Until Element Is Enabled ${xpath_login_username_input}
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dlpc32xx_nand_mlc.c1 // SPDX-License-Identifier: GPL-2.0+
10 * The MLC NAND flash controller provides hardware Reed-Solomon ECC
11 * covering in- and out-of-band data together. Therefore, in- and out-
12 * of-band data must be written together in order to have a valid ECC.
14 * Consequently, pages with meaningful in-band data are written with
15 * blank (all-ones) out-of-band data and a valid ECC, and any later
16 * out-of-band data write will void the ECC.
18 * Therefore, code which reads such late-written out-of-band data
19 * should not rely on the ECC validity.
62 #define ICR_ADDR4 0x00000002 /* configure for 4-word addrs */
[all …]

12345678910>>...32