nfc_start_poll(9)
π nfc_start_poll(9) β a Kernel API Manual moment π
okay so bestie, welcome to the Kernel API Manual, where today's main character is nfc_start_poll(9) β¨ lowkey iconic of you to be reading kernel docs, fr fr π«Ά
πΈ NAME πΈ
nfc_start_poll β start polling for nfc targets π
β¨ SYNOPSIS β¨
int nfc_start_poll (struct nfc_dev *dev , u32 im_protocols , u32
tm_protocols );
π ARGUMENTS π
devβ the nfc device that must start polling. yes, that one, she's the one doing the work π¦im_protocolsβ bitset of nfc initiator protocols to be used for polling β¨ literally a little bitset of vibes (protocol vibes)tm_protocolsβ bitset of nfc transport protocols to be used for polling π also a bitset, also important, don't skip her
π DESCRIPTION π
so the way this works is: the device just stays polling for targets π like she's posted up in the group chat waiting for someone to reply.
- she keeps polling until a target is found π―
- OR until the
nfc_stop_pollfunction is called π
that's it, that's the whole behavior. no cap. periodt π
π SEE ALSO π
Kernel file ./net/nfc/core.c β go read her, she ate π₯
nfc_fw_download_done(9)nfc_dev_up(9)nfc_dev_down(9)nfc_stop_poll(9)nfc_activate_target(9)nfc_deactivate_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)
ngl bestie, that's a whole lot of sibling functions, but they're all family π«Ά
k bye, this page came to you from ./net/nfc and it's dated October 2026 β mwah, stay polling πππΈ
π¦ 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