Home
last modified time | relevance | path

Searched +full:tip +full:- +full:invert (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dcirrus,cs42l43.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
21 - $ref: dai-common.yaml#
26 - cirrus,cs42l43
31 vdd-p-supply:
35 vdd-a-supply:
39 vdd-d-supply:
43 vdd-io-supply:
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dcs42l43-jack.c1 // SPDX-License-Identifier: GPL-2.0
5 // Copyright (C) 2022-2023 Cirrus Logic, Inc. and
14 #include <linux/mfd/cs42l43-regs.h>
21 #include <sound/soc-component.h>
44 struct cs42l43 *cs42l43 = priv->core; in cs42l43_find_index()
47 ret = device_property_read_u32(cs42l43->dev, prop, &defval); in cs42l43_find_index()
48 if (ret != -EINVAL && ret < 0) { in cs42l43_find_index()
49 dev_err(priv->dev, "Property %s malformed: %d\n", prop, ret); in cs42l43_find_index()
60 dev_err(priv->dev, "Invalid value for property %s: %d\n", prop, defval); in cs42l43_find_index()
61 return -EINVAL; in cs42l43_find_index()
[all …]
H A Dcs42l42.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cs42l42.c -- CS42L42 ALSA SoC audio driver
32 #include <sound/soc-dapm.h>
35 #include <dt-bindings/sound/cs42l42.h>
403 static DECLARE_TLV_DB_SCALE(adc_tlv, -9700, 100, true);
404 static DECLARE_TLV_DB_SCALE(mixer_tlv, -6300, 100, true);
413 switch (ucontrol->value.integer.value[0]) { in cs42l42_slow_start_put()
421 return -EINVAL; in cs42l42_slow_start_put()
451 SOC_SINGLE("ADC Invert Switch", CS42L42_ADC_CTL,
455 SOC_SINGLE_S8_TLV("ADC Volume", CS42L42_ADC_VOLUME, -97, 12, adc_tlv),
[all …]
H A Dcs42l43.c1 // SPDX-License-Identifier: GPL-2.0
5 // Copyright (C) 2022-2023 Cirrus Logic, Inc. and
15 #include <linux/mfd/cs42l43-regs.h>
22 #include <sound/soc-component.h>
23 #include <sound/soc-dapm.h>
24 #include <sound/soc-dai.h>
126 dev_err(priv->dev, "Error " #name " IRQ\n"); \
147 dev_dbg(priv->de in CS42L43_IRQ_ERROR()
[all...]
/openbmc/linux/drivers/hid/
H A Dhid-waltop.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 #include "hid-ids.h"
26 * mode tries to be HID-compatible (not very successfully), but cripples the
30 * represents the correct resolution, but is possibly HID-incompatible (i.e.
53 0x09, 0x42, /* Usage (Tip Switch), */
75 0x55, 0xFD, /* Unit Exponent (-3), */
86 0x09, 0x30, /* Usage (Tip Pressure), */
104 0x09, 0x42, /* Usage (Tip Switch), */
126 0x55, 0xFD, /* Unit Exponent (-3), */
137 0x09, 0x30, /* Usage (Tip Pressure), */
[all …]
H A Dhid-input.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2000-2001 Vojtech Pavlik
4 * Copyright (c) 2006-2010 Jiri Kosina
12 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail:
21 #include <linux/hid-debug.h>
23 #include "hid-ids.h"
49 } hid_hat_to_axis[] = {{ 0, 0}, { 0,-1}, { 1,-1}, { 1, 0}, { 1, 1}, { 0, 1}, {-1, 1}, {-1, 0}, {-1…
62 * hid-input will convert this list into priorities:
67 * hid-input will then shift the priority by 8 bits to leave some space
71 * defined in the next 8 bits (defined by 0xff - slot).
[all …]
H A Dhid-uclogic-core.c1 // SPDX-License-Identifier: GPL-2.0+
3 * HID driver for UC-Logic devices not fully compliant with HID standard
5 * Copyright (c) 2010-2014 Nikolai Kondrashov
21 #include "hid-uclogic-params.h"
23 #include "hid-ids.h"
26 * uclogic_inrange_timeout - handle pen in-range state timeout.
37 struct input_dev *input = drvdata->pen_input; in uclogic_inrange_timeout()
43 if (test_bit(BTN_TOUCH, input->key)) { in uclogic_inrange_timeout()
45 /* Digitizer Tip Switch usage */ in uclogic_inrange_timeout()
58 if (drvdata->desc_ptr != NULL) { in uclogic_report_fixup()
[all …]
/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dtest_wacom_generic.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
110 number and tool-type identifier. Values of ``0`` may sometimes be
111 used for the out-of-range condition.
149 range 0 cm - 5 cm) and exact unit comparison (e.g. 1 inch is
150 not within the range 0 cm - 5 cm).
152 phys_size = (field.physical_max - field.physical_min) * 10 ** (field.unit_exp)
172 self.ring = -1
332 Bare-bones opaque tablet with a minimum of features.
339 not any of Wacom's vendor-defined pages.
[all …]
H A Dtest_multitouch.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
20 KERNEL_MODULE = ("hid-multitouch", "hid_multitouch")
76 self.invert = False
300 Usage (Tip Switch)
310 Unit Exponent (-1)
335 Unit Exponent (-4)
368 Usage (Tip Switch)
378 Unit Exponent (-1)
397 Unit Exponent (-4)
[all …]
/openbmc/linux/sound/pci/ca0106/
H A Dca0106.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk>
50 * Implement support for Line-in capture on SB Live 24bit.
73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */
74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */
87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */
88 #define IPR_MIDI_TX_A 0x00000002 /* MIDI UART-A Transmit buffer empty */
93 #define INTE_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */
94 #define INTE_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */
107 #define INTE_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */
[all …]
/openbmc/linux/arch/x86/kernel/
H A Dalternative.c1 // SPDX-License-Identifier: GPL-2.0-only
21 #include <asm/text-patching.h>
32 #include <asm/asm-prototypes.h>
38 #define MAX_PATCH_LEN (255-1)
59 __setup("debug-alternative", debug_alt);
68 __setup("noreplace-smp", setup_noreplace_smp);
85 for (j = 0; j < (len) - 1; j++) \
130 * for every single-byte NOP, try to generate the maximally available NOP of
132 * each single-byte NOPs). If @len to fill out is > ASM_NOP_MAX, pad with INT3 and
173 if (insn->opcode.bytes[0] == 0x90 && in insn_is_nop()
[all …]
/openbmc/linux/
H A Dopengrok1.0.log1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c'
2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms)
3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa
[all...]