/openbmc/linux/scripts/kconfig/ |
H A D | symbol.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 46 enum symbol_type type = sym->type; in sym_get_type() 49 if (sym_is_choice_value(sym) && sym->visible == yes) in sym_get_type() 90 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 91 if (prop->visible.tri != no) in sym_get_default_prop() 102 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop() 103 if (prop->visible.tri != no) in sym_get_range_prop() 112 switch (sym->type) { in sym_get_range_val() 119 default: in sym_get_range_val() [all …]
|
H A D | conf.c | 1 // 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 …]
|
H A D | confdata.c | 1 // 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() 230 switch (sym->type) { in conf_set_sym_val() 233 sym->def[def].tri = mod; in conf_set_sym_val() 234 sym->flags |= def_flags; in conf_set_sym_val() [all …]
|
H A D | expr.h | 1 /* 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 …]
|
/openbmc/u-boot/scripts/kconfig/ |
H A D | symbol.c | 2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 42 prop->expr = expr_alloc_symbol(sym_lookup(def, SYMBOL_CONST)); in sym_add_default() 58 sym->type = S_STRING; in sym_init() 59 sym->flags |= SYMBOL_AUTO; in sym_init() 65 enum symbol_type type = sym->type; in sym_get_type() 68 if (sym_is_choice_value(sym) && sym->visible == yes) in sym_get_type() 120 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 121 if (prop->visible.tri != no) in sym_get_default_prop() 132 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop() 133 if (prop->visible.tri != no) in sym_get_range_prop() [all …]
|
H A D | confdata.c | 2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 94 strncat(res_value, in, src - in); in conf_expand_value() 130 switch (sym->type) { in conf_set_sym_val() 133 sym->def[def].tri = mod; in conf_set_sym_val() 134 sym->flags |= def_flags; in conf_set_sym_val() 140 sym->def[def].tri = yes; in conf_set_sym_val() 141 sym->flags |= def_flags; in conf_set_sym_val() 145 sym->def[def].tri = no; in conf_set_sym_val() 146 sym->flags |= def_flags; in conf_set_sym_val() 151 p, sym->name); in conf_set_sym_val() [all …]
|
H A D | expr.h | 2 * 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 … i < SYMBOL_HASHSIZE; i++) for (sym = symbol_hash[i]; sym; sym = sym->next) if (sym->type != S_OTH… 141 #define SYMBOL_OPTIONAL 0x0100 /* choice is optional - values can be 'n' */ 168 * default y 180 P_DEFAULT, /* default y */ 190 struct property *next; /* next property - null if last */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | xlnx,gpio-xilinx.yaml | 1 # 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": 33 gpio-controller: true [all …]
|
/openbmc/linux/drivers/iio/accel/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer" 15 Say Y here to build support for Analog Devices adis16201 dual-axis 22 tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer" 27 Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer 37 tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer I2C Driver" 43 ADXL313 3-axis digital accelerometer. 50 tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer SPI Driver" 56 ADXL313 3-axis digital accelerometer. 66 tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer I2C Driver" [all …]
|
/openbmc/linux/drivers/iio/gyro/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 45 tristate "Analog Devices ADXRS290 Dual-Axis MEMS Gyroscope SPI driver" 74 Say yes here to build support for BOSCH BMG160 Tri-axis Gyro Sensor 97 Say yes here to build support for NXP FXAS21002C Tri-axis Gyro 136 inv-mpu3050-i2c. 139 tristate "STMicroelectronics gyroscopes 3-Axis Driver" 151 tristate "STMicroelectronics gyroscopes 3-Axis I2C Interface" 153 default I2C && IIO_ST_GYRO_3AXIS 163 tristate "STMicroelectronics gyroscopes 3-Axis SPI Interface" 165 default SPI_MASTER && IIO_ST_GYRO_3AXIS [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/ |
H A D | hw_gpio.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 35 gpio->regs->field_name ## _shift, gpio->regs->field_name ## _mask 38 gpio->base.ctx 40 (gpio->regs->reg) 45 REG_GET(MASK_reg, MASK, &gpio->store.mask); in store_registers() 46 REG_GET(A_reg, A, &gpio->store.a); in store_registers() 47 REG_GET(EN_reg, EN, &gpio->store.en); in store_registers() 54 REG_UPDATE(MASK_reg, MASK, gpio->store.mask); in restore_registers() 55 REG_UPDATE(A_reg, A, gpio->store.a); in restore_registers() 56 REG_UPDATE(EN_reg, EN, gpio->store.en); in restore_registers() [all …]
|
/openbmc/u-boot/arch/arm/mach-tegra/tegra20/ |
H A D | funcmux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /* Tegra20 high-level function multiplexing */ 15 #define PINMUX(grp, mux, pupd, tri) \ argument 16 {PMUX_PINGRP_##grp, PMUX_FUNC_##mux, PMUX_PULL_##pupd, PMUX_TRI_##tri} 69 * Tegra appears to boot with function UARTA pre- in funcmux_select() 75 * function on SDB to avoid the conflict. Also, tri- in funcmux_select() 285 default: in funcmux_select() 287 return -1; in funcmux_select() 293 return -1; in funcmux_select()
|
/openbmc/linux/drivers/net/ethernet/xilinx/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 default y 35 tristate "Xilinx LL TEMAC (LocalLink Tri-mode Ethernet MAC) driver"
|
/openbmc/u-boot/doc/device-tree-bindings/pinctrl/ |
H A D | pinctrl-bindings.txt | 4 such as pull-up/down, tri-state, drive-strength etc are designated as pin 15 need to reconfigure pins at run-time, for example to tri-state pins when the 47 pinctrl-0: List of phandles, each pointing at a pin configuration 65 pinctrl-1: List of phandles, each pointing at a pin configuration 68 pinctrl-n: List of phandles, each pointing at a pin configuration 70 pinctrl-names: The list of names to assign states. List entry 0 defines the 78 pinctrl-names = "active", "idle"; 79 pinctrl-0 = <&state_0_node_a>; 80 pinctrl-1 = <&state_1_node_a &state_1_node_b>; 85 pinctrl-0 = <&state_0_node_a>; [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | dib0070.h | 1 /* 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 */ 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 */
|
/openbmc/linux/Documentation/input/devices/ |
H A D | cma3000_d0x.rst | 1 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 …]
|
/openbmc/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra20-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 22 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 23 nvidia,hpd-gpio = 25 pll-supply = <®_1v8_avdd_hdmi_pll>; 26 vdd-supply = <®_3v3_avdd_hdmi>; 31 lan-reset-n-hog { 32 gpio-hog; 34 output-high; 35 line-name = "LAN_RESET#"; 38 /* Tri-stating GMI_WR_N on SODIMM pin 99 nPWE */ [all …]
|
/openbmc/linux/arch/mips/boot/dts/xilfpga/ |
H A D | nexys4ddr.dts | 1 // 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 …]
|
/openbmc/u-boot/board/zyxel/nsa310s/ |
H A D | nsa310s.c | 1 // SPDX-License-Identifier: GPL-2.0+ 21 * default gpio configuration in board_early_init_f() 29 /* Multi-Purpose Pins Functionality configuration */ in board_early_init_f() 76 gd->bd->bi_boot_params = mvebu_sdram_bar(0) + 0x100; in board_init() 117 /* clear 4, set 5 - LED2 low, tri-state */ in reset_phy() 125 /* set PHY back to auto-negotiation mode */ in reset_phy()
|
/openbmc/qemu/pc-bios/ |
H A D | petalogix-s3adsp1800.dts | 5 * SPDX-License-Identifier: GPL-2.0+ 8 /dts-v1/; 11 #address-cells = <0x01>; 12 #size-cells = <0x01>; 23 stdout-path = "/plb/serial@84000000"; 27 #address-cells = <0x01>; 28 #size-cells = <0x00>; 32 clock-frequency = <0x3b9aca0>; 33 compatible = "xlnx,microblaze-7.10.d"; 34 d-cache-baseaddr = <0x90000000>; [all …]
|
/openbmc/linux/Documentation/riscv/ |
H A D | vector.rst | 1 .. 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 …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | Kconfig | 1 # 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 …]
|
/openbmc/linux/arch/microblaze/boot/dts/ |
H A D | system.dts | 1 // 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 …]
|
/openbmc/linux/drivers/media/i2c/ |
H A D | ov772x.c | 1 // 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 …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-xilinx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2008 - 2013 Xilinx, Inc. 45 * struct xgpio_instance - Stores information about GPIO device 79 return bitmap_bitremap(bit, chip->hw_map, chip->sw_map, 64); in xgpio_from_bit() 84 return bitmap_bitremap(gpio, chip->sw_map, chip->hw_map, 64); in xgpio_to_bit() 111 default: in xgpio_regoffset() 112 return -EINVAL; in xgpio_regoffset() 118 void __iomem *addr = chip->regs + reg + xgpio_regoffset(chip, bit / 32); in xgpio_read_ch() 125 void __iomem *addr = chip->regs + reg + xgpio_regoffset(chip, bit / 32); in xgpio_write_ch() 132 int bit, lastbit = xgpio_to_bit(chip, chip->gc.ngpio - 1); in xgpio_read_ch_all() [all …]
|