h1_gpio_get(9)
okay bestie, welcome to the Kernel API Manual entry for h1_gpio_get(9) β yes, that one. It's short, it's cute, let's go. π
πΈ NAME πΈ
h1_gpio_get β literally gets the h1 gpio status. That's the whole assignment, no cap. π
β¨ SYNOPSIS β¨
Here's the exact signature, bestie β copy it, don't improvise:
int h1_gpio_get (void *arg , u64 *val );
π¦ ARGUMENTS π¦
argβ the wilco EC device π«Άvalβ the bits:BIT(0)=ENTRY_TO_FACT_MODE,BIT(1)=SPI_CHROME_SEL. Iconic. β¨
π SEE ALSO π
- Kernel file
./drivers/platform/chrome/wilco_ec/debugfs.cβ go peek, iykyk π parse_hex_sentence(9)β more kernel lore πtest_event_set(9)β another one for the reading list βwilco_ec_debugfs_probe(9)β and this one too, bestie π
xoxo, catch u later π«Ά β source/version: ./drivers/platform/chrome/wilc..., date: October 2026, page: h1_gpio_get(9). periodt π
π¦ 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