Lines Matching refs:device
55 /** State information for each device instance */
57 struct copybit_device_t device;
68 struct hw_device_t** device);
427 /** Close the copybit device */
438 /** Open a new instance of a copybit device using name */
440 struct hw_device_t** device)
447 ctx->device.common.tag = HARDWARE_DEVICE_TAG;
448 ctx->device.common.version = 1;
449 ctx->device.common.module = const_cast<hw_module_t*>(module);
450 ctx->device.common.close = close_copybit;
451 ctx->device.set_parameter = set_parameter_copybit;
452 ctx->device.get = get;
453 ctx->device.blit = blit_copybit;
454 ctx->device.stretch = stretch_copybit;
481 *device = &ctx->device.common;
483 close_copybit(&ctx->device.common);