Home
last modified time | relevance | path

Searched +full:short +full:- +full:press +full:- +full:ms (Results 1 – 25 of 25) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/mfd/
Drohm,bd71847-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
14 single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is
18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica…
19 …//www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applic…
24 - rohm,bd71847
25 - rohm,bd71850
[all …]
Drohm,bd71837-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd71837-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
13 BD71837MWV is programmable Power Management ICs for powering single-core,
14 dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is optimized for low
18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica…
35 clock-names:
38 "#clock-cells":
[all …]
/Linux-v6.1/drivers/mfd/
Drohm-bd718x7.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 // https://www.rohm.com/datasheet/BD71837MWV/bd71837mwv-e
14 #include <linux/mfd/rohm-bd718x7.h>
23 .gpio = -1,
30 .name = "bd718xx-pwrkey",
35 .name = "gpio-keys",
39 { .name = "bd71837-clk", },
40 { .name = "bd71837-pmic", },
45 .name = "gpio-keys",
49 { .name = "bd71847-clk", },
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/sound/
Dnau8824.txt6 - compatible : Must be "nuvoton,nau8824"
8 - reg : the I2C address of the device. This is either 0x1a (CSB=0) or 0x1b (CSB=1).
11 - nuvoton,jkdet-polarity: JKDET pin polarity. 0 - active high, 1 - active low.
13 - nuvoton,vref-impedance: VREF Impedance selection
14 0 - Open
15 1 - 25 kOhm
16 2 - 125 kOhm
17 3 - 2.5 kOhm
19 - nuvoton,micbias-voltage: Micbias voltage level.
20 0 - VDDA
[all …]
Dcirrus,cs42l42.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
13 The CS42L42 is a low-power audio codec designed for portable applications.
14 It provides a high-dynamic range, stereo DAC for audio playback and a mono
15 high-dynamic-range ADC for audio capture. There is an integrated headset
21 - cirrus,cs42l42
22 - cirrus,cs42l83
29 VP-supply:
[all …]
Dnau8825.txt6 - compatible : Must be "nuvoton,nau8825"
8 - reg : the I2C address of the device. This is either 0x1a (CSB=0) or 0x1b (CSB=1).
11 - nuvoton,jkdet-enable: Enable jack detection via JKDET pin.
12 - nuvoton,jkdet-pull-enable: Enable JKDET pin pull. If set - pin pull enabled,
14 - nuvoton,jkdet-pull-up: Pull-up JKDET pin. If set then JKDET pin is pull up, otherwise pull down.
15 - nuvoton,jkdet-polarity: JKDET pin polarity. 0 - active high, 1 - active low.
17 - nuvoton,vref-impedance: VREF Impedance selection
18 0 - Open
19 1 - 25 kOhm
20 2 - 125 kOhm
[all …]
/Linux-v6.1/drivers/input/keyboard/
Dmax7359_keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max7359_keypad.c - MAX7359 Key Switch Controller Driver
10 * Datasheet: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/5456
47 * Autosleep register values (ms)
58 unsigned short keycodes[MAX7359_MAX_KEY_NUM];
69 dev_err(&client->dev, "%s: reg 0x%x, val 0x%x, err %d\n", in max7359_write_reg()
79 dev_err(&client->dev, "%s: reg 0x%x, err %d\n", in max7359_read_reg()
84 /* runs in an IRQ thread -- can (and will!) sleep */
88 struct input_dev *input_dev = keypad->input_dev; in max7359_interrupt()
91 val = max7359_read_reg(keypad->client, MAX7359_REG_KEYFIFO); in max7359_interrupt()
[all …]
Dtwl4030_keypad.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * twl4030_keypad.c - driver for 8x8 keypad controller in twl4030 chips
8 * Code re-written for 2430SDP by:
27 * events, since it uses only the always-on 32KiHz oscillator, and has
29 * multi-key combinations.
48 unsigned short keymap[TWL4030_KEYMAP_SIZE];
59 /*----------------------------------------------------------------------*/
100 #define KEYP_PERIOD_US(t, prescale) ((t) / (31 << ((prescale) + 1)) - 1)
123 /*----------------------------------------------------------------------*/
131 dev_warn(kp->dbg_dev, in twl4030_kpread()
[all …]
Dnomadik-ske-keypad.c1 // 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
22 #include <linux/platform_data/keypad-nomadik-ske.h>
54 * struct ske_keypad - data structure used by keypad driver
69 unsigned short keymap[SKE_KPD_NUM_ROWS * SKE_KPD_NUM_COLS];
80 spin_lock(&keypad->ske_keypad_lock); in ske_keypad_set_bits()
82 ret = readl(keypad->reg_base + addr); in ske_keypad_set_bits()
85 writel(ret, keypad->reg_base + addr); in ske_keypad_set_bits()
[all …]
/Linux-v6.1/tools/perf/ui/browsers/
Dhists.c1 // SPDX-License-Identifier: GPL-2.0
31 #include "../../util/block-info.h"
44 #include "time-utils.h"
58 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter()
64 struct hists *hists = browser->hists; in hist_browser__get_folding()
67 for (nd = rb_first_cached(&hists->entries); in hist_browser__get_folding()
68 (nd = hists__filter_entries(nd, browser->min_pcnt)) != NULL; in hist_browser__get_folding()
73 if (he->leaf && he->unfolded) in hist_browser__get_folding()
74 unfolded_rows += he->nr_rows; in hist_browser__get_folding()
81 struct ui_browser *browser = &hb->b; in hist_browser__set_title_space()
[all …]
/Linux-v6.1/sound/soc/codecs/
Dwcd-mbhc-v2.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
14 #include "wcd-mbhc-v2.h"
53 /* Delayed work to report long button press */
72 /* Holds type of Headset - Mono/Stereo */
74 /* Holds mbhc detection method - ADC/Legacy */
81 if (!mbhc->fields[field].reg) in wcd_mbhc_write_field()
84 return snd_soc_component_write_field(mbhc->component, in wcd_mbhc_write_field()
85 mbhc->fields[field].reg, in wcd_mbhc_write_field()
86 mbhc->fields[field].mask, val); in wcd_mbhc_write_field()
[all …]
Dnau8825.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Co-author: Meng-Huang Kuo <mhkuo@nuvoton.com>
34 #define NUVOTON_CODEC_DAI "nau8825-hifi"
203 static const unsigned short logtable[256] = {
239 * nau8825_sema_acquire - acquire the semaphore of nau88l25
249 * this function returns -ETIME. If the sleep is interrupted by a signal,
250 * this function will return -EINTR. It returns 0 if the semaphore was
262 ret = down_timeout(&nau8825->xtalk_sem, timeout); in nau8825_sema_acquire()
264 dev_warn(nau8825->dev, "Acquire semaphore timeout\n"); in nau8825_sema_acquire()
266 ret = down_trylock(&nau8825->xtalk_sem); in nau8825_sema_acquire()
[all …]
Dnau8824.c1 // SPDX-License-Identifier: GPL-2.0-only
35 static int quirk_override = -1;
37 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
211 ret = down_timeout(&nau8824->jd_sem, timeout); in nau8824_sema_acquire()
213 dev_warn(nau8824->dev, "Acquire semaphore timeout\n"); in nau8824_sema_acquire()
215 ret = down_interruptible(&nau8824->jd_sem); in nau8824_sema_acquire()
217 dev_warn(nau8824->dev, "Acquire semaphore fail\n"); in nau8824_sema_acquire()
225 up(&nau8824->jd_sem); in nau8824_sema_release()
304 "Off", "NC", "u-law", "A-law" };
359 static const DECLARE_TLV_DB_MINMAX(hp_vol_tlv, -3000, 0);
[all …]
Dnau8821.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // nau8821.c -- Nuvoton NAU88L21 audio codec driver
7 // Co-author: Seven Lee <wtli@nuvoton.com>
277 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in nau8821_biq_coeff_get()
279 if (!component->regmap) in nau8821_biq_coeff_get()
280 return -EINVAL; in nau8821_biq_coeff_get()
282 regmap_raw_read(component->regmap, NAU8821_R21_BIQ0_COF1, in nau8821_biq_coeff_get()
283 ucontrol->value.bytes.data, params->max); in nau8821_biq_coeff_get()
292 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in nau8821_biq_coeff_put()
295 if (!component->regmap) in nau8821_biq_coeff_put()
[all …]
Darizona-jack.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * extcon-arizona.c - Extcon driver Wolfson Arizona devices
5 * Copyright (C) 2012-2014 Wolfson Microelectronics plc
26 #include <dt-bindings/mfd/arizona.h>
33 * The hardware supports 8 ranges / buttons, but the snd-jack interface
34 * only supports 6 buttons (button 0-5).
100 struct arizona *arizona = info->arizona; in arizona_extcon_hp_clamp()
105 switch (arizona->type) { in arizona_extcon_hp_clamp()
122 ret = regmap_update_bits(arizona->regmap, in arizona_extcon_hp_clamp()
127 dev_warn(arizona->dev, "Failed to set TST_CAP_SEL: %d\n", ret); in arizona_extcon_hp_clamp()
[all …]
/Linux-v6.1/arch/x86/boot/
Dheader.S1 /* SPDX-License-Identifier: GPL-2.0 */
28 BOOTSEG = 0x07C0 /* original address of boot-sector */
45 # "MZ", MS-DOS header
73 # Allow the user to press a key, then reboot
94 .ascii "Remove disk and press any key to reboot...\r\n"
115 .word section_table - optional_header # SizeOfOptionalHeader
183 .long (section_table - .) / 8 # NumberOfRvaAndSizes
276 .set section_count, (. - section_table) / 40
301 # tries to generate a 3-byte jump here, which causes
303 .byte 0xeb # short (2-byte) jump
[all …]
/Linux-v6.1/arch/powerpc/kernel/
Drtas.c1 // SPDX-License-Identifier: GPL-2.0-or-later
85 * If non-NULL, this gets called when the kernel terminates.
115 * are designed only for very early low-level debugging, which
116 * is why the token is hard-coded to 10.
136 while (width-- > 0) in call_rtas_display_status_delay()
147 if (width--) { in call_rtas_display_status_delay()
192 return -1; in udbg_rtascon_getc_poll()
195 return -1; in udbg_rtascon_getc_poll()
204 while ((c = udbg_rtascon_getc_poll()) == -1) in udbg_rtascon_getc()
219 void rtas_progress(char *s, unsigned short hex) in rtas_progress()
[all …]
/Linux-v6.1/drivers/tty/
Dsysrq.c1 // SPDX-License-Identifier: GPL-2.0
68 * sysrq_mask - Getter for sysrq_enabled mask.
105 i = key - '0'; in sysrq_handle_loglevel()
112 .help_msg = "loglevel(0-9)",
197 .help_msg = "show-all-timers(q)",
220 .help_msg = "show-all-locks(d)",
278 .help_msg = "show-backtrace-all-active-cpus(l)",
298 .help_msg = "show-registers(p)",
310 .help_msg = "show-task-states(t)",
321 .help_msg = "show-blocked-tasks(w)",
[all …]
/Linux-v6.1/drivers/hid/
Dhid-logitech-hidpp.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (c) 2012-2013 Google (c)
7 * Copyright (c) 2013-2014 Red Hat Inc.
25 #include <linux/fixp-arith.h>
28 #include "hid-ids.h"
42 "Disable Tap-To-Click mode reporting for touchpads (only on the K400 currently).");
44 /* Define a non-zero software ID to identify our own requests */
85 /* Convenience constant to check for any high-res support. */
119 * is 0xFF for the receiver), and all messages (short or long) with a device
130 u8 params[HIDPP_REPORT_VERY_LONG_MAX_LENGTH - 4U];
[all …]
Dhid-sony.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
7 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
10 * Copyright (c) 2006-2013 Jiri Kosina
12 * Copyright (c) 2014-2016 Frank Praznik <frank.praznik@gmail.com>
14 * Copyright (c) 2020-2021 Pascal Giard <pascal.giard@etsmtl.ca>
45 #include "hid-ids.h"
254 * 0xff and 11th is for press indication
338 * -------------------
457 {0, -1}, {1, -1}, {1, 0}, {1, 1}, {0, 1}, {-1, 1}, {-1, 0}, {-1, -1},
[all …]
/Linux-v6.1/drivers/media/rc/
Drc-main.c1 // SPDX-License-Identifier: GPL-2.0
2 // rc-main.c - Remote Controller core module
4 // Copyright (C) 2009-2010 by Mauro Carvalho Chehab
8 #include <media/rc-core.h>
18 #include "rc-core-priv.h"
31 [RC_PROTO_RC5] = { .name = "rc-5",
33 [RC_PROTO_RC5X_20] = { .name = "rc-5x-20",
35 [RC_PROTO_RC5_SZ] = { .name = "rc-5-sz",
39 [RC_PROTO_SONY12] = { .name = "sony-12",
41 [RC_PROTO_SONY15] = { .name = "sony-15",
[all …]
/Linux-v6.1/drivers/misc/bcm-vk/
Dbcm_vk_dev.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2018-2020 Broadcom.
7 #include <linux/dma-mapping.h>
49 {VK_IMAGE_TYPE_BOOT1, {"vk_a0-boot1.bin", "vk-boot1.bin"}},
50 {VK_IMAGE_TYPE_BOOT2, {"vk_a0-boot2.bin", "vk-boot2.bin"}}
53 {VK_IMAGE_TYPE_BOOT1, {"vk_b0-boot1.bin", "vk-boot1.bin"}},
54 {VK_IMAGE_TYPE_BOOT2, {"vk_b0-boot2.bin", "vk-boot2.bin"}}
58 {VK_IMAGE_TYPE_BOOT1, {"vp-boot1.bin", ""}},
59 {VK_IMAGE_TYPE_BOOT2, {"vp-boot2.bin", ""}}
74 /* 1ms wait for checking the transfer complete status */
[all …]
/Linux-v6.1/drivers/input/touchscreen/
Dmelfas_mip4.c1 // SPDX-License-Identifier: GPL-2.0-or-later
172 unsigned short key_code[MIP4_MAX_KEYS];
185 .addr = ts->client->addr, in mip4_i2c_xfer()
190 .addr = ts->client->addr, in mip4_i2c_xfer()
201 res = i2c_transfer(ts->client->adapter, msg, ARRAY_SIZE(msg)); in mip4_i2c_xfer()
205 error = res < 0 ? res : -EIO; in mip4_i2c_xfer()
206 dev_err(&ts->client->dev, in mip4_i2c_xfer()
207 "%s - i2c_transfer failed: %d (%d)\n", in mip4_i2c_xfer()
209 } while (--retry); in mip4_i2c_xfer()
216 v->boot = get_unaligned_le16(buf + 0); in mip4_parse_fw_version()
[all …]
/Linux-v6.1/sound/pci/
Dmaestro3.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 * - Fixed deadlock on capture
13 * - Added Canyon3D-2 support by Rob Riggs <rob@pangalactic.org>
16 #define CARD_NAME "ESS Maestro3/Allegro/Canyon3D-2"
24 #include <linux/dma-mapping.h>
45 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
48 static bool external_amp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
49 static int amp_gpio[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -1};
60 MODULE_PARM_DESC(amp_gpio, "GPIO pin number for external amp. (default = -1)");
365 #define REV_A_CODE_MEMORY_LENGTH (REV_A_CODE_MEMORY_END - REV_A_CODE_MEMORY_BEGIN + 1)
[all …]
/Linux-v6.1/Documentation/admin-guide/media/
Dbttv.rst1 .. SPDX-License-Identifier: GPL-2.0
8 ----------------------
12 ./scripts/config -e PCI
13 ./scripts/config -m I2C
14 ./scripts/config -m INPUT
15 ./scripts/config -m MEDIA_SUPPORT
16 ./scripts/config -e MEDIA_PCI_SUPPORT
17 ./scripts/config -e MEDIA_ANALOG_TV_SUPPORT
18 ./scripts/config -e MEDIA_DIGITAL_TV_SUPPORT
19 ./scripts/config -e MEDIA_RADIO_SUPPORT
[all …]