/linux-6.12.1/drivers/gpio/ |
D | gpio-menz127.c | 39 unsigned debounce) in men_z127_debounce() argument 46 if (!MEN_Z127_DB_IN_RANGE(debounce)) { in men_z127_debounce() 47 dev_err(dev, "debounce value %u out of range", debounce); in men_z127_debounce() 51 if (debounce > 0) { in men_z127_debounce() 53 rnd = fls(debounce) - 1; in men_z127_debounce() 55 if (rnd && (debounce & BIT(rnd - 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() [all …]
|
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 …]
|
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()
|
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() 250 writel_relaxed(bank->context.debounce, bank->base + in omap_clear_gpio_debounce() 251 bank->regs->debounce); in omap_clear_gpio_debounce() [all …]
|
D | gpio-wm831x.c | 102 unsigned debounce) in wm831x_gpio_set_debounce() argument 120 if (debounce >= 32 && debounce <= 64) in wm831x_gpio_set_debounce() 122 else if (debounce >= 4000 && debounce <= 8000) in wm831x_gpio_set_debounce()
|
/linux-6.12.1/arch/arm/boot/dts/samsung/ |
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>;
|
/linux-6.12.1/drivers/mmc/core/ |
D | slot-gpio.c | 189 unsigned int debounce) in mmc_gpiod_request_cd() argument 203 if (debounce) { in mmc_gpiod_request_cd() 204 ret = gpiod_set_debounce(desc, debounce); in mmc_gpiod_request_cd() 206 ctx->cd_debounce_delay_ms = debounce / 1000; in mmc_gpiod_request_cd() 261 unsigned int idx, unsigned int debounce) in mmc_gpiod_request_ro() argument 275 if (debounce) { in mmc_gpiod_request_ro() 276 ret = gpiod_set_debounce(desc, debounce); in mmc_gpiod_request_ro()
|
/linux-6.12.1/drivers/input/touchscreen/ |
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()
|
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()
|
/linux-6.12.1/drivers/input/keyboard/ |
D | mt6779-keypad.c | 116 u32 debounce; in mt6779_keypad_pdrv_probe() local 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() 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-6.12.1/arch/arm/boot/dts/renesas/ |
D | emev2-kzm9d.dts | 35 debounce-interval = <50>; 42 debounce-interval = <50>; 49 debounce-interval = <50>; 56 debounce-interval = <50>;
|
D | r8a7792-blanche.dts | 116 debounce-interval = <20>; 123 debounce-interval = <20>; 130 debounce-interval = <20>; 137 debounce-interval = <20>; 144 debounce-interval = <20>; 151 debounce-interval = <20>;
|
D | r8a7793-gose.dts | 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>; 127 debounce-interval = <20>; 134 debounce-interval = <20>; 141 debounce-interval = <20>; [all …]
|
/linux-6.12.1/arch/arm/boot/dts/ti/omap/ |
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>;
|
D | omap4-droid4-xt894.dts | 27 /* 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-6.12.1/arch/arm/boot/dts/arm/ |
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>;
|
/linux-6.12.1/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-6.12.1/arch/arm64/boot/dts/sprd/ |
D | sp9860g-1h10.dts | 43 debounce-interval = <2>; 51 debounce-interval = <2>; 59 debounce-interval = <2>;
|
/linux-6.12.1/arch/sh/drivers/ |
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()
|
/linux-6.12.1/include/linux/mmc/ |
D | slot-gpio.h | 21 unsigned int debounce); 23 unsigned int idx, unsigned int debounce);
|
/linux-6.12.1/arch/arm64/boot/dts/arm/ |
D | juno-motherboard.dtsi | 51 debounce-interval = <50>; 58 debounce-interval = <50>; 65 debounce-interval = <50>; 72 debounce-interval = <50>; 79 debounce-interval = <50>; 86 debounce-interval = <50>;
|
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/ |
D | imx7d-pico-hobbit.dts | 76 ti,debounce-max = /bits/ 16 <70>; 77 ti,debounce-tol = /bits/ 16 <3>; 78 ti,debounce-rep = /bits/ 16 <2>;
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | msm8998-fxtec-pro1.dts | 46 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>;
|