Searched refs:nfc_sock (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/nci/ |
H A D | nci_dev.c | 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 776 if (read_write_nci_cmd(nfc_sock, virtual_fd, nci_t4t_read_cmd, in read_tag() 815 int disconnect_tag(int nfc_sock, int virtual_fd) in disconnect_tag() argument 827 len = recv(nfc_sock, buf, sizeof(nci_t4t_rsp_ok), 0); in disconnect_tag() 834 close(nfc_sock); in disconnect_tag() 841 int nfc_sock; in TEST_F() local 850 ASSERT_GT(nfc_sock, -1); in TEST_F() 852 status = read_tag(nfc_sock, self->virtual_nci_fd); in TEST_F() [all …]
|