Lines Matching refs:vdev
529 vehicle_device_impl_t* vdev = calloc(1, sizeof(vehicle_device_impl_t)); in vdev_open() local
530 if (vdev == NULL) { in vdev_open()
535 vdev->vehicle_device.common.tag = HARDWARE_DEVICE_TAG; in vdev_open()
536 vdev->vehicle_device.common.version = VEHICLE_DEVICE_API_VERSION_1_0; in vdev_open()
537 vdev->vehicle_device.common.module = (hw_module_t *) module; in vdev_open()
538 vdev->vehicle_device.common.close = vdev_close; in vdev_open()
541 vdev->vehicle_device.list_properties = vdev_list_properties; in vdev_open()
542 vdev->vehicle_device.init = vdev_init; in vdev_open()
543 vdev->vehicle_device.release = vdev_release; in vdev_open()
544 vdev->vehicle_device.get = vdev_get; in vdev_open()
545 vdev->vehicle_device.release_memory_from_get = vdev_release_memory_from_get; in vdev_open()
546 vdev->vehicle_device.set = vdev_set; in vdev_open()
547 vdev->vehicle_device.subscribe = vdev_subscribe; in vdev_open()
548 vdev->vehicle_device.unsubscribe = vdev_unsubscribe; in vdev_open()
549 vdev->vehicle_device.dump = vdev_dump; in vdev_open()
551 *device = (hw_device_t *) vdev; in vdev_open()