/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() 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 in men_z127_debounce() [all...] |
H A D | gpio-bcm-kona.c | 276 unsigned debounce) in bcm_kona_gpio_set_debounce() argument 284 /* debounce must be 1-128ms (or 0) */ in bcm_kona_gpio_set_debounce() 285 if ((debounce > 0 && debounce < 1000) || debounce > 128000) { in bcm_kona_gpio_set_debounce() 287 debounce); in bcm_kona_gpio_set_debounce() 291 /* calculate debounce bit value */ in bcm_kona_gpio_set_debounce() 292 if (debounce != 0) { in bcm_kona_gpio_set_debounce() 294 debounce /= 1000; in bcm_kona_gpio_set_debounce() 296 res = fls(debounce) in bcm_kona_gpio_set_debounce() 324 u32 debounce; bcm_kona_gpio_set_config() local [all...] |
H A D | gpio-twl4030.c | 454 static int gpio_twl4030_debounce(u32 debounce, u8 mmc_cd) in gpio_twl4030_debounce() argument 461 message[0] = (debounce & 0xff) | (mmc_cd & 0x03); in gpio_twl4030_debounce() 462 debounce >>= 8; in gpio_twl4030_debounce() 463 message[1] = (debounce & 0xff); in gpio_twl4030_debounce() 464 debounce >>= 8; in gpio_twl4030_debounce() 465 message[2] = (debounce & 0x03); in gpio_twl4030_debounce() 482 of_property_read_u32(dev->of_node, "ti,debounce", in of_gpio_twl4030() 483 &omap_twl_info->debounce); in of_gpio_twl4030() 561 ret = gpio_twl4030_debounce(pdata->debounce, pdata->mmc_cd); in gpio_twl4030_probe() 563 dev_dbg(&pdev->dev, "debounce in gpio_twl4030_probe() [all...] |
H A D | gpio-omap.c | 43 u32 debounce; member 158 * Disable debounce before cutting it's clock. If debounce is in omap_gpio_dbck_disable() 170 * omap2_set_gpio_debounce - low level gpio debounce time 173 * @debounce: debounce time to use 175 * OMAP's debounce time is in 31us steps 176 * <debounce time> = (GPIO_DEBOUNCINGTIME[7:0].DEBOUNCETIME + 1) x 31 182 unsigned debounce) in omap2_set_gpio_debounce() argument 186 bool enable = !!debounce; in omap2_set_gpio_debounce() 913 omap_gpio_debounce(struct gpio_chip * chip,unsigned offset,unsigned debounce) omap_gpio_debounce() argument 936 u32 debounce; omap_gpio_set_config() local [all...] |
H A 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()
|
H A D | gpio-blzp1600.c | 196 unsigned int debounce) in blzp1600_gpio_set_debounce() argument 201 blzp1600_gpio_rmw(chip->base + GPIO_DB_REG, BIT(offset), debounce); in blzp1600_gpio_set_debounce() 208 u32 debounce; in blzp1600_gpio_set_config() local 213 debounce = pinconf_to_config_argument(config); in blzp1600_gpio_set_config() 214 return blzp1600_gpio_set_debounce(gc, offset, debounce); in blzp1600_gpio_set_config()
|
/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>;
|
/linux/drivers/mmc/core/ ! |
H A D | slot-gpio.c | 31 /* Schedule a card detection after a debounce timeout */ in mmc_gpio_cd_irqt() 168 * @debounce: debounce time in microseconds 177 unsigned int debounce) in mmc_gpiod_request_cd() argument 191 if (debounce) { in mmc_gpiod_request_cd() 192 ret = gpiod_set_debounce(desc, debounce); in mmc_gpiod_request_cd() 194 ctx->cd_debounce_delay_ms = debounce / 1000; in mmc_gpiod_request_cd() 244 * @debounce: debounce time in microseconds 249 unsigned int idx, unsigned int debounce) in mmc_gpiod_request_ro() argument [all...] |
/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()
|
/linux/arch/arm/boot/dts/renesas/ ! |
H A D | r9a06g032-rzn1d400-db.dts | 38 debounce-interval = <20>; 45 debounce-interval = <20>; 52 debounce-interval = <20>; 59 debounce-interval = <20>; 66 debounce-interval = <20>; 73 debounce-interval = <20>; 80 debounce-interval = <20>; 87 debounce-interval = <20>;
|
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 | 116 debounce-interval = <20>; 123 debounce-interval = <20>; 130 debounce-interval = <20>; 137 debounce-interval = <20>; 144 debounce-interval = <20>; 151 debounce-interval = <20>;
|
/linux/drivers/input/keyboard/ ! |
H A D | mt6779-keypad.c | 116 u32 debounce; in mt6779_keypad_pdrv_probe() local 155 if (device_property_read_u32(&pdev->dev, "debounce-delay-ms", in mt6779_keypad_pdrv_probe() 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() 185 dev_dbg(&pdev->dev, "n_row=%d n_col=%d debounce=%d\n", 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/drivers/pinctrl/mediatek/ ! |
H A D | mtk-eint.h | 48 bool debounce; member 95 unsigned int debounce); 116 unsigned int debounce) in mtk_eint_set_debounce() argument
|
/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 | 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/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>;
|
H A 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>;
|
/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>;
|
/linux/arch/sh/drivers/ ! |
H A D | push-switch.c | 28 struct push_switch *psw = timer_container_of(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/arch/arm/boot/dts/nxp/imx/ ! |
H A 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>;
|
H A D | imx53-sk-imx53-atm0700d4.dtsi | 35 ti,debounce-tol = /bits/ 16 <10>; 36 ti,debounce-rep = /bits/ 16 <0>;
|
/linux/arch/arm64/boot/dts/arm/ ! |
H A 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/arch/arm64/boot/dts/renesas/ ! |
H A D | renesas-smarc2.dtsi | 68 debounce-interval = <20>; 76 debounce-interval = <20>; 84 debounce-interval = <20>;
|