/openbmc/u-boot/drivers/crypto/fsl/ |
H A D | jr.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2008-2014 Freescale Semiconductor, Inc. 18 #define CIRC_CNT(head, tail, size) (((head) - (tail)) & (size - 1)) 34 (CONFIG_SYS_FSL_JR0_OFFSET - CONFIG_SYS_FSL_SEC_OFFSET)) 40 ccsr_sec_t *sec = (void *)SEC_ADDR(sec_idx); in start_jr0() local 41 u32 ctpr_ms = sec_in32(&sec->ctpr_ms); in start_jr0() 42 u32 scfgr = sec_in32(&sec->scfgr); in start_jr0() 50 sec_out32(&sec->jrstartr, CONFIG_JRSTARTR_JR0); in start_jr0() 54 sec_out32(&sec->jrstartr, CONFIG_JRSTARTR_JR0); in start_jr0() 60 ccsr_sec_t *sec = (void *)SEC_ADDR(sec_idx); in jr_reset_liodn() local [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | dw_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2010-2011 Picochip Ltd., Jamie Iles 7 * in the many subsystems. The watchdog has 16 different timeout periods 51 /* There are sixteen TOPs (timeout periods) that can be set in the watchdog. */ 78 unsigned int sec; member 93 u32 timeout; member 104 return readl(dw_wdt->regs + WDOG_CONTROL_REG_OFFSET) & in dw_wdt_is_enabled() 112 val = readl(dw_wdt->regs + WDOG_CONTROL_REG_OFFSET); in dw_wdt_update_mode() 117 writel(val, dw_wdt->regs + WDOG_CONTROL_REG_OFFSET); in dw_wdt_update_mode() 119 dw_wdt->rmod = rmod; in dw_wdt_update_mode() [all …]
|
H A D | uniphier_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 35 #define SEC_TO_WDTTIMSET_PRD(sec) \ argument 36 (ilog2(sec) + WDTTIMSET_PERIOD_1_SEC) 44 static unsigned int timeout = 0; variable 62 ret = regmap_write_bits(wdev->regmap, WDTCTRL, in uniphier_watchdog_ping() 69 ret = regmap_read_poll_timeout(wdev->regmap, WDTCTRL, val, in uniphier_watchdog_ping() 76 static int __uniphier_watchdog_start(struct regmap *regmap, unsigned int sec) in __uniphier_watchdog_start() argument 89 SEC_TO_WDTTIMSET_PRD(sec)); in __uniphier_watchdog_start() 113 static int __uniphier_watchdog_restart(struct regmap *regmap, unsigned int sec) in __uniphier_watchdog_restart() argument 121 return __uniphier_watchdog_start(regmap, sec); in __uniphier_watchdog_restart() [all …]
|
/openbmc/linux/Documentation/watchdog/ |
H A D | mlx-wdt.rst | 16 Actual HW timeout can be defined as a power of 2 msec. 17 e.g. timeout 20 sec will be rounded up to 32768 msec. 18 The maximum timeout period is 32 sec (32768 msec.), 19 Get time-left isn't supported 22 Actual HW timeout is defined in sec. and it's the same as 23 a user-defined timeout. 24 Maximum timeout is 255 sec. 25 Get time-left is supported. 28 Same as Type 2 with extended maximum timeout period. 29 Maximum timeout is 65535 sec. [all …]
|
/openbmc/openbmc-test-automation/gui/gui_test/settings_menu/ |
H A D | test_network_sub_menu.robot | 3 Documentation Test OpenBMC GUI "Network" sub-menu of "Settings". 19 ${xpath_domain_name_toggle} //*[@data-test-id="networkSettings-switch-useDomainName"] 20 ${xpath_ntp_servers_toggle} //*[@data-test-id="networkSettings-switch-useNtp"] 31 ${xpath_ntp_switch_button} //*[@id="useNtpSwitch"]/following-sibling::label 32 ${xpath_dns_switch_button} //*[@id="useDnsSwitch"]/following-sibling::label 33 ${xpath_domainname_switch_button} //*[@id="useDomainNameSwitch"]/following-sibling::label 34 ${xpath_success_popup} //*[contains(text(),'Success')]/following-sibling::button 45 ${negative_ip} 10.-7.-7.-7 59 [Documentation] Login to GUI and navigate to the settings sub-menu network page. 66 [Documentation] Login to GUI and navigate to the settings sub-menu network page [all …]
|
H A D | test_snmp_alerts_sub_menu.robot | 3 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 81 Wait Until Page Contains ${SNMP_MGR1_IP} timeout=45s 93 Wait Until Page Contains ${SNMP_MGR1_IP} timeout=45s [all …]
|
/openbmc/openbmc-test-automation/gui/gui_test/operations_menu/ |
H A D | test_server_power_operations_sub_menu.robot | 3 Documentation Test OpenBMC GUI "Server power operations" sub-menu of "Operations". 16 ${xpath_enable_onetime_boot_checkbox} //*[contains(@class,'custom-checkbox')] 17 ${xpath_boot_option_select} //*[@id='boot-option'] 18 ${xpath_shutdown_button} //*[@data-test-id='serverPowerOperations-button-shutDown… 19 ${xpath_reboot_button} //*[@data-test-id='serverPowerOperations-button-reboot'] 20 ${xpath_poweron_button} //*[@data-test-id='serverPowerOperations-button-powerOn'] 22 ${xpath_shutdown_orderly_radio} //*[@data-test-id='serverPowerOperations-radio-shutdownO… 23 ${xpath_shutdown_immediate_radio} //*[@data-test-id='serverPowerOperations-radio-shutdownI… 25 ${xpath_current_power_state} //*[@data-test-id='powerServerOps-text-hostStatus'] 26 ${xpath_reboot_immediate_radio} //*[@data-test-id='serverPowerOperations-radio-rebootImm… [all …]
|
H A D | test_reboot_bmc_sub_menu.robot | 3 Documentation Test OpenBMC GUI "Reboot BMC" sub-menu of "Operation" menu. 54 Wait Until Element Is Not Visible ${xpath_reboot_cancel_button} timeout=15 68 Wait Until Keyword Succeeds 1 min 5 sec Is BMC Unpingable 71 Wait Until Keyword Succeeds 3 min 10 sec Is BMC Operational 74 Wait Until Element Is Visible ${xpath_reboot_bmc_button} timeout=10 84 Wait Until Keyword Succeeds 30 sec 10 sec Location Should Contain reboot-bmc 85 Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=30
|
/openbmc/openbmc-test-automation/gui/lib/ |
H A D | gui_resource.robot | 2 Documentation This is a resource file containing user-defined keywords for new Vue based OpenBMC GUI. 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-tes [all...] |
/openbmc/openbmc-test-automation/gui/gui_test/security_and_access_menu/ |
H A D | test_user_management_sub_menu.robot | 3 Documentation Test OpenBMC GUI "User management" sub-menu of "Security and access". 17 ${xpath_select_user} //input[contains(@class,"custom-control-input")] 20 ${xpath_edit_user} //*[@data-test-id='userManagement-tableRowAction-edit-0'] 21 ${xpath_delete_user} //*[@data-test-id='userManagement-tableRowAction-delete-1'] 22 ${xpath_account_status_enabled_button} //*[@data-test-id='userManagement-radioButton-statusEnable… 23 ${xpath_account_status_disabled_button} //*[@data-test-id='userManagement-radioButton-statusDisabl… 24 ${xpath_username_input_button} //*[@data-test-id='userManagement-input-username'] 25 ${xpath_privilege_list_button} //*[@data-test-id='userManagement-select-privilege'] 26 ${xpath_password_input_button} //*[@data-test-id='userManagement-input-password'] 27 ${xpath_password_confirm_button} //*[@data-test-id='userManagement-input-passwordConfirmati… [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_tc_edt.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 if [[ $EUID -ne 0 ]]; then 15 # check that nc, dd, and timeout are present 16 command -v nc >/dev/null 2>&1 || \ 18 command -v dd >/dev/null 2>&1 || \ 20 command -v timeout >/dev/null 2>&1 || \ 21 { echo >&2 "timeout is not available"; exit 1; } 23 readonly NS_SRC="ns-src-$(mktemp -u XXXXXX)" 24 readonly NS_DST="ns-dst-$(mktemp -u XXXXXX)" 37 set -e # exit on error [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/watchdog/ |
H A D | brcm,bcm2835-pm-wdog.txt | 5 - compatible : should be "brcm,bcm2835-pm-wdt" 6 - reg : Specifies base physical address and size of the registers. 10 - timeout-sec : Contains the watchdog timeout in seconds 15 compatible = "brcm,bcm2835-pm-wdt"; 17 timeout-sec = <10>;
|
H A D | pnx4008-wdt.txt | 4 - compatible: must be "nxp,pnx4008-wdt" 5 - reg: physical base address of the controller and length of memory mapped 9 - timeout-sec: contains the watchdog timeout in seconds. 14 compatible = "nxp,pnx4008-wdt"; 16 timeout-sec = <10>;
|
H A D | ziirave-wdt.txt | 4 - compatible: must be "zii,rave-wdt" 5 - reg: i2c slave address of device, usually 0x38 8 - timeout-sec: Watchdog timeout value in seconds. 9 - reset-duration-ms: Duration of the pulse generated when the watchdog times 15 compatible = "zii,rave-wdt"; 17 timeout-sec = <30>; 18 reset-duration-ms = <30>;
|
H A D | ts4800-wdt.txt | 4 - compatible: must be "technologic,ts4800-wdt" 5 - syscon: phandle / integer array that points to the syscon node which 7 - phandle to FPGA's syscon 8 - offset to the watchdog register 11 - timeout-sec: contains the watchdog timeout in seconds. 16 compatible = "syscon", "simple-mfd"; 18 reg-io-width = <2>; 21 compatible = "technologic,ts4800-wdt"; 23 timeout-sec = <10>;
|
H A D | sprd-wdt.txt | 4 - compatible : Should be "sprd,sp9860-wdt". 5 - reg : Specifies base physical address and size of the registers. 6 - interrupts : Exactly one interrupt specifier. 7 - timeout-sec : Contain the default watchdog timeout in seconds. 8 - clock-names : Contain the input clock names. 9 - clocks : Phandles to input clocks. 13 compatible = "sprd,sp9860-wdt"; 16 timeout-sec = <12>; 17 clock-names = "enable", "rtc_enable";
|
H A D | digicolor-wdt.txt | 10 - compatible : Should be "cnxt,cx92755-wdt" 11 - reg : Specifies base physical address and size of the registers 12 - clocks : phandle; specifies the clock that drives the timer 16 - timeout-sec : Contains the watchdog timeout in seconds 21 compatible = "cnxt,cx92755-wdt"; 24 timeout-sec = <15>;
|
H A D | davinci-wdt.txt | 4 - compatible : Should be "ti,davinci-wdt", "ti,keystone-wdt" 5 - reg : Should contain WDT registers location and length 8 - timeout-sec : Contains the watchdog timeout in seconds 9 - clocks : the clock feeding the watchdog timer. 11 See clock-bindings.txt 14 Davinci DM646x - https://www.ti.com/lit/ug/spruer5b/spruer5b.pdf 15 Keystone - https://www.ti.com/lit/ug/sprugv5a/sprugv5a.pdf 20 compatible = "ti,davinci-wdt"; 22 timeout-sec = <30>;
|
H A D | marvel.txt | 5 - Compatibility : "marvell,orion-wdt" 6 "marvell,armada-370-wdt" 7 "marvell,armada-xp-wdt" 8 "marvell,armada-375-wdt" 9 "marvell,armada-380-wdt" 11 - reg : Should contain two entries: first one with the 15 For "marvell,armada-375-wdt" and "marvell,armada-380-wdt": 17 - reg : A third entry is mandatory and should contain the 20 Clocks required for compatibles = "marvell,orion-wdt", 21 "marvell,armada-370-wdt": [all …]
|
H A D | st_lpc_wdt.txt | 1 STMicroelectronics Low Power Controller (LPC) - Watchdog 7 [See: ../rtc/rtc-st-lpc.txt for RTC options] 8 [See: ../timer/st,stih407-lpc for Clocksource options] 12 - compatible : Should be: "st,stih407-lpc" 13 - reg : LPC registers base address + size 14 - interrupts : LPC interrupt line number and associated flags 15 - clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt) 16 - st,lpc-mode : The LPC can run either one of three modes: 24 - st,syscfg : Phandle to syscfg node used to enable watchdog and configure 26 - timeout-sec : Watchdog timeout in seconds [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_watchdog.robot | 60 Test IPMI Watchdog Timer Pre-Timeout Interrupt Bits 61 [Documentation] Execute out of band set/get pre-timeout interrupt bits for watchdog timer. 62 [Tags] Test_IPMI_Watchdog_Timer_Pre-Timeout_Interrupt_Bits 71 Test IPMI Watchdog Timer Timeout Action Bits 72 [Documentation] Execute out of band set/get timer timeout bits for watchdog timer. 86 Test IPMI Watchdog Timer Timeout Flag Bits 87 [Documentation] Execute out of band set/get timer timeout flag bits for watchdog timer. 134 # Start_timer_value is bits 6 - 7; set to 0x64 0x00 (100 ms decimal). 135 # Reverse bits 6 - 7 due to BMC being little endian; new value is 0x00 0x64. 160 Verify Pre-timeout Values [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-mc146818-lib.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * Execute a function while the UIP (Update-in-progress) bit of the RTC is 17 * unset. The timeout is configurable by the caller in ms. 22 int timeout, in mc146818_avoid_UIP() argument 29 for (i = 0; UIP_RECHECK_LOOPS_MS(i) < timeout; i++) { in mc146818_avoid_UIP() 91 * If the UIP (Update-in-progress) bit of the RTC is set for more then 119 * by the RTC when initially set to a non-zero value. in mc146818_get_time_callback() 121 p->time->tm_sec = seconds; in mc146818_get_time_callback() 122 p->time->tm_min = CMOS_READ(RTC_MINUTES); in mc146818_get_time_callback() 123 p->time->tm_hour = CMOS_READ(RTC_HOURS); in mc146818_get_time_callback() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/misc/ |
H A D | qemu,vcpu-stall-detector.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/misc/qemu,vcpu-stall-detector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Sebastian Ene <sebastianene@google.com> 19 - qemu,vcpu-stall-detector 24 clock-frequency: 32 timeout-sec: 34 The stall detector expiration timeout measured in seconds. 40 - compatible [all …]
|
/openbmc/linux/init/ |
H A D | do_mounts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 75 root_wait = -1; in rootwait_setup() 83 int sec; in rootwait_timeout_setup() local 85 if (kstrtoint(str, 0, &sec) || sec < 0) { in rootwait_timeout_setup() 90 if (check_mul_overflow(sec, MSEC_PER_SEC, &root_wait)) { in rootwait_timeout_setup() 99 root_wait = -1; in rootwait_timeout_setup() 139 if (p[-1] == ',') { in split_fs_names() 140 p[-1] = '\0'; in split_fs_names() 160 return -ENOMEM; in do_mount_root() 162 /* zero-pad. init_mount() will make sure it's terminated */ in do_mount_root() [all …]
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | nbd-reconnect-on-open.out | 2 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 4 Check fail to connect with 0 seconds of timeout 5 qemu-io: can't open: Failed to connect to 'SOCK_DIR/PID-nbd-sock': No such file or directory 8 Check fail to connect with 1 seconds of timeout 9 qemu-io: can't open: Failed to connect to 'SOCK_DIR/PID-nbd-sock': No such file or directory
|