/Linux-v6.6/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-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() 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() [all …]
|
D | gpio-bcm-kona.c | 255 unsigned debounce) in bcm_kona_gpio_set_debounce() argument 264 /* debounce must be 1-128ms (or 0) */ in bcm_kona_gpio_set_debounce() 265 if ((debounce > 0 && debounce < 1000) || debounce > 128000) { in bcm_kona_gpio_set_debounce() 266 dev_err(chip->parent, "Debounce value %u not in range\n", in bcm_kona_gpio_set_debounce() 267 debounce); in bcm_kona_gpio_set_debounce() 271 /* calculate debounce bit value */ 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() [all …]
|
D | gpio-ftgpio010.c | 171 * Debounce only works if interrupts are enabled. The manual in ftgpio_gpio_set_config() 173 * PCLK is divided down to 33 kHz for the debounce timer. 0x7D0 is in ftgpio_gpio_set_config() 177 * As we get a debounce setting in microseconds, we calculate the in ftgpio_gpio_set_config() 178 * desired period time and see if we can get a suitable debounce in ftgpio_gpio_set_config() 194 * The debounce timer happens to already be set to the in ftgpio_gpio_set_config() 196 * debounce on this GPIO line and return. This happens more in ftgpio_gpio_set_config() 198 * on a system are requesting the same debounce interval. in ftgpio_gpio_set_config() 209 * Oh no! Someone is already using the debounce with in ftgpio_gpio_set_config() 217 /* Enable debounce */ in ftgpio_gpio_set_config() 286 /* We need a silicon clock to do debounce */ in ftgpio_gpio_probe() [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() 481 of_property_read_u32(dev->of_node, "ti,debounce", in of_gpio_twl4030() 482 &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 %.03x %.01x --> %d\n", in gpio_twl4030_probe() [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/gpio/ |
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";
|
/Linux-v6.6/drivers/mmc/core/ |
D | slot-gpio.c | 31 /* Schedule a card detection after a debounce timeout */ in mmc_gpio_cd_irqt() 177 * @debounce: debounce time in microseconds 186 unsigned int debounce) in mmc_gpiod_request_cd() argument 200 if (debounce) { in mmc_gpiod_request_cd() 201 ret = gpiod_set_debounce(desc, debounce); in mmc_gpiod_request_cd() 203 ctx->cd_debounce_delay_ms = debounce / 1000; in mmc_gpiod_request_cd() 233 * @debounce: debounce time in microseconds 238 unsigned int idx, unsigned int debounce) in mmc_gpiod_request_ro() argument 252 if (debounce) { in mmc_gpiod_request_ro() 253 ret = gpiod_set_debounce(desc, debounce); in mmc_gpiod_request_ro()
|
/Linux-v6.6/Documentation/devicetree/bindings/sound/ |
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).
|
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>;
|
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>;
|
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>;
|
D | cirrus,cs42l42.yaml | 77 Debounce the rising edge of TIP_SENSE_PLUG. With no 78 debounce, the tip sense pin might be noisy on a plug event. 96 Debounce the falling edge of TIP_SENSE_UNPLUG. With no 97 debounce, the tip sense pin might be noisy on an unplug event. 118 There may be erroneous button interrupts if this debounce time
|
/Linux-v6.6/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-v6.6/drivers/input/keyboard/ |
D | mt6779-keypad.c | 121 u32 debounce; in mt6779_keypad_pdrv_probe() local 160 if (device_property_read_u32(&pdev->dev, "debounce-delay-ms", in mt6779_keypad_pdrv_probe() 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() 166 "Debounce time exceeds the maximum allowed time %dms\n", in mt6779_keypad_pdrv_probe() 190 dev_dbg(&pdev->dev, "n_row=%d n_col=%d debounce=%d\n", 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()
|
/Linux-v6.6/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 | lpc32xx-key.txt | 12 - nxp,debounce-delay-ms: Debounce delay in ms 31 nxp,debounce-delay-ms = <3>;
|
D | gpio-matrix-keypad.txt | 24 - debounce-delay-ms: debounce interval in milliseconds 33 debounce-delay-ms = <5>;
|
/Linux-v6.6/Documentation/devicetree/bindings/input/touchscreen/ |
D | ads7846.txt | 53 ti,debounce-tol Tolerance used for filtering (u16). 54 ti,debounce-rep Additional consecutive good readings 56 ti,pendown-gpio-debounce Platform specific debounce time for the 82 ti,debounce-max Max number of additional readings per
|
/Linux-v6.6/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 | 122 debounce-interval = <20>; 129 debounce-interval = <20>; 136 debounce-interval = <20>; 143 debounce-interval = <20>; 150 debounce-interval = <20>; 157 debounce-interval = <20>;
|
/Linux-v6.6/include/linux/platform_data/ |
D | keypad-ep93xx.h | 17 * @debounce: debounce start count; terminal count is 0xff 23 unsigned int debounce; member
|
/Linux-v6.6/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-v6.6/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()
|