Home
last modified time | relevance | path

Searched +full:tri +full:- +full:default +full:- +full:2 (Results 1 – 25 of 135) sorted by relevance

123456

/kernel/linux/linux-6.6/scripts/kconfig/
Dsymbol.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
47 enum symbol_type type = sym->type; in sym_get_type()
50 if (sym_is_choice_value(sym) && sym->visible == yes) in sym_get_type()
91 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop()
92 if (prop->visible.tri != no) in sym_get_default_prop()
103 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop()
104 if (prop->visible.tri != no) in sym_get_range_prop()
113 switch (sym->type) { in sym_get_range_val()
120 default: in sym_get_range_val()
[all …]
Dconf.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
71 p = str + l - 1; in strip()
73 *p-- = 0; in strip()
125 * and if no then no-one. in randomize_choice_values()
128 if (csym->curr.tri != yes) in randomize_choice_values()
135 expr_list_for_each_sym(prop->expr, e, sym) in randomize_choice_values()
145 expr_list_for_each_sym(prop->expr, e, sym) { in randomize_choice_values()
147 sym->def[S_DEF_USER].tri = yes; in randomize_choice_values()
148 csym->def[S_DEF_USER].val = sym; in randomize_choice_values()
[all …]
Dconfdata.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
99 tmp[sizeof(tmp) - 1] = 0; in make_parent_dir()
117 return -1; in make_parent_dir()
137 return -1; in conf_touch_dep()
142 if (fd == -1) in conf_touch_dep()
143 return -1; in conf_touch_dep()
150 __attribute__ ((format (printf, 1, 2)));
153 __attribute__ ((format (printf, 1, 2)));
237 switch (sym->type) { in conf_set_sym_val()
[all …]
Dexpr.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
49 #define EXPR_NOT(dep) (2-(dep))
52 for (e = (l); e && (s = e->right.sym); e = e->left.expr)
56 tristate tri; member
61 tristate tri; member
134 …bols(i, sym) for (i = 0; i < SYMBOL_HASHSIZE; i++) for (sym = symbol_hash[i]; sym; sym = sym->next)
141 #define SYMBOL_OPTIONAL 0x0100 /* choice is optional - values can be 'n' */
144 #define SYMBOL_WRITTEN 0x0800 /* track info to avoid double-write to .config */
166 * default y
[all …]
/kernel/linux/linux-5.10/scripts/kconfig/
Dsymbol.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
44 enum symbol_type type = sym->type; in sym_get_type()
47 if (sym_is_choice_value(sym) && sym->visible == yes) in sym_get_type()
88 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop()
89 if (prop->visible.tri != no) in sym_get_default_prop()
100 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop()
101 if (prop->visible.tri != no) in sym_get_range_prop()
110 switch (sym->type) { in sym_get_range_val()
117 default: in sym_get_range_val()
[all …]
Dconfdata.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
97 tmp[sizeof(tmp) - 1] = 0; in make_parent_dir()
115 return -1; in make_parent_dir()
137 return -1; in conf_touch_dep()
148 if (fd == -1) { in conf_touch_dep()
150 return -1; in conf_touch_dep()
158 if (fd == -1) in conf_touch_dep()
159 return -1; in conf_touch_dep()
172 __attribute__ ((format (printf, 1, 2)));
[all …]
Dexpr.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
49 #define EXPR_NOT(dep) (2-(dep))
52 for (e = (l); e && (s = e->right.sym); e = e->left.expr)
56 tristate tri; member
61 tristate tri; member
134 …bols(i, sym) for (i = 0; i < SYMBOL_HASHSIZE; i++) for (sym = symbol_hash[i]; sym; sym = sym->next)
141 #define SYMBOL_OPTIONAL 0x0100 /* choice is optional - values can be 'n' */
144 #define SYMBOL_WRITTEN 0x0800 /* track info to avoid double-write to .config */
169 * default y
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
Dgpio-xilinx.txt9 - compatible : Should be "xlnx,xps-gpio-1.00.a"
10 - reg : Address and length of the register set for the device
11 - #gpio-cells : Should be two. The first cell is the pin number and the
13 - gpio-controller : Marks the device node as a GPIO controller.
16 - interrupts : Interrupt mapping for GPIO IRQ.
17 - xlnx,all-inputs : if n-th bit is setup, GPIO-n is input
18 - xlnx,dout-default : if n-th bit is 1, GPIO-n default value is 1
19 - xlnx,gpio-width : gpio width
20 - xlnx,tri-default : if n-th bit is 1, GPIO-n is in tristate mode
21 - xlnx,is-dual : if 1, controller also uses the second channel
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/
Dxlnx,gpio-xilinx.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/xlnx,gpio-xilinx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Neeli Srinivas <srinivas.neeli@amd.com>
14 to an AXI4-Lite interface. The AXI GPIO can be configured as either
15 a single or a dual-channel device. The width of each channel is
22 - xlnx,xps-gpio-1.00.a
27 "#gpio-cells":
28 const: 2
[all …]
/kernel/linux/linux-6.6/Documentation/input/devices/
Dcma3000_d0x.rst1 CMA3000-D0x Accelerometer
5 * VTI CMA3000-D0x
8 CMA3000-D0X Product Family Specification 8281000A.02.pdf
15 -----------
17 CMA3000 Tri-axis accelerometer supports Motion detect, Measurement and
44 Platform data need to be configured for initial default values.
47 -------------
62 Default Operating mode
74 ---------------
78 Input device name: "cma3000-accelerometer"
[all …]
/kernel/linux/linux-5.10/Documentation/input/devices/
Dcma3000_d0x.rst1 CMA3000-D0x Accelerometer
5 * VTI CMA3000-D0x
8 CMA3000-D0X Product Family Specification 8281000A.02.pdf
15 -----------
17 CMA3000 Tri-axis accelerometer supports Motion detect, Measurement and
44 Platform data need to be configured for initial default values.
47 -------------
62 Default Operating mode
74 ---------------
78 Input device name: "cma3000-accelerometer"
[all …]
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
Ddib0070.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Linux-DVB Driver for DiBcom's DiB0070 base-band RF Tuner.
5 * Copyright (C) 2005-7 DiBcom (http://www.dibcom.fr/)
31 u8 osc_buffer_state; /* 0= normal, 1= tri-state */
33 u8 clock_pad_drive; /* (Drive + 1) * 2mA */
35 u8 invert_iq; /* invert Q - in case I or Q is inverted on the board */
37 u8 force_crystal_mode; /* if == 0 -> decision is made in the driver default: <24 -> 2, >=24 -> 1 */
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Ddib0070.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Linux-DVB Driver for DiBcom's DiB0070 base-band RF Tuner.
5 * Copyright (C) 2005-7 DiBcom (http://www.dibcom.fr/)
31 u8 osc_buffer_state; /* 0= normal, 1= tri-state */
33 u8 clock_pad_drive; /* (Drive + 1) * 2mA */
35 u8 invert_iq; /* invert Q - in case I or Q is inverted on the board */
37 u8 force_crystal_mode; /* if == 0 -> decision is made in the driver default: <24 -> 2, >=24 -> 1 */
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-xilinx.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2008 - 2013 Xilinx, Inc.
34 * struct xgpio_instance - Stores information about GPIO device
45 unsigned int gpio_width[2];
46 u32 gpio_state[2];
47 u32 gpio_dir[2];
48 spinlock_t gpio_lock[2];
53 if (gpio >= chip->gpio_width[0]) in xgpio_index()
70 return gpio - chip->gpio_width[0]; in xgpio_offset()
76 * xgpio_get - Read the specified signal of the GPIO device.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dnvidia,tegra20-pinmux.txt4 - compatible: "nvidia,tegra20-pinmux"
5 - reg: Should contain the register physical address and length for each of
6 the tri-state, mux, pull-up/down, and pad control register sets.
8 Please refer to pinctrl-bindings.txt in this directory for details of the
16 parameters, such as pull-up, tristate, drive strength, etc.
30 Required subnode-properties:
31 - nvidia,pins : An array of strings. Each string contains the name of a pin or
34 Optional subnode-properties:
35 - nvidia,function: A string containing the name of the function to mux to the
38 - nvidia,pull: Integer, representing the pull-down/up to apply to the pin.
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nvidia/
Dtegra20-colibri.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 * Compatible for Revisions Colibri T20 256MB V1.1B, V1.2A;
7 * Colibri T20 256MB IT V1.2A; Colibri T20 512MB V1.1C, V1.2A;
8 * Colibri T20 512MB IT V1.2A
22 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
23 nvidia,hpd-gpio =
25 pll-supply = <&reg_1v8_avdd_hdmi_pll>;
26 vdd-supply = <&reg_3v3_avdd_hdmi>;
31 lan-reset-n-hog {
32 gpio-hog;
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dtegra20-colibri.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 * Compatible for Revisions Colibri T20 256MB V1.1B, V1.2A;
7 * Colibri T20 256MB IT V1.2A; Colibri T20 512MB V1.1C, V1.2A;
8 * Colibri T20 512MB IT V1.2A
22 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
23 nvidia,hpd-gpio =
25 pll-supply = <&reg_1v8_avdd_hdmi_pll>;
26 vdd-supply = <&reg_3v3_avdd_hdmi>;
31 pinctrl-names = "default";
32 pinctrl-0 = <&state_default>;
[all …]
/kernel/linux/linux-6.6/arch/mips/boot/dts/xilfpga/
Dnexys4ddr.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
14 stdout-path = "serial0:115200n8";
22 cpuintc: interrupt-controller {
23 #address-cells = <0>;
24 #interrupt-cells = <1>;
25 interrupt-controller;
26 compatible = "mti,cpu-interrupt-controller";
29 axi_intc: interrupt-controller@10200000 {
30 #interrupt-cells = <1>;
[all …]
/kernel/linux/linux-5.10/arch/mips/boot/dts/xilfpga/
Dnexys4ddr.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
14 stdout-path = "serial0:115200n8";
22 cpuintc: interrupt-controller {
23 #address-cells = <0>;
24 #interrupt-cells = <1>;
25 interrupt-controller;
26 compatible = "mti,cpu-interrupt-controller";
29 axi_intc: interrupt-controller@10200000 {
30 #interrupt-cells = <1>;
[all …]
/kernel/linux/linux-6.6/Documentation/riscv/
Dvector.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Vector Extension Support for RISC-V Linux
8 order to support the use of the RISC-V Vector Extension.
11 ---------------------
19 are not portable to non-Linux, nor non-RISC-V environments, so it is discourage
27 argument consists of two 2-bit enablement statuses and a bit for inheritance
30 Enablement status is a tri-state value each occupying 2-bit of space in
33 * :c:macro:`PR_RISCV_V_VSTATE_CTRL_DEFAULT`: Use the system-wide default
34 enablement status on execve(). The system-wide default setting can be
43 arg: The control argument is a 5-bit value consisting of 3 parts, and
[all …]
/kernel/linux/linux-5.10/drivers/input/misc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
40 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500
41 Mix-Sig PMIC.
44 will be called ab8500-ponkey.
59 default y
64 module will be called ad714x-i2c.
69 default y
74 module will be called ad714x-spi.
84 module will be called arizona-haptics.
112 default n
[all …]
/kernel/linux/linux-5.10/arch/microblaze/boot/dts/
Dsystem.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * (C) Copyright 2007-2008 Xilinx, Inc.
6 * (C) Copyright 2007-2009 Michal Simek
13 * XPS project directory: Xilinx-ML505-ll_temac-sgdma-MMU-FDT-edk101
16 /dts-v1/;
18 #address-cells = <1>;
19 #size-cells = <1>;
32 stdout-path = "/plb@0/serial@84000000";
35 #address-cells = <1>;
37 #size-cells = <0>;
[all …]
/kernel/linux/linux-6.6/arch/microblaze/boot/dts/
Dsystem.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * (C) Copyright 2007-2008 Xilinx, Inc.
6 * (C) Copyright 2007-2009 Michal Simek
13 * XPS project directory: Xilinx-ML505-ll_temac-sgdma-MMU-FDT-edk101
16 /dts-v1/;
18 #address-cells = <1>;
19 #size-cells = <1>;
32 stdout-path = "/plb@0/serial@84000000";
35 #address-cells = <1>;
37 #size-cells = <0>;
[all …]
/kernel/linux/linux-6.6/drivers/input/misc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
40 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500
41 Mix-Sig PMIC.
44 will be called ab8500-ponkey.
59 default y
64 module will be called ad714x-i2c.
69 default y
74 module will be called ad714x-spi.
85 will be called ariel-pwrbutton.
95 module will be called arizona-haptics.
[all …]
/kernel/linux/linux-6.6/drivers/media/i2c/
Dov772x.c1 // SPDX-License-Identifier: GPL-2.0
12 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net>
26 #include <linux/v4l2-mediabus.h>
31 #include <media/v4l2-ctrls.h>
32 #include <media/v4l2-device.h>
33 #include <media/v4l2-event.h>
34 #include <media/v4l2-fwnode.h>
35 #include <media/v4l2-image-sizes.h>
36 #include <media/v4l2-subdev.h>
41 #define GAIN 0x00 /* AGC - Gain control gain setting */
[all …]

123456