Home
last modified time | relevance | path

Searched refs:nci_dev (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v5.10/include/net/nfc/
Dnci_core.h56 struct nci_dev;
60 int (*rsp)(struct nci_dev *dev, struct sk_buff *skb);
61 int (*ntf)(struct nci_dev *dev, struct sk_buff *skb);
65 int (*init)(struct nci_dev *ndev);
66 int (*open)(struct nci_dev *ndev);
67 int (*close)(struct nci_dev *ndev);
68 int (*send)(struct nci_dev *ndev, struct sk_buff *skb);
69 int (*setup)(struct nci_dev *ndev);
70 int (*post_setup)(struct nci_dev *ndev);
71 int (*fw_download)(struct nci_dev *ndev, const char *firmware_name);
[all …]
/Linux-v5.10/drivers/nfc/st-nci/
Dst-nci.h121 void st_nci_remove(struct nci_dev *ndev);
125 int st_nci_se_init(struct nci_dev *ndev, struct st_nci_se_status *se_status);
126 void st_nci_se_deinit(struct nci_dev *ndev);
128 int st_nci_discover_se(struct nci_dev *ndev);
129 int st_nci_enable_se(struct nci_dev *ndev, u32 se_idx);
130 int st_nci_disable_se(struct nci_dev *ndev, u32 se_idx);
131 int st_nci_se_io(struct nci_dev *ndev, u32 se_idx,
134 int st_nci_hci_load_session(struct nci_dev *ndev);
135 void st_nci_hci_event_received(struct nci_dev *ndev, u8 pipe,
137 void st_nci_hci_cmd_received(struct nci_dev *ndev, u8 pipe, u8 cmd,
[all …]
Dvendor_cmds.c42 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_factory_mode()
67 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_clear_all_pipes()
75 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_put_data()
85 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_update_aid()
96 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_get_info()
129 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_get_data()
161 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_fwupd_start()
175 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_fwupd_end()
184 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_direct_load()
197 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_reset()
[all …]
Dcore.c21 static int st_nci_init(struct nci_dev *ndev) in st_nci_init()
32 static int st_nci_open(struct nci_dev *ndev) in st_nci_open()
47 static int st_nci_close(struct nci_dev *ndev) in st_nci_close()
61 static int st_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in st_nci_send()
73 static __u32 st_nci_get_rfprotocol(struct nci_dev *ndev, in st_nci_get_rfprotocol()
80 static int st_nci_prop_rsp_packet(struct nci_dev *ndev, in st_nci_prop_rsp_packet()
164 void st_nci_remove(struct nci_dev *ndev) in st_nci_remove()
Dse.c113 static u8 st_nci_se_get_bwi(struct nci_dev *ndev) in st_nci_se_get_bwi()
132 static void st_nci_se_get_atr(struct nci_dev *ndev) in st_nci_se_get_atr()
152 int st_nci_hci_load_session(struct nci_dev *ndev) in st_nci_hci_load_session()
251 static void st_nci_hci_admin_event_received(struct nci_dev *ndev, in st_nci_hci_admin_event_received()
275 static int st_nci_hci_apdu_reader_event_received(struct nci_dev *ndev, in st_nci_hci_apdu_reader_event_received()
309 static int st_nci_hci_connectivity_event_received(struct nci_dev *ndev, in st_nci_hci_connectivity_event_received()
360 void st_nci_hci_event_received(struct nci_dev *ndev, u8 pipe, in st_nci_hci_event_received()
380 void st_nci_hci_cmd_received(struct nci_dev *ndev, u8 pipe, u8 cmd, in st_nci_hci_cmd_received()
406 static int st_nci_control_se(struct nci_dev *ndev, u8 se_idx, in st_nci_control_se()
470 int st_nci_disable_se(struct nci_dev *ndev, u32 se_idx) in st_nci_disable_se()
[all …]
Dndlc.h18 struct nci_dev *ndev;
/Linux-v5.10/net/nfc/nci/
Dcore.c42 struct nci_conn_info *nci_get_conn_info_by_conn_id(struct nci_dev *ndev, in nci_get_conn_info_by_conn_id()
55 int nci_get_conn_info_by_dest_type_params(struct nci_dev *ndev, u8 dest_type, in nci_get_conn_info_by_dest_type_params()
77 void nci_req_complete(struct nci_dev *ndev, int result) in nci_req_complete()
87 static void nci_req_cancel(struct nci_dev *ndev, int err) in nci_req_cancel()
97 static int __nci_request(struct nci_dev *ndev, in __nci_request()
98 void (*req)(struct nci_dev *ndev, unsigned long opt), in __nci_request()
140 inline int nci_request(struct nci_dev *ndev, in nci_request()
141 void (*req)(struct nci_dev *ndev, in nci_request()
158 static void nci_reset_req(struct nci_dev *ndev, unsigned long opt) in nci_reset_req()
166 static void nci_init_req(struct nci_dev *ndev, unsigned long opt) in nci_init_req()
[all …]
Drsp.c28 static void nci_core_reset_rsp_packet(struct nci_dev *ndev, struct sk_buff *skb) in nci_core_reset_rsp_packet()
43 static void nci_core_init_rsp_packet(struct nci_dev *ndev, struct sk_buff *skb) in nci_core_init_rsp_packet()
109 static void nci_core_set_config_rsp_packet(struct nci_dev *ndev, in nci_core_set_config_rsp_packet()
119 static void nci_rf_disc_map_rsp_packet(struct nci_dev *ndev, in nci_rf_disc_map_rsp_packet()
129 static void nci_rf_disc_rsp_packet(struct nci_dev *ndev, struct sk_buff *skb) in nci_rf_disc_rsp_packet()
159 static void nci_rf_disc_select_rsp_packet(struct nci_dev *ndev, in nci_rf_disc_select_rsp_packet()
171 static void nci_rf_deactivate_rsp_packet(struct nci_dev *ndev, in nci_rf_deactivate_rsp_packet()
187 static void nci_nfcee_discover_rsp_packet(struct nci_dev *ndev, in nci_nfcee_discover_rsp_packet()
204 static void nci_nfcee_mode_set_rsp_packet(struct nci_dev *ndev, in nci_nfcee_mode_set_rsp_packet()
213 static void nci_core_conn_create_rsp_packet(struct nci_dev *ndev, in nci_core_conn_create_rsp_packet()
[all …]
Dntf.c30 static void nci_core_conn_credits_ntf_packet(struct nci_dev *ndev, in nci_core_conn_credits_ntf_packet()
65 static void nci_core_generic_error_ntf_packet(struct nci_dev *ndev, in nci_core_generic_error_ntf_packet()
79 static void nci_core_conn_intf_error_ntf_packet(struct nci_dev *ndev, in nci_core_conn_intf_error_ntf_packet()
93 static __u8 *nci_extract_rf_params_nfca_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfca_passive_poll()
120 static __u8 *nci_extract_rf_params_nfcb_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfcb_passive_poll()
134 static __u8 *nci_extract_rf_params_nfcf_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfcf_passive_poll()
150 static __u8 *nci_extract_rf_params_nfcv_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfcv_passive_poll()
161 static __u8 *nci_extract_rf_params_nfcf_passive_listen(struct nci_dev *ndev, in nci_extract_rf_params_nfcf_passive_listen()
173 static __u32 nci_get_prop_rf_protocol(struct nci_dev *ndev, __u8 rf_protocol) in nci_get_prop_rf_protocol()
180 static int nci_add_new_protocol(struct nci_dev *ndev, in nci_add_new_protocol()
[all …]
Dhci.c121 static void nci_hci_reset_pipes_per_host(struct nci_dev *ndev, u8 host) in nci_hci_reset_pipes_per_host()
141 static int nci_hci_send_data(struct nci_dev *ndev, u8 pipe, in nci_hci_send_data()
200 static void nci_hci_send_data_req(struct nci_dev *ndev, unsigned long opt) in nci_hci_send_data_req()
208 int nci_hci_send_event(struct nci_dev *ndev, u8 gate, u8 event, in nci_hci_send_event()
222 int nci_hci_send_cmd(struct nci_dev *ndev, u8 gate, u8 cmd, in nci_hci_send_cmd()
261 int nci_hci_clear_all_pipes(struct nci_dev *ndev) in nci_hci_clear_all_pipes()
275 static void nci_hci_event_received(struct nci_dev *ndev, u8 pipe, in nci_hci_event_received()
282 static void nci_hci_cmd_received(struct nci_dev *ndev, u8 pipe, in nci_hci_cmd_received()
365 static void nci_hci_resp_received(struct nci_dev *ndev, u8 pipe, in nci_hci_resp_received()
386 static void nci_hci_hcp_message_rx(struct nci_dev *ndev, u8 pipe, in nci_hci_hcp_message_rx()
[all …]
Ddata.c26 void nci_data_exchange_complete(struct nci_dev *ndev, struct sk_buff *skb, in nci_data_exchange_complete()
64 static inline void nci_push_data_hdr(struct nci_dev *ndev, in nci_push_data_hdr()
81 int nci_conn_max_data_pkt_payload_size(struct nci_dev *ndev, __u8 conn_id) in nci_conn_max_data_pkt_payload_size()
93 static int nci_queue_tx_data_frags(struct nci_dev *ndev, in nci_queue_tx_data_frags()
167 int nci_send_data(struct nci_dev *ndev, __u8 conn_id, struct sk_buff *skb) in nci_send_data()
210 static void nci_add_rx_data_frag(struct nci_dev *ndev, in nci_add_rx_data_frag()
267 void nci_rx_data_packet(struct nci_dev *ndev, struct sk_buff *skb) in nci_rx_data_packet()
/Linux-v5.10/drivers/nfc/fdp/
Dfdp.c43 struct nci_dev *ndev;
60 void (*data_pkt_counter_cb)(struct nci_dev *ndev);
82 static int fdp_nci_create_conn(struct nci_dev *ndev) in fdp_nci_create_conn()
101 static inline int fdp_nci_get_versions(struct nci_dev *ndev) in fdp_nci_get_versions()
108 static inline int fdp_nci_patch_cmd(struct nci_dev *ndev, u8 type) in fdp_nci_patch_cmd()
113 static inline int fdp_nci_set_production_data(struct nci_dev *ndev, u8 len, in fdp_nci_set_production_data()
119 static int fdp_nci_set_clock(struct nci_dev *ndev, u8 clock_type, in fdp_nci_set_clock()
144 static void fdp_nci_send_patch_cb(struct nci_dev *ndev) in fdp_nci_send_patch_cb()
159 static void fdp_nci_set_data_pkt_counter(struct nci_dev *ndev, in fdp_nci_set_data_pkt_counter()
160 void (*cb)(struct nci_dev *ndev), int count) in fdp_nci_set_data_pkt_counter()
[all …]
Dfdp.h17 struct nci_dev *ndev;
25 struct nci_dev **ndev, int tx_headroom, int tx_tailroom,
27 void fdp_nci_remove(struct nci_dev *ndev);
28 int fdp_nci_recv_frame(struct nci_dev *ndev, struct sk_buff *skb);
/Linux-v5.10/drivers/nfc/nxp-nci/
Dnxp-nci.h53 struct nci_dev *ndev;
67 int nxp_nci_fw_download(struct nci_dev *ndev, const char *firmware_name);
69 void nxp_nci_fw_recv_frame(struct nci_dev *ndev, struct sk_buff *skb);
75 struct nci_dev **ndev);
76 void nxp_nci_remove(struct nci_dev *ndev);
Dcore.c30 static int nxp_nci_open(struct nci_dev *ndev) in nxp_nci_open()
52 static int nxp_nci_close(struct nci_dev *ndev) in nxp_nci_close()
68 static int nxp_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in nxp_nci_send()
101 struct nci_dev **ndev) in nxp_nci_probe()
152 void nxp_nci_remove(struct nci_dev *ndev) in nxp_nci_remove()
Dfirmware.c199 int nxp_nci_fw_download(struct nci_dev *ndev, const char *firmware_name) in nxp_nci_fw_download()
292 void nxp_nci_fw_recv_frame(struct nci_dev *ndev, struct sk_buff *skb) in nxp_nci_fw_recv_frame()
/Linux-v5.10/drivers/nfc/s3fwrn5/
Dcore.c64 static int s3fwrn5_nci_open(struct nci_dev *ndev) in s3fwrn5_nci_open()
77 static int s3fwrn5_nci_close(struct nci_dev *ndev) in s3fwrn5_nci_close()
87 static int s3fwrn5_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in s3fwrn5_nci_send()
107 static int s3fwrn5_nci_post_setup(struct nci_dev *ndev) in s3fwrn5_nci_post_setup()
138 int s3fwrn5_probe(struct nci_dev **ndev, void *phy_id, struct device *pdev, in s3fwrn5_probe()
181 void s3fwrn5_remove(struct nci_dev *ndev) in s3fwrn5_remove()
192 int s3fwrn5_recv_frame(struct nci_dev *ndev, struct sk_buff *skb, in s3fwrn5_recv_frame()
Ds3fwrn5.h32 struct nci_dev *ndev;
81 int s3fwrn5_probe(struct nci_dev **ndev, void *phy_id, struct device *pdev,
83 void s3fwrn5_remove(struct nci_dev *ndev);
85 int s3fwrn5_recv_frame(struct nci_dev *ndev, struct sk_buff *skb,
Dfirmware.h78 struct nci_dev *ndev;
98 int s3fwrn5_fw_recv_frame(struct nci_dev *ndev, struct sk_buff *skb);
Dnci.c15 static int s3fwrn5_nci_prop_rsp(struct nci_dev *ndev, struct sk_buff *skb) in s3fwrn5_nci_prop_rsp()
Di2c.c27 struct nci_dev *ndev;
/Linux-v5.10/drivers/nfc/nfcmrvl/
Dmain.c28 static int nfcmrvl_nci_open(struct nci_dev *ndev) in nfcmrvl_nci_open()
47 static int nfcmrvl_nci_close(struct nci_dev *ndev) in nfcmrvl_nci_close()
59 static int nfcmrvl_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in nfcmrvl_nci_send()
81 static int nfcmrvl_nci_setup(struct nci_dev *ndev) in nfcmrvl_nci_setup()
89 static int nfcmrvl_nci_fw_download(struct nci_dev *ndev, in nfcmrvl_nci_fw_download()
195 struct nci_dev *ndev = priv->ndev; in nfcmrvl_nci_unregister_dev()
Dnfcmrvl.h72 struct nci_dev *ndev;
Dfw_dnld.h94 int nfcmrvl_fw_dnld_start(struct nci_dev *ndev, const char *firmware_name);
Dusb.c160 struct nci_dev *ndev = (struct nci_dev *)skb->dev; in nfcmrvl_tx_complete()

12