extcon_alloc_muex(9)
β¨ extcon_alloc_muex(9) β¨
okay so bestie, welcome to the Kernel API Manual π
this little cutie is extcon_alloc_muex(9) and no I did not typo that, that's literally its name, we respect it π«Ά
πΈ NAME πΈ
extcon_alloc_muex β alloc the mutual exclusive for extcon device
like... it goes and gets the mutual-exclusive thing sorted for your extcon device. that's the whole gig. slay π
π¦ SYNOPSIS π¦
int extcon_alloc_muex (struct extcon_dev *edev );
that's it. that's the vibe. one argument, one int coming back at you β¨
π ARGUMENTS π
edevβ extcon device π§ like, the actual extcon device you're doing all this for. that's it, that's the whole list, iconic behaviour honestly π
β DESCRIPTION β
Returns 0 if success or error number if fail.
fr fr that's the entire description π if it works you get 0, if it doesn't you get an error number back. no in-between, no drama, just numbers. periodt πβ¨
ngl bestie, this one is a short read β but that's a gift, not a problem. take the 0, run, go live your life π
π SEE ALSO π
okay this is the part where the page goes full main-character and name-drops the entire extcon friend group π first up, the kernel file it all lives in:
Kernel file ./drivers/extcon/extcon.c
and then, in the order the page gives them (because we do not rearrange the squad π«Ά):
struct extcon_cable(9)extcon_sync(9)extcon_get_state(9)extcon_set_state(9)extcon_set_state_sync(9)extcon_get_property(9)extcon_set_property(9)extcon_set_property_sync(9)extcon_get_property_capability(9)extcon_set_property_capability(9)extcon_get_extcon_dev(9)extcon_register_notifier(9)extcon_unregister_notifier(9)extcon_register_notifier_all(9)extcon_unregister_notifier_all(9)extcon_alloc_cables(9)extcon_alloc_groups(9)extcon_dev_register(9)extcon_dev_unregister(9)extcon_get_edev_name(9)
lowkey the whole extended universe is in here, go read them if you're obsessed like me π
aaaand that's the page!! mwah π this came to you from ./drivers/extcon, dated October 2026, under the Kernel API Manual umbrella β signed, sealed, delivered, and read by the bestie-est bestie in the group chat πΈππ
π¦ 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