omap_clear_gpio_debounce(9)
π omap_clear_gpio_debounce(9) π
okay bestie, welcome to omap_clear_gpio_debounce(9) from the Kernel API Manual β yes, the actual kernel manual, and yes, weβre gonna understand it. this page is literally about clearing debounce settings for a gpio, and itβs giving βtiny targeted cleanupβ energy. β¨
π NAME π
omap_clear_gpio_debounce β clear debounce settings for a gpio
β¨ SYNOPSIS β¨
void omap_clear_gpio_debounce (struct gpio_bank *bank , unsigned offset
);
π«Ά ARGUMENTS π«Ά
bankβ the gpio bank weβre acting upon.offsetβ the gpio number on this bank.
πΈ DESCRIPTION πΈ
so hereβs the tea, bestie: if a gpio is using debounce, then this function clears the debounce enable bit. and if this is the only gpio in this bank using debounce, then it clears the debounce time too. periodt.
also, the debounce clock will be disabled when calling this function if this is the only gpio in the bank using debounce. thatβs not extra lore β thatβs literally what the page says, and itβs specifically the βonly one debounce user in the bankβ situation. π₯
π SEE ALSO π
- Kernel file:
./drivers/gpio/gpio-omap.c omap2_set_gpio_debounce(9)
okay thatβs the whole page, bestie π«Ά β this one is from the ./drivers/gpio source/version in the Kernel API Manual, and itβs dated October 2026. omap_clear_gpio_debounce(9) out. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms