Home
last modified time | relevance | path

Searched refs:debounce (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/linux-6.3-rc2/drivers/gpio/
A Dgpio-menz127.c39 unsigned debounce) in men_z127_debounce() argument
46 if (!MEN_Z127_DB_IN_RANGE(debounce)) { in men_z127_debounce()
51 if (debounce > 0) { in men_z127_debounce()
53 rnd = fls(debounce) - 1; in men_z127_debounce()
56 debounce = roundup(debounce, MEN_Z127_DB_MIN_US); in men_z127_debounce()
58 debounce = rounddown(debounce, MEN_Z127_DB_MIN_US); in men_z127_debounce()
60 if (debounce > MEN_Z127_DB_MAX_US) in men_z127_debounce()
61 debounce = MEN_Z127_DB_MAX_US; in men_z127_debounce()
64 debounce /= 50; in men_z127_debounce()
71 if (debounce == 0) { in men_z127_debounce()
[all …]
A Dgpio-bcm-kona.c254 unsigned debounce) in bcm_kona_gpio_set_debounce() argument
264 if ((debounce > 0 && debounce < 1000) || debounce > 128000) { in bcm_kona_gpio_set_debounce()
266 debounce); in bcm_kona_gpio_set_debounce()
271 if (debounce != 0) { in bcm_kona_gpio_set_debounce()
273 debounce /= 1000; in bcm_kona_gpio_set_debounce()
275 res = fls(debounce) - 1; in bcm_kona_gpio_set_debounce()
277 if (res > 0 && (debounce & BIT(res - 1))) in bcm_kona_gpio_set_debounce()
287 if (debounce == 0) { in bcm_kona_gpio_set_debounce()
305 u32 debounce; in bcm_kona_gpio_set_config() local
310 debounce = pinconf_to_config_argument(config); in bcm_kona_gpio_set_config()
[all …]
A Dgpio-twl4030.c451 static int gpio_twl4030_debounce(u32 debounce, u8 mmc_cd) in gpio_twl4030_debounce() argument
458 message[0] = (debounce & 0xff) | (mmc_cd & 0x03); in gpio_twl4030_debounce()
459 debounce >>= 8; in gpio_twl4030_debounce()
460 message[1] = (debounce & 0xff); in gpio_twl4030_debounce()
461 debounce >>= 8; in gpio_twl4030_debounce()
462 message[2] = (debounce & 0x03); in gpio_twl4030_debounce()
484 &omap_twl_info->debounce); in of_gpio_twl4030()
568 ret = gpio_twl4030_debounce(pdata->debounce, pdata->mmc_cd); in gpio_twl4030_probe()
571 pdata->debounce, pdata->mmc_cd, ret); in gpio_twl4030_probe()
A Dgpio-omap.c43 u32 debounce; member
181 unsigned debounce) in omap2_set_gpio_debounce() argument
185 bool enable = !!debounce; in omap2_set_gpio_debounce()
191 debounce = DIV_ROUND_UP(debounce, 31) - 1; in omap2_set_gpio_debounce()
192 if ((debounce & OMAP4_GPIO_DEBOUNCINGTIME_MASK) != debounce) in omap2_set_gpio_debounce()
199 writel_relaxed(debounce, bank->base + bank->regs->debounce); in omap2_set_gpio_debounce()
215 bank->context.debounce = debounce; in omap2_set_gpio_debounce()
248 bank->context.debounce = 0; in omap_clear_gpio_debounce()
876 unsigned debounce) in omap_gpio_debounce() argument
899 u32 debounce; in omap_gpio_set_config() local
[all …]
A Dgpio-wm831x.c101 unsigned debounce) in wm831x_gpio_set_debounce() argument
119 if (debounce >= 32 && debounce <= 64) in wm831x_gpio_set_debounce()
121 else if (debounce >= 4000 && debounce <= 8000) in wm831x_gpio_set_debounce()
/linux-6.3-rc2/Documentation/devicetree/bindings/sound/
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).
A Dnau8825.txt63 - nuvoton,short-key-debounce: Button short key press debounce time.
69 - nuvoton,jack-insert-debounce: number from 0 to 7 that sets debounce time to 2^(n+2) ms
70 - nuvoton,jack-eject-debounce: number from 0 to 7 that sets debounce time to 2^(n+2) ms
101 nuvoton,short-key-debounce = <2>;
102 nuvoton,jack-insert-debounce = <7>;
103 nuvoton,jack-eject-debounce = <7>;
A Dnau8821.txt33 - nuvoton,jack-insert-debounce: number from 0 to 7 that sets debounce time to 2^(n+2) ms
34 - nuvoton,jack-eject-debounce: number from 0 to 7 that sets debounce time to 2^(n+2) ms
52 nuvoton,jack-insert-debounce = <7>;
53 nuvoton,jack-eject-debounce = <7>;
A Dnau8824.txt59 - nuvoton,short-key-debounce: Button short key press debounce time.
64 - nuvoton,jack-eject-debounce: Jack ejection debounce time.
86 nuvoton,short-key-debounce = <0>;
87 nuvoton,jack-eject-debounce = <1>;
/linux-6.3-rc2/Documentation/devicetree/bindings/gpio/
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-6.3-rc2/arch/arm/boot/dts/
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>;
A Demev2-kzm9d.dts35 debounce-interval = <50>;
42 debounce-interval = <50>;
49 debounce-interval = <50>;
56 debounce-interval = <50>;
A Domap3-devkit8000-lcd-common.dtsi65 ti,debounce-max = /bits/ 16 <10>;
66 ti,debounce-tol = /bits/ 16 <5>;
67 ti,debounce-rep = /bits/ 16 <1>;
A Domap4-droid4-xt894.dts15 /* Value above 7.95ms for no GPIO hardware debounce */
16 debounce-interval = <10>;
30 /* Value above 7.95ms for no GPIO hardware debounce */
31 debounce-interval = <10>;
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>;
A Dr8a7792-blanche.dts122 debounce-interval = <20>;
129 debounce-interval = <20>;
136 debounce-interval = <20>;
143 debounce-interval = <20>;
150 debounce-interval = <20>;
157 debounce-interval = <20>;
/linux-6.3-rc2/drivers/mmc/core/
A Dslot-gpio.c186 unsigned int debounce) in mmc_gpiod_request_cd() argument
200 if (debounce) { in mmc_gpiod_request_cd()
201 ret = gpiod_set_debounce(desc, debounce); in mmc_gpiod_request_cd()
203 ctx->cd_debounce_delay_ms = debounce / 1000; in mmc_gpiod_request_cd()
238 unsigned int idx, unsigned int debounce) in mmc_gpiod_request_ro() argument
252 if (debounce) { in mmc_gpiod_request_ro()
253 ret = gpiod_set_debounce(desc, debounce); in mmc_gpiod_request_ro()
/linux-6.3-rc2/drivers/input/touchscreen/
A Dmk712.c81 static int debounce = 1; in mk712_interrupt() local
90 debounce = 1; in mk712_interrupt()
95 debounce = 1; in mk712_interrupt()
100 if (debounce) { in mk712_interrupt()
101 debounce = 0; in mk712_interrupt()
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-6.3-rc2/drivers/input/keyboard/
A Dmt6779-keypad.c121 u32 debounce; in mt6779_keypad_pdrv_probe() local
161 &debounce)) in mt6779_keypad_pdrv_probe()
162 debounce = 16; in mt6779_keypad_pdrv_probe()
164 if (debounce > MTK_KPD_DEBOUNCE_MAX_MS) { in mt6779_keypad_pdrv_probe()
191 keypad->n_rows, keypad->n_cols, debounce); in mt6779_keypad_pdrv_probe()
204 (debounce * (1 << 5)) & MTK_KPD_DEBOUNCE_MASK); in mt6779_keypad_pdrv_probe()
/linux-6.3-rc2/Documentation/devicetree/bindings/input/
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>;
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-6.3-rc2/include/linux/mmc/
A Dslot-gpio.h21 unsigned int debounce);
23 unsigned int idx, unsigned int debounce);
/linux-6.3-rc2/arch/sh/drivers/
A Dpush-switch.c28 struct push_switch *psw = from_timer(psw, t, debounce); in switch_timer()
78 timer_setup(&psw->debounce, switch_timer, 0); in switch_drv_probe()
105 timer_shutdown_sync(&psw->debounce); in switch_drv_remove()
/linux-6.3-rc2/Documentation/devicetree/bindings/power/supply/
A Dti,lp8727.yaml25 debounce-ms:
26 description: interrupt debounce time in ms
73 debounce-ms = <300>;

Completed in 29 milliseconds

12345678910>>...14