Home
last modified time | relevance | path

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

12345678910

/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 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 …]
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.
/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/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 …]
H A 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/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/fs/hfsplus/
H A Dunicode_test.c1 // SPDX-License-Identifier: GPL-2.0
29 env->buf = kzalloc(buf_size, GFP_KERNEL); in setup_mock_str_env()
30 if (!env->buf) { in setup_mock_str_env()
35 env->buf_size = buf_size; in setup_mock_str_env()
42 if (env->buf) in free_mock_str_env()
43 kfree(env->buf); in free_mock_str_env()
53 memset(ustr->unicode, 0, sizeof(ustr->unicode)); in create_unistr()
55 ustr->length = cpu_to_be16(len); in create_unistr()
57 ustr->unicode[i] = cpu_to_be16((u16)ascii_str[i]); in create_unistr()
62 ustr->length = cpu_to_be16(U16_MAX); in corrupt_unistr()
[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
10 .RB "scope: \-\-cpu\ cpu-list | \-\-pkg\ pkg-list"
12 .RB "cpu-list, pkg-lis
[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, NUL
[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/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/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 …]
H A Dmediatek,mt7988-pinctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt7988-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sean Wang <sean.wang@kernel.org>
18 - mediatek,mt7988-pinctrl
24 reg-names:
26 - const: gpio
27 - const: iocfg_tr
28 - const: iocfg_br
[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/kbuild/
H A Dgendwarfksyms.rst8 When CONFIG_MODVERSIONS is enabled, symbol versions for modules
18 ------------
26 sudo pacman --needed -S libelf zlib
30 sudo apt install libelf-dev libdw-dev zlib1g-dev
34 sudo dnf install elfutils-libelf-devel elfutils-devel zlib-devel
38 sudo zypper install libelf-devel libdw-devel zlib-devel
41 -----
46 Usage: gendwarfksyms [options] elf-object-file ... < symbol-list
49 -d, --debug Print debugging information
50 --dump-dies Dump DWARF DIE contents
[all …]
/linux/drivers/acpi/x86/
H A Dutils.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Copyright (C) 2013-2015 Intel Corporation. All rights reserved.
18 #include <asm/intel-family.h>
22 * Some ACPI devices are hidden (status == 0x0) in recent BIOS-es because
26 * Some BIOS-es (temporarily) hide specific APCI devices to work around Windows
29 * Likewise sometimes some not-actually present devices are sometimes
38 * are re-used on different SoCs for completely different devices.
86 * It needs to be enabled only for the Android device version (YB1-X90*
87 * aka YETI-11); the Windows version (YB1-X91*) uses ACPI control
93 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"),
[all …]
/linux/Documentation/devicetree/bindings/bus/
H A Dsimple-pm-bus.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/bus/simple-pm-bus.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Simple Power-Managed Bus
10 - Geert Uytterhoeven <geert+renesas@glider.be>
13 A Simple Power-Managed Bus is a transparent bus that doesn't need a real
18 clock must be enabled for child devices connected to the bus (either
19 on-SoC or externally) to function.
21 While "simple-pm-bus" follows the "simple-bus" set of properties, as
[all …]

12345678910