Lines Matching defs:device
57 alloc_device_t device;
67 hw_device_t** device);
70 hw_device_t** device);
391 hw_device_t** device)
402 dev->device.common.tag = HARDWARE_DEVICE_TAG;
403 dev->device.common.version = 0;
404 dev->device.common.module = const_cast<hw_module_t*>(module);
405 dev->device.common.close = gralloc_close;
407 dev->device.alloc = gralloc_alloc;
408 dev->device.free = gralloc_free;
410 private_module_t *p = reinterpret_cast<private_module_t*>(dev->device.common.module);
413 *device = &dev->device.common;
416 status = fb_device_open(module, name, device);