/openbmc/qemu/hw/timer/ |
H A D | exynos4210_mct.c | 2 * Samsung exynos4210 Multi Core timer 4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. 24 * Global Timer: 31 * | <-------------------------------------------------------------- | 32 * | --------------------------------------------frc---------------> | 37 * | -------------> | 40 * Problem: when implementing global timer as is, overflow arises. 43 * Lets arm timer for MCT_GT_COUNTER_STEP count and update internal G_CNT 47 * local timer contains two counters: TCNT and ICNT. TCNT == 0 -> ICNT--. 59 #include "qemu/timer.h" [all …]
|
H A D | exynos4210_pwm.c | 2 * Samsung exynos4210 Pulse Width Modulation Timer 4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. 27 #include "qemu/timer.h" 88 /* timer struct */ 90 uint32_t id; /* timer id */ 91 qemu_irq irq; /* local timer irq */ 92 uint32_t freq; /* timer frequency */ 94 /* use ptimer.c to represent count down timer */ 95 ptimer_state *ptimer; /* timer */ 117 Exynos4210PWM timer[EXYNOS4210_PWM_TIMERS_NUM]; member [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/cpu/ |
H A D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 11 - Anup Patel <anup@brainfault.org> 15 1 - Introduction 18 ARM and RISC-V systems contain HW capable of managing power consumption 19 dynamically, where cores can be put in different low-power states (ranging 22 run-time, can be specified through device tree bindings representing the [all …]
|
/openbmc/linux/net/mac802154/ |
H A D | util.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include "driver-ops.h" 17 * ieee802154_wake_queue - wake ieee802154 queue 22 * one frame at a time for each phy, which means we had to stop the queue to 28 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_wake_queue() local 32 clear_bit(WPAN_PHY_FLAG_STATE_QUEUE_STOPPED, &local->phy->flags); in ieee802154_wake_queue() 33 list_for_each_entry_rcu(sdata, &local->interfaces, list) { in ieee802154_wake_queue() 34 if (!sdata->dev) in ieee802154_wake_queue() 37 netif_wake_queue(sdata->dev); in ieee802154_wake_queue() 43 * ieee802154_stop_queue - stop ieee802154 queue [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | agg-tx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright 2002-2005, Instant802 Networks, Inc. 7 * Copyright 2005-2006, Devicescape Software, Inc. 8 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 10 * Copyright 2007-2010, Intel Corporation 11 * Copyright(c) 2015-2017 Intel Deutschland GmbH 12 * Copyright (C) 2018 - 2023 Intel Corporation 20 #include "driver-ops.h" 24 * DOC: TX A-MPDU aggregation 28 * packets with a flag indicating A-MPDU aggregation. The driver [all …]
|
H A D | agg-rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright 2002-2005, Instant802 Networks, Inc. 7 * Copyright 2005-2006, Devicescape Software, Inc. 8 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 10 * Copyright 2007-2010, Intel Corporation 11 * Copyright(c) 2015-2017 Intel Deutschland GmbH 12 * Copyright (C) 2018-2022 Intel Corporation 16 * DOC: RX A-MPDU aggregation 19 * @ampdu_action callback that is invoked to start/stop any 20 * block-ack sessions for RX aggregation. [all …]
|
H A D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2020-2021 Intel Corporation 11 #include "driver-ops.h" 14 static void ieee80211_sched_scan_cancel(struct ieee80211_local *local) in ieee80211_sched_scan_cancel() argument 16 if (ieee80211_request_sched_scan_stop(local)) in ieee80211_sched_scan_cancel() 18 cfg80211_sched_scan_stopped_locked(local->hw.wiphy, 0); in ieee80211_sched_scan_cancel() 23 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_suspend() local 27 if (!local->open_count) in __ieee80211_suspend() 30 local->suspending = true; in __ieee80211_suspend() 33 ieee80211_scan_cancel(local); in __ieee80211_suspend() [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | fsl-imx8-ca53.dtsi | 17 #address-cells = <2>; 18 #size-cells = <0>; 20 idle-states { 21 entry-method = "psci"; 23 CPU_SLEEP: cpu-sleep { 24 compatible = "arm,idle-state"; 25 local-timer-stop; 26 arm,psci-suspend-param = <0x0000000>; 27 entry-latency-us = <700>; 28 exit-latency-us = <250>; [all …]
|
/openbmc/linux/kernel/time/ |
H A D | tick-broadcast.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file contains functions which emulate a local clock-event 6 * Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de> 7 * Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar 8 * Copyright(C) 2006-2007, Timesys Corp., Thomas Gleixner 20 #include "tick-internal.h" 23 * Broadcast support for broken x86 hardware, where the local apic 24 * timer stops in C3 state. 89 if ((newdev->features & CLOCK_EVT_FEAT_DUMMY) || in tick_check_broadcast_device() 90 (newdev->features & CLOCK_EVT_FEAT_PERCPU) || in tick_check_broadcast_device() [all …]
|
H A D | tick-sched.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de> 4 * Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar 5 * Copyright(C) 2006-2007 Timesys Corp., Thomas Gleixner 26 #include <linux/posix-timers.h> 32 #include "tick-internal.h" 34 #include <trace/events/timer.h> 37 * Per-CPU nohz control structure 173 tick_next_period += TICK_NSEC - rem; in tick_init_jiffy_update() 216 if (ts->last_tick_jiffies != jiffies) { in tick_sched_do_timer() [all …]
|
/openbmc/phosphor-net-ipmid/sol/ |
H A D | sol_manager.hpp | 9 #include <boost/asio/local/stream_protocol.hpp> 23 constexpr char CONSOLE_SOCKET_PATH[] = "\0obmc-console.default"; 24 constexpr size_t CONSOLE_SOCKET_PATH_LEN = sizeof(CONSOLE_SOCKET_PATH) - 1; 36 * interfaces to start a payload instance, stop a payload instance and get 139 * Character Accumulate Interval is 5 ms increments, 1-based value. The 161 * 1-based. 0 = no retries after packet is transmitted. Packet will be 174 * is 10 ms increments, 1-based value. The parameter value is 198 * add the accumulate interval timer and retry interval timer to the 201 * @param[in] payloadInstance - SOL payload instance. 202 * @param[in] sessionID - BMC session ID. [all …]
|
/openbmc/linux/Documentation/virt/kvm/x86/ |
H A D | timekeeping.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Timekeeping Virtualization for X86-Based Architectures 32 information relevant to KVM and hardware-based virtualization. 41 2.1. i8254 - PIT 42 ---------------- 44 One of the first timer devices available is the programmable interrupt timer, 46 channels which can be programmed to deliver periodic or one-shot interrupts. 53 The PIT uses I/O ports 0x40 - 0x43. Access to the 16-bit counters is done 55 available, but not all modes are available to all timers, as only timer 2 59 -------------- ---------------- [all …]
|
/openbmc/linux/Documentation/timers/ |
H A D | highres.rst | 8 https://www.kernel.org/doc/ols/2006/ols2006v1-pages-333-346.pdf 11 http://www.cs.columbia.edu/~nahum/w6998/papers/ols2006-hrtimers-slides.pdf 23 - hrtimer base infrastructure 24 - timeofday and clock source management 25 - clock event management 26 - high resolution timer functionality 27 - dynamic ticks 31 --------------------------- 37 The main differences to the timer wheel, which holds the armed timer_list type 40 - time ordered enqueueing into a rb-tree [all …]
|
H A D | timekeeping.rst | 10 If you grep through the kernel source you will find a number of architecture- 12 architecture-specific overrides of the sched_clock() function and some 17 on this timeline, providing facilities such as high-resolution timers. 23 ------------- 31 n bits which count from 0 to (2^n)-1 and then wraps around to 0 and start over. 32 It will ideally NEVER stop ticking as long as the system is running. It 33 may stop during system suspend. 36 shall be as stable and correct as possible as compared to a real-world wall 46 When the wall-clock accuracy of the clock source isn't satisfactory, there 48 the user-visible time to RTC clocks in the system or against networked time [all …]
|
/openbmc/linux/drivers/net/fddi/skfp/ |
H A D | hwt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 * Timer Driver for FBI board (timer chip 82C54) 20 * 28-Jun-1994 sw Edit v1.6. 21 * MCA: Added support for the SK-NET FDDI-FM2 adapter. The 31 * Prototypes of local functions. 33 /* 28-Jun-1994 sw - Note: hwt_restart() is also used in module 'drvfbi.c'. */ 40 * Start hardware timer (clock ticks are 16us). 46 * smc - A pointer to the SMT Context structure. 48 * time - The time in units of 16us to load the timer with. 62 smc->hw.t_start = time ; in hwt_start() [all …]
|
/openbmc/linux/net/rxrpc/ |
H A D | peer_event.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include "ar-internal.h" 26 * Find the peer associated with a local error. 28 static struct rxrpc_peer *rxrpc_lookup_peer_local_rcu(struct rxrpc_local *local, in rxrpc_lookup_peer_local_rcu() argument 37 srx->transport_type = local->srx.transport_type; in rxrpc_lookup_peer_local_rcu() 38 srx->transport_len = local->srx.transport_len; in rxrpc_lookup_peer_local_rcu() 39 srx->transport.family = local->srx.transport.family; in rxrpc_lookup_peer_local_rcu() 44 switch (srx->transport.family) { in rxrpc_lookup_peer_local_rcu() 46 srx->transport_len = sizeof(srx->transport.sin); in rxrpc_lookup_peer_local_rcu() 47 srx->transport.family = AF_INET; in rxrpc_lookup_peer_local_rcu() [all …]
|
/openbmc/linux/drivers/clocksource/ |
H A D | timer-fttmr010.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Faraday Technology FTTMR010 timer driver 6 * Based on a rewrite of arch/arm/mach-gemini/timer.c: 7 * Copyright (C) 2001-2006 Storlink, Corp. 8 * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt> 24 * Register definitions common for all the timer variants. 64 * bits for setting the timer to count upwards. 81 * - aspeed timer overflow interrupt is controlled by bits in Control 83 * - aspeed timers always generate interrupt when either one of the 112 * A local singleton used by sched_clock and delay timer reads, which are [all …]
|
H A D | bcm_kona_timer.c | 1 // SPDX-License-Identifier: GPL-2.0 37 * We use the peripheral timers for system tick, the cpu global timer for 65 * Read 64-bit free running counter in kona_timer_get_counter() 66 * 1. Read hi-word in kona_timer_get_counter() 67 * 2. Read low-word in kona_timer_get_counter() 68 * 3. Read hi-word again in kona_timer_get_counter() 70 * if new hi-word is not equal to previously read hi-word, then in kona_timer_get_counter() 73 * if new hi-word is equal to previously read hi-word then stop. in kona_timer_get_counter() 81 } while (--loop_limit); in kona_timer_get_counter() 84 pr_err(" Timer will be impacted\n"); in kona_timer_get_counter() [all …]
|
/openbmc/openbmc-build-scripts/ |
H A D | run-qemu-robot-test.sh | 1 #!/bin/bash -xe 12 # that is generated by the OpenBMC build-setup.sh script 14 # Example: /home/builder/workspace/openbmc-build/build. 20 # QEMU_RUN_TIMER = Defaults to 300, a timer for the QEMU container. 21 # QEMU_LOGIN_TIMER = Defaults to 180, a timer for the QEMU container to reach 23 # DOCKER_IMG_NAME = Defaults to openbmc/ubuntu-robot-qemu, the name the 32 # directory was changed in the build-setup.sh run, this 36 # containers. The options are "local", and "k8s". It will 37 # default to local which will launch a single container 41 # QEMU_BIN = Location of qemu-system-arm binary to use when starting [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | ipmi.rst | 12 standardized database for field-replaceable units (FRUs) and a watchdog 13 timer. 25 ------------- 32 No matter what, you must pick 'IPMI top-level message handler' to use 35 The message handler does not provide any user-level interfaces. 50 these enabled and let the drivers auto-detect what is present. 61 "The SMBus Driver" on how to hand-configure your system. 63 IPMI defines a standard watchdog timer. You can enable this with the 64 'IPMI Watchdog Timer' config option. If you compile the driver into 65 the kernel, then via a kernel command-line option you can have the [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm4450.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 interrupt-parent = <&intc>; 12 #address-cells = <2>; 13 #size-cells = <2>; 18 xo_board: xo-board { 19 compatible = "fixed-clock"; 20 clock-frequency = <76800000>; 21 #clock-cells = <0>; [all …]
|
/openbmc/linux/include/net/sctp/ |
H A D | command.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (C) 1999-2001 Cisco, Motorola 12 * lksctp developers <linux-sctp@vger.kernel.org> 47 SCTP_CMD_TIMER_START, /* Start a timer. */ 48 SCTP_CMD_TIMER_START_ONCE, /* Start a timer once */ 49 SCTP_CMD_TIMER_RESTART, /* Restart a timer. */ 50 SCTP_CMD_TIMER_STOP, /* Stop a timer. */ 54 SCTP_CMD_INIT_RESTART, /* High level, do init timer work. */ 55 SCTP_CMD_COOKIEECHO_RESTART, /* High level, do cookie-echo timer work. */ 61 SCTP_CMD_HB_TIMERS_STOP, /* Stop the heartbeat timers. */ [all …]
|
/openbmc/linux/Documentation/arch/x86/x86_64/ |
H A D | boot-options.rst | 1 .. SPDX-License-Identifier: GPL-2.0 30 Disable features for corrected errors, e.g. polling timer 39 Do not opt-in to Local MCE delivery. Use legacy method 55 Don't overwrite the bios-set CMCI threshold. This boot option 62 Force-enable recoverable machine check code paths 73 Use IO-APIC. Default 76 Don't use the IO-APIC. 79 Don't use the local APIC 82 Don't use the local APIC (alias for i386 compatibility) 85 See Documentation/arch/x86/i386/IO-APIC.rst [all …]
|
/openbmc/pldm/platform-mc/ |
H A D | sensor_manager.cpp | 6 #include <phosphor-logging/lg2.hpp> 32 lg2::info("Terminus ID {TID}: sensor poll timer already exists.", "TID", in startPolling() 41 sensorPollTimers[tid] = std::make_unique<sdbusplus::Timer>( in startPolling() 52 if (sensorPollTimers[tid] && !sensorPollTimers[tid]->isRunning()) in startSensorPollTimer() 54 sensorPollTimers[tid]->start( in startSensorPollTimer() 63 "Terminus ID {TID}: Failed to start sensor polling timer. Exception: {EXCEPTION}", in startSensorPollTimer() 83 for (auto& sensor : terminus->numericSensors) in disableTerminusSensors() 85 sensor->updateReading(true, false, in disableTerminusSensors() 92 /* Stop polling timer */ in stopPolling() 95 sensorPollTimers[tid]->stop(); in stopPolling() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8365.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/clock/mediatek,mt8365-clk.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/phy/phy.h> 15 interrupt-parent = <&sysirq>; 16 #address-cells = <2>; 17 #size-cells = <2>; 20 #address-cells = <1>; 21 #size-cells = <0>; [all …]
|