mmc_gpiod_request_ro(9)
π NAME π
okay bestie, this is mmc_gpiod_request_ro(9), straight out of the Kernel API Manual, and the name is literally request a gpio descriptor for write protection. that's the whole vibe. π
β¨ SYNOPSIS β¨
int mmc_gpiod_request_ro (struct mmc_host *host , const char *con_id ,
unsigned int idx , unsigned int debounce );
π ARGUMENTS π
hostβ mmc host. this is the main-character host you're working with. πcon_idβ function within the GPIO consumer. like the little name tag for which function inside the GPIO consumer is asking. π·οΈidxβ index of the GPIO to obtain in the consumer. it's the index situation, iykyk. β¨debounceβ debounce time in microseconds. measured in microseconds, no cap. β±οΈ
π¦ DESCRIPTION π¦
Returns zero on success, else an error. that's it β that's the whole description, bestie. so 0 is giving slay π
, and anything else is giving error π. no extra deets in the original, and we're not inventing any. π«Ά
π SEE ALSO π
- Kernel file
./drivers/mmc/core/slot-gpio.c mmc_gpiod_request_cd(9)mmc_gpiod_set_cd_config(9)
that's the whole page, bestie. source/version situation: ./drivers/mmc/core, dated October 2026. mwah π
π¦ 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