Searched refs:vibradev (Results 1 – 1 of 1) sorted by relevance
39 static int qemu_vibra_on(vibrator_device_t* vibradev __unused, unsigned int timeout_ms) in qemu_vibra_on()44 static int qemu_vibra_off(vibrator_device_t* vibradev __unused) in qemu_vibra_off()57 vibrator_device_t *vibradev = calloc(1, sizeof(vibrator_device_t)); in qemu_vibra_open() local59 if (!vibradev) { in qemu_vibra_open()64 vibradev->common.tag = HARDWARE_DEVICE_TAG; in qemu_vibra_open()65 vibradev->common.module = (hw_module_t *) module; in qemu_vibra_open()66 vibradev->common.version = HARDWARE_DEVICE_API_VERSION(1,0); in qemu_vibra_open()67 vibradev->common.close = qemu_vibra_close; in qemu_vibra_open()69 vibradev->vibrator_on = qemu_vibra_on; in qemu_vibra_open()70 vibradev->vibrator_off = qemu_vibra_off; in qemu_vibra_open()[all …]