img_ir_decoder_compatible(9)
π img_ir_decoder_compatible(9) β¨
okay so bestie, welcome to the Kernel API Manual β this one's a little function with one (1) job and it does it slayfully. It's called img_ir_decoder_compatible, and yes, that name is a mouthful, but it's literally just asking: "hey, will this decoder actually work with this device?" vibe check energy fr fr π
πΈ NAME πΈ
img_ir_decoder_compatible β Find whether a decoder will work with a device. That's it, that's the whole mission, and honestly? Iconic. π
π¦ SYNOPSIS π¦
bool img_ir_decoder_compatible (struct img_ir_priv *priv , const struct img_ir_decoder *dec );
Look at her. Returns a bool, takes two pointers, no drama, no cap. π
β¨ ARGUMENTS β¨
privβ the IR private data. Like, the device's whole personal little world of IR info. π«Άdecβ the decoder you're checking. The one you're side-eyeing and going "hmm, are you compatible or not?" π
π RETURN π
Returns true if dec is compatible with the device that priv refers to. That's the whole answer bestie β true means yes, they're a match, main character couple energy. π
lowkey important: it's a bool, so don't go expecting anything fancier than a true/false situation. Keep it simple, periodt. π
π₯ SEE ALSO π₯
The kernel file lives at ./drivers/media/rc/img-ir/img-ir-hw.c β go say hi to her sometime. And here's the whole friend group, all 14 of them, not one skipped because we don't do that here:
img_ir_control(9)img_ir_timing_range_convert(9)img_ir_symbol_timing(9)img_ir_free_timing(9)img_ir_free_timing_dynamic(9)img_ir_timings_convert(9)img_ir_decoder_preprocess(9)img_ir_decoder_convert(9)img_ir_write_timings(9)img_ir_set_decoder(9)img_ir_allowed_protos(9)img_ir_enable_wake(9)img_ir_disable_wake(9)img_ir_probe_hw_caps(9)
okay that's the whole page, you ate that bestie π this little function comes to you straight from ./drivers/media/rc/img-ir, dated October 2026 β mwah, go forth and check your decoders ππ§ββοΈβ¨
π¦ 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