Lines Matching refs:nfc_hci_dev
37 void nfc_hci_reset_pipes(struct nfc_hci_dev *hdev) in nfc_hci_reset_pipes()
49 void nfc_hci_reset_pipes_per_host(struct nfc_hci_dev *hdev, u8 host) in nfc_hci_reset_pipes_per_host()
65 struct nfc_hci_dev *hdev = container_of(work, struct nfc_hci_dev, in nfc_hci_msg_tx_work()
128 struct nfc_hci_dev *hdev = container_of(work, struct nfc_hci_dev, in nfc_hci_msg_rx_work()
148 static void __nfc_hci_cmd_completion(struct nfc_hci_dev *hdev, int err, in __nfc_hci_cmd_completion()
165 void nfc_hci_resp_received(struct nfc_hci_dev *hdev, u8 result, in nfc_hci_resp_received()
181 void nfc_hci_cmd_received(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_cmd_received()
284 int nfc_hci_target_discovered(struct nfc_hci_dev *hdev, u8 gate) in nfc_hci_target_discovered()
381 void nfc_hci_event_received(struct nfc_hci_dev *hdev, u8 pipe, u8 event, in nfc_hci_event_received()
444 struct nfc_hci_dev *hdev = from_timer(hdev, t, cmd_timer); in nfc_hci_cmd_timeout()
449 static int hci_dev_connect_gates(struct nfc_hci_dev *hdev, u8 gate_count, in hci_dev_connect_gates()
464 static int hci_dev_session_init(struct nfc_hci_dev *hdev) in hci_dev_session_init()
520 static int hci_dev_version(struct nfc_hci_dev *hdev) in hci_dev_version()
581 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_dev_up()
627 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_dev_down()
642 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_start_poll()
654 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_stop_poll()
666 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_dep_link_up()
677 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_dep_link_down()
701 struct nfc_hci_dev *hdev = context; in hci_transceive_cb()
726 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_transceive()
770 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_tm_send()
783 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_check_presence()
793 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_discover_se()
803 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_enable_se()
813 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_disable_se()
825 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_se_io()
834 static void nfc_hci_failure(struct nfc_hci_dev *hdev, int err) in nfc_hci_failure()
849 static void nfc_hci_llc_failure(struct nfc_hci_dev *hdev, int err) in nfc_hci_llc_failure()
854 static void nfc_hci_recv_from_llc(struct nfc_hci_dev *hdev, struct sk_buff *skb) in nfc_hci_recv_from_llc()
923 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_fw_download()
950 struct nfc_hci_dev *nfc_hci_allocate_device(const struct nfc_hci_ops *ops, in nfc_hci_allocate_device()
959 struct nfc_hci_dev *hdev; in nfc_hci_allocate_device()
967 hdev = kzalloc(sizeof(struct nfc_hci_dev), GFP_KERNEL); in nfc_hci_allocate_device()
1002 void nfc_hci_free_device(struct nfc_hci_dev *hdev) in nfc_hci_free_device()
1010 int nfc_hci_register_device(struct nfc_hci_dev *hdev) in nfc_hci_register_device()
1030 void nfc_hci_unregister_device(struct nfc_hci_dev *hdev) in nfc_hci_unregister_device()
1067 void nfc_hci_set_clientdata(struct nfc_hci_dev *hdev, void *clientdata) in nfc_hci_set_clientdata()
1073 void *nfc_hci_get_clientdata(struct nfc_hci_dev *hdev) in nfc_hci_get_clientdata()
1079 void nfc_hci_driver_failure(struct nfc_hci_dev *hdev, int err) in nfc_hci_driver_failure()
1085 void nfc_hci_recv_frame(struct nfc_hci_dev *hdev, struct sk_buff *skb) in nfc_hci_recv_frame()