Home
last modified time | relevance | path

Searched refs:debounce (Results 1 – 25 of 35) sorted by relevance

12

/linux-2.6.39/drivers/input/touchscreen/
Dmk712.c85 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()
/linux-2.6.39/drivers/gpio/
Dtwl4030-gpio.c376 static int __devinit gpio_twl4030_debounce(u32 debounce, u8 mmc_cd) in gpio_twl4030_debounce() argument
383 message[1] = (debounce & 0xff) | (mmc_cd & 0x03); in gpio_twl4030_debounce()
384 debounce >>= 8; in gpio_twl4030_debounce()
385 message[2] = (debounce & 0xff); in gpio_twl4030_debounce()
386 debounce >>= 8; in gpio_twl4030_debounce()
387 message[3] = (debounce & 0x03); in gpio_twl4030_debounce()
427 ret = gpio_twl4030_debounce(pdata->debounce, pdata->mmc_cd); in gpio_twl4030_probe()
430 pdata->debounce, pdata->mmc_cd, in gpio_twl4030_probe()
Dwm831x-gpio.c112 unsigned debounce) in wm831x_gpio_set_debounce() argument
132 if (debounce >= 32 && debounce <= 64) in wm831x_gpio_set_debounce()
134 else if (debounce >= 4000 && debounce <= 8000) in wm831x_gpio_set_debounce()
/linux-2.6.39/arch/sh/drivers/
Dpush-switch.c81 init_timer(&psw->debounce); in switch_drv_probe()
83 psw->debounce.function = switch_timer; in switch_drv_probe()
84 psw->debounce.data = (unsigned long)psw; in switch_drv_probe()
111 del_timer_sync(&psw->debounce); in switch_drv_remove()
/linux-2.6.39/drivers/input/keyboard/
Dtnetv107x-keypad.c116 unsigned long mask, debounce, clk_rate_khz; in keypad_start() local
134 debounce = kp->debounce_ms * clk_rate_khz; in keypad_start()
135 debounce = clamp(debounce, DEBOUNCE_MIN, DEBOUNCE_MAX); in keypad_start()
136 keypad_write(kp, dclock, debounce); in keypad_start()
137 keypad_write(kp, rclock, 4 * debounce); in keypad_start()
Dlm8323.c339 int debounce = lm->debounce_time >> 2; in lm8323_configure() local
346 if (debounce >= active) in lm8323_configure()
347 active = debounce + 3; in lm8323_configure()
353 lm8323_write(lm, 2, LM8323_CMD_SET_DEBOUNCE, debounce); in lm8323_configure()
Dw90p910_keypad.c103 config = pdata->prescale | (pdata->debounce << DEBOUNCE_BIT); in w90p910_keypad_open()
/linux-2.6.39/arch/mips/sgi-ip22/
Dip22-reset.c100 static void debounce(unsigned long data) in debounce() function
153 debounce_timer.function = debounce; in panel_int()
/linux-2.6.39/include/asm-generic/
Dgpio.h107 unsigned offset, unsigned debounce);
156 extern int gpio_set_debounce(unsigned gpio, unsigned debounce);
/linux-2.6.39/arch/arm/mach-w90x900/include/mach/
Dw90p910_keypad.h12 unsigned int debounce; member
/linux-2.6.39/arch/arm/mach-ep93xx/include/mach/
Dep93xx_keypad.h27 unsigned int debounce; member
/linux-2.6.39/arch/sh/include/asm/
Dpush-switch.h13 struct timer_list debounce; member
/linux-2.6.39/arch/mips/sgi-ip32/
Dip32-reset.c92 static void debounce(unsigned long data) in debounce() function
151 debounce_timer.function = debounce; in ip32_rtc_int()
/linux-2.6.39/arch/arm/mach-tegra/
Dusb_phy.c150 u16 debounce; member
160 .debounce = 0x7530,
168 .debounce = 0x7EF4,
176 .debounce = 0xBB80,
184 .debounce = 0xFDE8,
389 val |= UTMIP_BIAS_DEBOUNCE_A(phy->freq->debounce); in utmi_phy_power_on()
/linux-2.6.39/drivers/mfd/
Dwm8350-gpio.c189 int pol, int pull, int invert, int debounce) in wm8350_gpio_config() argument
213 if (gpio_set_debounce(wm8350, gpio, debounce)) in wm8350_gpio_config()
/linux-2.6.39/arch/arm/plat-omap/
Dgpio.c489 unsigned debounce) in _set_gpio_debounce() argument
498 if (debounce < 32) in _set_gpio_debounce()
499 debounce = 0x01; in _set_gpio_debounce()
500 else if (debounce > 7936) in _set_gpio_debounce()
501 debounce = 0xff; in _set_gpio_debounce()
503 debounce = (debounce / 0x1f) - 1; in _set_gpio_debounce()
512 __raw_writel(debounce, reg); in _set_gpio_debounce()
522 if (debounce) { in _set_gpio_debounce()
1496 unsigned debounce) in gpio_debounce() argument
1510 _set_gpio_debounce(bank, offset, debounce); in gpio_debounce()
/linux-2.6.39/arch/blackfin/include/asm/
Dbfin_rotary.h40 unsigned short debounce; /* 0..17 */ member
Dgpio.h282 static inline int gpio_set_debounce(unsigned gpio, unsigned debounce) in gpio_set_debounce() argument
/linux-2.6.39/include/linux/
Dgpio.h75 static inline int gpio_set_debounce(unsigned gpio, unsigned debounce) in gpio_set_debounce() argument
/linux-2.6.39/arch/sh/boards/mach-highlander/
Dpsw.c40 mod_timer(&psw->debounce, jiffies + 50); in psw_irq_handler()
/linux-2.6.39/arch/sh/boards/mach-landisk/
Dpsw.c39 mod_timer(&psw->debounce, jiffies + 50); in psw_irq_handler()
/linux-2.6.39/arch/arm/mach-ep93xx/
Dgpio.c346 unsigned offset, unsigned debounce) in ep93xx_gpio_set_debounce() argument
354 ep93xx_gpio_int_debounce(irq, debounce ? true : false); in ep93xx_gpio_set_debounce()
/linux-2.6.39/include/linux/mfd/wm8350/
Dgpio.h350 int pol, int pull, int invert, int debounce);
/linux-2.6.39/drivers/input/misc/
Dbfin_rotary.c176 bfin_write_CNT_DEBOUNCE(pdata->debounce & DPRESCALE); in bfin_rotary_probe()
/linux-2.6.39/arch/sh/configs/
Dsdk7786_defconfig77 …tySC1,115200 earlyprintk=sh-sci.1,115200 root=/dev/sda1 nmi_debug=state,debounce rootdelay=5 pmb=i…

12