Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/net/nfc/
Dnci_core.h57 struct nci_dev;
61 int (*rsp)(struct nci_dev *dev, struct sk_buff *skb);
62 int (*ntf)(struct nci_dev *dev, struct sk_buff *skb);
66 int (*init)(struct nci_dev *ndev);
67 int (*open)(struct nci_dev *ndev);
68 int (*close)(struct nci_dev *ndev);
69 int (*send)(struct nci_dev *ndev, struct sk_buff *skb);
70 int (*setup)(struct nci_dev *ndev);
71 int (*post_setup)(struct nci_dev *ndev);
72 int (*fw_download)(struct nci_dev *ndev, const char *firmware_name);
[all …]
/linux-6.1.9/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()
128 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_get_data()
159 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_fwupd_start()
173 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_fwupd_end()
182 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_direct_load()
195 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_reset()
[all …]
Dcore.c19 static int st_nci_init(struct nci_dev *ndev) in st_nci_init()
30 static int st_nci_open(struct nci_dev *ndev) in st_nci_open()
45 static int st_nci_close(struct nci_dev *ndev) in st_nci_close()
59 static int st_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in st_nci_send()
71 static __u32 st_nci_get_rfprotocol(struct nci_dev *ndev, in st_nci_get_rfprotocol()
78 static int st_nci_prop_rsp_packet(struct nci_dev *ndev, in st_nci_prop_rsp_packet()
163 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()
308 static int st_nci_hci_connectivity_event_received(struct nci_dev *ndev, in st_nci_hci_connectivity_event_received()
382 void st_nci_hci_event_received(struct nci_dev *ndev, u8 pipe, in st_nci_hci_event_received()
402 void st_nci_hci_cmd_received(struct nci_dev *ndev, u8 pipe, u8 cmd, in st_nci_hci_cmd_received()
428 static int st_nci_control_se(struct nci_dev *ndev, u8 se_idx, in st_nci_control_se()
492 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-6.1.9/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, const void *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()
161 static void nci_reset_req(struct nci_dev *ndev, const void *opt) in nci_reset_req()
169 static void nci_init_req(struct nci_dev *ndev, const void *opt) in nci_init_req()
[all …]
Drsp.c28 static void nci_core_reset_rsp_packet(struct nci_dev *ndev, in nci_core_reset_rsp_packet()
47 static u8 nci_core_init_rsp_packet_v1(struct nci_dev *ndev, in nci_core_init_rsp_packet_v1()
86 static u8 nci_core_init_rsp_packet_v2(struct nci_dev *ndev, in nci_core_init_rsp_packet_v2()
124 static void nci_core_init_rsp_packet(struct nci_dev *ndev, const struct sk_buff *skb) in nci_core_init_rsp_packet()
165 static void nci_core_set_config_rsp_packet(struct nci_dev *ndev, in nci_core_set_config_rsp_packet()
175 static void nci_rf_disc_map_rsp_packet(struct nci_dev *ndev, in nci_rf_disc_map_rsp_packet()
185 static void nci_rf_disc_rsp_packet(struct nci_dev *ndev, in nci_rf_disc_rsp_packet()
216 static void nci_rf_disc_select_rsp_packet(struct nci_dev *ndev, in nci_rf_disc_select_rsp_packet()
228 static void nci_rf_deactivate_rsp_packet(struct nci_dev *ndev, in nci_rf_deactivate_rsp_packet()
244 static void nci_nfcee_discover_rsp_packet(struct nci_dev *ndev, in nci_nfcee_discover_rsp_packet()
[all …]
Dntf.c30 static void nci_core_reset_ntf_packet(struct nci_dev *ndev, in nci_core_reset_ntf_packet()
47 static void nci_core_conn_credits_ntf_packet(struct nci_dev *ndev, in nci_core_conn_credits_ntf_packet()
82 static void nci_core_generic_error_ntf_packet(struct nci_dev *ndev, in nci_core_generic_error_ntf_packet()
96 static void nci_core_conn_intf_error_ntf_packet(struct nci_dev *ndev, in nci_core_conn_intf_error_ntf_packet()
111 nci_extract_rf_params_nfca_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfca_passive_poll()
139 nci_extract_rf_params_nfcb_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfcb_passive_poll()
154 nci_extract_rf_params_nfcf_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfcf_passive_poll()
171 nci_extract_rf_params_nfcv_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfcv_passive_poll()
183 nci_extract_rf_params_nfcf_passive_listen(struct nci_dev *ndev, in nci_extract_rf_params_nfcf_passive_listen()
195 static __u32 nci_get_prop_rf_protocol(struct nci_dev *ndev, __u8 rf_protocol) in nci_get_prop_rf_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()
198 static void nci_hci_send_data_req(struct nci_dev *ndev, const void *opt) in nci_hci_send_data_req()
206 int nci_hci_send_event(struct nci_dev *ndev, u8 gate, u8 event, in nci_hci_send_event()
220 int nci_hci_send_cmd(struct nci_dev *ndev, u8 gate, u8 cmd, in nci_hci_send_cmd()
259 int nci_hci_clear_all_pipes(struct nci_dev *ndev) in nci_hci_clear_all_pipes()
273 static void nci_hci_event_received(struct nci_dev *ndev, u8 pipe, in nci_hci_event_received()
280 static void nci_hci_cmd_received(struct nci_dev *ndev, u8 pipe, in nci_hci_cmd_received()
363 static void nci_hci_resp_received(struct nci_dev *ndev, u8 pipe, in nci_hci_resp_received()
381 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-6.1.9/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);
/linux-6.1.9/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.c33 static int nxp_nci_open(struct nci_dev *ndev) in nxp_nci_open()
55 static int nxp_nci_close(struct nci_dev *ndev) in nxp_nci_close()
71 static int nxp_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in nxp_nci_send()
96 static int nxp_nci_rf_pll_unlocked_ntf(struct nci_dev *ndev, in nxp_nci_rf_pll_unlocked_ntf()
105 static int nxp_nci_rf_txldo_error_ntf(struct nci_dev *ndev, in nxp_nci_rf_txldo_error_ntf()
137 struct nci_dev **ndev) in nxp_nci_probe()
180 void nxp_nci_remove(struct nci_dev *ndev) in nxp_nci_remove()
/linux-6.1.9/drivers/nfc/s3fwrn5/
Dcore.c77 static int s3fwrn5_nci_open(struct nci_dev *ndev) in s3fwrn5_nci_open()
90 static int s3fwrn5_nci_close(struct nci_dev *ndev) in s3fwrn5_nci_close()
100 static int s3fwrn5_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in s3fwrn5_nci_send()
125 static int s3fwrn5_nci_post_setup(struct nci_dev *ndev) in s3fwrn5_nci_post_setup()
160 int s3fwrn5_probe(struct nci_dev **ndev, void *phy_id, struct device *pdev, in s3fwrn5_probe()
199 void s3fwrn5_remove(struct nci_dev *ndev) in s3fwrn5_remove()
210 int s3fwrn5_recv_frame(struct nci_dev *ndev, struct sk_buff *skb, in s3fwrn5_recv_frame()
Ds3fwrn5.h32 struct nci_dev *ndev;
80 int s3fwrn5_probe(struct nci_dev **ndev, void *phy_id, struct device *pdev,
82 void s3fwrn5_remove(struct nci_dev *ndev);
84 int s3fwrn5_recv_frame(struct nci_dev *ndev, struct sk_buff *skb,
Dfirmware.h78 struct nci_dev *ndev;
99 int s3fwrn5_fw_recv_frame(struct nci_dev *ndev, struct sk_buff *skb);
Dphy_common.h22 struct nci_dev *ndev;
/linux-6.1.9/drivers/nfc/nfcmrvl/
Dmain.c17 static int nfcmrvl_nci_open(struct nci_dev *ndev) in nfcmrvl_nci_open()
36 static int nfcmrvl_nci_close(struct nci_dev *ndev) in nfcmrvl_nci_close()
48 static int nfcmrvl_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in nfcmrvl_nci_send()
70 static int nfcmrvl_nci_setup(struct nci_dev *ndev) in nfcmrvl_nci_setup()
78 static int nfcmrvl_nci_fw_download(struct nci_dev *ndev, in nfcmrvl_nci_fw_download()
184 struct nci_dev *ndev = priv->ndev; in nfcmrvl_nci_unregister_dev()
Dnfcmrvl.h61 struct nci_dev *ndev;
Dfw_dnld.h83 int nfcmrvl_fw_dnld_start(struct nci_dev *ndev, const char *firmware_name);
/linux-6.1.9/drivers/nfc/
Dvirtual_ncidev.c34 static struct nci_dev *ndev;
37 static int virtual_nci_open(struct nci_dev *ndev) in virtual_nci_open()
42 static int virtual_nci_close(struct nci_dev *ndev) in virtual_nci_close()
52 static int virtual_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in virtual_nci_send()
/linux-6.1.9/tools/testing/selftests/nci/
D.gitignore1 /nci_dev
DMakefile5 TEST_GEN_PROGS := nci_dev

12