| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | cirrus,cs42l43.yaml | 1 # 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 …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | cs42l43-jack.c | 1 // 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 …]
|
| D | cs42l42.c | 1 // 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 …]
|
| D | cs42l43.c | 1 // 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->dev, #name " completed\n"); \ in CS42L43_IRQ_ERROR() 148 complete(&priv->name); \ in CS42L43_IRQ_ERROR() 173 dev_dbg(priv->dev, "Microphone shutter changed\n"); [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | cs42l42.txt | 5 - compatible : "cirrus,cs42l42" 7 - reg : the I2C address of the device for I2C. 9 - VP-supply, VCP-supply, VD_FILT-supply, VL-supply, VA-supply : 15 - reset-gpios : a GPIO spec for the reset pin. If specified, it will be 18 - interrupts : IRQ line info CS42L42. 19 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 22 - cirrus,ts-inv : Boolean property. For jacks that invert the tip sense 23 polarity. Normal jacks will short tip sense pin to HS1 when headphones are 24 plugged in and leave tip sense floating when not plugged in. Inverting jacks 25 short tip sense when unplugged and float when plugged in. [all …]
|
| /kernel/linux/linux-6.6/drivers/hid/ |
| D | hid-waltop.c | 1 // 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 …]
|
| D | hid-input.c | 1 // 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 …]
|
| D | hid-uclogic-core.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/hid/ |
| D | hid-waltop.c | 1 // 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 …]
|
| D | hid-uclogic-core.c | 1 // 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" 38 /* In-range timer */ 45 * uclogic_inrange_timeout - handle pen in-range state timeout. 56 struct input_dev *input = drvdata->pen_input; in uclogic_inrange_timeout() 62 if (test_bit(BTN_TOUCH, input->key)) { in uclogic_inrange_timeout() 64 /* Digitizer Tip Switch usage */ in uclogic_inrange_timeout() [all …]
|
| D | hid-input.c | 1 // 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… 64 return (usage->hid & (HID_USAGE_PAGE | HID_USAGE)) == scancode; in match_scancode() 73 return (usage->type == EV_KEY && usage->code == keycode); in match_keycode() 95 list_for_each_entry(report, &hid->report_enum[k].report_list, list) { in hidinput_find_key() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | cs42l42.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs42l42.c -- CS42L42 ALSA SoC audio driver 31 #include <sound/soc-dapm.h> 34 #include <dt-bindings/sound/cs42l42.h> 405 static DECLARE_TLV_DB_SCALE(adc_tlv, -9700, 100, true); 406 static DECLARE_TLV_DB_SCALE(mixer_tlv, -6300, 100, true); 431 SOC_SINGLE("ADC Invert Switch", CS42L42_ADC_CTL, 435 SOC_SINGLE_S8_TLV("ADC Volume", CS42L42_ADC_VOLUME, -97, 12, adc_tlv), 444 SOC_SINGLE("DACA Invert Switch", CS42L42_DAC_CTL1, 446 SOC_SINGLE("DACB Invert Switch", CS42L42_DAC_CTL1, [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/ |
| D | test_wacom_generic.py | 2 # 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 …]
|
| D | test_multitouch.py | 2 # 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 …]
|
| /kernel/linux/linux-6.6/sound/pci/ca0106/ |
| D | ca0106.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/sound/pci/ca0106/ |
| D | ca0106.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/ |
| D | alternative.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #include <asm/text-patching.h> 31 #include <asm/asm-prototypes.h> 37 #define MAX_PATCH_LEN (255-1) 46 __setup("debug-alternative", debug_alt); 55 __setup("noreplace-smp", setup_noreplace_smp); 72 for (j = 0; j < (len) - 1; j++) \ 213 * the "k8_nops" than with the SDM-recommended NOPs. in arch_init_ideal_nops() 268 len -= noplen; in add_nops() 279 * Are we looking at a near JMP with a 1 or 4-byte displacement. [all …]
|
| /kernel/linux/linux-6.6/arch/x86/kernel/ |
| D | alternative.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 #include <asm/text-patching.h> 34 #include <asm/asm-prototypes.h> 42 #define MAX_PATCH_LEN (255-1) 63 __setup("debug-alternative", debug_alt); 72 __setup("noreplace-smp", setup_noreplace_smp); 89 for (j = 0; j < (len) - 1; j++) \ 145 reg -= 8; in its_init_thunk() 175 for (int i = 0; i < mod->its_num_pages; i++) { in its_fini_mod() 176 void *page = mod->its_page_array[i]; in its_fini_mod() [all …]
|