Lines Matching refs:virtual_nci_fd
299 int virtual_nci_fd; in FIXTURE() local
421 self->virtual_nci_fd = open("/dev/virtual_nci", O_RDWR); in FIXTURE_SETUP()
422 ASSERT_GT(self->virtual_nci_fd, -1); in FIXTURE_SETUP()
428 rc = ioctl(self->virtual_nci_fd, IOCTL_GET_NCIDEV_IDX, &self->dev_idex); in FIXTURE_SETUP()
437 (void *)&self->virtual_nci_fd); in FIXTURE_SETUP()
440 (void *)&self->virtual_nci_fd); in FIXTURE_SETUP()
507 (void *)&self->virtual_nci_fd); in FIXTURE_TEARDOWN()
510 (void *)&self->virtual_nci_fd); in FIXTURE_TEARDOWN()
522 close(self->virtual_nci_fd); in FIXTURE_TEARDOWN()
629 status = start_polling(self->dev_idex, self->proto, self->virtual_nci_fd, in TEST_F()
633 status = stop_polling(self->dev_idex, self->virtual_nci_fd, self->sd, in TEST_F()
844 status = start_polling(self->dev_idex, self->proto, self->virtual_nci_fd, in TEST_F()
848 nfc_sock = connect_tag(self->dev_idex, self->virtual_nci_fd, self->sd, in TEST_F()
852 status = read_tag(nfc_sock, self->virtual_nci_fd); in TEST_F()
855 status = disconnect_tag(nfc_sock, self->virtual_nci_fd); in TEST_F()
873 (void *)&self->virtual_nci_fd); in TEST_F()
876 (void *)&self->virtual_nci_fd); in TEST_F()
897 close(self->virtual_nci_fd); in TEST_F()
898 self->virtual_nci_fd = -1; in TEST_F()