Home
last modified time | relevance | path

Searched refs:hw_module_t (Results 1 – 25 of 43) sorted by relevance

12

/device/generic/opengl-transport/host/libs/virglrenderer/
DGralloc1.cpp32 static int gralloc1_device_open(const hw_module_t*, const char*, hw_device_t**);
38 static hw_module_t g_gralloc1_module = {
127 static int gralloc1_device_open(const hw_module_t* module, const char* id, hw_device_t** device) { in gralloc1_device_open()
136 int hw_get_module(const char* id, const hw_module_t** module) { in hw_get_module()
139 *module = const_cast<const hw_module_t*>(&g_gralloc1_module); in hw_get_module()
/device/generic/opengl-transport/host/libs/virglrenderer/include/hardware/
Dhardware.h32 struct hw_module_t { struct
51 struct hw_module_t* module; argument
61 int (*open)(const hw_module_t*, const char*, hw_device_t**);
65 int hw_get_module(const char* id, const hw_module_t** module);
Dgralloc.h33 hw_module_t common;
Dgralloc1.h74 static inline int gralloc1_open(const hw_module_t* module, gralloc1_device_t** device) { in gralloc1_open()
/device/amlogic/yukawa/hal/hdmicec/
Dhdmi_cec_test_hal.c25 extern struct hw_module_t HAL_MODULE_INFO_SYM;
26 static int (*hdmicec_open)(const struct hw_module_t *, const char *, struct hw_device_t **);
28 static struct hw_module_t *device;
29 static struct hw_module_t **device2 = &device;
Dhdmi_cec.c531 static int open_hdmi_cec(const struct hw_module_t *module, const char *id, in open_hdmi_cec()
560 ctx->device.common.module = (struct hw_module_t *)module; in open_hdmi_cec()
603 struct hw_module_t HAL_MODULE_INFO_SYM = {
/device/linaro/hikey/gralloc/
Dgralloc_module.cpp46 static int gralloc_device_open(const hw_module_t *module, const char *name, hw_device_t **device) in gralloc_device_open()
142 hw_module_t *pmodule = NULL; in gralloc_register_buffer()
145 if (hw_get_module(GRALLOC_HARDWARE_MODULE_ID, (const hw_module_t **)&pmodule) == 0) in gralloc_register_buffer()
433 hw_module_t *pmodule = NULL; in gralloc_unlock()
436 if (hw_get_module(GRALLOC_HARDWARE_MODULE_ID, (const hw_module_t **)&pmodule) == 0) in gralloc_unlock()
Dframebuffer_device.cpp453 int framebuffer_device_open(hw_module_t const *module, const char *name, hw_device_t **device) in framebuffer_device_open()
481 dev->common.module = const_cast<hw_module_t *>(module); in framebuffer_device_open()
Dframebuffer_device.h22 int framebuffer_device_open(hw_module_t const *module, const char *name, hw_device_t **device);
Dalloc_device.h41 int alloc_device_open(hw_module_t const *module, const char *name, hw_device_t **device);
/device/google/contexthub/sensorhal/
Dsensors.cpp46 SensorContext::SensorContext(const struct hw_module_t *module) in SensorContext()
53 device.common.module = const_cast<hw_module_t *>(module); in SensorContext()
383 const struct hw_module_t *module, in open_sensors()
/device/amlogic/yukawa/hal/gralloc/legacy/
Dalloc_device.cpp158 int alloc_device_open(hw_module_t const *module, const char *name, hw_device_t **device) in alloc_device_open()
177 dev->common.module = const_cast<hw_module_t *>(module); in alloc_device_open()
Dalloc_device.h22 int alloc_device_open(hw_module_t const *module, const char *name, hw_device_t **device);
/device/linaro/hikey/gralloc960/legacy/
Dalloc_device.cpp157 int alloc_device_open(hw_module_t const *module, const char *name, hw_device_t **device) in alloc_device_open()
176 dev->common.module = const_cast<hw_module_t *>(module); in alloc_device_open()
Dalloc_device.h22 int alloc_device_open(hw_module_t const *module, const char *name, hw_device_t **device);
/device/google/comet/sensors/
Dsensors_dummy.c359 open_sensors(const struct hw_module_t* module, in open_sensors()
374 dev->device.common.module = (struct hw_module_t*) module; in open_sensors()
/device/google/akita/sensors/
Dsensors_dummy.c359 open_sensors(const struct hw_module_t* module, in open_sensors()
374 dev->device.common.module = (struct hw_module_t*) module; in open_sensors()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_public_interface.cpp423 int mali_gralloc_device_open(hw_module_t const *module, const char *name, hw_device_t **device) in mali_gralloc_device_open()
442 dev->common.module = const_cast<hw_module_t *>(module); in mali_gralloc_device_open()
Dmali_gralloc_public_interface.h23 int mali_gralloc_device_open(hw_module_t const *module, const char *name, hw_device_t **device);
Dframebuffer_device.h23 int framebuffer_device_open(hw_module_t const *module, const char *name, hw_device_t **device);
Dframebuffer_device.cpp554 int framebuffer_device_open(hw_module_t const *module, const char *name, hw_device_t **device) in framebuffer_device_open()
623 dev->common.module = const_cast<hw_module_t *>(module); in framebuffer_device_open()
Dmali_gralloc_module.h34 struct hw_module_t common;
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_public_interface.h23 int mali_gralloc_device_open(hw_module_t const *module, const char *name, hw_device_t **device);
Dframebuffer_device.h23 int framebuffer_device_open(hw_module_t const *module, const char *name, hw_device_t **device);
Dframebuffer_device.cpp554 int framebuffer_device_open(hw_module_t const *module, const char *name, hw_device_t **device) in framebuffer_device_open()
623 dev->common.module = const_cast<hw_module_t *>(module); in framebuffer_device_open()

12