Searched refs:uhid_fd (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/hid/ |
H A D | hid_bpf.c | 264 static int uhid_start_listener(struct __test_metadata *_metadata, pthread_t *tid, int uhid_fd) in uhid_start_listener() argument 267 .fd = uhid_fd, in uhid_start_listener() 277 close(uhid_fd); in uhid_start_listener() 442 int uhid_fd; in FIXTURE() local 469 uhid_destroy(_metadata, self->uhid_fd); in FIXTURE_TEARDOWN() 489 self->uhid_fd = setup_uhid(_metadata, self->dev_id); in FIXTURE_SETUP() 496 err = uhid_start_listener(_metadata, &self->tid, self->uhid_fd); in FIXTURE_SETUP() 598 uhid_send_event(_metadata, self->uhid_fd, buf, 6); in TEST_F() 614 uhid_send_event(_metadata, self->uhid_fd, buf, 6); in TEST_F() 646 uhid_send_event(_metadata, self->uhid_fd, buf, 6); in TEST_F() [all …]
|