Searched refs:nfc_sock (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/nci/ |
H A D | nci_dev.c | 745 int read_write_nci_cmd(int nfc_sock, int virtual_fd, const __u8 *cmd, __u32 cmd_len, in read_write_nci_cmd() argument 751 send(nfc_sock, &cmd[3], cmd_len - 3, 0); in read_write_nci_cmd() 757 len = recv(nfc_sock, buf, rsp_len - 2, 0); in read_write_nci_cmd() 764 int read_tag(int nfc_sock, int virtual_fd) in read_tag() argument 766 if (read_write_nci_cmd(nfc_sock, virtual_fd, nci_t4t_select_cmd, in read_tag() 771 if (read_write_nci_cmd(nfc_sock, virtual_fd, nci_t4t_select_cmd2, in read_tag() 776 if (read_write_nci_cmd(nfc_sock, virtual_fd, nci_t4t_read_cmd, in read_tag() 781 if (read_write_nci_cmd(nfc_sock, virtual_fd, nci_t4t_select_cmd3, in read_tag() 786 if (read_write_nci_cmd(nfc_sock, virtual_fd, nci_t4t_read_cmd2, in read_tag() 791 return read_write_nci_cmd(nfc_sock, virtual_fd, nci_t4t_read_cmd3, in read_tag() [all …]
|