|
| DEFINE_MUTEX (nfc_devlist_mutex) |
|
int | nfc_dev_up (struct nfc_dev *dev) |
|
int | nfc_dev_down (struct nfc_dev *dev) |
|
int | nfc_start_poll (struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols) |
|
int | nfc_stop_poll (struct nfc_dev *dev) |
|
int | nfc_dep_link_up (struct nfc_dev *dev, int target_index, u8 comm_mode) |
|
int | nfc_dep_link_down (struct nfc_dev *dev) |
|
int | nfc_dep_link_is_up (struct nfc_dev *dev, u32 target_idx, u8 comm_mode, u8 rf_mode) |
|
| EXPORT_SYMBOL (nfc_dep_link_is_up) |
|
int | nfc_activate_target (struct nfc_dev *dev, u32 target_idx, u32 protocol) |
|
int | nfc_deactivate_target (struct nfc_dev *dev, u32 target_idx) |
|
int | nfc_data_exchange (struct nfc_dev *dev, u32 target_idx, struct sk_buff *skb, data_exchange_cb_t cb, void *cb_context) |
|
int | nfc_set_remote_general_bytes (struct nfc_dev *dev, u8 *gb, u8 gb_len) |
|
| EXPORT_SYMBOL (nfc_set_remote_general_bytes) |
|
u8 * | nfc_get_local_general_bytes (struct nfc_dev *dev, size_t *gb_len) |
|
| EXPORT_SYMBOL (nfc_get_local_general_bytes) |
|
int | nfc_tm_data_received (struct nfc_dev *dev, struct sk_buff *skb) |
|
| EXPORT_SYMBOL (nfc_tm_data_received) |
|
int | nfc_tm_activated (struct nfc_dev *dev, u32 protocol, u8 comm_mode, u8 *gb, size_t gb_len) |
|
| EXPORT_SYMBOL (nfc_tm_activated) |
|
int | nfc_tm_deactivated (struct nfc_dev *dev) |
|
| EXPORT_SYMBOL (nfc_tm_deactivated) |
|
struct sk_buff * | nfc_alloc_send_skb (struct nfc_dev *dev, struct sock *sk, unsigned int flags, unsigned int size, unsigned int *err) |
|
struct sk_buff * | nfc_alloc_recv_skb (unsigned int size, gfp_t gfp) |
|
| EXPORT_SYMBOL (nfc_alloc_recv_skb) |
|
int | nfc_targets_found (struct nfc_dev *dev, struct nfc_target *targets, int n_targets) |
|
| EXPORT_SYMBOL (nfc_targets_found) |
|
int | nfc_target_lost (struct nfc_dev *dev, u32 target_idx) |
|
| EXPORT_SYMBOL (nfc_target_lost) |
|
void | nfc_driver_failure (struct nfc_dev *dev, int err) |
|
| EXPORT_SYMBOL (nfc_driver_failure) |
|
| EXPORT_SYMBOL (nfc_class) |
|
struct nfc_dev * | nfc_get_device (unsigned int idx) |
|
struct nfc_dev * | nfc_allocate_device (struct nfc_ops *ops, u32 supported_protocols, int tx_headroom, int tx_tailroom) |
|
| EXPORT_SYMBOL (nfc_allocate_device) |
|
int | nfc_register_device (struct nfc_dev *dev) |
|
| EXPORT_SYMBOL (nfc_register_device) |
|
void | nfc_unregister_device (struct nfc_dev *dev) |
|
| EXPORT_SYMBOL (nfc_unregister_device) |
|
| subsys_initcall (nfc_init) |
|
| module_exit (nfc_exit) |
|
| MODULE_AUTHOR ("Lauro Ramos Venancio <[email protected]>") |
|
| MODULE_DESCRIPTION ("NFC Core ver "VERSION) |
|
| MODULE_VERSION (VERSION) |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_ALIAS_NETPROTO (PF_NFC) |
|
| MODULE_ALIAS_GENL_FAMILY (NFC_GENL_NAME) |
|
nfc_target_lost - inform that an activated target went out of field
: The nfc device that had the activated target in field : the nfc index of the target
The device driver must call this function when the activated target goes out of the field. IMPORTANT: this function must not be called from an atomic context. In addition, it must also not be called from a context that would prevent the NFC Core to call other nfc ops entry point concurrently.
Definition at line 628 of file core.c.
nfc_targets_found - inform that targets were found
: The nfc device that found the targets : array of nfc targets found : targets array size
The device driver must call this function when one or many nfc targets are found. After calling this function, the device driver must stop polling for targets. NOTE: This function can be called with targets=NULL and n_targets=0 to notify a driver error, meaning that the polling operation cannot complete. IMPORTANT: this function must not be called from an atomic context. In addition, it must also not be called from a context that would prevent the NFC Core to call other nfc ops entry point concurrently.
Definition at line 571 of file core.c.