/openbmc/openbmc-test-automation/lib/ |
H A D | energy_scale_utils.robot | 19 # GET request of /redfish/v1/Chassis/chassis/EnvironmentMetrics | grep -A5 Power 38 # Current Limit State: No Active Power Limit 56 [Documentation] Return the system's current DCMI power_limit 79 [Documentation] Activate DCMI power limiting. 87 [Documentation] Fail if DCMI power limiting is not activated. 95 [Documentation] Deactivate DCMI power power limiting. 104 [Documentation] Fail if DCMI power limiting is not deactivated. 113 [Documentation] Return the system's current DCMI power_limit 138 [Documentation] Activate DCMI power limiting via REST. 150 ... msg=Failed to activate power limiting via REST. [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-bdi | 14 non-block filesystems which provide their own BDI, such as NFS 17 MAJOR:MINOR-fuseblk 23 The default backing dev, used for non-block device backed 30 Size of the read-ahead window in kilobytes 32 (read-write) 38 total write-back cache that relates to its current average 42 percentage of the write-back cache to a particular device. 45 (read-write) 52 total write-back cache that relates to its current average 56 of the write-back cache to a particular device. The value is [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | lnbp21.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * lnbp21.h - driver for lnb supply and control ic lnbp21 14 /* [RO] 0=OK; 1=over current limit flag */ 30 /* [RW] current limit select: 31 0:Iout=500-650mA Isc=300mA 32 1:Iout=400-550mA Isc=200mA */ 34 /* [RW] short-circuit protect: 35 0=pulsed (dynamic) curr limiting 36 1=static curr limiting */
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | gpio-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/gpio-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 19 const: gpio-charger 21 charger-type: 23 - unknown 24 - battery 25 - ups [all …]
|
H A D | qcom,pm8941-coincell.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-coincell.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Sebastian Reichel <sre@kernel.org> 20 - items: 21 - enum: 22 - qcom,pm8998-coincell 23 - const: qcom,pm8941-coincell 25 - const: qcom,pm8941-coincell [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_resource.c | 41 pipe = &link->dc->current_state->res_ctx.pipe_ctx[i]; in link_get_cur_link_res() 42 if (pipe->stream && pipe->stream->link && pipe->top_pipe == NULL) { in link_get_cur_link_res() 43 if (pipe->stream->link == link) { in link_get_cur_link_res() 44 *link_res = pipe->link_res; in link_get_cur_link_res() 60 if (dc->caps.dp_hpo) { in link_get_cur_res_map() 61 for (i = 0; i < dc->caps.max_links; i++) { in link_get_cur_res_map() 62 link = dc->links[i]; in link_get_cur_res_map() 63 if (link->link_status.link_active && in link_get_cur_res_map() 64 link_dp_get_encoding_format(&link->reported_link_cap) == DP_128b_132b_ENCODING && in link_get_cur_res_map() 65 link_dp_get_encoding_format(&link->cur_link_settings) != DP_128b_132b_ENCODING) in link_get_cur_res_map() [all …]
|
/openbmc/linux/kernel/cgroup/ |
H A D | pids.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Process number limiting controller for cgroups. 10 * preventable in the scope of a cgroup hierarchy by allowing resource limiting 15 * number of processes currently in the cgroup is given by pids.current. 17 * possible to have pids.current > pids.max. However, it is not possible to 18 * violate a cgroup policy through fork(). fork() will return -EAGAIN if forking 25 * pids.current tracks all child cgroup hierarchies, so parent/pids.current is 26 * a superset of parent/child/pids.current. 45 * Use 64-bit types so that we can safely represent "max" as 66 return css_pids(pids->css.parent); in parent_pids() [all …]
|
/openbmc/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | pids.rst | 6 -------- 13 preventable in the scope of a cgroup hierarchy by allowing resource limiting of 17 ----- 21 number of processes currently in the cgroup is given by pids.current. 24 to have pids.current > pids.max. This can be done by either setting the limit to 25 be smaller than pids.current, or attaching enough processes to the cgroup such 26 that pids.current > pids.max. However, it is not possible to violate a cgroup 27 policy through fork() or clone(). fork() and clone() will return -EAGAIN if the 34 pids.current tracks all child cgroup hierarchies, so parent/pids.current is a 35 superset of parent/child/pids.current. [all …]
|
/openbmc/linux/tools/power/pm-graph/ |
H A D | bootgraph.8 | 3 bootgraph \- Kernel boot timing analysis 18 If no specific command is given, the tool reads the current dmesg log and 24 Generates output files in subdirectory: boot-yymmdd-HHMMSS 30 \fB-h\fR 33 \fB-v\fR 34 Print the current tool version 36 \fB-addlogs\fR 40 \fB-result \fIfile\fR 43 \fB-o \fIname\fR 45 Use {date}, {time}, {hostname} for current values. [all …]
|
H A D | sleepgraph.8 | 3 sleepgraph \- Suspend/Resume timing analysis 21 Generates output files in subdirectory: suspend-yymmdd-HHMMSS 27 \fB-h\fR 30 \fB-v\fR 31 Print the current tool version. 33 \fB-verbose\fR 36 \fB-config \fIfile\fR 39 \fB-m \fImode\fR 42 \fB-o \fIname\fR 44 Use {date}, {time}, {hostname} for current values. [all …]
|
/openbmc/linux/Documentation/RCU/ |
H A D | checklist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 0. Is RCU being applied to a read-mostly situation? If the data 18 tool for the job. Yes, RCU does reduce read-side overhead by 19 increasing write-side overhead, which is exactly why normal uses 27 Yet another exception is where the low real-time latency of RCU's 28 read-side primitives is critically important. 33 counter-intuitive situation where rcu_read_lock() and 49 them -- even x86 allows later loads to be reordered to precede 59 2. Do the RCU read-side critical sections make proper use of 63 under your read-side code, which can greatly increase the [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | hbm_edt_kern.c | 1 // SPDX-License-Identifier: GPL-2.0 15 * occur at the actual qdisc (which is not used for rate limiting). 20 * - <--------------------------|------------------------> + 31 * to reduce the congestion window. The current implementation uses a linear 39 * tcp_cwr in the current kernel code. 68 int len = skb->len; in _hbm_out_cg() 74 if (qsp != NULL && !qsp->loopback && (skb->ifindex == 1)) in _hbm_out_cg() 86 if (qdp->lasttime == 0) in _hbm_out_cg() 92 bpf_spin_lock(&qdp->lock); in _hbm_out_cg() 93 delta = qdp->lasttime - curtime; in _hbm_out_cg() [all …]
|
H A D | hbm_out_kern.c | 1 // SPDX-License-Identifier: GPL-2.0 15 * occur at the actual qdisc (which is not used for rate limiting). 20 * - <--------------------------|------------------------> + 31 * to reduce the congestion window. The current implementation uses a linear 39 * tcp_cwr in the current kernel code. 61 int len = skb->len; in _hbm_out_cg() 76 if (qsp != NULL && !qsp->loopback && (skb->ifindex == 1)) in _hbm_out_cg() 88 else if (qdp->lasttime == 0) in _hbm_out_cg() 94 bpf_spin_lock(&qdp->lock); in _hbm_out_cg() 95 credit = qdp->credit; in _hbm_out_cg() [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 37 int "Emergency poweroff delay in milli-seconds" 144 bool "Fair-share thermal governor" 146 Enable this to manage platform thermals using fair-share governor. 174 allocating and limiting power to devices. 214 This will throttle the device by limiting the maximum allowed DVFS 240 memory-mapped reads to get the temperature. Any HW/System that 241 allows temperature reading by a single memory-mapped reading, be it 294 K3 SoC family. The current chip supported is: 295 - AM654 [all …]
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | sys_ia64.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 1999-2000, 2002-2003, 2005 Hewlett-Packard Co 7 * David Mosberger-Tang <davidm@hpl.hp.com> 32 struct mm_struct *mm = current->mm; in arch_get_unmapped_area() 36 return -ENOMEM; in arch_get_unmapped_area() 41 return -EINVAL; in arch_get_unmapped_area() 54 * For 64-bit tasks, align shared segments to 1MB to avoid potential in arch_get_unmapped_area() 55 * performance penalty due to virtual aliasing (see ASDM). For 32-bit in arch_get_unmapped_area() 57 * limiting alignment to a single page. in arch_get_unmapped_area() 59 align_mask = PAGE_MASK & (SHMLBA - 1); in arch_get_unmapped_area() [all …]
|
/openbmc/linux/drivers/misc/ |
H A D | qcom-coincell.c | 1 // SPDX-License-Identifier: GPL-2.0-only 37 return regmap_write(chgr->regmap, in qcom_coincell_chgr_config() 38 chgr->base_addr + QCOM_COINCELL_REG_ENABLE, 0); in qcom_coincell_chgr_config() 40 /* find index for current-limiting resistor */ in qcom_coincell_chgr_config() 46 dev_err(chgr->dev, "invalid rset-ohms value %d\n", rset); in qcom_coincell_chgr_config() 47 return -EINVAL; in qcom_coincell_chgr_config() 56 dev_err(chgr->dev, "invalid vset-millivolts value %d\n", vset); in qcom_coincell_chgr_config() 57 return -EINVAL; in qcom_coincell_chgr_config() 60 rc = regmap_write(chgr->regmap, in qcom_coincell_chgr_config() 61 chgr->base_addr + QCOM_COINCELL_REG_RSET, i); in qcom_coincell_chgr_config() [all …]
|
/openbmc/linux/drivers/staging/media/deprecated/atmel/ |
H A D | atmel-isc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2016-2019 Microchip Technology, Inc. 13 #include <linux/clk-provider.h> 16 #include <media/v4l2-ctrls.h> 17 #include <media/v4l2-device.h> 18 #include <media/videobuf2-dma-contig.h> 57 * struct isc_format - ISC media bus format information 97 * struct fmt_config - ISC format configuration and internal pipeline 104 * @bpp: Bytes per pixel in the current format. 105 * @bpp_v4l2: Bytes per pixel in the current format, for v4l2. [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | romfs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ROMFS - ROM File System 26 As the name suggests, romfs could be also used (space-efficiently) on 27 various read-only media, like (E)EPROM disks if someone will have the 32 later, with the current module utilities. It can also be used to run 34 floppy drives can be loaded later if you use the "initrd"--initial 35 RAM disk--feature of the kernel. This would not be really news 53 name). The maximum overhead for any non-empty file is the header, and 62 +---+---+---+---+ 63 0 | - | r | o | m | \ [all …]
|
/openbmc/linux/drivers/media/platform/microchip/ |
H A D | microchip-isc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2016-2019 Microchip Technology, Inc. 13 #include <linux/clk-provider.h> 16 #include <media/v4l2-ctrls.h> 17 #include <media/v4l2-device.h> 18 #include <media/videobuf2-dma-contig.h> 57 * struct isc_format - ISC media bus format information 98 * struct fmt_config - ISC format configuration and internal pipeline 105 * @bpp: Bytes per pixel in the current format. 106 * @bpp_v4l2: Bytes per pixel in the current format, for v4l2. [all …]
|
/openbmc/linux/include/linux/ |
H A D | psi_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 67 /* Only per-CPU, to weigh the CPU in the global average: */ 75 /* Flag whether to re-arm avgs_work, see details in get_recent_times() */ 114 /* Start time of the current window in ns */ 128 /* User-spacified threshold in ns */ 150 * Time last event was generated. Used for rate-limiting 158 /* Trigger type - PSI_AVGS for unprivileged, PSI_POLL for RT */ 169 /* Per-cpu task state & time tracking */ 173 u64 avg_total[NR_PSI_STATES - 1]; 182 u32 avg_nr_triggers[NR_PSI_STATES - 1]; [all …]
|
/openbmc/linux/Documentation/sound/cards/ |
H A D | maya44.rst | 7 current maya44 code based on. Some contents might be obsoleted, but I 8 keep here as reference -- tiwai 22 … programming information, so I (Rainer Zimmermann) had to find out some card-specific information … 24 This is the first testing version of the Maya44 driver released to the alsa-devel mailing list (Feb… 29 - playback and capture at all sampling rates 30 - input/output level 31 - crossmixing 32 - line/mic switch 33 - phantom power switch 34 - analogue monitor a.k.a bypass [all …]
|
/openbmc/linux/arch/arc/kernel/ |
H A D | unaligned.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011-2012 Synopsys (www.synopsys.com) 6 * -Adapted (from .26 to .35) 7 * -original contribution by Tim.yao@amlogic.com 138 if ((state->aa == 1) || (state->aa == 2)) { in fixup_load() 139 set_reg(state->wb_reg, state->src1 + state->src2, regs, cregs); in fixup_load() 141 if (state->aa == 2) in fixup_load() 142 state->src2 = 0; in fixup_load() 145 if (state->zz == 0) { in fixup_load() 146 get32_unaligned_check(val, state->src1 + state->src2); in fixup_load() [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/google/ |
H A D | gve.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 12 +--------------+----------+---------+ 16 +--------------+----------+---------+ 18 +--------------+----------+---------+ 19 |Sub-vendor ID | `0x1AE0` | Google | 20 +--------------+----------+---------+ 21 |Sub-device ID | `0x0058` | | 22 +--------------+----------+---------+ 24 +--------------+----------+---------+ 26 +--------------+----------+---------+ [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | Power.v1_7_3.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_]*$": { 31 "description": "The available OEM-specific actions for this resource.", 32 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 43 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 120 …operties contained in this object shall conform to the Redfish Specification-described requirement… 144 "AC": "Alternating Current (AC) input range.", 145 "DC": "Direct Current (DC) input range." 174 "ACLowLine": "100-127V AC input.", [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Power.v1_7_3.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_]*$": { 31 "description": "The available OEM-specific actions for this resource.", 32 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 43 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 120 …operties contained in this object shall conform to the Redfish Specification-described requirement… 144 "AC": "Alternating Current (AC) input range.", 145 "DC": "Direct Current (DC) input range." 174 "ACLowLine": "100-127V AC input.", [all …]
|