Home
last modified time | relevance | path

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

123

/linux/scripts/kconfig/
H A 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()
74 * sym_get_choice_menu - get the parent choice menu if present
89 list_for_each_entry(m, &sym->menus, link) in sym_get_choice_menu()
90 if (m->prompt) { in sym_get_choice_menu()
99 menu = menu->parent; in sym_get_choice_menu()
100 } while (menu && !menu->sym); in sym_get_choice_menu()
102 if (menu && menu->sym && sym_is_choice(menu->sym)) in sym_get_choice_menu()
113 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop()
[all …]
H A Dconfdata.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
103 tmp[sizeof(tmp) - 1] = 0; in make_parent_dir()
121 return -1; in make_parent_dir()
141 return -1; in conf_touch_dep()
146 if (fd == -1) in conf_touch_dep()
147 return -1; in conf_touch_dep()
154 __attribute__ ((format (printf, 1, 2)));
157 __attribute__ ((format (printf, 1, 2)));
241 switch (sym->type) { in conf_set_sym_val()
[all …]
H A Dconf.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
72 p = str + l - 1; in strip()
74 *p-- = 0; in strip()
118 * randomize_choice_values - randomize choice block
134 struct symbol *sym = menu->sym; in randomize_choice_values()
144 struct symbol *sym = menu->sym; in randomize_choice_values()
147 x--; in randomize_choice_values()
150 sym->def[S_DEF_USER].tri = yes; in randomize_choice_values()
151 sym->flags |= SYMBOL_DEF_USER; in randomize_choice_values()
[all …]
H A Dexpr.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
38 * struct expr - expression
57 #define EXPR_NOT(dep) (2-(dep))
61 tristate tri; member
66 tristate tri; member
149 #define SYMBOL_WRITTEN 0x0800 /* track info to avoid double-write to .config */
166 * default y
181 P_DEFAULT, /* default y */
188 struct property *next; /* next property - null if last */
[all …]
H A Dmenu.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
22 * menu_next - return the next menu entry with depth-first traversal
24 * @root: root of the sub-tree to traverse. If NULL is given, the traveral
30 if (menu->list) in menu_next()
31 return menu->list; in menu_next()
33 while (menu != root && !menu->next) in menu_next()
34 menu = menu->parent; in menu_next()
39 return menu->next; in menu_next()
46 fprintf(stderr, "%s:%d:warning: ", menu->filename, menu->lineno); in menu_warn()
[all …]
/linux/Documentation/devicetree/bindings/gpio/
H A 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 …]
/linux/Documentation/input/devices/
H A 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 …]
/linux/drivers/media/dvb-frontends/
H A 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 */
/linux/arch/arm/boot/dts/nvidia/
H A 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 …]
/linux/drivers/tty/serial/8250/
H A D8250_exar.c1 // SPDX-License-Identifier: GPL-2.0
3 * Probe module for 8250/16550-type Exar chips PCI serial ports.
111 #define UART_EXAR_TXTRG 0x0a /* Tx FIFO trigger level write-only */
112 #define UART_EXAR_RXTRG 0x0b /* Rx FIFO trigger level write-only */
130 #define UART_EXAR_DLD_485_POLARITY 0x80 /* RS-485 Enable Signal Polarity */
149 * ---- ---- --------
150 * 0 2 Mode bit 0
151 * 1 2 Mode bit 1
152 * 2 2 Terminate bus
153 * 3 - <reserved>
[all …]
/linux/arch/mips/boot/dts/xilfpga/
H A 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 …]
/linux/Documentation/arch/riscv/
H A 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 …]
/linux/arch/microblaze/boot/dts/
H A 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 …]
/linux/drivers/media/i2c/
H A 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 …]
H A Dtw9910.c1 // SPDX-License-Identifier: GPL-2.0
13 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net>
26 #include <linux/v4l2-mediabus.h>
30 #include <media/v4l2-subdev.h>
63 #define ACNTL2 0x1A /* Analog Control 2 */
64 #define OUTCTR2 0x1B /* Output Control 2 */
136 #define IFSEL_S 0x10 /* 01 : S-video decoding */
145 #define MODE 0x80 /* 0 : CCIR601 compatible YCrCb 4:2:2 format */
146 /* 1 : ITU-R-656 compatible data sequence format */
147 #define LEN 0x40 /* 0 : 8-bit YCrCb 4:2:2 output format */
[all …]
/linux/drivers/input/misc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
47 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500
48 Mix-Sig PMIC.
51 will be called ab8500-ponkey.
66 default y
71 module will be called ad714x-i2c.
76 default y
81 module will be called ad714x-spi.
92 will be called ariel-pwrbutton.
102 module will be called arizona-haptics.
[all …]
/linux/drivers/gpio/
H A Dgpio-xilinx.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2008 - 2013 Xilinx, Inc.
45 * struct xgpio_instance - Stores information about GPIO device
78 return bitmap_bitremap(bit, chip->hw_map, chip->sw_map, 64); in xgpio_from_bit()
83 return bitmap_bitremap(gpio, chip->sw_map, chip->hw_map, 64); in xgpio_to_bit()
110 default: in xgpio_regoffset()
111 return -EINVAL; in xgpio_regoffset()
117 void __iomem *addr = chip->regs + reg + xgpio_regoffset(chip, bit / 32); in xgpio_read_ch()
124 void __iomem *addr = chip->regs + reg + xgpio_regoffset(chip, bit / 32); in xgpio_write_ch()
131 int bit, lastbit = xgpio_to_bit(chip, chip->gc.ngpio - 1); in xgpio_read_ch_all()
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dxlnx,zynqmp-pinctrl.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/xlnx,zynqmp-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
13 Please refer to pinctrl-bindings.txt in this directory for details of the
21 parameters, such as pull-up, slew rate, etc.
31 const: xlnx,zynqmp-pinctrl
34 '^(.*-)?(default|gpio-grp)$':
42 $ref: pinmux-node.yaml#
[all …]
/linux/drivers/usb/serial/
H A Dkeyspan_usa67msg.h1 /* SPDX-License-Identifier: BSD-3-Clause */
5 Copyright (c) 1998-2007 InnoSys Incorporated. All Rights Reserved
6 This file is available under a BSD-style copyright
19 Copyright (c) 1998-2007 InnoSys Incorporated. All Rights Reserved
21 This file is available under a BSD-style copyright
23 2. Redistributions in binary form must reproduce the above copyright
48 USB OUT (host -> USAxx, transmit) messages contain a
56 USB IN (USAxx -> host, receive) messages begin with a status
89 (2) For the host to determine the exact point at which the
106 2000jun01 add extended BSD-style copyright text
[all …]
H A Dkeyspan_usa26msg.h1 /* SPDX-License-Identifier: BSD-3-Clause */
5 Copyright (C) 1998-2000 InnoSys Incorporated. All Rights Reserved
6 This file is available under a BSD-style copyright
19 Copyright (C) 1998-2000 InnoSys Incorporated. All Rights Reserved
21 This file is available under a BSD-style copyright
23 2. The name of InnoSys Incorporated may not be used to endorse or promote
44 USB OUT (host -> USAxx, transmit) messages contain a
52 USB IN (USAxx -> host, receive) messages begin with a status
85 (2) For the host to determine the exact point at which the
102 2000jun01 add extended BSD-style copyright text
[all …]
/linux/drivers/iio/adc/
H A Dti-adc0832.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ADC0831/ADC0832/ADC0834/ADC0838 8-bit ADC driver
7 * Datasheet: https://www.ti.com/lit/ds/symlink/adc0832-n.pdf
39 u8 tx_buf[2] __aligned(IIO_DMA_MINALIGN);
40 u8 rx_buf[2];
83 ADC0832_VOLTAGE_CHANNEL_DIFF(0, 1, 2),
91 ADC0832_VOLTAGE_CHANNEL(2),
95 ADC0832_VOLTAGE_CHANNEL_DIFF(2, 3, 6),
96 ADC0832_VOLTAGE_CHANNEL_DIFF(3, 2, 7),
103 ADC0832_VOLTAGE_CHANNEL(2),
[all …]
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3326-anbernic-rg351m.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/pinctrl/rockchip.h>
21 stdout-path = "serial2:115200n8";
25 compatible = "pwm-backlight";
26 power-supply = <&vcc_bl>;
31 * LED is a tri-state. Driven high it is red, driven low it is
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8998-oneplus-common.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * OnePlus 5(T) (cheeseburger / dumpling) common device tree source based on msm8998-mtp.dtsi
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
20 qcom,msm-id = <292 0x20001>; /* 8998 v2.1 */
23 #address-cells = <2>;
24 #size-cells = <2>;
29 compatible = "simple-framebuffer";
47 power-domains = <&mmcc MDSS_GDSC>;
[all …]
H A Dsc7180-idp.dts1 // SPDX-License-Identifier: BSD-3-Clause
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
14 #include "sc7180-firmware-tfa.dtsi"
20 compatible = "qcom,sc7180-idp", "qcom,sc7180";
30 stdout-path = "serial0:115200n8";
42 /delete-node/ &hyp_mem;
43 /delete-node/ &xbl_mem;
[all …]
/linux/sound/soc/bcm/
H A Dcygnus-ssp.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (C) 2014-2015 Broadcom Corporation
14 #include <sound/soc-dai.h>
16 #include "cygnus-ssp.h"
37 #define AUD_MISC_SEROUT_LRCK_OE 2
147 #define BF_SRC_CFGX_SAMPLE_CH_MODE 2
156 #define BF_DST_CFGX_DFIFO_SZ_DOUBLE 2
192 * PLL has 3 output channels (1x, 2x, and 4x). Below are
198 {16384000, 2},
202 {22579200, 2},
[all …]

123