Home
last modified time | relevance | path

Searched full:debounce (Results 1 – 25 of 382) sorted by relevance

12345678910>>...16

/linux/Documentation/devicetree/bindings/gpio/
H A Dsprd,gpio-eic.yaml19 controller contains 4 sub-modules, i.e. EIC-debounce, EIC-latch, EIC-async and
20 EIC-sync. But the PMIC EIC controller contains only one EIC-debounce sub-
23 The EIC-debounce sub-module provides up to 8 source input signal
24 connections. A debounce mechanism is used to capture the input signals'
28 automatically to reduce power dissipation. Moreover the debounce range
47 - sprd,sc9860-eic-debounce
54 - sprd,ums512-eic-debounce
55 - const: sprd,sc9860-eic-debounce
115 compatible = "sprd,sc9860-eic-debounce";
/linux/drivers/mmc/core/
H A Dslot-gpio.c31 /* Schedule a card detection after a debounce timeout */ in mmc_gpio_cd_irqt()
168 * @debounce: debounce time in microseconds
177 unsigned int debounce) in mmc_gpiod_request_cd() argument
191 if (debounce) { in mmc_gpiod_request_cd()
192 ret = gpiod_set_debounce(desc, debounce); in mmc_gpiod_request_cd()
194 ctx->cd_debounce_delay_ms = debounce / 1000; in mmc_gpiod_request_cd()
244 * @debounce: debounce time in microseconds
249 unsigned int idx, unsigned int debounce) in mmc_gpiod_request_ro() argument
263 if (debounce) { in mmc_gpiod_request_ro()
264 ret = gpiod_set_debounce(desc, debounce); in mmc_gpiod_request_ro()
/linux/Documentation/devicetree/bindings/sound/
H A Dti,ts3a227e.yaml44 ti,debounce-release-ms:
45 description: key release debounce time in ms (datasheet section 9.6.7).
51 ti,debounce-press-ms:
52 description: key press debounce time in ms (datasheet section 9.6.7).
60 ti,debounce-insertion-ms:
61 description: headset insertion debounce time in ms (datasheet section 9.6.5).
H A Dnuvoton,nau8821.yaml75 nuvoton,jack-insert-debounce:
76 description: number from 0 to 7 that sets debounce time to 2^(n+2)ms.
81 nuvoton,jack-eject-debounce:
82 description: number from 0 to 7 that sets debounce time to 2^(n+2)ms.
141 nuvoton,jack-insert-debounce = <7>;
142 nuvoton,jack-eject-debounce = <0>;
H A Dnuvoton,nau8824.yaml139 nuvoton,short-key-debounce:
142 Button short key press debounce time.
149 nuvoton,jack-eject-debounce:
152 Jack ejection debounce time.
187 nuvoton,short-key-debounce = <0>;
188 nuvoton,jack-eject-debounce = <1>;
H A Dcirrus,cs42l42.yaml77 Debounce the rising edge of TIP_SENSE_PLUG. With no
78 debounce, the tip sense pin might be noisy on a plug event.
96 Debounce the falling edge of TIP_SENSE_UNPLUG. With no
97 debounce, the tip sense pin might be noisy on an unplug event.
118 There may be erroneous button interrupts if this debounce time
/linux/drivers/gpio/
H A Dgpio-omap.c43 u32 debounce; member
158 * Disable debounce before cutting it's clock. If debounce is in omap_gpio_dbck_disable()
170 * omap2_set_gpio_debounce - low level gpio debounce time
173 * @debounce: debounce time to use
175 * OMAP's debounce time is in 31us steps
176 * <debounce time> = (GPIO_DEBOUNCINGTIME[7:0].DEBOUNCETIME + 1) x 31
182 unsigned debounce) in omap2_set_gpio_debounce() argument
186 bool enable = !!debounce; in omap2_set_gpio_debounce()
192 debounce = DIV_ROUND_UP(debounce, 31) - 1; in omap2_set_gpio_debounce()
193 if ((debounce & OMAP4_GPIO_DEBOUNCINGTIME_MASK) != debounce) in omap2_set_gpio_debounce()
[all …]
H A Dgpio-rockchip.c48 .debounce = 0x48,
63 .debounce = 0x38,
200 unsigned int debounce) in rockchip_gpio_set_debounce() argument
213 if (debounce > max_debounce) in rockchip_gpio_set_debounce()
216 div = debounce * freq; in rockchip_gpio_set_debounce()
225 if (debounce) { in rockchip_gpio_set_debounce()
227 /* Configure the max debounce from consumers */ in rockchip_gpio_set_debounce()
237 rockchip_gpio_writel_bit(bank, offset, 1, reg->debounce); in rockchip_gpio_set_debounce()
243 rockchip_gpio_writel_bit(bank, offset, 0, reg->debounce); in rockchip_gpio_set_debounce()
250 if (debounce) in rockchip_gpio_set_debounce()
[all …]
H A Dgpio-aspeed.c119 * The debounce timers array is used to configure the debounce timer settings.Here’s how it works:
120 * Array Value: Indicates the offset for configuring the debounce timer.
121 * Array Index: Corresponds to the debounce setting register.
122 * The debounce timers array follows this pattern for configuring the debounce setting registers:
123 * Array Index 0: No debounce timer is set;
125 * Array Index 1: Debounce setting #2 is set to 1, and debounce setting #1 is set to 0.
126 * Array Value: offset for configuring debounce timer 0 (g4: 0x50, g7: 0x00)
127 * Array Index 2: Debounce setting #2 is set to 0, and debounce setting #1 is set to 1.
128 * Array Value: offset for configuring debounce timer 1 (g4: 0x54, g7: 0x04)
129 * Array Index 3: Debounce setting #2 is set to 1, and debounce setting #1 is set to 1.
[all …]
H A Dgpio-max3191x.c19 * MAX3191x supports four debounce settings and the driver is
56 * @db0_pins: GPIO pins to configure debounce of each chip
57 * @db1_pins: GPIO pins to configure debounce of each chip
257 u32 debounce, chipnum, db0_val, db1_val; in max3191x_set_config() local
265 debounce = pinconf_to_config_argument(config); in max3191x_set_config()
266 switch (debounce) { in max3191x_set_config()
288 chipnum = 0; /* all chips use the same pair of debounce pins */ in max3191x_set_config()
290 chipnum = offset / MAX3191X_NGPIO; /* per chip debounce pins */ in max3191x_set_config()
/linux/arch/arm/boot/dts/samsung/
H A Ds3c6410-mini6410.dts71 debounce-interval = <20>;
78 debounce-interval = <20>;
85 debounce-interval = <20>;
92 debounce-interval = <20>;
99 debounce-interval = <20>;
106 debounce-interval = <20>;
113 debounce-interval = <20>;
120 debounce-interval = <20>;
/linux/drivers/input/keyboard/
H A Dmt6779-keypad.c116 u32 debounce; in mt6779_keypad_pdrv_probe() local
155 if (device_property_read_u32(&pdev->dev, "debounce-delay-ms", in mt6779_keypad_pdrv_probe()
156 &debounce)) in mt6779_keypad_pdrv_probe()
157 debounce = 16; in mt6779_keypad_pdrv_probe()
159 if (debounce > MTK_KPD_DEBOUNCE_MAX_MS) { in mt6779_keypad_pdrv_probe()
161 "Debounce time exceeds the maximum allowed time %dms\n", in mt6779_keypad_pdrv_probe()
185 dev_dbg(&pdev->dev, "n_row=%d n_col=%d debounce=%d\n", in mt6779_keypad_pdrv_probe()
186 keypad->n_rows, keypad->n_cols, debounce); in mt6779_keypad_pdrv_probe()
199 (debounce * (1 << 5)) & MTK_KPD_DEBOUNCE_MASK); in mt6779_keypad_pdrv_probe()
/linux/Documentation/userspace-api/gpio/
H A Dgpio-v2-get-line-ioctl.rst87 be applied to lines with ``GPIO_V2_LINE_FLAG_INPUT`` set. When set, debounce
91 kernel. Requesting debounce on a line that supports neither debounce in
118 Debounce emulate
129 Debounce is emulated by applying a filter to hardware interrupts on the line.
131 stable for the debounce period.
132 The event timestamp corresponds to the end of the debounce period.
/linux/Documentation/devicetree/bindings/input/
H A Dbrcm,bcm-keypad.txt29 - col-debounce-filter-period: The debounce period for the Column filter.
40 - status-debounce-filter-period: The debounce period for the Status filter.
102 col-debounce-filter-period = <5>;
H A Dpxa27x-keypad.txt7 - marvell,debounce-interval : How long time the key will be
9 is debounce interval for direct key and bit[15:0] is debounce
59 marvell,debounce-interval = <0x001e001e>;
/linux/sound/soc/codecs/
H A Dmt6359-accdet.c59 unsigned int debounce);
143 /* set debounce to 1ms */ in mt6359_accdet_jd_setting()
269 unsigned int debounce) in accdet_set_debounce() argument
273 regmap_write(priv->regmap, ACCDET_DEBOUNCE0_ADDR, debounce); in accdet_set_debounce()
276 regmap_write(priv->regmap, ACCDET_DEBOUNCE1_ADDR, debounce); in accdet_set_debounce()
279 regmap_write(priv->regmap, ACCDET_DEBOUNCE2_ADDR, debounce); in accdet_set_debounce()
282 regmap_write(priv->regmap, ACCDET_DEBOUNCE3_ADDR, debounce); in accdet_set_debounce()
286 ACCDET_CONNECT_AUXADC_TIME_DIG_ADDR, debounce); in accdet_set_debounce()
291 debounce << ACCDET_EINT_DEBOUNCE0_SFT); in accdet_set_debounce()
296 debounce << ACCDET_EINT_DEBOUNCE1_SFT); in accdet_set_debounce()
[all …]
/linux/arch/arm/boot/dts/arm/
H A Dintegratorap-im-pd1.dts92 debounce-interval = <50>;
98 debounce-interval = <50>;
104 debounce-interval = <50>;
110 debounce-interval = <50>;
116 debounce-interval = <50>;
122 debounce-interval = <50>;
/linux/drivers/input/touchscreen/
H A Dts4800-ts.c45 int debounce; member
54 ts->debounce = DEBOUNCE_COUNT; in ts4800_ts_open()
84 if (ts->debounce) { in ts4800_ts_poll()
85 ts->debounce--; in ts4800_ts_poll()
102 ts->debounce = DEBOUNCE_COUNT; in ts4800_ts_poll()
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8998-fxtec-pro1.dts46 debounce-interval = <15>;
63 debounce-interval = <15>;
71 debounce-interval = <15>;
79 debounce-interval = <15>;
87 debounce-interval = <15>;
95 debounce-interval = <15>;
103 debounce-interval = <15>;
120 debounce-interval = <15>;
128 debounce-interval = <15>;
136 debounce-interval = <15>;
/linux/arch/arm/boot/dts/renesas/
H A Dr8a7792-blanche.dts116 debounce-interval = <20>;
123 debounce-interval = <20>;
130 debounce-interval = <20>;
137 debounce-interval = <20>;
144 debounce-interval = <20>;
151 debounce-interval = <20>;
/linux/drivers/extcon/
H A Dextcon-gpio.c27 * @debounce_jiffies: Number of jiffies to wait for the GPIO to stabilize, from the debounce
31 * @debounce: Debounce time for GPIO IRQ in ms.
41 unsigned long debounce; member
/linux/arch/arm64/boot/dts/arm/
H A Djuno-motherboard.dtsi51 debounce-interval = <50>;
58 debounce-interval = <50>;
65 debounce-interval = <50>;
72 debounce-interval = <50>;
79 debounce-interval = <50>;
86 debounce-interval = <50>;
/linux/Documentation/devicetree/bindings/power/supply/
H A Dti,lp8727.yaml25 debounce-ms:
26 description: interrupt debounce time in ms
74 debounce-ms = <300>;
/linux/arch/arm/boot/dts/ti/omap/
H A Domap4-droid4-xt894.dts27 /* Value above 7.95ms for no GPIO hardware debounce */
28 debounce-interval = <10>;
42 /* Value above 7.95ms for no GPIO hardware debounce */
43 debounce-interval = <10>;
/linux/drivers/pinctrl/mediatek/
H A Dmtk-eint.h48 bool debounce; member
96 unsigned int debounce);
117 unsigned int debounce) in mtk_eint_set_debounce() argument

12345678910>>...16