/linux-6.12.1/include/linux/ |
D | clocksource.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 36 * struct clocksource - hardware abstraction for a free running counter 37 * Provides mostly state-free accessors to the underlying hardware. 40 * @read: Returns a cycle value, passes clocksource as argument 46 * @maxadj: Maximum adjustment value to mult (~11%) 49 * @archdata: Optional arch-specific data 50 * @max_cycles: Maximum safe cycle value which won't overflow on 55 * @rating: Rating value for selection (higher is better) 59 * 1-99: Unfit for real use 61 * 100-199: Base level usability. [all …]
|
D | power_supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 226 /* Run-time specific power supply configuration */ 354 * struct power_supply_maintenance_charge_table - setting for maintenace charging 387 * +-------------------------------------------------------------------> t 389 * Practically this means that the Li-ions are wandering back and forth in the 400 * +-------------------------------------------------------------------> t 411 * As an example, a Samsung EB425161LA Lithium-Ion battery is CC/CV charged 426 * the expected stand-by current. Also overvoltage protection will be applied 438 * struct power_supply_battery_info - information about batteries 455 * the precharge rate is limited by limiting the current to this value. [all …]
|
/linux-6.12.1/Documentation/timers/ |
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. 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 55 into a nanosecond value as an unsigned long long (unsigned 64 bit) number. 58 possible to a nanosecond value using only the arithmetic operations [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/temperature/ |
D | adi,ltc2983.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices LTC2983, LTC2986, LTM2985 Multi-sensor Temperature system 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2983, LTC2984, LTC2986, LTM2985 Multi-Sensor Digital 16 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/2984fb.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/29861fa.pdf 19 https://www.analog.com/media/en/technical-documentation/data-sheets/ltm2985.pdf [all …]
|
/linux-6.12.1/net/ipv4/ |
D | tcp_nv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TCP-NV is a successor of TCP-Vegas that has been developed to 7 * Like TCP-Vegas, TCP-NV supports true congestion avoidance, 9 * When congestion (queue buildup) starts to occur, TCP-NV 22 * seen issues with rx-frames values greater than 8. 41 * nv_rtt_factor RTT averaging factor 46 * slow-start due to congestion 47 * nv_stop_rtt_cnt Only grow cwnd for this many RTTs after non-congestion 52 * congested. One value (nv_cwnd_growth_rate_neg) for when 78 MODULE_PARM_DESC(nv_min_cwnd, "NV will not decrease cwnd below this value" [all …]
|
D | tcp_output.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * Corey Minyard <wf-rch!minyard@relay.EU.net> 13 * Florian La Roche, <flla@stud.uni-sb.de> 33 * Cacophonix Gaul : draft-minshall-nagle-01 59 tp->tcp_clock_cache = val; in tcp_mstamp_refresh() 60 tp->tcp_mstamp = div_u64(val, NSEC_PER_USEC); in tcp_mstamp_refresh() 71 unsigned int prior_packets = tp->packets_out; in tcp_event_new_data_sent() 73 WRITE_ONCE(tp->snd_nxt, TCP_SKB_CB(skb)->end_seq); in tcp_event_new_data_sent() 75 __skb_unlink(skb, &sk->sk_write_queue); in tcp_event_new_data_sent() 76 tcp_rbtree_insert(&sk->tcp_rtx_queue, skb); in tcp_event_new_data_sent() [all …]
|
D | tcp_input.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Corey Minyard <wf-rch!minyard@relay.EU.net> 13 * Florian La Roche, <flla@stud.uni-sb.de> 62 * Pasi Sarolahti: F-RTO for dealing with spurious RTOs 98 #define FLAG_DSACKING_ACK 0x800 /* SACK blocks contained D-SACK info */ 116 #define REXMIT_NEW 2 /* FRTO-style transmit of unsent/new packets */ 124 icsk->icsk_clean_acked = cad; in clean_acked_data_enable() 132 icsk->icsk_clean_acked = NULL; in clean_acked_data_disable() 146 bool unknown_opt = tcp_sk(sk)->rx_opt.saw_unknown && in bpf_skops_parse_hdr() 160 switch (sk->sk_state) { in bpf_skops_parse_hdr() [all …]
|
/linux-6.12.1/drivers/iio/adc/ |
D | ab8500-gpadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 54 /* 0 = use VTVOUT, 1 = use VRTC as pull-up supply for battery temp NTC */ 63 * the bit layout is the same for SW and HW conversion set-up 163 #define AB8500_ADC_CH_IBAT_MIN (-6000) /* mA range measured by ADC for ibat */ 165 #define AB8500_ADC_CH_IBAT_MIN_V (-60) /* mV range measured by ADC for ibat */ 167 #define AB8500_GPADC_IBAT_VDROP_L (-56) /* mV */ 192 * struct ab8500_adc_cal_data - Table for storing gain and offset for the 207 * struct ab8500_gpadc_chan_info - per-channel GPADC info 230 * struct ab8500_gpadc - AB8500 GPADC device information [all …]
|
/linux-6.12.1/drivers/media/radio/si470x/ |
D | radio-si470x-common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/media/radio/si470x/radio-si470x-common.c 14 * 2008-01-12 Tobias Lorenz <tobias.lorenz@gmx.net> 16 * - First working version 17 * 2008-01-13 Tobias Lorenz <tobias.lorenz@gmx.net> 19 * - Improved error handling, every function now returns errno 20 * - Improved multi user access (start/mute/stop) 21 * - Channel doesn't get lost anymore after start/mute/stop 22 * - RDS support added (polling mode via interrupt EP 1) 23 * - marked default module parameters with *value* [all …]
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_modes.c | 2 * Copyright © 1997-2003 by The XFree86 Project, Inc. 4 * Copyright © 2007-2008 Intel Corporation 6 * Copyright 2005-2006 Luc Verhaegen 53 * drm_mode_debug_printmodeline - print a mode to dmesg 65 * drm_mode_create - create a new display mode 87 * drm_mode_destroy - remove a mode 103 * drm_mode_probed_add - add a mode to a connector's probed_mode list 114 WARN_ON(!mutex_is_locked(&connector->dev->mode_config.mutex)); in drm_mode_probed_add() 116 list_add_tail(&mode->head, &connector->probed_modes); in drm_mode_probed_add() 127 * - https://web.archive.org/web/20220406232708/http://www.kolumbus.fi/pami1/video/pal_ntsc.html [all …]
|
/linux-6.12.1/Documentation/core-api/ |
D | workqueue.rst | 33 thread system-wide. A single MT wq needed to keep around the same 60 * Use per-CPU unified worker pools shared by all wq to provide 85 worker-pools. 87 The cmwq design differentiates between the user-facing workqueues that 89 which manages worker-pools and processes the queued work items. 91 There are two worker-pools, one for normal work items and the other 93 worker-pools to serve work items queued on unbound workqueues - the 98 Each per-CPU BH worker pool contains only one pseudo worker which represents 110 When a work item is queued to a workqueue, the target worker-pool is 112 and appended on the shared worklist of the worker-pool. For example, [all …]
|
/linux-6.12.1/drivers/clk/renesas/ |
D | r9a06g032-clocks.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/clk-provider.h> 24 #include <linux/soc/renesas/r9a06g032-sysctrl.h> 26 #include <dt-bindings/clock/r9a06g032-sysctrl.h> 33 * struct regbit - describe one bit in a register 35 * expressed in units of 32-bit words (not bytes), 43 * Since registers are aligned on 32-bit boundaries, the 44 * offset will be specified in 32-bit words rather than bytes. 48 * offset from bytes to 32-bit words. 61 * struct r9a06g032_gate - clock-related control bits [all …]
|
/linux-6.12.1/Documentation/admin-guide/media/ |
D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI 14 capture device. Each output can be an S-Video output device or an HDMI output 23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O. 24 - A large list of test patterns and variations thereof 25 - Working brightness, contrast, saturation and hue controls 26 - Support for the alpha color component 27 - Full colorspace support, including limited/full RGB range 28 - All possible control types are present 29 - Support for various pixel aspect ratios and video aspect ratios [all …]
|
/linux-6.12.1/kernel/rcu/ |
D | srcutree.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Sleepable Read-Copy Update mechanism for mutual exclusion. 11 * For detailed explanation of Read-Copy Update mechanism see - 33 /* Holdoff in nanoseconds for auto-expediting. */ 38 /* Overflow-check frequency. N bits roughly says every 2**N grace periods. */ 63 /* Number of CPUs to trigger init_srcu_struct()-time transition to big. */ 71 /* Early-boot callback-management, so early that no lock is required! */ 117 * Initialize SRCU per-CPU data. Note that statically allocated 120 * is set, don't initialize ->srcu_lock_count[] and ->srcu_unlock_count[]. 128 * Initialize the per-CPU srcu_data array, which feeds into the in init_srcu_struct_data() [all …]
|
/linux-6.12.1/drivers/iio/temperature/ |
D | ltc2983.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System 60 (((chan - 1) * 4) + LTC2983_CHAN_ASSIGN_START_REG) 62 (((chan - 1) * 4) + LTC2983_TEMP_RES_START_REG) 312 * instance a resolution of 2^-10 means we have 10 fractional bits. 326 s64 __res = -(s32)val; in __convert_to_raw_sign() 330 return (u32)-__res; in __convert_to_raw_sign() 337 const struct device *dev = &st->spi->dev; in __ltc2983_fault_handler() 341 return -EIO; in __ltc2983_fault_handler() 354 u32 reg = LTC2983_CHAN_START_ADDR(sensor->chan); in __ltc2983_chan_assign_common() [all …]
|
/linux-6.12.1/arch/x86/crypto/ |
D | aes-gcm-aesni-x86_64.S | 1 /* SPDX-License-Identifier: Apache-2.0 OR BSD-2-Clause */ 3 // AES-NI optimized AES-GCM for x86_64 9 //------------------------------------------------------------------------------ 11 // This file is dual-licensed, meaning that you can use it under your choice of 17 // http://www.apache.org/licenses/LICENSE-2.0 49 //------------------------------------------------------------------------------ 51 // This file implements AES-GCM (Galois/Counter Mode) for x86_64 CPUs that 52 // support the original set of AES instructions, i.e. AES-NI. Two 55 // that the AVX implementation takes advantage of VEX-coded instructions in some 57 // implementation does *not* use 256-bit vectors, as AES is not supported on [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/ |
D | dce_calcs.c | 36 * This file is gcc-parseable HW gospel, coming straight from HW engineers. 40 * remain as-is as it provides us with a guarantee from HW that it is correct. 139 yclk[low] = vbios->low_yclk; in calculate_bandwidth() 140 yclk[mid] = vbios->mid_yclk; in calculate_bandwidth() 141 yclk[high] = vbios->high_yclk; in calculate_bandwidth() 142 sclk[s_low] = vbios->low_sclk; in calculate_bandwidth() 143 sclk[s_mid1] = vbios->mid1_sclk; in calculate_bandwidth() 144 sclk[s_mid2] = vbios->mid2_sclk; in calculate_bandwidth() 145 sclk[s_mid3] = vbios->mid3_sclk; in calculate_bandwidth() 146 sclk[s_mid4] = vbios->mid4_sclk; in calculate_bandwidth() [all …]
|
/linux-6.12.1/kernel/sched/ |
D | fair.c | 1 // SPDX-License-Identifier: GPL-2.0 43 #include <linux/memory-tiers.h> 59 * The initial- and re-scaling of tunables is configurable 63 * SCHED_TUNABLESCALING_NONE - unscaled, always *1 64 * SCHED_TUNABLESCALING_LOG - scaled logarithmically, *1+ilog(ncpus) 65 * SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus 72 * Minimal preemption granularity for CPU-bound tasks: 94 return -cpu; in arch_asym_cpu_priority() 115 * Amount of runtime to allocate from global (tg) to local (per-cfs_rq) pool 166 lw->weight += inc; in update_load_add() [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | wm8996.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8996.c - WM8996 audio codec interface 5 * Copyright 2011-2 Wolfson Microelectronics PLC. 108 regcache_mark_dirty(wm8996->regmap); \ 299 static const DECLARE_TLV_DB_SCALE(sidetone_tlv, -3600, 150, 0); 300 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7200, 75, 1); 301 static const DECLARE_TLV_DB_SCALE(out_digital_tlv, -1200, 150, 0); 302 static const DECLARE_TLV_DB_SCALE(out_tlv, -900, 75, 0); 303 static const DECLARE_TLV_DB_SCALE(spk_tlv, -900, 150, 0); 304 static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0); [all …]
|
/linux-6.12.1/mm/ |
D | vmscan.c | 1 // SPDX-License-Identifier: GPL-2.0 31 #include <linux/backing-dev.h> 45 #include <linux/memory-tiers.h> 97 /* Swappiness value for proactive reclaim. Always use sc_swappiness()! */ 189 if ((_folio)->lru.prev != _base) { \ 192 prev = lru_to_folio(&(_folio->lru)); \ 193 prefetchw(&prev->_field); \ 210 return sc->target_mem_cgroup; in cgroup_reclaim() 219 return !sc->target_mem_cgroup || mem_cgroup_is_root(sc->target_mem_cgroup); in root_reclaim() 223 * writeback_throttling_sane - is the usual dirty throttling mechanism available? [all …]
|
/linux-6.12.1/drivers/md/dm-vdo/ |
D | dedupe.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 * to that zone. The concurrency guarantees of this single-threaded model allow the code to omit 20 * more fine-grained locking for the hash_lock structures. 37 * The existence of lock waiters is a key factor controlling which state the lock transitions to 51 * The shortest sequence of states is for non-concurrent writes of new data: 52 * INITIALIZING -> QUERYING -> WRITING -> BYPASSING 55 * Non-concurrent, finding valid advice looks like this (endpoints elided): 56 * -> QUERYING -> LOCKING -> VERIFYING -> DEDUPING -> UNLOCKING -> 58 * -> QUERYING -> LOCKING -> VERIFYING -> UNLOCKING -> WRITING -> UPDATING -> 68 * non-endpoint states can be re-entered. [all …]
|
/linux-6.12.1/Documentation/RCU/Design/Requirements/ |
D | Requirements.rst | 16 ------------ 18 Read-copy update (RCU) is a synchronization mechanism that is often used 19 as a replacement for reader-writer locking. RCU is unusual in that 20 updaters do not block readers, which means that RCU's read-side 28 thought of as an informal, high-level specification for RCU. It is 40 #. `Fundamental Non-Requirements`_ 42 #. `Quality-of-Implementation Requirements`_ 44 #. `Software-Engineering Requirements`_ 53 ------------------------ 58 #. `Grace-Period Guarantee`_ [all …]
|
/linux-6.12.1/include/linux/platform_data/ |
D | cros_ec_commands.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * NOTE: This file is auto-generated from ChromeOS EC Open Source code from 52 * The actual block is 0x800-0x8ff, but some BIOSes think it's 0x880-0x8ff 77 #define EC_MEMMAP_TEMP_SENSOR 0x00 /* Temp sensors 0x00 - 0x0f */ 78 #define EC_MEMMAP_FAN 0x10 /* Fan speeds 0x10 - 0x17 */ 79 #define EC_MEMMAP_TEMP_SENSOR_B 0x18 /* More temp sensors 0x18 - 0x1f */ 81 #define EC_MEMMAP_ID_VERSION 0x22 /* Version of data in 0x20 - 0x2f */ 82 #define EC_MEMMAP_THERMAL_VERSION 0x23 /* Version of data in 0x00 - 0x1f */ 83 #define EC_MEMMAP_BATTERY_VERSION 0x24 /* Version of data in 0x40 - 0x7f */ 84 #define EC_MEMMAP_SWITCHES_VERSION 0x25 /* Version of data in 0x30 - 0x33 */ [all …]
|
/linux-6.12.1/include/uapi/linux/ |
D | nl80211.h | 6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 13 * Copyright 2015-2017 Intel Deutschland GmbH 14 * Copyright (C) 2018-2024 Intel Corporation 32 * be careful not to break things - i.e. don't move anything around or so 74 * - a setup station entry is added, not yet authorized, without any rate 76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid 79 * - %NL80211_TDLS_ENABLE_LINK is then used 80 * - after this, the only valid operation is to remove it by tearing down 95 * Frame registration is done on a per-interface basis and registrations 137 * software, like the AP-VLAN type in mac80211 for example, there's [all …]
|
/linux-6.12.1/block/ |
D | bfq-iosched.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * BFQ is a proportional-share I/O scheduler, with some extra 17 * low-latency capabilities. BFQ also supports full hierarchical 20 * limitations can be found in Documentation/block/bfq-iosched.rst. 22 * BFQ is a proportional-share storage-I/O scheduling algorithm based 23 * on the slice-by-slice service scheme of CFQ. But BFQ assigns 25 * time slices. The device is not granted to the in-service process 31 * B-WF2Q+, to schedule processes according to their budgets. More 33 * process/queue is assigned a user-configurable weight, and B-WF2Q+ 36 * B-WF2Q+, BFQ can afford to assign high budgets to I/O-bound [all …]
|