/openbmc/linux/drivers/gpio/ |
H A D | gpio-menz127.c | 39 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 …]
|
H A D | gpio-bcm-kona.c | 255 unsigned debounce) in bcm_kona_gpio_set_debounce() argument 265 if ((debounce > 0 && debounce < 1000) || debounce > 128000) { in bcm_kona_gpio_set_debounce() 267 debounce); in bcm_kona_gpio_set_debounce() 272 if (debounce != 0) { in bcm_kona_gpio_set_debounce() 274 debounce /= 1000; in bcm_kona_gpio_set_debounce() 276 res = fls(debounce) - 1; in bcm_kona_gpio_set_debounce() 278 if (res > 0 && (debounce & BIT(res - 1))) in bcm_kona_gpio_set_debounce() 288 if (debounce == 0) { in bcm_kona_gpio_set_debounce() 306 u32 debounce; in bcm_kona_gpio_set_config() local 311 debounce = pinconf_to_config_argument(config); in bcm_kona_gpio_set_config() [all …]
|
H A D | gpio-twl4030.c | 453 static int gpio_twl4030_debounce(u32 debounce, u8 mmc_cd) in gpio_twl4030_debounce() argument 460 message[0] = (debounce & 0xff) | (mmc_cd & 0x03); in gpio_twl4030_debounce() 461 debounce >>= 8; in gpio_twl4030_debounce() 462 message[1] = (debounce & 0xff); in gpio_twl4030_debounce() 463 debounce >>= 8; in gpio_twl4030_debounce() 464 message[2] = (debounce & 0x03); in gpio_twl4030_debounce() 482 &omap_twl_info->debounce); in of_gpio_twl4030() 561 ret = gpio_twl4030_debounce(pdata->debounce, pdata->mmc_cd); in gpio_twl4030_probe() 564 pdata->debounce, pdata->mmc_cd, ret); in gpio_twl4030_probe()
|
H A D | gpio-wm831x.c | 101 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()
|
H A D | gpio-omap.c | 43 u32 debounce; member 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() 200 writel_relaxed(debounce, bank->base + bank->regs->debounce); in omap2_set_gpio_debounce() 216 bank->context.debounce = debounce; in omap2_set_gpio_debounce() 249 bank->context.debounce = 0; in omap_clear_gpio_debounce() 913 unsigned debounce) in omap_gpio_debounce() argument 936 u32 debounce; in omap_gpio_set_config() local [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | ti,ts3a227e.yaml | 44 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 D | nuvoton,nau8825.yaml | 145 nuvoton,short-key-debounce: 148 Button short key press debounce time. 156 nuvoton,jack-insert-debounce: 159 number from 0 to 7 that sets debounce time to 2^(n+2) ms. 163 nuvoton,jack-eject-debounce: 166 number from 0 to 7 that sets debounce time to 2^(n+2) ms 231 nuvoton,short-key-debounce = <2>; 232 nuvoton,jack-insert-debounce = <7>; 233 nuvoton,jack-eject-debounce = <7>;
|
H A D | nuvoton,nau8821.yaml | 75 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. 127 nuvoton,jack-insert-debounce = <7>; 128 nuvoton,jack-eject-debounce = <0>;
|
H A D | nuvoton,nau8824.yaml | 131 nuvoton,short-key-debounce: 134 Button short key press debounce time. 141 nuvoton,jack-eject-debounce: 144 Jack ejection debounce time. 179 nuvoton,short-key-debounce = <0>; 180 nuvoton,jack-eject-debounce = <1>;
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | sprd,gpio-eic.yaml | 19 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";
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | s3c6410-mini6410.dts | 71 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>;
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | mk712.c | 81 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()
|
H A D | ts4800-ts.c | 45 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()
|
/openbmc/linux/drivers/mmc/core/ |
H A D | slot-gpio.c | 190 unsigned int debounce) in mmc_gpiod_request_cd() argument 204 if (debounce) { in mmc_gpiod_request_cd() 205 ret = gpiod_set_debounce(desc, debounce); in mmc_gpiod_request_cd() 207 ctx->cd_debounce_delay_ms = debounce / 1000; in mmc_gpiod_request_cd() 262 unsigned int idx, unsigned int debounce) in mmc_gpiod_request_ro() argument 276 if (debounce) { in mmc_gpiod_request_ro() 277 ret = gpiod_set_debounce(desc, debounce); in mmc_gpiod_request_ro()
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | mt6779-keypad.c | 121 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()
|
/openbmc/linux/arch/arm/boot/dts/renesas/ |
H A D | emev2-kzm9d.dts | 35 debounce-interval = <50>; 42 debounce-interval = <50>; 49 debounce-interval = <50>; 56 debounce-interval = <50>;
|
H A D | r8a7792-blanche.dts | 122 debounce-interval = <20>; 129 debounce-interval = <20>; 136 debounce-interval = <20>; 143 debounce-interval = <20>; 150 debounce-interval = <20>; 157 debounce-interval = <20>;
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-devkit8000-lcd-common.dtsi | 65 ti,debounce-max = /bits/ 16 <10>; 66 ti,debounce-tol = /bits/ 16 <5>; 67 ti,debounce-rep = /bits/ 16 <1>;
|
H A D | omap4-droid4-xt894.dts | 15 /* 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>;
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | r8a7792-blanche.dts | 119 debounce-interval = <20>; 126 debounce-interval = <20>; 133 debounce-interval = <20>; 140 debounce-interval = <20>; 147 debounce-interval = <20>; 154 debounce-interval = <20>;
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | brcm,bcm-keypad.txt | 29 - 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>;
|
/openbmc/linux/arch/arm/boot/dts/arm/ |
H A D | integratorap-im-pd1.dts | 92 debounce-interval = <50>; 98 debounce-interval = <50>; 104 debounce-interval = <50>; 110 debounce-interval = <50>; 116 debounce-interval = <50>; 122 debounce-interval = <50>;
|
/openbmc/linux/include/linux/mmc/ |
H A D | slot-gpio.h | 21 unsigned int debounce); 23 unsigned int idx, unsigned int debounce);
|
/openbmc/linux/arch/sh/drivers/ |
H A D | push-switch.c | 28 struct push_switch *psw = from_timer(psw, t, debounce); in switch_timer() 78 timer_setup(&psw->debounce, switch_timer, 0); in switch_drv_probe() 104 timer_shutdown_sync(&psw->debounce); in switch_drv_remove()
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | ti,lp8727.yaml | 25 debounce-ms: 26 description: interrupt debounce time in ms 74 debounce-ms = <300>;
|