/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 …]
|
/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 …]
|
/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 - 2024 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-2024 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, 2023-2024 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 …]
|
H A D | mesh.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (C) 2023-2024 Intel Corporation 20 * enum mesh_path_flags - mac80211 mesh path flags 34 * MESH_PATH_RESOLVED is used by the mesh path timer to 35 * decide when to stop or cancel the mesh path discovery. 48 * enum mesh_deferred_task_flags - mac80211 mesh deferred tasks 66 * struct mesh_path - mac80211 mesh path structure 76 * @timer: mesh path discovery timer 97 * @fast_tx_check: timestamp of last fast-xmit enable attempt 113 struct timer_list timer; member [all …]
|
/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-common.c | 1 // SPDX-License-Identifier: GPL-2.0 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 24 #include "tick-internal.h" 38 * tick_do_timer_cpu is a timer core internal variable which holds the CPU NR 58 static int tick_do_timer_boot_cpu __read_mostly = -1; 70 * tick_is_oneshot_available - check for a oneshot capable event device 76 if (!dev || !(dev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_is_oneshot_available() 78 if (!(dev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_is_oneshot_available() [all …]
|
H A D | timer.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * 1997-01-28 Modified by Finn Arne Gangstad to make timers scale better. 9 * 1997-09-10 Updated NTP code according to technical memorandum Jan '96 11 * 1998-12-24 Fixed a xtime SMP race (we need the xtime_lock rw spinlock to 14 * 1999-03-10 Improved NTP compatibility by Ulrich Windl 15 * 2002-05-31 Move sys_sysinfo here and make its locking sane, Robert Love 16 * 2000-10-05 Implemented scalable SMP per-CPU timer handling. 33 #include <linux/posix-timers.h> 54 #include "tick-internal.h" 58 #include <trace/events/timer.h> [all …]
|
/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 …]
|
/linux/arch/arm64/boot/dts/sprd/ |
H A D | ums9620.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 interrupt-parent = <&gic>; 12 #address-cells = <2>; 13 #size-cells = <2>; 16 #address-cells = <2>; 17 #size-cells = <0>; 19 cpu-map { 50 compatible = "arm,cortex-a55"; 52 enable-method = "psci"; [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/linux/include/scsi/ |
H A D | libfc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Maintained at www.Open-FCoE.org 11 #include <linux/timer.h> 43 * enum fc_lport_state - Local port states 51 * @LPORT_ST_RFF_ID: Register FC-4 Features by ID (RFF_ID) sent 59 * @LPORT_ST_LOGO: Local port logout (LOGO) sent 60 * @LPORT_ST_RESET: Local port reset 89 * enum fc_rport_state - Remote port states 91 * @RPORT_ST_FLOGI: Waiting for FLOGI completion for point-to-multipoint 92 * @RPORT_ST_PLOGI_WAIT: Waiting for peer to login for point-to-multipoint [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sdm630.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 7 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h> 8 #include <dt-bindings/clock/qcom,gcc-sdm660.h> 9 #include <dt-bindings/clock/qcom,gpucc-sdm660.h> 10 #include <dt-bindings/clock/qcom,mmcc-sdm660.h> 11 #include <dt-bindings/clock/qcom,rpmcc.h> 12 #include <dt-bindings/firmware/qcom,scm.h> 13 #include <dt-bindings/interconnect/qcom,sdm660.h> 14 #include <dt-bindings/power/qcom-rpmpd.h> 15 #include <dt-bindings/gpio/gpio.h> [all …]
|
/linux/net/sctp/ |
H A D | sm_statefuns.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 6 * Copyright (c) 2001-2002 Intel Corp. 15 * lksctp developers <linux-sctp@vger.kernel.org> 177 __u16 chunk_length = ntohs(chunk->chunk_hdr->length); in sctp_chunk_length_valid() 180 if (unlikely(chunk->pdiscard)) in sctp_chunk_length_valid() 193 sctp_walk_errors(err, chunk->chunk_hdr); in sctp_err_chunk_valid() 195 return (void *)err == (void *)chunk->chunk_end; in sctp_err_chunk_valid() 207 * that it is in SHUTDOWN-ACK-SENT state, if it is not the chunk should be [all …]
|
/linux/arch/arm64/boot/dts/arm/ |
H A D | juno-r2.dts | 9 /dts-v1/; 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/arm/coresight-cti-dt.h> 13 #include "juno-base.dtsi" 14 #include "juno-cs-r1r2.dtsi" 18 compatible = "arm,juno-r2", "arm,juno", "arm,vexpress"; 19 interrupt-parent = <&gic>; 20 #address-cells = <2>; 21 #size-cells = <2>; 28 stdout-path = "serial0:115200n8"; [all …]
|
H A D | juno.dts | 4 * Copyright (c) 2013-2014 ARM Ltd. 9 /dts-v1/; 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/arm/coresight-cti-dt.h> 13 #include "juno-base.dtsi" 18 interrupt-parent = <&gic>; 19 #address-cells = <2>; 20 #size-cells = <2>; 27 stdout-path = "serial0:115200n8"; 31 compatible = "arm,psci-0.2"; [all …]
|
H A D | juno-r1.dts | 9 /dts-v1/; 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/arm/coresight-cti-dt.h> 13 #include "juno-base.dtsi" 14 #include "juno-cs-r1r2.dtsi" 18 compatible = "arm,juno-r1", "arm,juno", "arm,vexpress"; 19 interrupt-parent = <&gic>; 20 #address-cells = <2>; 21 #size-cells = <2>; 28 stdout-path = "serial0:115200n8"; [all …]
|
/linux/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_constants.h | 5 * Copyright (c) 2008-2013 Broadcom Corporation 6 * Copyright (c) 2014-2016 QLogic Corporation 7 * Copyright (c) 2016-2017 Cavium Inc. 75 /* E_D_TOV timer resolution in ms */ 78 /* E_D_TOV timer resolution for SDM (4 micro) */ 82 /* REC timer resolution in ms */ 85 /* REC timer resolution for SDM (4 micro) */ 88 /* E_D_TOV timer default wraparound value (2 sec) in 20 ms resolution */ 92 /* REC_TOV timer default wraparound value (3 sec) in 20 ms resolution */ 102 /* In case timer services are required then shall be updated by Xstorm after [all …]
|