Lines Matching refs:nfc_dev

33 int nfc_fw_download(struct nfc_dev *dev, const char *firmware_name)  in nfc_fw_download()
73 int nfc_fw_download_done(struct nfc_dev *dev, const char *firmware_name, in nfc_fw_download_done()
89 int nfc_dev_up(struct nfc_dev *dev) in nfc_dev_up()
137 int nfc_dev_down(struct nfc_dev *dev) in nfc_dev_down()
172 struct nfc_dev *dev = data; in nfc_rfkill_set_block()
198 int nfc_start_poll(struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols) in nfc_start_poll()
241 int nfc_stop_poll(struct nfc_dev *dev) in nfc_stop_poll()
268 static struct nfc_target *nfc_find_target(struct nfc_dev *dev, u32 target_idx) in nfc_find_target()
280 int nfc_dep_link_up(struct nfc_dev *dev, int target_index, u8 comm_mode) in nfc_dep_link_up()
327 int nfc_dep_link_down(struct nfc_dev *dev) in nfc_dep_link_down()
363 int nfc_dep_link_is_up(struct nfc_dev *dev, u32 target_idx, in nfc_dep_link_is_up()
394 int nfc_activate_target(struct nfc_dev *dev, u32 target_idx, u32 protocol) in nfc_activate_target()
442 int nfc_deactivate_target(struct nfc_dev *dev, u32 target_idx, u8 mode) in nfc_deactivate_target()
488 int nfc_data_exchange(struct nfc_dev *dev, u32 target_idx, struct sk_buff *skb, in nfc_data_exchange()
534 struct nfc_se *nfc_find_se(struct nfc_dev *dev, u32 se_idx) in nfc_find_se()
546 int nfc_enable_se(struct nfc_dev *dev, u32 se_idx) in nfc_enable_se()
595 int nfc_disable_se(struct nfc_dev *dev, u32 se_idx) in nfc_disable_se()
639 int nfc_set_remote_general_bytes(struct nfc_dev *dev, const u8 *gb, u8 gb_len) in nfc_set_remote_general_bytes()
647 u8 *nfc_get_local_general_bytes(struct nfc_dev *dev, size_t *gb_len) in nfc_get_local_general_bytes()
655 int nfc_tm_data_received(struct nfc_dev *dev, struct sk_buff *skb) in nfc_tm_data_received()
667 int nfc_tm_activated(struct nfc_dev *dev, u32 protocol, u8 comm_mode, in nfc_tm_activated()
696 int nfc_tm_deactivated(struct nfc_dev *dev) in nfc_tm_deactivated()
714 struct sk_buff *nfc_alloc_send_skb(struct nfc_dev *dev, struct sock *sk, in nfc_alloc_send_skb()
768 int nfc_targets_found(struct nfc_dev *dev, in nfc_targets_found()
825 int nfc_target_lost(struct nfc_dev *dev, u32 target_idx) in nfc_target_lost()
865 inline void nfc_driver_failure(struct nfc_dev *dev, int err) in nfc_driver_failure()
871 int nfc_add_se(struct nfc_dev *dev, u32 se_idx, u16 type) in nfc_add_se()
905 int nfc_remove_se(struct nfc_dev *dev, u32 se_idx) in nfc_remove_se()
928 int nfc_se_transaction(struct nfc_dev *dev, u8 se_idx, in nfc_se_transaction()
949 int nfc_se_connectivity(struct nfc_dev *dev, u8 se_idx) in nfc_se_connectivity()
964 struct nfc_dev *dev = to_nfc_dev(d); in nfc_release()
985 struct nfc_dev *dev = container_of(work, struct nfc_dev, in nfc_check_pres_work()
1013 struct nfc_dev *dev = from_timer(dev, t, check_pres_timer); in nfc_check_pres_timeout()
1026 struct nfc_dev *dev = to_nfc_dev(d); in match_idx()
1032 struct nfc_dev *nfc_get_device(unsigned int idx) in nfc_get_device()
1051 struct nfc_dev *nfc_allocate_device(const struct nfc_ops *ops, in nfc_allocate_device()
1055 struct nfc_dev *dev; in nfc_allocate_device()
1065 dev = kzalloc(sizeof(struct nfc_dev), GFP_KERNEL); in nfc_allocate_device()
1110 int nfc_register_device(struct nfc_dev *dev) in nfc_register_device()
1154 void nfc_unregister_device(struct nfc_dev *dev) in nfc_unregister_device()