Home
last modified time | relevance | path

Searched refs:nfc_hci_dev (Results 1 – 24 of 24) sorted by relevance

/openbmc/linux/include/net/nfc/
H A Dhci.h13 struct nfc_hci_dev;
16 int (*open) (struct nfc_hci_dev *hdev);
17 void (*close) (struct nfc_hci_dev *hdev);
18 int (*load_session) (struct nfc_hci_dev *hdev);
19 int (*hci_ready) (struct nfc_hci_dev *hdev);
26 int (*start_poll) (struct nfc_hci_dev *hdev,
28 void (*stop_poll) (struct nfc_hci_dev *hdev);
31 int (*dep_link_down)(struct nfc_hci_dev *hdev);
36 int (*im_transceive) (struct nfc_hci_dev *hdev,
47 int (*discover_se)(struct nfc_hci_dev *dev);
[all …]
H A Dllc.h17 typedef void (*rcv_to_hci_t) (struct nfc_hci_dev *hdev, struct sk_buff *skb);
18 typedef int (*xmit_to_drv_t) (struct nfc_hci_dev *hdev, struct sk_buff *skb);
19 typedef void (*llc_failure_t) (struct nfc_hci_dev *hdev, int err);
23 struct nfc_llc *nfc_llc_allocate(const char *name, struct nfc_hci_dev *hdev,
/openbmc/linux/drivers/nfc/st21nfca/
H A Dst21nfca.h151 struct nfc_hci_dev *hdev;
169 int phy_payload, struct nfc_hci_dev **hdev,
171 void st21nfca_hci_remove(struct nfc_hci_dev *hdev);
173 int st21nfca_dep_event_received(struct nfc_hci_dev *hdev,
179 void st21nfca_dep_init(struct nfc_hci_dev *hdev);
180 void st21nfca_dep_deinit(struct nfc_hci_dev *hdev);
187 int st21nfca_hci_discover_se(struct nfc_hci_dev *hdev);
190 int st21nfca_hci_se_io(struct nfc_hci_dev *hdev, u32 se_idx,
194 void st21nfca_se_init(struct nfc_hci_dev *hdev);
195 void st21nfca_se_deinit(struct nfc_hci_dev *hdev);
[all …]
H A Dvendor_cmds.c38 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); in st21nfca_factory_mode()
62 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); in st21nfca_hci_clear_all_pipes()
70 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); in st21nfca_hci_dm_put_data()
80 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); in st21nfca_hci_dm_update_aid()
91 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); in st21nfca_hci_dm_get_info()
126 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); in st21nfca_hci_dm_get_data()
159 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); in st21nfca_hci_dm_load()
169 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); in st21nfca_hci_dm_reset()
188 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); in st21nfca_hci_get_param()
222 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); in st21nfca_hci_dm_field_generator()
[all …]
H A Dcore.c104 static int st21nfca_hci_load_session(struct nfc_hci_dev *hdev) in st21nfca_hci_load_session()
205 static int st21nfca_hci_open(struct nfc_hci_dev *hdev) in st21nfca_hci_open()
227 static void st21nfca_hci_close(struct nfc_hci_dev *hdev) in st21nfca_hci_close()
243 static int st21nfca_hci_ready(struct nfc_hci_dev *hdev) in st21nfca_hci_ready()
314 static int st21nfca_hci_start_poll(struct nfc_hci_dev *hdev, in st21nfca_hci_start_poll()
495 static void st21nfca_hci_stop_poll(struct nfc_hci_dev *hdev) in st21nfca_hci_stop_poll()
596 static int st21nfca_hci_dep_link_up(struct nfc_hci_dev *hdev, in st21nfca_hci_dep_link_up()
606 static int st21nfca_hci_dep_link_down(struct nfc_hci_dev *hdev) in st21nfca_hci_dep_link_down()
759 static int st21nfca_hci_im_transceive(struct nfc_hci_dev *hdev, in st21nfca_hci_im_transceive()
939 int phy_payload, struct nfc_hci_dev **hdev, in st21nfca_hci_probe()
[all …]
H A Dse.c48 static u8 st21nfca_se_get_bwi(struct nfc_hci_dev *hdev) in st21nfca_se_get_bwi()
67 static void st21nfca_se_get_atr(struct nfc_hci_dev *hdev) in st21nfca_se_get_atr()
86 static int st21nfca_hci_control_se(struct nfc_hci_dev *hdev, u32 se_idx, in st21nfca_hci_control_se()
152 int st21nfca_hci_discover_se(struct nfc_hci_dev *hdev) in st21nfca_hci_discover_se()
174 int st21nfca_hci_enable_se(struct nfc_hci_dev *hdev, u32 se_idx) in st21nfca_hci_enable_se()
203 int st21nfca_hci_disable_se(struct nfc_hci_dev *hdev, u32 se_idx) in st21nfca_hci_disable_se()
220 int st21nfca_hci_se_io(struct nfc_hci_dev *hdev, u32 se_idx, in st21nfca_hci_se_io()
303 int st21nfca_connectivity_event_received(struct nfc_hci_dev *hdev, u8 host, in st21nfca_connectivity_event_received()
373 int st21nfca_apdu_reader_event_received(struct nfc_hci_dev *hdev, in st21nfca_apdu_reader_event_received()
409 void st21nfca_se_init(struct nfc_hci_dev *hdev) in st21nfca_se_init()
[all …]
H A Ddep.c140 static int st21nfca_tm_send_atr_res(struct nfc_hci_dev *hdev, in st21nfca_tm_send_atr_res()
190 static int st21nfca_tm_recv_atr_req(struct nfc_hci_dev *hdev, in st21nfca_tm_recv_atr_req()
224 static int st21nfca_tm_send_psl_res(struct nfc_hci_dev *hdev, in st21nfca_tm_send_psl_res()
270 static int st21nfca_tm_recv_psl_req(struct nfc_hci_dev *hdev, in st21nfca_tm_recv_psl_req()
288 int st21nfca_tm_send_dep_res(struct nfc_hci_dev *hdev, struct sk_buff *skb) in st21nfca_tm_send_dep_res()
306 static int st21nfca_tm_recv_dep_req(struct nfc_hci_dev *hdev, in st21nfca_tm_recv_dep_req()
348 static int st21nfca_tm_event_send_data(struct nfc_hci_dev *hdev, in st21nfca_tm_event_send_data()
383 int st21nfca_dep_event_received(struct nfc_hci_dev *hdev, in st21nfca_dep_event_received()
620 int st21nfca_im_send_dep_req(struct nfc_hci_dev *hdev, struct sk_buff *skb) in st21nfca_im_send_dep_req()
642 void st21nfca_dep_init(struct nfc_hci_dev *hdev) in st21nfca_dep_init()
[all …]
H A Di2c.c53 struct nfc_hci_dev *hdev;
/openbmc/linux/net/nfc/hci/
H A Dcore.c37 void nfc_hci_reset_pipes(struct nfc_hci_dev *hdev) in nfc_hci_reset_pipes()
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()
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()
701 struct nfc_hci_dev *hdev = context; in hci_transceive_cb()
959 struct nfc_hci_dev *hdev; in nfc_hci_allocate_device()
[all …]
H A Dcommand.c91 int nfc_hci_send_event(struct nfc_hci_dev *hdev, u8 gate, u8 event, in nfc_hci_send_event()
112 int nfc_hci_send_cmd(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, in nfc_hci_send_cmd()
125 int nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, in nfc_hci_send_cmd_async()
140 int nfc_hci_set_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, in nfc_hci_set_param()
172 int nfc_hci_get_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, in nfc_hci_get_param()
182 static int nfc_hci_open_pipe(struct nfc_hci_dev *hdev, u8 pipe) in nfc_hci_open_pipe()
202 static int nfc_hci_close_pipe(struct nfc_hci_dev *hdev, u8 pipe) in nfc_hci_close_pipe()
237 static int nfc_hci_delete_pipe(struct nfc_hci_dev *hdev, u8 pipe) in nfc_hci_delete_pipe()
243 static int nfc_hci_clear_all_pipes(struct nfc_hci_dev *hdev) in nfc_hci_clear_all_pipes()
259 int nfc_hci_disconnect_gate(struct nfc_hci_dev *hdev, u8 gate) in nfc_hci_disconnect_gate()
[all …]
H A Dllc_nop.c13 struct nfc_hci_dev *hdev;
21 static void *llc_nop_init(struct nfc_hci_dev *hdev, xmit_to_drv_t xmit_to_drv, in llc_nop_init()
H A Dhci.h70 int nfc_hci_hcp_message_tx(struct nfc_hci_dev *hdev, u8 pipe,
76 void nfc_hci_hcp_message_rx(struct nfc_hci_dev *hdev, u8 pipe, u8 type,
H A Dhcp.c21 int nfc_hci_hcp_message_tx(struct nfc_hci_dev *hdev, u8 pipe, in nfc_hci_hcp_message_tx()
117 void nfc_hci_hcp_message_rx(struct nfc_hci_dev *hdev, u8 pipe, u8 type, in nfc_hci_hcp_message_rx()
H A Dllc.h16 void *(*init) (struct nfc_hci_dev *hdev, xmit_to_drv_t xmit_to_drv,
H A Dllc.c90 struct nfc_llc *nfc_llc_allocate(const char *name, struct nfc_hci_dev *hdev, in nfc_llc_allocate()
H A Dllc_shdlc.c27 struct nfc_hci_dev *hdev;
721 static void *llc_shdlc_init(struct nfc_hci_dev *hdev, xmit_to_drv_t xmit_to_drv, in llc_shdlc_init()
/openbmc/linux/drivers/nfc/microread/
H A Dmicroread.c157 struct nfc_hci_dev *hdev;
164 static int microread_open(struct nfc_hci_dev *hdev) in microread_open()
171 static void microread_close(struct nfc_hci_dev *hdev) in microread_close()
178 static int microread_hci_ready(struct nfc_hci_dev *hdev) in microread_hci_ready()
224 static int microread_start_poll(struct nfc_hci_dev *hdev, in microread_start_poll()
300 static int microread_dep_link_up(struct nfc_hci_dev *hdev, in microread_dep_link_up()
328 static int microread_dep_link_down(struct nfc_hci_dev *hdev) in microread_dep_link_down()
397 static int microread_im_transceive(struct nfc_hci_dev *hdev, in microread_im_transceive()
547 static int microread_event_received(struct nfc_hci_dev *hdev, u8 pipe, in microread_event_received()
645 int phy_payload, struct nfc_hci_dev **hdev) in microread_probe()
[all …]
H A Dmicroread.h15 int phy_payload, struct nfc_hci_dev **hdev);
17 void microread_remove(struct nfc_hci_dev *hdev);
H A Di2c.c40 struct nfc_hci_dev *hdev;
/openbmc/linux/drivers/nfc/pn544/
H A Dpn544.c113 struct nfc_hci_dev *hdev;
126 static int pn544_hci_open(struct nfc_hci_dev *hdev) in pn544_hci_open()
148 static void pn544_hci_close(struct nfc_hci_dev *hdev) in pn544_hci_close()
165 static int pn544_hci_ready(struct nfc_hci_dev *hdev) in pn544_hci_ready()
332 static int pn544_hci_start_poll(struct nfc_hci_dev *hdev, in pn544_hci_start_poll()
443 static int pn544_hci_dep_link_up(struct nfc_hci_dev *hdev, in pn544_hci_dep_link_up()
473 static int pn544_hci_dep_link_down(struct nfc_hci_dev *hdev) in pn544_hci_dep_link_down()
770 static int pn544_hci_fw_download(struct nfc_hci_dev *hdev, in pn544_hci_fw_download()
781 static int pn544_hci_discover_se(struct nfc_hci_dev *hdev) in pn544_hci_discover_se()
906 struct nfc_hci_dev **hdev) in pn544_hci_probe()
[all …]
H A Dpn544.h22 struct nfc_hci_dev **hdev);
23 void pn544_hci_remove(struct nfc_hci_dev *hdev);
H A Di2c.c151 struct nfc_hci_dev *hdev;
/openbmc/linux/Documentation/driver-api/nfc/
H A Dnfc-hci.rst67 int (*open)(struct nfc_hci_dev *hdev);
68 void (*close)(struct nfc_hci_dev *hdev);
69 int (*hci_ready) (struct nfc_hci_dev *hdev);
70 int (*xmit) (struct nfc_hci_dev *hdev, struct sk_buff *skb);
71 int (*start_poll) (struct nfc_hci_dev *hdev,
75 int (*dep_link_down)(struct nfc_hci_dev *hdev);
76 int (*target_from_gate) (struct nfc_hci_dev *hdev, u8 gate,
80 int (*im_transceive) (struct nfc_hci_dev *hdev,
83 int (*tm_send)(struct nfc_hci_dev *hdev, struct sk_buff *skb);
84 int (*check_presence)(struct nfc_hci_dev *hdev,
[all …]
/openbmc/linux/drivers/nfc/
H A Dmei_phy.h33 struct nfc_hci_dev *hdev;