Lines Matching defs:ndev

42 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()
179 static void nci_init_complete_req(struct nci_dev *ndev, const void *opt) in nci_init_complete_req()
221 static void nci_set_config_req(struct nci_dev *ndev, const void *opt) in nci_set_config_req()
241 static void nci_rf_discover_req(struct nci_dev *ndev, const void *opt) in nci_rf_discover_req()
306 static void nci_rf_discover_select_req(struct nci_dev *ndev, const void *opt) in nci_rf_discover_select_req()
332 static void nci_rf_deactivate_req(struct nci_dev *ndev, const void *opt) in nci_rf_deactivate_req()
348 static void nci_generic_req(struct nci_dev *ndev, const void *opt) in nci_generic_req()
355 int nci_prop_cmd(struct nci_dev *ndev, __u8 oid, size_t len, const __u8 *payload) in nci_prop_cmd()
368 int nci_core_cmd(struct nci_dev *ndev, __u16 opcode, size_t len, in nci_core_cmd()
382 int nci_core_reset(struct nci_dev *ndev) in nci_core_reset()
389 int nci_core_init(struct nci_dev *ndev) in nci_core_init()
401 static void nci_send_data_req(struct nci_dev *ndev, const void *opt) in nci_send_data_req()
410 struct nci_dev *ndev = (struct nci_dev *)context; in nci_nfcc_loopback_cb() local
424 int nci_nfcc_loopback(struct nci_dev *ndev, const void *data, size_t data_len, in nci_nfcc_loopback()
473 static int nci_open_device(struct nci_dev *ndev) in nci_open_device()
553 static int nci_close_device(struct nci_dev *ndev) in nci_close_device()
608 struct nci_dev *ndev = from_timer(ndev, t, cmd_timer); in nci_cmd_timer() local
617 struct nci_dev *ndev = from_timer(ndev, t, data_timer); in nci_data_timer() local
625 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_dev_up() local
632 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_dev_down() local
637 int nci_set_config(struct nci_dev *ndev, __u8 id, size_t len, const __u8 *val) in nci_set_config()
653 static void nci_nfcee_discover_req(struct nci_dev *ndev, const void *opt) in nci_nfcee_discover_req()
663 int nci_nfcee_discover(struct nci_dev *ndev, u8 action) in nci_nfcee_discover()
672 static void nci_nfcee_mode_set_req(struct nci_dev *ndev, const void *opt) in nci_nfcee_mode_set_req()
680 int nci_nfcee_mode_set(struct nci_dev *ndev, u8 nfcee_id, u8 nfcee_mode) in nci_nfcee_mode_set()
692 static void nci_core_conn_create_req(struct nci_dev *ndev, const void *opt) in nci_core_conn_create_req()
699 int nci_core_conn_create(struct nci_dev *ndev, u8 destination_type, in nci_core_conn_create()
738 static void nci_core_conn_close_req(struct nci_dev *ndev, const void *opt) in nci_core_conn_close_req()
745 int nci_core_conn_close(struct nci_dev *ndev, u8 conn_id) in nci_core_conn_close()
757 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_set_local_general_bytes() local
783 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_set_listen_parameters() local
807 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_start_poll() local
860 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_stop_poll() local
876 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_activate_target() local
942 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_deactivate_target() local
967 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_dep_link_up() local
987 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_dep_link_down() local
1012 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_transceive() local
1043 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_tm_send() local
1055 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_enable_se() local
1065 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_disable_se() local
1076 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_discover_se() local
1093 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_se_io() local
1104 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_fw_download() local
1143 struct nci_dev *ndev; in nci_allocate_device() local
1197 void nci_free_device(struct nci_dev *ndev) in nci_free_device()
1210 int nci_register_device(struct nci_dev *ndev) in nci_register_device()
1277 void nci_unregister_device(struct nci_dev *ndev) in nci_unregister_device()
1308 int nci_recv_frame(struct nci_dev *ndev, struct sk_buff *skb) in nci_recv_frame()
1326 int nci_send_frame(struct nci_dev *ndev, struct sk_buff *skb) in nci_send_frame()
1347 int nci_send_cmd(struct nci_dev *ndev, __u16 opcode, __u8 plen, const void *payload) in nci_send_cmd()
1398 static int nci_op_rsp_packet(struct nci_dev *ndev, __u16 rsp_opcode, in nci_op_rsp_packet()
1411 static int nci_op_ntf_packet(struct nci_dev *ndev, __u16 ntf_opcode, in nci_op_ntf_packet()
1424 int nci_prop_rsp_packet(struct nci_dev *ndev, __u16 opcode, in nci_prop_rsp_packet()
1431 int nci_prop_ntf_packet(struct nci_dev *ndev, __u16 opcode, in nci_prop_ntf_packet()
1438 int nci_core_rsp_packet(struct nci_dev *ndev, __u16 opcode, in nci_core_rsp_packet()
1445 int nci_core_ntf_packet(struct nci_dev *ndev, __u16 opcode, in nci_core_ntf_packet()
1456 struct nci_dev *ndev = container_of(work, struct nci_dev, tx_work); in nci_tx_work() local
1493 struct nci_dev *ndev = container_of(work, struct nci_dev, rx_work); in nci_rx_work() local
1539 struct nci_dev *ndev = container_of(work, struct nci_dev, cmd_work); in nci_cmd_work() local