try_toggle_control_gpio(9)
try_toggle_control_gpio(9) β¨
okay bestie, welcome to the Kernel API Manual entry for try_toggle_control_gpio β the function whose whole vibe is βconfigure a gpio if it exists.β π
πΈ NAME πΈ
try_toggle_control_gpio β configure a gpio if it exists π
β¨ SYNOPSIS β¨
int try_toggle_control_gpio (struct device *dev , struct gpio_desc **desc , const char *name , int index , int value , unsigned int nsdelay );
π«Ά ARGUMENTS π«Ά
devβ net device π«Άdescβ where to store the GPIO descriptor, if it exists β¨nameβ name of the GPIO in DT πindexβ index of the GPIO in DT π₯valueβ set the GPIO to this value πnsdelayβ delay before setting the GPIO β³
π SEE ALSO π
Kernel file ./drivers/net/ethernet/smsc/smc91x.c β also peep smc_phy_reset(9), smc_phy_powerdown(9), and smc_phy_check_media(9) π¦
xoxo, your try_toggle_control_gpio(9) bestie π β source/version: ./drivers/net/ethernet/smsc, dated October 2026 π
π¦ 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