Home
last modified time | relevance | path

Searched +full:enabled +full:- +full:strings (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/linux-6.8/Documentation/devicetree/bindings/leds/backlight/
Dqcom-wled.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
11 - Kiran Gunda <kgunda@codeaurora.org>
21 - qcom,pm8941-wled
22 - qcom,pmi8950-wled
23 - qcom,pmi8994-wled
24 - qcom,pmi8998-wled
[all …]
/linux-6.8/Documentation/ABI/testing/
Dsysfs-class-regulator10 This will be one of the following strings:
12 'enabled'
16 'enabled' means the regulator output is ON and is supplying
20 supplying power to the system (unless some non-Linux
21 control has enabled it).
36 This will be one of the following strings:
38 - off
39 - on
40 - error
41 - fast
[all …]
Dsysfs-class-thermal3 Strings which represent the thermal zone type.
22 One of the predefined values in [enabled, disabled].
27 enabled
59 Strings which indicate the type of the trip point.
61 E.g. it can be one of critical, hot, passive, `active[0-*]`
84 The trip point in this thermal zone which `cdev[0-*]` is
85 associated with; -1 means the cooling device is not
92 The influence of `cdev[0-*]` in this thermal zone. This value
124 Documentation/driver-api/thermal/power_allocator.rst
133 Documentation/driver-api/thermal/power_allocator.rst
[all …]
/linux-6.8/sound/core/
Dinfo_oss.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 static DEFINE_MUTEX(strings);
29 return -ENXIO; in snd_oss_info_register()
31 return -ENXIO; in snd_oss_info_register()
32 mutex_lock(&strings); in snd_oss_info_register()
40 mutex_unlock(&strings); in snd_oss_info_register()
41 return -ENOMEM; in snd_oss_info_register()
45 mutex_unlock(&strings); in snd_oss_info_register()
52 int idx, ok = -1; in snd_sndstat_show_strings()
56 mutex_lock(&strings); in snd_sndstat_show_strings()
[all …]
/linux-6.8/tools/testing/selftests/mm/
Dthp_settings.c1 // SPDX-License-Identifier: GPL-2.0
51 if (fd == -1) in read_file()
54 numread = read(fd, buf, buflen - 1); in read_file()
72 if (fd == -1) { in write_file()
78 numwritten = write(fd, buf, buflen - 1); in write_file()
112 int thp_read_string(const char *name, const char * const strings[]) in thp_read_string() argument
137 memmove(buf, c, sizeof(buf) - (c - buf)); in thp_read_string()
147 while (strings[ret]) { in thp_read_string()
148 if (!strcmp(strings[ret], buf)) in thp_read_string()
207 .thp_enabled = thp_read_string("enabled", thp_enabled_strings), in thp_read_settings()
[all …]
Dthp_settings.h1 /* SPDX-License-Identifier: GPL-2.0 */
36 enum thp_enabled enabled; member
64 int thp_read_string(const char *name, const char * const strings[]);
/linux-6.8/Documentation/devicetree/bindings/leds/
Dleds-lm36274.txt1 * Texas Instruments LM36274 4-Channel LCD Backlight Driver w/Integrated Bias
3 The LM36274 is an integrated four-channel WLED driver and LCD bias supply.
4 The backlight boost provides the power to bias four parallel LED strings with
5 up to 29V total output voltage. The 11-bit LED current is programmable via
9 Documentation/devicetree/bindings/mfd/ti-lmu.txt
12 Documentation/devicetree/bindings/regulator/lm363x-regulator.txt
15 - compatible:
16 "ti,lm36274-backlight"
17 - reg : 0
18 - #address-cells : 1
[all …]
/linux-6.8/Documentation/usb/
Dgadget_configfs.rst50 http://www.spinics.net/lists/linux-usb/msg76388.html)
55 $ mount none $CONFIGFS_HOME -t configfs
60 -----------------------
81 A gadget also needs its serial number, manufacturer and product strings.
82 In order to have a place to store them, a strings subdirectory must be created
85 $ mkdir strings/0x409
87 Then the strings can be specified::
89 $ echo <serial number> > strings/0x409/serialnumber
90 $ echo <manufacturer> > strings/0x409/manufacturer
91 $ echo <product> > strings/0x409/product
[all …]
/linux-6.8/drivers/gpu/drm/i915/gt/
Dintel_gt_pm_debugfs.c1 // SPDX-License-Identifier: MIT
29 atomic_inc(&gt->user_wakeref); in intel_gt_pm_debugfs_forcewake_user_open()
31 if (GRAPHICS_VER(gt->i915) >= 6) in intel_gt_pm_debugfs_forcewake_user_open()
32 intel_uncore_forcewake_user_get(gt->uncore); in intel_gt_pm_debugfs_forcewake_user_open()
37 if (GRAPHICS_VER(gt->i915) >= 6) in intel_gt_pm_debugfs_forcewake_user_release()
38 intel_uncore_forcewake_user_put(gt->uncore); in intel_gt_pm_debugfs_forcewake_user_release()
40 atomic_dec(&gt->user_wakeref); in intel_gt_pm_debugfs_forcewake_user_release()
45 struct intel_gt *gt = inode->i_private; in forcewake_user_open()
54 struct intel_gt *gt = inode->i_private; in forcewake_user_release()
69 struct intel_gt *gt = m->private; in fw_domains_show()
[all …]
/linux-6.8/drivers/leds/
Dleds-lm3697.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
15 #include <linux/leds-ti-lmu-common.h>
47 * struct lm3697_led -
48 * @hvled_strings: Array of LED strings associated with a control bank
55 * @enabled: LED brightness level (or LED_OFF)
65 int enabled; member
70 * struct lm3697 -
77 * @leds: Array of LED strings
127 int ctrl_en_val = (1 << led->control_bank); in lm3697_brightness_set()
[all …]
Dleds-lm36274.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
9 #include <linux/leds-ti-lmu-common.h>
15 #include <linux/mfd/ti-lmu.h>
16 #include <linux/mfd/ti-lmu-register.h>
30 * @led_sources: The LED strings supported in this array
31 * @num_leds: Number of LED strings are supported in this array
49 return ti_lmu_common_set_brightness(&chip->lmu_data, brt_val); in lm36274_brightness_set()
57 for (i = 0; i < chip->num_leds; i++) in lm36274_init()
58 enable_val |= (1 << chip->led_sources[i]); in lm36274_init()
[all …]
Dleds-lm3532.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
16 #define LM3532_NAME "lm3532-led"
128 * @num_leds: Number of LED strings are supported in this array
129 * @full_scale_current: The full-scale current setting for the current sink.
130 * @led_strings: The LED strings supported in this array
131 * @enabled: Enabled status
142 unsigned int enabled:1; member
157 * @leds: Array of LED strings
225 if (als_imped < als_imp_table[LM3532_NUM_IMP_VALS - 1]) in lm3532_get_als_imp_index()
[all …]
/linux-6.8/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.81 .\" This page Copyright (C) 2010 - 2015 Len Brown <len.brown@intel.com>
5 x86_energy_perf_policy \- Manage Energy vs. Performance Policy via x86 Model Specific Registers
10 .RB "scope: \-\-cpu\ cpu-list | \-\-pkg\ pkg-list"
12 .RB "cpu-list, pkg-list: # | #,# | #-# | all"
14 .RB "field: \-\-all | \-\-epb | \-\-hwp-epp | \-\-hwp-min | \-\-hwp-max | \-\-hwp-desired"
16 .RB "other: (\-\-force | \-\-hwp-enable | \-\-turbo-enable) value)"
18 .RB "value: # | default | performance | balance-performance | balance-power | power"
21 displays and updates energy-performance policy settings specific to
23 updates, no matter if the Linux cpufreq sub-system is enabled or not.
27 such as how aggressively the hardware enters and exits CPU idle states (C-states)
[all …]
/linux-6.8/Documentation/driver-api/usb/
Dusb3-debug-port.rst19 3) have a USB 3.0 super-speed A-to-A debugging cable.
28 When DbC is initialized and enabled, it will present a debug
30 super-speed port). The debug device is fully compliant with
32 performance full-duplex serial link between the debug target
41 Other uses include simpler, lockless logging instead of a full-
45 kernel with CONFIG_EARLY_PRINTK_USB_XDBC enabled. And, add below
58 "usbcore.autosuspend=-1"
63 should be a USB 3.0 super-speed A-to-A debugging cable.
74 # tail -f /var/log/kern.log
75 [ 1815.983374] usb 4-3: new SuperSpeed USB device number 4 using xhci_hcd
[all …]
/linux-6.8/Documentation/devicetree/bindings/clock/
Dzynq-7000.txt15 - #clock-cells : Must be 1
16 - compatible : "xlnx,ps7-clkc"
17 - reg : SLCR offset and size taken via syscon < 0x100 0x100 >
18 - ps-clk-frequency : Frequency of the oscillator providing ps_clk in HZ
20 - clock-output-names : List of strings used to name the clock outputs. Shall be
24 - clocks : as described in the clock bindings
25 - clock-names : as described in the clock bindings
26 - fclk-enable : Bit mask to enable FCLKs statically at boot time.
28 FCLK will only be enabled if it is actually running at
32 The following strings are optional parameters to the 'clock-names' property in
[all …]
/linux-6.8/drivers/video/backlight/
Dqcom-wled.c1 // SPDX-License-Identifier: GPL-2.0-only
61 /* WLED3 specific per-'string' registers below */
93 /* WLED4 specific per-'string' registers below */
140 /* WLED5 specific per-'string' registers below */
238 for (i = 0; i < wled->cfg.num_strings; ++i) { in wled3_set_brightness()
239 rc = regmap_bulk_write(wled->regmap, wled->ctrl_addr + in wled3_set_brightness()
240 WLED3_SINK_REG_BRIGHT(wled->cfg.enabled_strings[i]), in wled3_set_brightness()
252 u16 low_limit = wled->max_brightness * 4 / 1000; in wled4_set_brightness()
261 for (i = 0; i < wled->cfg.num_strings; ++i) { in wled4_set_brightness()
262 rc = regmap_bulk_write(wled->regmap, wled->sink_addr + in wled4_set_brightness()
[all …]
/linux-6.8/Documentation/filesystems/ext4/
Dattributes.rst1 .. SPDX-License-Identifier: GPL-2.0
4 -------------------
17 sb.inode_size = 256, then there are 256 - (128 + 28) = 100 bytes
18 available for in-inode extended attribute storage. The second place
26 Keys are generally assumed to be ASCIIZ strings, whereas values can be
27 strings or binary data.
32 .. list-table::
34 :header-rows: 1
36 * - Offset
37 - Type
[all …]
/linux-6.8/Documentation/devicetree/bindings/pinctrl/
Dmediatek,mt7986-pinctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt7986-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sean Wang <sean.wang@kernel.org>
18 - mediatek,mt7986a-pinctrl
19 - mediatek,mt7986b-pinctrl
25 reg-names:
27 - const: gpio
28 - const: iocfg_rt
[all …]
Dmediatek,mt7981-pinctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt7981-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Daniel Golle <daniel@makrotopia.org>
18 - mediatek,mt7981-pinctrl
24 reg-names:
26 - const: gpio
27 - const: iocfg_rt
28 - const: iocfg_rm
[all …]
/linux-6.8/drivers/usb/gadget/function/
Du_fs.h1 /* SPDX-License-Identifier: GPL-2.0 */
74 * Waiting for descriptors and strings.
84 * We've got descriptors and strings. We are or have called
103 * be reset, and it will be ready for descriptors and strings
116 * unrecoverable error is situation when after reading strings
142 * -EIDRM. This state is only set when adding event.
170 * a race. Is that the case? Or maybe we can use cdev->req
186 * + FFS_NO_SETUP -> FFS_SETUP_PENDING -- P: ev.waitq.lock
188 * + FFS_SETUP_PENDING -> FFS_NO_SETUP -- P: ev.waitq.lock
190 * + FFS_SETUP_PENDING -> FFS_SETUP_CANCELLED -- P: ev.waitq.lock
[all …]
/linux-6.8/tools/perf/util/
Dcputopo.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 * An array of strings where each string is unique and read from
17 * each of these is a human-readable list of CPUs sharing the same
18 * physical_package_id. The format is like 0-3, 8-11, 14,17.
24 * each of these is a human-readable list of CPUs within the same die.
25 * The format is like 0-3, 8-11, 14,17.
31 * each of these is a human-readable list of CPUs within the same
32 * core. The format is like 0-3, 8-11, 14,17.
66 /* Determine from the core list whether SMT was enabled. */
68 /* Are the sets of SMT siblings all enabled or all disabled in user_requested_cpus. */
/linux-6.8/Documentation/sound/designs/
Dmidi-2.0.rst12 - Support of Universal MIDI Packet (UMP)
13 - Support of MIDI 2.0 protocol messages
14 - Transparent conversions between UMP and legacy MIDI 1.0 byte stream
15 - MIDI-CI for property and profile configurations
26 MIDI-CI is a high-level protocol that can talk with the MIDI device
31 the encoding/decoding of MIDI protocols on UMP, while MIDI-CI is
32 supported in user-space over the standard SysEx.
65 When a device supports MIDI 2.0, the USB-audio driver probes and uses
69 `midi2_enable=0` option to snd-usb-audio driver module, too.
78 option to snd-usb-audio driver for skipping the UMP v1.1 inquiries.
[all …]
/linux-6.8/tools/lib/bpf/
Dbtf.h1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
48 * On error, error-code-encoded-as-pointer is returned, not a NULL. To extract
50 * `libbpf_set_strict_mode(LIBBPF_STRICT_CLEAN_PTRS)` is enabled, NULL is
51 * returned on error instead. In both cases thread-local `errno` variable is
68 * creates non-split BTF.
70 * On error, error-code-encoded-as-pointer is returned, not a NULL. To extract
72 * `libbpf_set_strict_mode(LIBBPF_STRICT_CLEAN_PTRS)` is enabled, NULL is
73 * returned on error instead. In both cases thread-local `errno` variable is
84 * On error, error-code-encoded-as-pointer is returned, not a NULL. To extract
86 * `libbpf_set_strict_mode(LIBBPF_STRICT_CLEAN_PTRS)` is enabled, NULL is
[all …]
/linux-6.8/drivers/regulator/
Duserspace-consumer.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * userspace-consumer.c
20 #include <linux/regulator/userspace-consumer.h>
27 bool enabled; member
39 return sprintf(buf, "%s\n", data->name); in name_show()
47 if (data->enabled) in state_show()
48 return sprintf(buf, "enabled\n"); in state_show()
57 bool enabled; in state_store() local
61 * sysfs_streq() doesn't need the \n's, but we add them so the strings in state_store()
64 if (sysfs_streq(buf, "enabled\n") || sysfs_streq(buf, "1")) in state_store()
[all …]
/linux-6.8/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c1 // SPDX-License-Identifier: GPL-2.0+
3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget
5 * hub.c - virtual hub handling
25 #include <linux/dma-mapping.h>
37 * - We may need to indicate TT support
38 * - We may need a device qualifier descriptor
40 * - Make vid/did overridable
41 * - make it look like usb1 if usb1 mode forced
144 * These strings converted to UTF-16 must be smaller than
165 .strings = (struct usb_string *)ast_vhub_str_array
[all …]

12345678910>>...13