nfc_deactivate_target(9)
π nfc_deactivate_target(9)
okay bestie, welcome to the Kernel API Manual β¨ β today's main character is nfc_deactivate_target, and honestly? she's a short one but she matters. π
πΈ NAME πΈ
nfc_deactivate_target β deactivate a nfc target π«Ά
like... she's done, she's exiting the group chat, send her off respectfully.
β SYNOPSIS β
int nfc_deactivate_target (struct nfc_dev *dev , u32 target_idx , u8
mode );
that's the whole vibe check β an int comes back, and you're feeding her three things. no cap. π
π ARGUMENTS π
devβ the nfc device that found the target π literally the one who spotted her in the first place.target_idxβ index of the target that must be deactivated β¨ the little number that says which target is getting deactivated. be precise, don't deactivate the wrong queen.modeβ idle or sleep? π΄ that's genuinely the question.idleorsleep, pick one, iykyk.
ngl, mode being phrased as "idle or sleep?" is giving "the doc author was also wondering" and I respect it fr fr π
π¦ SEE ALSO π¦
kay so the kernel file for all this lives at ./net/nfc/core.c β go be nosy, it's a whole era π§
and here's the friend group, the whole squad, every single one of them:
nfc_fw_download_done(9)nfc_dev_up(9)nfc_dev_down(9)nfc_start_poll(9)nfc_stop_poll(9)nfc_activate_target(9)nfc_data_exchange(9)nfc_alloc_send_skb(9)nfc_alloc_recv_skb(9)nfc_targets_found(9)nfc_target_lost(9)nfc_allocate_device(9)nfc_register_device(9)nfc_unregister_rfkill(9)nfc_remove_device(9)nfc_unregister_device(9)
like nfc_activate_target(9) is right there in the list being the opposite of her β iconic sibling energy π
π sign-off, bestie π
this whole page lives under ./net/nfc, dated October 2026 β so she's fresh, she's current, she's literally from the future. mwah. π go deactivate some targets responsibly, ily π«Άπ
π¦ 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