/openbmc/linux/include/linux/ |
H A D | clocksource.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 35 * struct clocksource - hardware abstraction for a free running counter 36 * Provides mostly state-free accessors to the underlying hardware. 39 * @read: Returns a cycle value, passes clocksource as argument 45 * @maxadj: Maximum adjustment value to mult (~11%) 48 * @archdata: Optional arch-specific data 49 * @max_cycles: Maximum safe cycle value which won't overflow on 53 * @rating: Rating value for selection (higher is better) 57 * 1-99: Unfit for real use 59 * 100-199: Base level usability. [all …]
|
H A D | power_supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 226 /* Run-time specific power supply configuration */ 359 * struct power_supply_maintenance_charge_table - setting for maintenace charging 392 * +-------------------------------------------------------------------> t 394 * Practically this means that the Li-ions are wandering back and forth in the 405 * +-------------------------------------------------------------------> t 416 * As an example, a Samsung EB425161LA Lithium-Ion battery is CC/CV charged 431 * the expected stand-by current. Also overvoltage protection will be applied 443 * struct power_supply_battery_info - information about batteries 460 * the precharge rate is limited by limiting the current to this value. [all …]
|
/openbmc/linux/Documentation/timers/ |
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. 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/temperature/ |
H A 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 …]
|
/openbmc/linux/net/ipv4/ |
H A 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 …]
|
/openbmc/linux/drivers/iio/adc/ |
H A 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 …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Drive.v1_20_1.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 37 "description": "The available OEM-specific actions for this resource.", 38 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 65 "Disabled": "In-band configuration requests are not locked.", 66 …"Enabled": "In-band configuration requests are locked as specified by `TargetConfigurationLockLeve… 67 …"Partial": "Some in-band configuration requests are not locked while others are locked. This valu… 70 … "Disabled": "This value shall indicate in-band configuration requests are not locked.", 71 …"Enabled": "This value shall indicate in-band configuration requests are locked as specified by `T… [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | Drive.v1_20_1.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 37 "description": "The available OEM-specific actions for this resource.", 38 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 65 "Disabled": "In-band configuration requests are not locked.", 66 …"Enabled": "In-band configuration requests are locked as specified by `TargetConfigurationLockLeve… 67 …"Partial": "Some in-band configuration requests are not locked while others are locked. This valu… 70 … "Disabled": "This value shall indicate in-band configuration requests are not locked.", 71 …"Enabled": "This value shall indicate in-band configuration requests are locked as specified by `T… [all …]
|
/openbmc/openbmc/poky/documentation/dev-manual/ |
H A D | building.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 22 - For information on how to build an image using 24 :doc:`/toaster-manual/index`. 26 - For information on how to use ``devtool`` to build images, see the 27 ":ref:`sdk-manual/extensible:using \`\`devtool\`\` in your sdk workflow`" 31 - For a quick example on how to build an image using the 33 :doc:`/brief-yoctoprojectqs/index` document. 35 - You can also use the `Yocto Project BitBake 36 <https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake>`__ 42 ":ref:`overview-manual/concepts:images`" section in the Yocto Project Overview [all …]
|
/openbmc/linux/drivers/media/radio/si470x/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A 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 …]
|
/openbmc/linux/Documentation/core-api/ |
H A 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 83 called worker-pools. 85 The cmwq design differentiates between the user-facing workqueues that 87 which manages worker-pools and processes the queued work items. 89 There are two worker-pools, one for normal work items and the other 91 worker-pools to serve work items queued on unbound workqueues - the 102 When a work item is queued to a workqueue, the target worker-pool is 104 and appended on the shared worklist of the worker-pool. For example, 106 be queued on the worklist of either normal or highpri worker-pool that [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Drive_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ … 4 <!--# Redfish Schema: Drive v1.20.1 … 5 <!--# … 6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, … 7 <!--# available at http://www.dmtf.org/standards/redfish … 8 <!--# Copyright 2014-2024 DMTF in cooperation with Storage Networking Industry Association (SNIA). … 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright … 10 <!--################################################################################ … [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | Drive_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ … 4 <!--# Redfish Schema: Drive v1.20.1 … 5 <!--# … 6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, … 7 <!--# available at http://www.dmtf.org/standards/redfish … 8 <!--# Copyright 2014-2024 DMTF in cooperation with Storage Networking Industry Association (SNIA). … 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright … 10 <!--################################################################################ … [all …]
|
/openbmc/linux/kernel/rcu/ |
H A 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 …]
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A 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 …]
|
/openbmc/linux/drivers/iio/temperature/ |
H A D | ltc2983.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System 57 (((chan - 1) * 4) + LTC2983_CHAN_ASSIGN_START_REG) 59 (((chan - 1) * 4) + LTC2983_TEMP_RES_START_REG) 308 * instance a resolution of 2^-10 means we have 10 fractional bits. 322 s64 __res = -(s32)val; in __convert_to_raw_sign() 326 return (u32)-__res; in __convert_to_raw_sign() 333 const struct device *dev = &st->spi->dev; in __ltc2983_fault_handler() 337 return -EIO; in __ltc2983_fault_handler() 350 u32 reg = LTC2983_CHAN_START_ADDR(sensor->chan); in __ltc2983_chan_assign_common() [all …]
|
/openbmc/linux/drivers/clk/renesas/ |
H A 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 …]
|
/openbmc/qemu/libdecnumber/ |
H A D | decNumber.c | 29 02110-1301, USA. */ 31 /* ------------------------------------------------------------------ */ 33 /* ------------------------------------------------------------------ */ 44 /* If DECDPUN>4 or DECUSE64=1, the C99 64-bit int64_t and */ 54 /* range -999,999,999 through 0). Mathematical functions (for */ 56 /* tightly: digits, emax, and -emin in the context must be <= */ 71 /* SIGFPE signal is then raised if the corresponding trap-enabler */ 78 /* be a valid number (which may be a special value, such as an */ 82 /* representation as it comprises fields which may be machine- */ 89 /* Results are undefined if a badly-formed structure (or a NULL */ [all …]
|
/openbmc/linux/kernel/sched/ |
H A D | fair.c | 1 // SPDX-License-Identifier: GPL-2.0 43 #include <linux/memory-tiers.h> 61 * The initial- and re-scaling of tunables is configurable 65 * SCHED_TUNABLESCALING_NONE - unscaled, always *1 66 * SCHED_TUNABLESCALING_LOG - scaled logarithmical, *1+ilog(ncpus) 67 * SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus 74 * Minimal preemption granularity for CPU-bound tasks: 108 return -cpu; in arch_asym_cpu_priority() 129 * Amount of runtime to allocate from global (tg) to local (per-cfs_rq) pool 188 lw->weight += inc; in update_load_add() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dce_calcs.c | 38 * This file is gcc-parseable HW gospel, coming straight from HW engineers. 42 * remain as-is as it provides us with a guarantee from HW that it is correct. 141 yclk[low] = vbios->low_yclk; in calculate_bandwidth() 142 yclk[mid] = vbios->mid_yclk; in calculate_bandwidth() 143 yclk[high] = vbios->high_yclk; in calculate_bandwidth() 144 sclk[s_low] = vbios->low_sclk; in calculate_bandwidth() 145 sclk[s_mid1] = vbios->mid1_sclk; in calculate_bandwidth() 146 sclk[s_mid2] = vbios->mid2_sclk; in calculate_bandwidth() 147 sclk[s_mid3] = vbios->mid3_sclk; in calculate_bandwidth() 148 sclk[s_mid4] = vbios->mid4_sclk; in calculate_bandwidth() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A 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 …]
|
/openbmc/linux/mm/ |
H A D | vmscan.c | 1 // SPDX-License-Identifier: GPL-2.0 31 #include <linux/backing-dev.h> 46 #include <linux/memory-tiers.h> 175 if ((_folio)->lru.prev != _base) { \ 178 prev = lru_to_folio(&(_folio->lru)); \ 179 prefetchw(&prev->_field); \ 211 return rcu_dereference_protected(memcg->nodeinfo[nid]->shrinker_inf in shrinker_info_protected() [all...] |
/openbmc/linux/Documentation/RCU/Design/Requirements/ |
H A 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 …]
|
/openbmc/linux/include/linux/platform_data/ |
H A 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 …]
|