Home
last modified time | relevance | path

Searched refs:virtual_nci_fd (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/nci/
H A Dnci_dev.c299 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()
[all …]