/openbmc/qemu/ui/ |
H A D | input-keymap.c | 3 #include "ui/input.h" 5 #include "standard-headers/linux/input.h" 7 #include "ui/input-keymap-atset1-to-qcode.c.inc" 8 #include "ui/input-keymap-linux-to-qcode.c.inc" 9 #include "ui/input-keymap-qcode-to-atset1.c.inc" 10 #include "ui/input-keymap-qcode-to-atset2.c.inc" 11 #include "ui/input-keymap-qcode-to-atset3.c.inc" 12 #include "ui/input-keymap-qcode-to-linux.c.inc" 13 #include "ui/input-keymap-qcode-to-qnum.c.inc" 14 #include "ui/input-keymap-qcode-to-sun.c.inc" [all …]
|
/openbmc/linux/Documentation/arch/sparc/oradax/ |
H A D | dax-hv-api.txt | 3 Publication date 2017-09-25 08:21 5 Extracted via "pdftotext -f 547 -l 572 -layout sun4v_20170925.pdf" 16 live-migration and other system management activities. 20 …high speed processoring of database-centric operations. The coprocessors may support one or more of 28 …e Completion Area and, unless execution order is specifically restricted through the use of serial- 45 …device node in the guest MD (Section 8.24.17, “Database Analytics Accelerators (DAX) virtual-device 51 36.1.1.1. "ORCL,sun4v-dax" Device Compatibility 54 • No-op/Sync 58 • Scan Value 60 • Inverted Scan Value [all …]
|
/openbmc/openbmc-tools/dbus-vis/ |
H A D | index.html | 2 <!-- Caution: Electron does not allow inline scripts or styles! --> 5 <meta charset="UTF-8"> 6 <!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP --> 7 <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'"> 8 <meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'"> 18 <input type="radio" id="radio_open_file" name="mode" value="open_file"></input> 20 <input type="radio" id="radio_capture" name="mode" value="capture"></input> 32 <input type="text" id="text_hostname" value=""></input> 36 <option value="live">Live</option> 37 <option value="staged">Staged (IPMI detailed)</option> [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | cdns,sdhci.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Masahiro Yamada <yamada.masahiro@socionext.com> 15 - enum: 16 - amd,pensando-elba-sd4hc 17 - microchip,mpfs-sd4hc 18 - socionext,uniphier-sd4hc 19 - const: cdns,sd4hc 34 # PHY DLL input delays: [all …]
|
/openbmc/linux/drivers/platform/x86/ |
H A D | classmate-laptop.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <linux/input.h> 37 * Generic input device code. 50 return -ENOMEM; in cmpc_add_acpi_notify_device() 51 inputdev->name = name; in cmpc_add_acpi_notify_device() 52 inputdev->dev.parent = &acpi->dev; in cmpc_add_acpi_notify_device() 59 dev_set_drvdata(&acpi->dev, inputdev); in cmpc_add_acpi_notify_device() 65 struct input_dev *inputdev = dev_get_drvdata(&acpi->dev); in cmpc_remove_acpi_notify_device() 76 struct acpi_object_list input; in cmpc_start_accel_v4() local 80 param[0].integer.value = 0x3; in cmpc_start_accel_v4() [all …]
|
/openbmc/linux/lib/kunit/ |
H A D | attributes.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * PRINT_ALWAYS - attribute is printed for every test case and suite if set 14 * PRINT_SUITE - attribute is printed for every suite if set but not for test cases 15 * PRINT_NEVER - attribute is never printed 24 * struct kunit_attr - represents a test attribute and holds flexible 28 * @get_attr: function to return attribute value given a test 30 * attribute value 31 * @filter: function to indicate whether a given attribute value passes a 33 * @attr_default: default attribute value used during filtering 34 * @print: value of enum print_ops to indicate when to print attribute [all …]
|
/openbmc/phosphor-pid-control/pid/ |
H A D | stepwisecontroller.cpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 39 // Get input value in process() 40 double input = inputProc(); in process() local 49 output = ec::stepwise(info, input); in process() 50 lastInput = input; in process() 52 else if ((input - lastInput) > info.positiveHysteresis) in process() 54 output = ec::stepwise(info, input); in process() 55 lastInput = input; in process() 57 else if ((lastInput - input) > info.negativeHysteresis) in process() 59 output = ec::stepwise(info, input); in process() [all …]
|
H A D | pidcontroller.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 33 double PIDController::calPIDOutput(double setpt, double input, in calPIDOutput() argument 39 if (info->checkHysterWithSetpt) in calPIDOutput() 42 if (input > (setpt + info->positiveHysteresis)) in calPIDOutput() 45 output = ec::pid(info, input, setpt, &name); in calPIDOutput() 49 // value in calPIDOutput() 50 lastInput = input; in calPIDOutput() 53 else if (input < (setpt - info->negativeHysteresis)) in calPIDOutput() 56 info->integral = 0; in calPIDOutput() 62 lastInput = input; in calPIDOutput() [all …]
|
/openbmc/linux/Documentation/hid/ |
H A D | hid-sensor.rst | 20 INPUT(1)[INPUT] 26 Logical Minimum(-32767) 35 The report is indicating "sensor page (0x20)" contains an accelerometer-3D (0x73). 36 This accelerometer-3D has some fields. Here for example field 2 is motion intensity 37 (0x045f) with a logical minimum value of -32767 and logical maximum of 32767. The 38 order of fields and length of each field is important as the input event raw 46 data fields. It is difficult to have a common input event to user space applications, 51 - Core HID driver 52 - Individual sensor processing part (sensor drivers) 55 ----------- [all …]
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2007-2010 Gabor Juhos <juhosg@openwrt.org> 8 * This file was based on: /drivers/input/misc/cobalt_btns.c 11 * also was based on: /drivers/input/keyboard/gpio_keys.c 18 #include <linux/input.h> 26 #define DRV_NAME "gpio-keys-polled" 36 struct input_dev *input; member 44 static void gpio_keys_button_event(struct input_dev *input, in gpio_keys_button_event() argument 48 struct gpio_keys_polled_dev *bdev = input_get_drvdata(input); in gpio_keys_button_event() 49 unsigned int type = button->type ?: EV_KEY; in gpio_keys_button_event() [all …]
|
H A D | adc-keys.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Input driver for resistor ladder connected on ADC 11 #include <linux/input.h> 32 static void adc_keys_poll(struct input_dev *input) in adc_keys_poll() argument 34 struct adc_keys_state *st = input_get_drvdata(input); in adc_keys_poll() 35 int i, value, ret; in adc_keys_poll() local 39 ret = iio_read_channel_processed(st->channel, &value); in adc_keys_poll() 42 value = st->keyup_voltage; in adc_keys_poll() 44 for (i = 0; i < st->num_keys; i++) { in adc_keys_poll() 45 diff = abs(st->map[i].voltage - value); in adc_keys_poll() [all …]
|
H A D | nomadik-ske-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 5 * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson 6 * Author: Sundar Iyer <sundar.iyer@stericsson.com> for ST-Ericsson 17 #include <linux/input.h> 22 #include <linux/platform_data/keypad-nomadik-ske.h> 54 * struct ske_keypad - data structure used by keypad driver 57 * @input: pointer to input device object 67 struct input_dev *input; member 80 spin_lock(&keypad->ske_keypad_lock); in ske_keypad_set_bits() [all …]
|
/openbmc/qemu/include/qapi/ |
H A D | visitor.h | 4 * Copyright (C) 2012-2016 Red Hat, Inc. 11 * See the COPYING.LIB file in the top-level directory. 18 #include "qapi/qapi-builtin-types.h" 19 #include "qapi/qapi-types-compat.h" 29 * There are four kinds of visitors: input visitors (QObject, string, 37 * While the dealloc and QObject input/output visitors are general, 40 * details on what it supports. Also, see visitor-impl.h for the 42 * docs/devel/qapi-code-gen.rst for more about the QAPI code 49 * A visitor should be used for exactly one top-level visit_type_FOO() 68 * qapi-visit-MODULE.h. [all …]
|
/openbmc/linux/Documentation/input/ |
H A D | event-codes.rst | 1 .. _input-event-codes: 4 Input event codes 8 The input protocol uses a map of types and codes to express input device values 12 A single hardware event generates multiple input events. Each input event 13 contains the new value of a single data item. A special event type, EV_SYN, is 14 used to separate input events into packets of input data changes occurring at 16 input event encompassing a type, code, and value. 18 The input protocol is a stateful protocol. Events are emitted only when values 20 input subsystem; drivers do not need to maintain the state and may attempt to 22 event code values using the EVIOCG* ioctls defined in linux/input.h. The event [all …]
|
H A D | input-programming.rst | 2 Creating an input device driver 8 Here comes a very simple example of an input device driver. The device has 12 #include <linux/input.h> 34 return -EBUSY; 40 error = -ENOMEM; 44 button_dev->evbit[0] = BIT_MASK(EV_KEY); 45 button_dev->keybit[BIT_WORD(BTN_0)] = BIT_MASK(BTN_0); 74 First it has to include the <linux/input.h> file, which interfaces to the 75 input subsystem. This provides all the definitions needed. 81 Then it allocates a new input device structure with input_allocate_device() [all …]
|
/openbmc/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun4i-a10-inet9f-rev03.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun4i-a10.dtsi" 45 #include "sunxi-common-regulators.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/input/input.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 51 model = "iNet-9F Rev 03"; 52 compatible = "inet-tek,inet9f-rev03", "allwinner,sun4i-a10"; 59 stdout-path = "serial0:115200n8"; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | sun4i-a10-inet9f-rev03.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun4i-a10.dtsi" 45 #include "sunxi-common-regulators.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/input/input.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 51 model = "iNet-9F Rev 03"; 52 compatible = "inet-tek,inet9f-rev03", "allwinner,sun4i-a10"; 59 stdout-path = "serial0:115200n8"; [all …]
|
/openbmc/linux/include/linux/ |
H A D | input.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 1999-2002 Vojtech Pavlik 10 #include <uapi/linux/input.h> 16 * In-kernel definitions. 27 * struct input_value - input value representation 28 * @type: type of value (EV_KEY, EV_ABS, etc) 29 * @code: the value code 30 * @value: the value 35 __s32 value; member 46 * struct input_dev - represents an input device [all …]
|
/openbmc/u-boot/examples/standalone/ |
H A D | smc91111_eeprom.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * - Wolfgang Denk, DENX Software Engineering, wd@denx.de 8 * Das U-Boot 9 * - Ladislav Michl ladis@linux-mips.org 10 * A rejected patch on the U-Boot mailing list 28 int write_eeprom_reg (struct eth_device *dev, int value, int reg); 36 int c, i, j, done, line, reg, value, start, what; in smc91111_eeprom() local 37 char input[50]; in smc91111_eeprom() local 46 printf ("Actual U-Boot ABI version %d\n", in smc91111_eeprom() 75 c -= ('a' - 'A'); in smc91111_eeprom() [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-steam.c | 1 // SPDX-License-Identifier: GPL-2.0+ 18 * This driver will disable the lizard mode when the input device is opened 19 * and re-enable it when the input device is closed, so as not to break user 23 * the hidraw interface directly to create input devices (XTest, uinput...). 26 * - it will not send any command to the controller. 27 * - this input device will be removed, to avoid double input of the same 29 * When the client is closed, this input device will be created again. 31 * For additional functions, such as changing the right-pad margin or switching 32 * the led, you can use the user-space tool at: 38 #include <linux/input.h> [all …]
|
/openbmc/openpower-vpd-parser/vpd-manager/include/ |
H A D | parser.hpp | 27 * @param[in] vpdFilePath - Path to the VPD file. 28 * @param[in] parsedJson - Parsed JSON. 53 * @brief Update keyword value. 55 * This API is used to update keyword value on the EEPROM path and its 57 * keyword value on DBus. 59 * To update IPZ type VPD, input parameter for writing should be in the form 60 * of (Record, Keyword, Value). Eg: ("VINI", "SN", {0x01, 0x02, 0x03}). 62 * To update Keyword type VPD, input parameter for writing should be in the 63 * form of (Keyword, Value). Eg: ("PE", {0x01, 0x02, 0x03}). 65 * @param[in] i_paramsToWriteData - Input details. [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | npcm7xx_adc-test.c | 100 return qtest_readl(qts, adc->base_addr + CON_OFFSET); in adc_read_con() 103 static void adc_write_con(QTestState *qts, const ADC *adc, uint32_t value) in adc_write_con() argument 105 qtest_writel(qts, adc->base_addr + CON_OFFSET, value); in adc_write_con() 110 return qtest_readl(qts, adc->base_addr + DATA_OFFSET); in adc_read_data() 115 return R0_INPUT + (R1_INPUT - R0_INPUT) * (int32_t)(measured - rv[0]) in adc_calibrate() 116 / (int32_t)(rv[1] - rv[0]); in adc_calibrate() 120 const char *name, uint32_t value) in adc_qom_set() argument 125 g_test_message("Setting properties %s of %s with value %u", in adc_qom_set() 126 name, path, value); in adc_qom_set() 127 response = qtest_qmp(qts, "{ 'execute': 'qom-set'," in adc_qom_set() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | gpio-keys.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 15 - gpio-keys 16 - gpio-keys-polled 23 poll-interval: true 26 …"^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switc… 27 $ref: input.yaml# [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | qcom,usb-snps-femto-v2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/qcom,usb-snps-femto-v2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Synopsys Femto High-Speed USB PHY V2 10 - Wesley Cheng <quic_wcheng@quicinc.com> 13 Qualcomm High-Speed USB PHY 18 - items: 19 - enum: 20 - qcom,sa8775p-usb-hs-phy [all …]
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | p17v.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) by James Courtier-Dutton <James@superbug.demon.co.uk> 8 /* Audigy2Value Tina (P17V) pointer-offset register set, */ 12 /* 00 - 07: Not used */ 16 /* 09 - 12: Not used */ 20 /* 14 - 17: Not used */ 24 /* 1b - 1f: Not used */ 25 /* 20 - 2f: Not used */ 26 /* 30 - 3b: Not used */ 34 #define I2C_A_ADC_TRANS_MASK 0x00000010 /*Bit mask for I2c address DAC value */ [all …]
|