Searched +full:short +full:- +full:press +full:- +full:ms (Results 1 – 25 of 29) sorted by relevance
12
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---4 $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmic.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - Matti Vaittinen <mazziesaccount@gmail.com>14 single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is18 …/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,bd7184725 - rohm,bd71850[all …]
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---4 $id: http://devicetree.org/schemas/mfd/rohm,bd71837-pmic.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - Matti Vaittinen <mazziesaccount@gmail.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 low18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica…35 clock-names:38 "#clock-cells":[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later8 // https://www.rohm.com/datasheet/BD71837MWV/bd71837mwv-e14 #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 …]
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.com13 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 mono15 high-dynamic-range ADC for audio capture. There is an integrated headset21 - cirrus,cs42l4222 - cirrus,cs42l8329 VP-supply:[all …]
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - John Hsu <KCHSU0@nuvoton.com>13 - $ref: dai-common.yaml#18 - nuvoton,nau882423 '#sound-dai-cells':29 nuvoton,jkdet-polarity:34 - 0 # active high35 - 1 # active low[all …]
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - John Hsu <KCHSU0@nuvoton.com>13 - $ref: dai-common.yaml#18 - nuvoton,nau882526 nuvoton,jkdet-enable:31 nuvoton,jkdet-pull-enable:34 If set - pin pull enabled, otherwise pin in high impedance state.37 nuvoton,jkdet-pull-up:[all …]
1 # phosphor-buttons3 Phosphor-buttons has a collection of IO event handler interfaces for physical8 its associated IO for event changes and emits signals that the button-handler19 If the power is on, it depends on how long the press was and which options are22 - Short press: Do a host power off23 - Long press, as determined by the 'long-press-time-ms' meson option: Do a28 The 'power-button-profile' meson option can be used to select custom power33 - host_then_chassis_poweroff: When power is on, short presses are ignored and a34 long press issues a host power off first and then a chassis power off if held38 ### Multi-Host Buttons[all …]
1 // SPDX-License-Identifier: GPL-2.0-only3 * max7359_keypad.c - MAX7359 Key Switch Controller Driver10 * Datasheet: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/545647 * 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 …]
1 // SPDX-License-Identifier: GPL-2.0-only3 * Copyright (C) ST-Ericsson SA 20105 * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson6 * Author: Sundar Iyer <sundar.iyer@stericsson.com> for ST-Ericsson22 #include <linux/platform_data/keypad-nomadik-ske.h>54 * struct ske_keypad - data structure used by keypad driver69 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 …]
1 // SPDX-License-Identifier: GPL-2.0-or-later3 * twl4030_keypad.c - driver for 8x8 keypad controller in twl4030 chips8 * Code re-written for 2430SDP by:27 * events, since it uses only the always-on 32KiHz oscillator, and has29 * 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 …]
1 // SPDX-License-Identifier: GPL-2.031 #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 …]
1 // SPDX-License-Identifier: GPL-2.0-only2 // 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 …]
1 // SPDX-License-Identifier: GPL-2.0-only8 * Co-author: Meng-Huang Kuo <mhkuo@nuvoton.com>35 #define NUVOTON_CODEC_DAI "nau8825-hifi"223 * nau8825_sema_acquire - acquire the semaphore of nau88l25233 * this function returns -ETIME. If the sleep is interrupted by a signal,234 * this function will return -EINTR. It returns 0 if the semaphore was246 ret = down_timeout(&nau8825->xtalk_sem, timeout); in nau8825_sema_acquire()248 dev_warn(nau8825->dev, "Acquire semaphore timeout\n"); in nau8825_sema_acquire()250 ret = down_trylock(&nau8825->xtalk_sem); in nau8825_sema_acquire()252 dev_warn(nau8825->dev, "Acquire semaphore fail\n"); in nau8825_sema_acquire()[all …]
1 // SPDX-License-Identifier: GPL-2.0-only35 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 …]
1 // SPDX-License-Identifier: GPL-2.05 // Copyright (C) 2022-2023 Cirrus Logic, Inc. and15 #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...]
1 // SPDX-License-Identifier: GPL-2.0-only3 // nau8821.c -- Nuvoton NAU88L21 audio codec driver7 // Co-author: Seven Lee <wtli@nuvoton.com>32 static int quirk_override = -1;34 MODULE_PARM_DESC(quirk, "Board-specific quirk override");285 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in nau8821_biq_coeff_get()287 if (!component->regmap) in nau8821_biq_coeff_get()288 return -EINVAL; in nau8821_biq_coeff_get()290 regmap_raw_read(component->regmap, NAU8821_R21_BIQ0_COF1, in nau8821_biq_coeff_get()291 ucontrol->value.bytes.data, params->max); in nau8821_biq_coeff_get()[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later3 * extcon-arizona.c - Extcon driver Wolfson Arizona devices5 * Copyright (C) 2012-2014 Wolfson Microelectronics plc26 #include <dt-bindings/mfd/arizona.h>33 * The hardware supports 8 ranges / buttons, but the snd-jack interface34 * 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 …]
1 // SPDX-License-Identifier: GPL-2.068 * sysrq_mask - Getter for sysrq_enabled mask.103 u8 loglevel = key - '0'; in sysrq_handle_loglevel()111 .help_msg = "loglevel(0-9)",196 .help_msg = "show-all-timers(q)",219 .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 …]
1 // SPDX-License-Identifier: GPL-2.0-or-later40 #include <asm/rtas-work-area.h>47 /* Indexes into the args buffer, -1 if not used */60 * struct rtas_function - Descriptor for RTAS functions.64 * @filter: If non-NULL, invoking this function via the rtas syscall is83 .name = "check-exception",86 .name = "display-character",88 .buf_idx1 = -1, .size_idx1 = -1,89 .buf_idx2 = -1, .size_idx2 = -1,93 .name = "event-scan",[all …]
1 // SPDX-License-Identifier: GPL-2.0-only6 * 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"38 "Disable Tap-To-Click mode reporting for touchpads (only on the K400 currently).");40 /* Define a non-zero software ID to identify our own requests */83 /* Convenience constant to check for any high-res support. */116 * is 0xFF for the receiver), and all messages (short or long) with a device127 u8 params[HIDPP_REPORT_VERY_LONG_MAX_LENGTH - 4U];[all …]
... --------------------- ...
1 // SPDX-License-Identifier: GPL-2.02 // rc-main.c - Remote Controller core module4 // Copyright (C) 2009-2010 by Mauro Carvalho Chehab8 #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 …]
1 // SPDX-License-Identifier: GPL-2.03 * 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 …]
1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK20 that it's only for tracing and profiling the kernel --- you can indeed use24 all applications on the system simultaneously to gain a system-wide view29 covered in this How-to. The past couple of years have seen perf subsume a45 ----------48 outlined in the ":ref:`profile-manual/intro:General Setup`" section.61 ----------------63 The perf tool is pretty much self-documenting. To remind yourself of the69 usage: perf [--version] [--help] COMMAND [ARGS]73 archive Create archive with object files with build-ids found in perf.data file[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later12 * - Fixed deadlock on capture13 * - 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 …]