Lines Matching refs:nfc_hci_dev
25 struct nfc_hci_dev;
28 int (*open) (struct nfc_hci_dev *hdev);
29 void (*close) (struct nfc_hci_dev *hdev);
30 int (*load_session) (struct nfc_hci_dev *hdev);
31 int (*hci_ready) (struct nfc_hci_dev *hdev);
37 int (*xmit) (struct nfc_hci_dev *hdev, struct sk_buff *skb);
38 int (*start_poll) (struct nfc_hci_dev *hdev,
40 void (*stop_poll) (struct nfc_hci_dev *hdev);
41 int (*dep_link_up)(struct nfc_hci_dev *hdev, struct nfc_target *target,
43 int (*dep_link_down)(struct nfc_hci_dev *hdev);
44 int (*target_from_gate) (struct nfc_hci_dev *hdev, u8 gate,
46 int (*complete_target_discovered) (struct nfc_hci_dev *hdev, u8 gate,
48 int (*im_transceive) (struct nfc_hci_dev *hdev,
51 int (*tm_send)(struct nfc_hci_dev *hdev, struct sk_buff *skb);
52 int (*check_presence)(struct nfc_hci_dev *hdev,
54 int (*event_received)(struct nfc_hci_dev *hdev, u8 pipe, u8 event,
56 void (*cmd_received)(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd,
58 int (*fw_download)(struct nfc_hci_dev *hdev, const char *firmware_name);
59 int (*discover_se)(struct nfc_hci_dev *dev);
60 int (*enable_se)(struct nfc_hci_dev *dev, u32 se_idx);
61 int (*disable_se)(struct nfc_hci_dev *dev, u32 se_idx);
62 int (*se_io)(struct nfc_hci_dev *dev, u32 se_idx,
111 struct nfc_hci_dev { struct
166 struct nfc_hci_dev *nfc_hci_allocate_device(struct nfc_hci_ops *ops, argument
174 void nfc_hci_free_device(struct nfc_hci_dev *hdev);
176 int nfc_hci_register_device(struct nfc_hci_dev *hdev);
177 void nfc_hci_unregister_device(struct nfc_hci_dev *hdev);
179 void nfc_hci_set_clientdata(struct nfc_hci_dev *hdev, void *clientdata);
180 void *nfc_hci_get_clientdata(struct nfc_hci_dev *hdev);
182 static inline int nfc_hci_set_vendor_cmds(struct nfc_hci_dev *hdev, in nfc_hci_set_vendor_cmds()
189 void nfc_hci_driver_failure(struct nfc_hci_dev *hdev, int err);
192 void nfc_hci_reset_pipes(struct nfc_hci_dev *dev);
193 void nfc_hci_reset_pipes_per_host(struct nfc_hci_dev *hdev, u8 host);
260 void nfc_hci_resp_received(struct nfc_hci_dev *hdev, u8 result,
262 void nfc_hci_cmd_received(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd,
264 void nfc_hci_event_received(struct nfc_hci_dev *hdev, u8 pipe, u8 event,
266 void nfc_hci_recv_frame(struct nfc_hci_dev *hdev, struct sk_buff *skb);
269 int nfc_hci_connect_gate(struct nfc_hci_dev *hdev, u8 dest_host, u8 dest_gate,
271 int nfc_hci_disconnect_gate(struct nfc_hci_dev *hdev, u8 gate);
272 int nfc_hci_disconnect_all_gates(struct nfc_hci_dev *hdev);
273 int nfc_hci_get_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx,
275 int nfc_hci_set_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx,
277 int nfc_hci_send_cmd(struct nfc_hci_dev *hdev, u8 gate, u8 cmd,
279 int nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd,
282 int nfc_hci_send_event(struct nfc_hci_dev *hdev, u8 gate, u8 event,
284 int nfc_hci_target_discovered(struct nfc_hci_dev *hdev, u8 gate);