Home
last modified time | relevance | path

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

12345678910>>...13

/linux/Documentation/devicetree/bindings/leds/backlight/
H A 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 <andersson@kernel.org>
11 - Kiran Gunda <quic_kgunda@quicinc.com>
21 - qcom,pm8941-wled
22 - qcom,pmi8950-wled
23 - qcom,pmi8994-wled
24 - qcom,pmi8998-wled
[all …]
/linux/Documentation/ABI/testing/
H A 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 …]
H A Dconfigfs-usb-gadget-ffs1 What: /config/usb-gadget/gadget/functions/ffs.name
13 strings to ep0, so the gadget can be
14 enabled - 0 otherwise.
H A 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/include/linux/
H A Dstring_choices.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * corresponding literal strings. These helpers can be used in the printing
9 * and also in other places where constant strings are required. Using these
11 * 1) Reducing the hardcoding of strings, which makes the code more elegant
12 * through these simple literal-meaning helpers.
14 * in various forms, such as enable/disable, enabled/disabled, en/dis.
28 return v ? "enabled" : "disabled"; in str_enabled_disabled()
75 * str_plural - Return the simple pluralization based on English counts
/linux/tools/testing/selftests/mm/
H A Dthp_settings.c1 // SPDX-License-Identifier: GPL-2.0
52 if (fd == -1) in read_file()
55 numread = read(fd, buf, buflen - 1); in read_file()
73 if (fd == -1) { in write_file()
79 numwritten = write(fd, buf, buflen - 1); in write_file()
113 int thp_read_string(const char *name, const char * const strings[]) in thp_read_string() argument
138 memmove(buf, c, sizeof(buf) - (c - buf)); in thp_read_string()
148 while (strings[ret]) { in thp_read_string()
149 if (!strcmp(strings[ret], buf)) in thp_read_string()
209 .thp_enabled = thp_read_string("enabled", thp_enabled_strings), in thp_read_settings()
[all …]
H A Dthp_settings.h1 /* SPDX-License-Identifier: GPL-2.0 */
37 enum thp_enabled enabled; member
51 enum shmem_enabled enabled; member
70 int thp_read_string(const char *name, const char * const strings[]);
/linux/Documentation/devicetree/bindings/leds/
H A 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/Documentation/usb/
H A 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/sound/core/
H A 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 guard(mutex)(&strings); in snd_oss_info_register()
40 return -ENOMEM; in snd_oss_info_register()
49 int idx, ok = -1; in snd_sndstat_show_strings()
53 guard(mutex)(&strings); in snd_sndstat_show_strings()
65 snd_iprintf(buf, " NOT ENABLED IN CONFIG\n"); in snd_sndstat_show_strings()
72 snd_iprintf(buffer, "Sound Driver:3.8.1a-980706 (ALSA emulation code)\n"); in snd_sndstat_proc_read()
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A 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/drivers/leds/
H A 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 …]
H A 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 …]
/linux/tools/power/x86/x86_energy_perf_policy/
H A 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/Documentation/driver-api/usb/
H A 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/Documentation/devicetree/bindings/clock/
H A 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/drivers/video/backlight/
H A 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/Documentation/filesystems/ext4/
H A 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/tools/lib/bpf/
H A Dbtf.h1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
49 * On error, error-code-encoded-as-pointer is returned, not a NULL. To extract
51 * `libbpf_set_strict_mode(LIBBPF_STRICT_CLEAN_PTRS)` is enabled, NULL is
52 * returned on error instead. In both cases thread-local `errno` variable is
69 * creates non-split BTF.
71 * On error, error-code-encoded-as-pointer is returned, not a NULL. To extract
73 * `libbpf_set_strict_mode(LIBBPF_STRICT_CLEAN_PTRS)` is enabled, NULL is
74 * returned on error instead. In both cases thread-local `errno` variable is
85 * On error, error-code-encoded-as-pointer is returned, not a NULL. To extract
87 * `libbpf_set_strict_mode(LIBBPF_STRICT_CLEAN_PTRS)` is enabled, NULL is
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
H A 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 …]
H A 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/drivers/usb/gadget/function/
H A 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/tools/perf/util/
H A 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/Documentation/sound/designs/
H A 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/drivers/regulator/
H A 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 …]

12345678910>>...13