/Linux-v4.19/drivers/gpio/ |
D | gpio-menz127.c | 42 unsigned debounce) in men_z127_debounce() argument 49 if (!MEN_Z127_DB_IN_RANGE(debounce)) { in men_z127_debounce() 50 dev_err(dev, "debounce value %u out of range", debounce); in men_z127_debounce() 54 if (debounce > 0) { in men_z127_debounce() 56 rnd = fls(debounce) - 1; in men_z127_debounce() 58 if (rnd && (debounce & BIT(rnd - 1))) in men_z127_debounce() 59 debounce = roundup(debounce, MEN_Z127_DB_MIN_US); in men_z127_debounce() 61 debounce = rounddown(debounce, MEN_Z127_DB_MIN_US); in men_z127_debounce() 63 if (debounce > MEN_Z127_DB_MAX_US) in men_z127_debounce() 64 debounce = MEN_Z127_DB_MAX_US; in men_z127_debounce() [all …]
|
D | gpio-bcm-kona.c | 263 unsigned debounce) in bcm_kona_gpio_set_debounce() argument 273 if ((debounce > 0 && debounce < 1000) || debounce > 128000) { in bcm_kona_gpio_set_debounce() 275 debounce); in bcm_kona_gpio_set_debounce() 280 if (debounce != 0) { in bcm_kona_gpio_set_debounce() 282 debounce /= 1000; in bcm_kona_gpio_set_debounce() 284 res = fls(debounce) - 1; in bcm_kona_gpio_set_debounce() 286 if (res > 0 && (debounce & BIT(res - 1))) in bcm_kona_gpio_set_debounce() 296 if (debounce == 0) { in bcm_kona_gpio_set_debounce() 314 u32 debounce; in bcm_kona_gpio_set_config() local 319 debounce = pinconf_to_config_argument(config); in bcm_kona_gpio_set_config() [all …]
|
D | gpio-twl4030.c | 424 static int gpio_twl4030_debounce(u32 debounce, u8 mmc_cd) in gpio_twl4030_debounce() argument 431 message[0] = (debounce & 0xff) | (mmc_cd & 0x03); in gpio_twl4030_debounce() 432 debounce >>= 8; in gpio_twl4030_debounce() 433 message[1] = (debounce & 0xff); in gpio_twl4030_debounce() 434 debounce >>= 8; in gpio_twl4030_debounce() 435 message[2] = (debounce & 0x03); in gpio_twl4030_debounce() 459 &omap_twl_info->debounce); in of_gpio_twl4030() 531 ret = gpio_twl4030_debounce(pdata->debounce, pdata->mmc_cd); in gpio_twl4030_probe() 534 pdata->debounce, pdata->mmc_cd, ret); in gpio_twl4030_probe()
|
D | gpio-wm831x.c | 105 unsigned debounce) in wm831x_gpio_set_debounce() argument 123 if (debounce >= 32 && debounce <= 64) in wm831x_gpio_set_debounce() 125 else if (debounce >= 4000 && debounce <= 8000) in wm831x_gpio_set_debounce()
|
D | gpio-omap.c | 47 u32 debounce; member 262 unsigned debounce) in omap2_set_gpio_debounce() argument 267 bool enable = !!debounce; in omap2_set_gpio_debounce() 273 debounce = DIV_ROUND_UP(debounce, 31) - 1; in omap2_set_gpio_debounce() 274 if ((debounce & OMAP4_GPIO_DEBOUNCINGTIME_MASK) != debounce) in omap2_set_gpio_debounce() 281 reg = bank->base + bank->regs->debounce; in omap2_set_gpio_debounce() 282 writel_relaxed(debounce, reg); in omap2_set_gpio_debounce() 305 bank->context.debounce = debounce; in omap2_set_gpio_debounce() 338 bank->context.debounce = 0; in omap_clear_gpio_debounce() 339 writel_relaxed(bank->context.debounce, bank->base + in omap_clear_gpio_debounce() [all …]
|
/Linux-v4.19/drivers/mmc/core/ |
D | slot-gpio.c | 215 unsigned int debounce) in mmc_gpio_request_cd() argument 230 if (debounce) { in mmc_gpio_request_cd() 231 ret = gpio_set_debounce(gpio, debounce); in mmc_gpio_request_cd() 261 unsigned int debounce, bool *gpio_invert) in mmc_gpiod_request_cd() argument 271 if (debounce) { in mmc_gpiod_request_cd() 272 ret = gpiod_set_debounce(desc, debounce); in mmc_gpiod_request_cd() 274 ctx->cd_debounce_delay_ms = debounce / 1000; in mmc_gpiod_request_cd() 312 unsigned int debounce, bool *gpio_invert) in mmc_gpiod_request_ro() argument 322 if (debounce) { in mmc_gpiod_request_ro() 323 ret = gpiod_set_debounce(desc, debounce); in mmc_gpiod_request_ro()
|
/Linux-v4.19/Documentation/devicetree/bindings/sound/ |
D | nau8825.txt | 63 - 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>;
|
D | nau8824.txt | 59 - 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-v4.19/arch/arm/boot/dts/ |
D | s3c6410-mini6410.dts | 79 debounce-interval = <20>; 86 debounce-interval = <20>; 93 debounce-interval = <20>; 100 debounce-interval = <20>; 107 debounce-interval = <20>; 114 debounce-interval = <20>; 121 debounce-interval = <20>; 128 debounce-interval = <20>;
|
D | emev2-kzm9d.dts | 35 debounce-interval = <50>; 42 debounce-interval = <50>; 49 debounce-interval = <50>; 56 debounce-interval = <50>;
|
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>;
|
D | omap3-devkit8000-lcd-common.dtsi | 68 ti,debounce-max = /bits/ 16 <10>; 69 ti,debounce-tol = /bits/ 16 <5>; 70 ti,debounce-rep = /bits/ 16 <1>;
|
D | r8a7793-gose.dts | 72 debounce-interval = <20>; 79 debounce-interval = <20>; 86 debounce-interval = <20>; 93 debounce-interval = <20>; 100 debounce-interval = <20>; 107 debounce-interval = <20>; 114 debounce-interval = <20>; 121 debounce-interval = <20>; 128 debounce-interval = <20>; 135 debounce-interval = <20>; [all …]
|
/Linux-v4.19/include/linux/mmc/ |
D | slot-gpio.h | 24 unsigned int debounce); 28 unsigned int debounce, bool *gpio_invert); 31 unsigned int debounce, bool *gpio_invert);
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | mk712.c | 85 static int debounce = 1; in mk712_interrupt() local 94 debounce = 1; in mk712_interrupt() 99 debounce = 1; in mk712_interrupt() 104 if (debounce) { in mk712_interrupt() 105 debounce = 0; in mk712_interrupt()
|
D | ts4800-ts.c | 46 int debounce; member 55 ts->debounce = DEBOUNCE_COUNT; in ts4800_ts_open() 82 if (ts->debounce) { in ts4800_ts_poll() 83 ts->debounce--; in ts4800_ts_poll() 100 ts->debounce = DEBOUNCE_COUNT; in ts4800_ts_poll()
|
/Linux-v4.19/Documentation/devicetree/bindings/gpio/ |
D | gpio-eic-sprd.txt | 6 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-v4.19/Documentation/devicetree/bindings/power/supply/ |
D | lp8727_charger.txt | 9 - debounce-ms: interrupt debounce time. (u32) 28 debounce-ms = <300>;
|
/Linux-v4.19/Documentation/devicetree/bindings/input/ |
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>;
|
D | pxa27x-keypad.txt | 7 - 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>;
|
D | gpio-matrix-keypad.txt | 24 - debounce-delay-ms: debounce interval in milliseconds 33 debounce-delay-ms = <5>;
|
/Linux-v4.19/drivers/pinctrl/ |
D | pinctrl-amd.c | 121 unsigned debounce) in amd_gpio_set_debounce() argument 132 if (debounce) { in amd_gpio_set_debounce() 145 if (debounce < 61) { in amd_gpio_set_debounce() 149 } else if (debounce < 976) { in amd_gpio_set_debounce() 150 time = debounce / 61; in amd_gpio_set_debounce() 154 } else if (debounce < 3900) { in amd_gpio_set_debounce() 155 time = debounce / 244; in amd_gpio_set_debounce() 159 } else if (debounce < 250000) { in amd_gpio_set_debounce() 160 time = debounce / 15600; in amd_gpio_set_debounce() 164 } else if (debounce < 1000000) { in amd_gpio_set_debounce() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/input/touchscreen/ |
D | ads7846.txt | 59 ti,debounce-max Max number of additional readings per 61 ti,debounce-tol Tolerance used for filtering (u16). 62 ti,debounce-rep Additional consecutive good readings 64 ti,pendown-gpio-debounce Platform specific debounce time for the
|
/Linux-v4.19/arch/sh/drivers/ |
D | push-switch.c | 31 struct push_switch *psw = from_timer(psw, t, debounce); in switch_timer() 81 timer_setup(&psw->debounce, switch_timer, 0); in switch_drv_probe() 108 del_timer_sync(&psw->debounce); in switch_drv_remove()
|
/Linux-v4.19/arch/arm64/boot/dts/arm/ |
D | juno-motherboard.dtsi | 63 debounce-interval = <50>; 70 debounce-interval = <50>; 77 debounce-interval = <50>; 84 debounce-interval = <50>; 91 debounce-interval = <50>; 98 debounce-interval = <50>;
|