rfkill_find_type(9)
β¨ rfkill_find_type(9) β¨
okay so bestie, welcome to the kernel API manual π this one's a lil function from the rfkill family and honestly? she's giving tiny-but-iconic. lowkey a little lookup helper, no cap.
π NAME π
rfkill_find_type β the helper for finding the rfkill type by name, periodt π
πΈ SYNOPSIS πΈ
enum rfkill_type rfkill_find_type (const char *name );
like, that's the whole signature, she's short and she knows it β¨
π¦ ARGUMENTS π¦
nameβ the name of the type π«Ά literally just hand her the name and she'll go find the matching type for you.
β RETURN β
she gives you back the enum rfkill_type that corresponds to the name π yup, that's the whole vibe: name goes in, matching type comes out.
π SEE ALSO π
bestie there is so much rfkill lore to catch up on, iykyk π₯ start with the kernel file ./include/linux/rfkill.h and the struct rfkill_ops(9), then go absolutely feral on the rest:
rfkill_alloc(9)rfkill_register(9)rfkill_pause_polling(9)rfkill_resume_polling(9)rfkill_unregister(9)rfkill_destroy(9)rfkill_set_hw_state_reason(9)rfkill_set_hw_state(9)rfkill_set_sw_state(9)rfkill_init_sw_state(9)rfkill_set_states(9)rfkill_blocked(9)rfkill_soft_blocked(9)rfkill_get_led_trigger_name(9)rfkill_set_led_trigger_name(9)
ngl that's a whole friend group of functions and every single one of them is a main character in her own right π no skips, read them all π
π mwah, that's the page!! this lil drop lives in ./include/linux and it's stamped October 2026, so go forth and look up your types, bestie β she ate and left no crumbs ππ
π§
π¦ 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