Lines Matching defs:device
31 struct local_time_hw_device device;
60 static int ltdev_close(hw_device_t *device)
62 free(device);
67 hw_device_t** device)
80 ltdev->device.common.tag = HARDWARE_DEVICE_TAG;
81 ltdev->device.common.version = 0;
82 ltdev->device.common.module = (struct hw_module_t *) module;
83 ltdev->device.common.close = ltdev_close;
85 ltdev->device.get_local_time = ltdev_get_local_time;
86 ltdev->device.get_local_freq = ltdev_get_local_freq;
87 ltdev->device.set_local_slew = NULL;
88 ltdev->device.get_debug_log = NULL;
90 *device = <dev->device.common;