Lines Matching refs:device
47 static int CloseDevice(hw_device_t *device);
48 static void GetCapabilities(struct gralloc1_device *device, uint32_t *out_count,
51 struct gralloc1_device *device, int32_t /*gralloc1_function_descriptor_t*/ descriptor);
63 static inline gralloc1_error_t Dump(gralloc1_device_t *device, uint32_t *out_size,
65 static inline gralloc1_error_t CheckDeviceAndHandle(gralloc1_device_t *device,
67 static gralloc1_error_t CreateBufferDescriptor(gralloc1_device_t *device,
69 static gralloc1_error_t DestroyBufferDescriptor(gralloc1_device_t *device,
71 static gralloc1_error_t SetConsumerUsage(gralloc1_device_t *device,
74 static gralloc1_error_t SetBufferDimensions(gralloc1_device_t *device,
77 static gralloc1_error_t SetColorFormat(gralloc1_device_t *device,
79 static gralloc1_error_t SetLayerCount(gralloc1_device_t *device,
82 static gralloc1_error_t SetProducerUsage(gralloc1_device_t *device,
85 static gralloc1_error_t GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer,
87 static gralloc1_error_t GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer,
89 static gralloc1_error_t GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer,
91 static gralloc1_error_t GetColorFormat(gralloc1_device_t *device, buffer_handle_t descriptor,
93 static gralloc1_error_t GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer,
95 static gralloc1_error_t GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer,
97 static gralloc1_error_t GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer,
99 static gralloc1_error_t AllocateBuffers(gralloc1_device_t *device, uint32_t num_dptors,
102 static gralloc1_error_t RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer);
103 static gralloc1_error_t ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer);
104 static gralloc1_error_t GetNumFlexPlanes(gralloc1_device_t *device, buffer_handle_t buffer,
106 static gralloc1_error_t LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer,
111 static gralloc1_error_t LockFlex(gralloc1_device_t *device, buffer_handle_t buffer,
118 static gralloc1_error_t UnlockBuffer(gralloc1_device_t *device, buffer_handle_t buffer,
120 static gralloc1_error_t Gralloc1Perform(gralloc1_device_t *device, int operation, ...);
122 static gralloc1_error_t validateBufferSize(gralloc1_device_t *device,
129 static gralloc1_error_t importBuffer(gralloc1_device_t *device, buffer_handle_t raw_handle,