Home
last modified time | relevance | path

Searched +full:power +full:- +full:friendly (Results 1 – 25 of 69) sorted by relevance

123

/linux-6.12.1/Documentation/devicetree/bindings/iio/light/
Dupisemi,us5182.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jonathan Cameron <jic23@kernel.org>
19 upisemi,glass-coef:
22 glass attenuation factor - compensation factor of resolution 1000
26 upisemi,dark-ths:
27 $ref: /schemas/types.yaml#/definitions/uint16-array
31 16-bit thresholds (adc counts) corresponding to every scale.
33 upisemi,upper-dark-gain:
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/hwmon/
Dti,ina3221.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jean Delvare <jdelvare@suse.com>
11 - Guenter Roeck <linux@roeck-us.net>
20 ti,single-shot:
22 This chip has two power modes: single-shot (chip takes one measurement
25 hardware monitor type device, but the single-shot mode is more power-
26 friendly and useful for battery-powered device which cares power
29 If this property is present, the single-shot mode will be used, instead
[all …]
/linux-6.12.1/tools/perf/Documentation/
Dperf-timechart.txt1 perf-timechart(1)
5 ----
6 perf-timechart - Tool to visualize total system behavior during a workload
9 --------
14 -----------
19 and CPU events (task switches, running times, CPU power states, etc),
20 but it's possible to record IO (disk, network) activity using -I argument.
34 -----------------
35 -o::
36 --output=::
[all …]
/linux-6.12.1/Documentation/admin-guide/media/
Dfaq.rst1 .. SPDX-License-Identifier: GPL-2.0
26 significant power requirements (and hence get very hot), they
28 is closed). The ``dvb-core`` module parameter ``dvb_shutdown_timeout``
37 tools and are grouped together with the ``v4l-utils`` git repository:
39 https://git.linuxtv.org/v4l-utils.git/
48 for example the ``dvbv5-scan`` tool. You can find more information
51 https://www.linuxtv.org/wiki/index.php/Dvbv5-scan
70 https://git.linuxtv.org/dtv-scan-tables.git
88 list with a tool like ``dvbv5-scan``.
90 Almost all modern Digital TV cards don't have built-in hardware
[all …]
/linux-6.12.1/include/video/
Dsticore.h1 /* SPDX-License-Identifier: GPL-2.0 */
43 #define sti_onscreen_x(sti) (sti->glob_cfg->onscreen_x)
44 #define sti_onscreen_y(sti) (sti->glob_cfg->onscreen_y)
47 #define sti_font_x(sti) (PTR_STI(sti->font)->width)
48 #define sti_font_y(sti) (PTR_STI(sti->font)->height)
77 u8 friendly_boot; /* in friendly boot mode */
78 s16 power; /* power calculation (in Watts) */ member
105 u32 nontext : 1; /* turn on non-text display planes? */
107 u32 cmap_blk : 1; /* non-text planes cmap black? */
111 u32 no_chg_ntx : 1; /* don't change non-text settings */
[all …]
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-bus-usb10 This allows to avoid side-effects with drivers
28 drivers, non-authorized one are not. By default, wired
33 Contact: linux-usb@vger.kernel.org
67 What: /sys/bus/usb-serial/drivers/.../new_id
69 Contact: linux-usb@vger.kernel.org
72 extra bus folder "usb-serial" in sysfs; apart from that
93 What: /sys/bus/usb/devices/.../power/usb2_hardware_lpm
97 If CONFIG_PM is set and a USB 2.0 lpm-capable device is plugged
102 power/usb2_hardware_lpm. The file holds a string value (enable
107 What: /sys/bus/usb/devices/.../power/usb3_hardware_lpm_u1
[all …]
Dsysfs-class-firmware-attributes1 What: /sys/class/firmware-attributes/*/attributes/*/
13 and will accept UTF-8 input.
21 - enumeration: a set of pre-defined valid values
22 - integer: a range of numerical values
23 - string
26 -----------------
27 - ordered-list - a set of ordered list valid values
46 A file that can be read to obtain a user friendly
54 "enumeration"-type specific properties:
59 semi-colon (``;``).
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dcyan_skillfish_ppt.c39 * They are more MGPU friendly.
89 struct smu_table_context *smu_table = &smu->smu_table; in cyan_skillfish_tables_init()
90 struct smu_table *tables = smu_table->tables; in cyan_skillfish_tables_init()
97 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in cyan_skillfish_tables_init()
98 if (!smu_table->metrics_table) in cyan_skillfish_tables_init()
101 smu_table->gpu_metrics_table_size = sizeof(struct gpu_metrics_v2_2); in cyan_skillfish_tables_init()
102 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in cyan_skillfish_tables_init()
103 if (!smu_table->gpu_metrics_table) in cyan_skillfish_tables_init()
106 smu_table->metrics_time = 0; in cyan_skillfish_tables_init()
111 smu_table->gpu_metrics_table_size = 0; in cyan_skillfish_tables_init()
[all …]
/linux-6.12.1/Documentation/admin-guide/mm/
Dksm.rst8 KSM is a memory-saving de-duplication feature, enabled by CONFIG_KSM=y,
19 content which can be replaced by a single write-protected page (which
47 may suddenly require more memory than is available - possibly failing
48 with EAGAIN, but more probably arousing the Out-Of-Memory killer.
60 will exceed ``vm.max_map_count`` (see Documentation/admin-guide/sysctl/vm.rst).
69 of processing power: some installations will disable KSM for that reason.
84 been set to scan-time.
151 traversals are always schedule friendly themselves.
164 enabled, pages that have previously not been de-duplicated get
166 de-duplication has already been tried and failed. By default this
[all …]
/linux-6.12.1/drivers/thermal/intel/
Dtherm_throt.c1 // SPDX-License-Identifier: GPL-2.0-only
45 * struct _thermal_state - Represent the current thermal event state
52 * or power threshold interrupts.
54 * or power threshold interrupts.
61 * This is used for the purpose of rate-control.
142 unsigned int cpu = dev->id; \
206 * "Table 2-2. IA-32 Architectural MSRs", MSR 0x19C in thermal_intr_init_core_clear_mask()
223 /* Bit 11: Power Limitation log (R/WC0) If CPUID.06H:EAX[4] = 1 */ in thermal_intr_init_core_clear_mask()
242 * "Table 2-2. IA-32 Architectural MSRs", MSR 0x1B1 in thermal_intr_init_pkg_clear_mask()
251 * Intel SDM Volume 2A: Thermal and Power Management Leaf in thermal_intr_init_pkg_clear_mask()
[all …]
/linux-6.12.1/Documentation/driver-api/usb/
Dgadget.rst11 This document presents a Linux-USB "Gadget" kernel mode API, for use
17 - Supports USB 2.0, for high speed devices which can stream data at
20 - Handles devices with dozens of endpoints just as well as ones with
21 just two fixed-function ones. Gadget drivers can be written so
24 - Flexible enough to expose more complex USB device capabilities such
28 - USB "On-The-Go" (OTG) support, in conjunction with updates to the
29 Linux-USB host side.
31 - Sharing data structures and API models with the Linux-USB host side
32 API. This helps the OTG support, and looks forward to more-symmetric
36 - Minimalist, so it's easier to support new device controller hardware.
[all …]
/linux-6.12.1/Documentation/input/
Dinput-programming.rst34 return -EBUSY;
40 error = -ENOMEM;
44 button_dev->evbit[0] = BIT_MASK(EV_KEY);
45 button_dev->keybit[BIT_WORD(BTN_0)] = BIT_MASK(BTN_0);
83 parts of the input systems what it is - what events can be generated or
88 set_bit(EV_KEY, button_dev->evbit);
89 set_bit(BTN_0, button_dev->keybit);
126 dev->open() and dev->close()
140 return -EBUSY;
154 button_dev->open = button_open;
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_4_ppt.c39 * They are more MGPU friendly.
152 struct smu_table_context *smu_table = &smu->smu_table; in smu_v13_0_4_init_smc_tables()
153 struct smu_table *tables = smu_table->tables; in smu_v13_0_4_init_smc_tables()
162 smu_table->clocks_table = kzalloc(sizeof(DpmClocks_t), GFP_KERNEL); in smu_v13_0_4_init_smc_tables()
163 if (!smu_table->clocks_table) in smu_v13_0_4_init_smc_tables()
166 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in smu_v13_0_4_init_smc_tables()
167 if (!smu_table->metrics_table) in smu_v13_0_4_init_smc_tables()
169 smu_table->metrics_time = 0; in smu_v13_0_4_init_smc_tables()
171 smu_table->watermarks_table = kzalloc(sizeof(Watermarks_t), GFP_KERNEL); in smu_v13_0_4_init_smc_tables()
172 if (!smu_table->watermarks_table) in smu_v13_0_4_init_smc_tables()
[all …]
Dyellow_carp_ppt.c38 * They are more MGPU friendly.
153 struct smu_table_context *smu_table = &smu->smu_table; in yellow_carp_init_smc_tables()
154 struct smu_table *tables = smu_table->tables; in yellow_carp_init_smc_tables()
163 smu_table->clocks_table = kzalloc(sizeof(DpmClocks_t), GFP_KERNEL); in yellow_carp_init_smc_tables()
164 if (!smu_table->clocks_table) in yellow_carp_init_smc_tables()
167 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in yellow_carp_init_smc_tables()
168 if (!smu_table->metrics_table) in yellow_carp_init_smc_tables()
170 smu_table->metrics_time = 0; in yellow_carp_init_smc_tables()
172 smu_table->watermarks_table = kzalloc(sizeof(Watermarks_t), GFP_KERNEL); in yellow_carp_init_smc_tables()
173 if (!smu_table->watermarks_table) in yellow_carp_init_smc_tables()
[all …]
Dsmu_v13_0_5_ppt.c38 * They are more MGPU friendly.
126 struct smu_table_context *smu_table = &smu->smu_table; in smu_v13_0_5_init_smc_tables()
127 struct smu_table *tables = smu_table->tables; in smu_v13_0_5_init_smc_tables()
136 smu_table->clocks_table = kzalloc(sizeof(DpmClocks_t), GFP_KERNEL); in smu_v13_0_5_init_smc_tables()
137 if (!smu_table->clocks_table) in smu_v13_0_5_init_smc_tables()
140 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in smu_v13_0_5_init_smc_tables()
141 if (!smu_table->metrics_table) in smu_v13_0_5_init_smc_tables()
143 smu_table->metrics_time = 0; in smu_v13_0_5_init_smc_tables()
145 smu_table->watermarks_table = kzalloc(sizeof(Watermarks_t), GFP_KERNEL); in smu_v13_0_5_init_smc_tables()
146 if (!smu_table->watermarks_table) in smu_v13_0_5_init_smc_tables()
[all …]
/linux-6.12.1/drivers/net/wireless/ti/wlcore/
Dwlcore.h1 /* SPDX-License-Identifier: GPL-2.0-only */
26 /* wl12xx/wl18xx maximum transmission power (in dBm) */
257 /* Time-offset between host and chipset clocks */
313 /* Pointer that holds DMA-friendly block for the mailbox */
376 * AP-mode - links indexed by HLID. The global and broadcast links
387 /* AP-mode - a bitmap of links currently in PS mode according to FW */
390 /* AP-mode - a bitmap of links currently in PS mode in mac80211 */
402 /* AP-mode - number of currently connected stations */
405 /* Flag determining whether AP should broadcast OFDM-only rates */
419 /* name of the firmwares to load - for PLT, single role, multi-role */
[all …]
/linux-6.12.1/Documentation/sound/hd-audio/
Dnotes.rst2 More Notes on HD-Audio Driver
11 HD-audio is the new standard on-board audio component on modern PCs
12 after AC97. Although Linux has been supporting HD-audio since long
15 This document explains the brief trouble-shooting and debugging
16 methods for the HD-audio hardware.
18 The HD-audio component consists of two parts: the controller chip and
19 the codec chips on the HD-audio bus. Linux provides a single driver
20 for all controllers, snd-hda-intel. Although the driver name contains
21 a word of a well-known hardware vendor, it's not specific to it but for
22 all controller chips by other companies. Since the HD-audio
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_gt_mcr.c1 // SPDX-License-Identifier: MIT
18 * independent values of a register per hardware unit (e.g., per-subslice,
19 * per-L3bank, etc.). The specific types of replication that exist vary
20 * per-platform.
32 * fused off or currently powered down due to power gating, the MMIO operation
38 #define HAS_MSLICE_STEERING(i915) (INTEL_INFO(i915)->has_mslice_steering)
62 { 0x00E900, 0x00FFFF }, /* 0xEA00 - OxEFFF is unused */
93 { 0x008140, 0x00815F }, /* SLICE (0x8140-0x814F), DSS (0x8150-0x815F) */
94 { 0x0094D0, 0x00955F }, /* SLICE (0x94D0-0x951F), DSS (0x9520-0x955F) */
98 { 0x00DE80, 0x00E8FF }, /* DSS (0xE000-0xE0FF reserved) */
[all …]
/linux-6.12.1/include/uapi/linux/usb/
Dch9.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
9 * - the master/host side Linux-USB kernel driver API;
10 * - the "usbfs" user space API; and
11 * - the Linux "gadget" slave/device/peripheral side driver API.
22 * [b] so that accessing bigger-than-a-bytes fields will never
27 * someone that the two other points are non-issues for that
37 /*-------------------------------------------------------------------------*/
106 /* specific requests for USB Power Delivery */
113 /* The Link Power Management (LPM) ECN defines USB_REQ_TEST_AND_SET command,
136 * See USB 2.0 spec Table 9-7
[all …]
/linux-6.12.1/drivers/hid/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
22 most commonly used to refer to the USB-HID specification, but other
27 removed from the HID bus by the transport-layer drivers, such as
50 devices, like monitor controls and Uninterruptible Power Supplies.
58 to work on raw hid events when they want to, and avoid using transport-specific
64 tristate "User-space I/O driver support for HID subsystem"
67 Say Y here if you want to provide HID I/O Drivers from user-space.
68 This allows to write I/O drivers in user-space and feed the data from
71 user-space device.
73 This driver cannot be used to parse HID-reports in user-space and write
[all …]
Dhid-sensor-custom.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * hid-sensor-custom.c
19 #include <linux/hid-sensor-hub.h>
69 {.name = "unit-expo", .mode = S_IRUGO},
81 {0x200201, "event-sensor-state"},
82 {0x200202, "event-sensor-event"},
83 {0x200301, "property-friendly-name"},
84 {0x200302, "property-persistent-unique-id"},
85 {0x200303, "property-sensor-status"},
86 {0x200304, "property-min-report-interval"},
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c37 * They are more MGPU friendly.
158 struct smu_table_context *smu_table = &smu->smu_table; in renoir_init_smc_tables()
159 struct smu_table *tables = smu_table->tables; in renoir_init_smc_tables()
168 smu_table->clocks_table = kzalloc(sizeof(DpmClocks_t), GFP_KERNEL); in renoir_init_smc_tables()
169 if (!smu_table->clocks_table) in renoir_init_smc_tables()
172 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in renoir_init_smc_tables()
173 if (!smu_table->metrics_table) in renoir_init_smc_tables()
175 smu_table->metrics_time = 0; in renoir_init_smc_tables()
177 smu_table->watermarks_table = kzalloc(sizeof(Watermarks_t), GFP_KERNEL); in renoir_init_smc_tables()
178 if (!smu_table->watermarks_table) in renoir_init_smc_tables()
[all …]
/linux-6.12.1/include/linux/gpio/
Ddriver.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 #include <linux/pinctrl/pinconf-generic.h>
48 * struct gpio_irq_chip - GPIO interrupt controller
78 * If non-NULL, will be set as the parent of this GPIO interrupt
90 * hardware IRQs correspond to the GPIO index 0..ngpio-1 (see the
98 * HWIRQ, return -EINVAL, but also make sure to fill in @valid_mask and
113 * &gpiochip_populate_parent_fwspec_twocell will be used. A four-cell
270 * bits from 0..(ngpios-1) set to "1" as in valid. The callback can
323 * struct gpio_chip - abstract a GPIO controller
325 * number or the name of the SoC IP-block implementing it.
[all …]
/linux-6.12.1/drivers/cpufreq/
Dlonghaul.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * (C) 2001-2004 Dave Jones.
13 * Present in Samuel 2 (steppings 1-7 only) (C5B), and Ezra (C5C).
16 * It is present in Ezra-T (C5M), Nehemiah (C5X) and above.
192 /* Dummy op - must do something useless after P_LVL3 in do_powersaver()
210 /* Dummy op - must do something useless after P_LVL3 read */ in do_powersaver()
229 /* Dummy op - must do something useless after P_LVL3 in do_powersaver()
261 if (mult == -1) in longhaul_setstate()
262 return -EINVAL; in longhaul_setstate()
266 return -EINVAL; in longhaul_setstate()
[all …]
/linux-6.12.1/drivers/platform/x86/hp/hp-bioscfg/
Dbioscfg.c1 // SPDX-License-Identifier: GPL-2.0
3 * Common methods for use with hp-bioscfg driver
45 return -EINVAL; in hp_get_integer_from_buffer()
49 *buffer_size -= sizeof(int); in hp_get_integer_from_buffer()
64 return -EINVAL; in hp_get_string_from_buffer()
74 return -EINVAL; in hp_get_string_from_buffer()
89 conv_dst_size = dst_size - 1; in hp_get_string_from_buffer()
92 * convert from UTF-16 unicode to ASCII in hp_get_string_from_buffer()
121 *buffer_size -= size * sizeof(u16); in hp_get_string_from_buffer()
133 ret = hp_get_string_from_buffer(buffer_ptr, buffer_size, common_data->path, in hp_get_common_data_from_buffer()
[all …]

123