Home
last modified time | relevance | path

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

12345678910>>...13

/linux/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.c262 unsigned debounce) in bcm_kona_gpio_set_debounce() argument
272 if ((debounce > 0 && debounce < 1000) || debounce > 128000) { in bcm_kona_gpio_set_debounce()
274 debounce); in bcm_kona_gpio_set_debounce()
279 if (debounce != 0) { in bcm_kona_gpio_set_debounce()
281 debounce /= 1000; in bcm_kona_gpio_set_debounce()
283 res = fls(debounce) - 1; in bcm_kona_gpio_set_debounce()
285 if (res > 0 && (debounce & BIT(res - 1))) in bcm_kona_gpio_set_debounce()
295 if (debounce == 0) { in bcm_kona_gpio_set_debounce()
313 u32 debounce; in bcm_kona_gpio_set_config() local
318 debounce = pinconf_to_config_argument(config); in bcm_kona_gpio_set_config()
[all …]
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-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()
486 &omap_twl_info->debounce); in of_gpio_twl4030()
558 ret = gpio_twl4030_debounce(pdata->debounce, pdata->mmc_cd); in gpio_twl4030_probe()
561 pdata->debounce, pdata->mmc_cd, ret); in gpio_twl4030_probe()
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/Documentation/devicetree/bindings/sound/
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
98 nuvoton,short-key-debounce = <2>;
99 nuvoton,jack-insert-debounce = <7>;
100 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/arch/arm64/boot/dts/qcom/
A Dmsm8998-fxtec-pro1.dts40 debounce-interval = <15>;
58 debounce-interval = <15>;
66 debounce-interval = <15>;
74 debounce-interval = <15>;
82 debounce-interval = <15>;
90 debounce-interval = <15>;
98 debounce-interval = <15>;
118 debounce-interval = <15>;
126 debounce-interval = <15>;
134 debounce-interval = <15>;
[all …]
/linux/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 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>;
A Dimx6qdl-skov-cpu-revc.dtsi28 ti,debounce-max = /bits/ 16 <100>;
29 ti,debounce-tol = /bits/ 16 <(~0)>;
30 ti,debounce-rep = /bits/ 16 <4>;
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 Dr8a7793-gose.dts78 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>;
127 debounce-interval = <20>;
134 debounce-interval = <20>;
141 debounce-interval = <20>;
[all …]
/linux/drivers/mmc/core/
A Dslot-gpio.c171 unsigned int debounce) in mmc_gpiod_request_cd() argument
185 if (debounce) { in mmc_gpiod_request_cd()
186 ret = gpiod_set_debounce(desc, debounce); in mmc_gpiod_request_cd()
188 ctx->cd_debounce_delay_ms = debounce / 1000; in mmc_gpiod_request_cd()
223 unsigned int idx, unsigned int debounce) in mmc_gpiod_request_ro() argument
237 if (debounce) { in mmc_gpiod_request_ro()
238 ret = gpiod_set_debounce(desc, debounce); in mmc_gpiod_request_ro()
/linux/Documentation/devicetree/bindings/gpio/
A Dgpio-eic-sprd.txt6 controller contains 4 sub-modules: EIC-debounce, EIC-latch, EIC-async and
7 EIC-sync. But the PMIC EIC controller contains only one EIC-debounce sub-
10 The EIC-debounce sub-module provides up to 8 source input signal
11 connections. A debounce mechanism is used to capture the input signals'
15 automatically to reduce power dissipation. Moreover the debounce range
32 "sprd,sc9860-eic-debounce",
49 compatible = "sprd,sc9860-eic-debounce";
/linux/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/drivers/pinctrl/intel/
A Dpinctrl-baytrail.c905 u32 conf, pull, val, debounce; in byt_pin_config_get() local
940 debounce = readl(db_reg); in byt_pin_config_get()
990 u32 conf, val, debounce; in byt_pin_config_set() local
1051 debounce = readl(db_reg); in byt_pin_config_set()
1060 debounce &= ~BYT_DEBOUNCE_PULSE_MASK; in byt_pin_config_set()
1061 debounce |= BYT_DEBOUNCE_PULSE_375US; in byt_pin_config_set()
1073 debounce |= BYT_DEBOUNCE_PULSE_3MS; in byt_pin_config_set()
1077 debounce |= BYT_DEBOUNCE_PULSE_6MS; in byt_pin_config_set()
1081 debounce |= BYT_DEBOUNCE_PULSE_12MS; in byt_pin_config_set()
1085 debounce |= BYT_DEBOUNCE_PULSE_24MS; in byt_pin_config_set()
[all …]
/linux/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/drivers/pinctrl/
A Dpinctrl-amd.c120 unsigned debounce) in amd_gpio_set_debounce() argument
131 if (debounce) { in amd_gpio_set_debounce()
144 if (debounce < 61) { in amd_gpio_set_debounce()
148 } else if (debounce < 976) { in amd_gpio_set_debounce()
149 time = debounce / 61; in amd_gpio_set_debounce()
153 } else if (debounce < 3900) { in amd_gpio_set_debounce()
154 time = debounce / 244; in amd_gpio_set_debounce()
158 } else if (debounce < 250000) { in amd_gpio_set_debounce()
159 time = debounce / 15625; in amd_gpio_set_debounce()
164 time = debounce / 62500; in amd_gpio_set_debounce()
[all …]

Completed in 46 milliseconds

12345678910>>...13