/linux-6.1.9/include/net/nfc/ ! |
D | hci.h | 13 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); 25 int (*xmit) (struct nfc_hci_dev *hdev, struct sk_buff *skb); 26 int (*start_poll) (struct nfc_hci_dev *hdev, 28 void (*stop_poll) (struct nfc_hci_dev *hdev); 29 int (*dep_link_up)(struct nfc_hci_dev *hdev, struct nfc_target *target, 31 int (*dep_link_down)(struct nfc_hci_dev *hdev); [all …]
|
D | llc.h | 17 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,
|
/linux-6.1.9/drivers/nfc/st21nfca/ ! |
D | st21nfca.h | 151 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, 175 int st21nfca_tm_send_dep_res(struct nfc_hci_dev *hdev, struct sk_buff *skb); 177 int st21nfca_im_send_atr_req(struct nfc_hci_dev *hdev, u8 *gb, size_t gb_len); 178 int st21nfca_im_send_dep_req(struct nfc_hci_dev *hdev, struct sk_buff *skb); 179 void st21nfca_dep_init(struct nfc_hci_dev *hdev); 180 void st21nfca_dep_deinit(struct nfc_hci_dev *hdev); 182 int st21nfca_connectivity_event_received(struct nfc_hci_dev *hdev, u8 host, [all …]
|
D | vendor_cmds.c | 38 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 …]
|
D | core.c | 104 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() 307 static int st21nfca_hci_xmit(struct nfc_hci_dev *hdev, struct sk_buff *skb) in st21nfca_hci_xmit() 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() 501 static int st21nfca_get_iso14443_3_atqa(struct nfc_hci_dev *hdev, u16 *atqa) in st21nfca_get_iso14443_3_atqa() 523 static int st21nfca_get_iso14443_3_sak(struct nfc_hci_dev *hdev, u8 *sak) in st21nfca_get_iso14443_3_sak() 545 static int st21nfca_get_iso14443_3_uid(struct nfc_hci_dev *hdev, u8 *uid, in st21nfca_get_iso14443_3_uid() [all …]
|
D | se.c | 48 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() 297 int st21nfca_connectivity_event_received(struct nfc_hci_dev *hdev, u8 host, in st21nfca_connectivity_event_received() 367 int st21nfca_apdu_reader_event_received(struct nfc_hci_dev *hdev, in st21nfca_apdu_reader_event_received() 403 void st21nfca_se_init(struct nfc_hci_dev *hdev) in st21nfca_se_init() [all …]
|
D | dep.c | 140 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() 415 static void st21nfca_im_send_psl_req(struct nfc_hci_dev *hdev, u8 did, u8 bsi, in st21nfca_im_send_psl_req() 491 int st21nfca_im_send_atr_req(struct nfc_hci_dev *hdev, u8 *gb, size_t gb_len) in st21nfca_im_send_atr_req() [all …]
|
D | i2c.c | 53 struct nfc_hci_dev *hdev;
|
/linux-6.1.9/net/nfc/hci/ ! |
D | core.c | 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() [all …]
|
D | command.c | 19 static int nfc_hci_execute_cmd_async(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_execute_cmd_async() 55 static int nfc_hci_execute_cmd(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_execute_cmd() 91 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() 208 static u8 nfc_hci_create_pipe(struct nfc_hci_dev *hdev, u8 dest_host, in nfc_hci_create_pipe() [all …]
|
D | llc_nop.c | 13 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()
|
D | hci.h | 70 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,
|
D | hcp.c | 21 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()
|
D | llc.h | 16 void *(*init) (struct nfc_hci_dev *hdev, xmit_to_drv_t xmit_to_drv,
|
D | llc.c | 90 struct nfc_llc *nfc_llc_allocate(const char *name, struct nfc_hci_dev *hdev, in nfc_llc_allocate()
|
D | llc_shdlc.c | 27 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()
|
/linux-6.1.9/drivers/nfc/microread/ ! |
D | microread.c | 157 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() 217 static int microread_xmit(struct nfc_hci_dev *hdev, struct sk_buff *skb) in microread_xmit() 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() 334 static int microread_target_from_gate(struct nfc_hci_dev *hdev, u8 gate, in microread_target_from_gate() 348 static int microread_complete_target_discovered(struct nfc_hci_dev *hdev, in microread_complete_target_discovered() [all …]
|
D | microread.h | 15 int phy_payload, struct nfc_hci_dev **hdev); 17 void microread_remove(struct nfc_hci_dev *hdev);
|
D | i2c.c | 40 struct nfc_hci_dev *hdev;
|
/linux-6.1.9/drivers/nfc/pn544/ ! |
D | pn544.c | 113 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() 325 static int pn544_hci_xmit(struct nfc_hci_dev *hdev, struct sk_buff *skb) in pn544_hci_xmit() 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() 480 static int pn544_hci_target_from_gate(struct nfc_hci_dev *hdev, u8 gate, in pn544_hci_target_from_gate() 501 static int pn544_hci_complete_target_discovered(struct nfc_hci_dev *hdev, in pn544_hci_complete_target_discovered() [all …]
|
D | pn544.h | 22 struct nfc_hci_dev **hdev); 23 void pn544_hci_remove(struct nfc_hci_dev *hdev);
|
D | i2c.c | 151 struct nfc_hci_dev *hdev;
|
/linux-6.1.9/Documentation/driver-api/nfc/ ! |
D | nfc-hci.rst | 67 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, 73 int (*dep_link_up)(struct nfc_hci_dev *hdev, struct nfc_target *target, 75 int (*dep_link_down)(struct nfc_hci_dev *hdev); 76 int (*target_from_gate) (struct nfc_hci_dev *hdev, u8 gate, 78 int (*complete_target_discovered) (struct nfc_hci_dev *hdev, u8 gate, 80 int (*im_transceive) (struct nfc_hci_dev *hdev, [all …]
|
/linux-6.1.9/drivers/nfc/ ! |
D | mei_phy.h | 33 struct nfc_hci_dev *hdev;
|