Lines Matching refs:nci_dev

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, 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()
171 static void nci_init_complete_req(struct nci_dev *ndev, unsigned long opt) in nci_init_complete_req()
213 static void nci_set_config_req(struct nci_dev *ndev, unsigned long opt) in nci_set_config_req()
233 static void nci_rf_discover_req(struct nci_dev *ndev, unsigned long opt) in nci_rf_discover_req()
299 static void nci_rf_discover_select_req(struct nci_dev *ndev, unsigned long opt) in nci_rf_discover_select_req()
326 static void nci_rf_deactivate_req(struct nci_dev *ndev, unsigned long opt) in nci_rf_deactivate_req()
342 static void nci_generic_req(struct nci_dev *ndev, unsigned long opt) in nci_generic_req()
350 int nci_prop_cmd(struct nci_dev *ndev, __u8 oid, size_t len, __u8 *payload) in nci_prop_cmd()
363 int nci_core_cmd(struct nci_dev *ndev, __u16 opcode, size_t len, __u8 *payload) in nci_core_cmd()
376 int nci_core_reset(struct nci_dev *ndev) in nci_core_reset()
383 int nci_core_init(struct nci_dev *ndev) in nci_core_init()
395 static void nci_send_data_req(struct nci_dev *ndev, unsigned long opt) in nci_send_data_req()
404 struct nci_dev *ndev = (struct nci_dev *)context; in nci_nfcc_loopback_cb()
418 int nci_nfcc_loopback(struct nci_dev *ndev, void *data, size_t data_len, in nci_nfcc_loopback()
467 static int nci_open_device(struct nci_dev *ndev) in nci_open_device()
533 static int nci_close_device(struct nci_dev *ndev) in nci_close_device()
584 struct nci_dev *ndev = from_timer(ndev, t, cmd_timer); in nci_cmd_timer()
593 struct nci_dev *ndev = from_timer(ndev, t, data_timer); in nci_data_timer()
601 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_dev_up()
608 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_dev_down()
613 int nci_set_config(struct nci_dev *ndev, __u8 id, size_t len, __u8 *val) in nci_set_config()
629 static void nci_nfcee_discover_req(struct nci_dev *ndev, unsigned long opt) in nci_nfcee_discover_req()
639 int nci_nfcee_discover(struct nci_dev *ndev, u8 action) in nci_nfcee_discover()
646 static void nci_nfcee_mode_set_req(struct nci_dev *ndev, unsigned long opt) in nci_nfcee_mode_set_req()
655 int nci_nfcee_mode_set(struct nci_dev *ndev, u8 nfcee_id, u8 nfcee_mode) in nci_nfcee_mode_set()
668 static void nci_core_conn_create_req(struct nci_dev *ndev, unsigned long opt) in nci_core_conn_create_req()
676 int nci_core_conn_create(struct nci_dev *ndev, u8 destination_type, in nci_core_conn_create()
715 static void nci_core_conn_close_req(struct nci_dev *ndev, unsigned long opt) in nci_core_conn_close_req()
722 int nci_core_conn_close(struct nci_dev *ndev, u8 conn_id) in nci_core_conn_close()
732 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_set_local_general_bytes()
758 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_set_listen_parameters()
782 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_start_poll()
835 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_stop_poll()
850 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_activate_target()
917 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_deactivate_target()
944 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_dep_link_up()
964 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_dep_link_down()
991 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_transceive()
1022 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_tm_send()
1034 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_enable_se()
1044 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_disable_se()
1055 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_discover_se()
1072 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_se_io()
1083 struct nci_dev *ndev = nfc_get_drvdata(nfc_dev); in nci_fw_download()
1116 struct nci_dev *nci_allocate_device(struct nci_ops *ops, in nci_allocate_device()
1120 struct nci_dev *ndev; in nci_allocate_device()
1130 ndev = kzalloc(sizeof(struct nci_dev), GFP_KERNEL); in nci_allocate_device()
1175 void nci_free_device(struct nci_dev *ndev) in nci_free_device()
1187 int nci_register_device(struct nci_dev *ndev) in nci_register_device()
1254 void nci_unregister_device(struct nci_dev *ndev) in nci_unregister_device()
1279 int nci_recv_frame(struct nci_dev *ndev, struct sk_buff *skb) in nci_recv_frame()
1297 int nci_send_frame(struct nci_dev *ndev, struct sk_buff *skb) in nci_send_frame()
1318 int nci_send_cmd(struct nci_dev *ndev, __u16 opcode, __u8 plen, void *payload) in nci_send_cmd()
1369 static int nci_op_rsp_packet(struct nci_dev *ndev, __u16 rsp_opcode, in nci_op_rsp_packet()
1382 static int nci_op_ntf_packet(struct nci_dev *ndev, __u16 ntf_opcode, in nci_op_ntf_packet()
1395 int nci_prop_rsp_packet(struct nci_dev *ndev, __u16 opcode, in nci_prop_rsp_packet()
1402 int nci_prop_ntf_packet(struct nci_dev *ndev, __u16 opcode, in nci_prop_ntf_packet()
1409 int nci_core_rsp_packet(struct nci_dev *ndev, __u16 opcode, in nci_core_rsp_packet()
1416 int nci_core_ntf_packet(struct nci_dev *ndev, __u16 opcode, in nci_core_ntf_packet()
1427 struct nci_dev *ndev = container_of(work, struct nci_dev, tx_work); in nci_tx_work()
1464 struct nci_dev *ndev = container_of(work, struct nci_dev, rx_work); in nci_rx_work()
1510 struct nci_dev *ndev = container_of(work, struct nci_dev, cmd_work); in nci_cmd_work()