Lines Matching defs: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() local
197 int nfc_start_poll(struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols) in nfc_start_poll()
240 int nfc_stop_poll(struct nfc_dev *dev) in nfc_stop_poll()
267 static struct nfc_target *nfc_find_target(struct nfc_dev *dev, u32 target_idx) in nfc_find_target()
279 int nfc_dep_link_up(struct nfc_dev *dev, int target_index, u8 comm_mode) in nfc_dep_link_up()
326 int nfc_dep_link_down(struct nfc_dev *dev) in nfc_dep_link_down()
362 int nfc_dep_link_is_up(struct nfc_dev *dev, u32 target_idx, in nfc_dep_link_is_up()
393 int nfc_activate_target(struct nfc_dev *dev, u32 target_idx, u32 protocol) in nfc_activate_target()
440 int nfc_deactivate_target(struct nfc_dev *dev, u32 target_idx, u8 mode) in nfc_deactivate_target()
486 int nfc_data_exchange(struct nfc_dev *dev, u32 target_idx, struct sk_buff *skb, in nfc_data_exchange()
532 struct nfc_se *nfc_find_se(struct nfc_dev *dev, u32 se_idx) in nfc_find_se()
544 int nfc_enable_se(struct nfc_dev *dev, u32 se_idx) in nfc_enable_se()
593 int nfc_disable_se(struct nfc_dev *dev, u32 se_idx) in nfc_disable_se()
637 int nfc_set_remote_general_bytes(struct nfc_dev *dev, const u8 *gb, u8 gb_len) in nfc_set_remote_general_bytes()
645 u8 *nfc_get_local_general_bytes(struct nfc_dev *dev, size_t *gb_len) in nfc_get_local_general_bytes()
653 int nfc_tm_data_received(struct nfc_dev *dev, struct sk_buff *skb) in nfc_tm_data_received()
665 int nfc_tm_activated(struct nfc_dev *dev, u32 protocol, u8 comm_mode, in nfc_tm_activated()
694 int nfc_tm_deactivated(struct nfc_dev *dev) in nfc_tm_deactivated()
709 struct sk_buff *nfc_alloc_send_skb(struct nfc_dev *dev, struct sock *sk, in nfc_alloc_send_skb()
763 int nfc_targets_found(struct nfc_dev *dev, in nfc_targets_found()
820 int nfc_target_lost(struct nfc_dev *dev, u32 target_idx) in nfc_target_lost()
860 inline void nfc_driver_failure(struct nfc_dev *dev, int err) in nfc_driver_failure()
866 int nfc_add_se(struct nfc_dev *dev, u32 se_idx, u16 type) in nfc_add_se()
900 int nfc_remove_se(struct nfc_dev *dev, u32 se_idx) in nfc_remove_se()
923 int nfc_se_transaction(struct nfc_dev *dev, u8 se_idx, in nfc_se_transaction()
944 int nfc_se_connectivity(struct nfc_dev *dev, u8 se_idx) in nfc_se_connectivity()
959 struct nfc_dev *dev = to_nfc_dev(d); in nfc_release() local
980 struct nfc_dev *dev = container_of(work, struct nfc_dev, in nfc_check_pres_work() local
1008 struct nfc_dev *dev = from_timer(dev, t, check_pres_timer); in nfc_check_pres_timeout() local
1021 struct nfc_dev *dev = to_nfc_dev(d); in match_idx() local
1048 struct nfc_dev *dev; in nfc_allocate_device() local
1103 int nfc_register_device(struct nfc_dev *dev) in nfc_register_device()
1147 void nfc_unregister_device(struct nfc_dev *dev) in nfc_unregister_device()