Home
last modified time | relevance | path

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

/hardware/libhardware/include/hardware/
Dhardware.h36 struct hw_module_t;
45 typedef struct hw_module_t { struct
73 } hw_module_t; argument
77 int (*open)(const struct hw_module_t* module, const char* id,
94 struct hw_module_t* module;
118 int hw_get_module(const char *id, const struct hw_module_t **module);
Dsensors.h255 struct hw_module_t common;
381 static inline int sensors_control_open(const struct hw_module_t* module, in sensors_control_open()
391 static inline int sensors_data_open(const struct hw_module_t* module, in sensors_data_open()
Dgralloc.h92 struct hw_module_t common;
320 static inline int gralloc_open(const struct hw_module_t* module, in gralloc_open()
331 static inline int framebuffer_open(const struct hw_module_t* module, in framebuffer_open()
Doverlay.h136 struct hw_module_t common;
225 static inline int overlay_control_open(const struct hw_module_t* module, in overlay_control_open()
235 static inline int overlay_data_open(const struct hw_module_t* module, in overlay_data_open()
Dcopybit.h137 struct hw_module_t common;
206 static inline int copybit_open(const struct hw_module_t* module, in copybit_open()
/hardware/libhardware/
Dhardware.c62 const struct hw_module_t **pHmi) in load()
66 struct hw_module_t *hmi; in load()
83 hmi = (struct hw_module_t *)dlsym(handle, sym); in load()
119 int hw_get_module(const char *id, const struct hw_module_t **module) in hw_get_module()
123 const struct hw_module_t *hmi = NULL; in hw_get_module()
/hardware/libhardware/modules/overlay/
Doverlay.cpp40 static int overlay_device_open(const struct hw_module_t* module, const char* name,
273 static int overlay_device_open(const struct hw_module_t* module, const char* name, in overlay_device_open()
287 dev->device.common.module = const_cast<hw_module_t*>(module); in overlay_device_open()
309 dev->device.common.module = const_cast<hw_module_t*>(module); in overlay_device_open()
/hardware/libhardware/modules/gralloc/
Dgralloc.cpp60 int fb_device_open(const hw_module_t* module, const char* name,
63 static int gralloc_device_open(const hw_module_t* module, const char* name,
463 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()
477 dev->device.common.module = const_cast<hw_module_t*>(module); in gralloc_device_open()
Dframebuffer.cpp330 int fb_device_open(hw_module_t const* module, const char* name, in fb_device_open()
347 dev->device.common.module = const_cast<hw_module_t*>(module); in fb_device_open()
/hardware/msm7k/liblights/
Dlights.c362 static int open_lights(const struct hw_module_t* module, char const* name, in open_lights()
397 dev->common.module = (struct hw_module_t*)module; in open_lights()
413 const struct hw_module_t HAL_MODULE_INFO_SYM = {
/hardware/msm7k/libgralloc-qsd8k/
Dgralloc.cpp60 int fb_device_open(const hw_module_t* module, const char* name,
63 static int gralloc_device_open(const hw_module_t* module, const char* name,
464 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()
478 dev->device.common.module = const_cast<hw_module_t*>(module); in gralloc_device_open()
Dframebuffer.cpp349 int fb_device_open(hw_module_t const* module, const char* name, in fb_device_open()
366 dev->device.common.module = const_cast<hw_module_t*>(module); in fb_device_open()
/hardware/msm7k/libgralloc/
Dgralloc.cpp63 int fb_device_open(const hw_module_t* module, const char* name,
66 static int gralloc_device_open(const hw_module_t* module, const char* name,
558 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()
572 dev->device.common.module = const_cast<hw_module_t*>(module); in gralloc_device_open()
Dframebuffer.cpp339 int fb_device_open(hw_module_t const* module, const char* name, in fb_device_open()
356 dev->device.common.module = const_cast<hw_module_t*>(module); in fb_device_open()
/hardware/msm7k/libcopybit/
Dcopybit.cpp67 static int open_copybit(const struct hw_module_t* module, const char* name,
436 static int open_copybit(const struct hw_module_t* module, const char* name, in open_copybit()
446 ctx->device.common.module = const_cast<hw_module_t*>(module); in open_copybit()
/hardware/ti/omap3/liboverlay/
Doverlay.cpp129 static int overlay_device_open(const struct hw_module_t* module,
1077 static int overlay_device_open(const struct hw_module_t* module, in overlay_device_open()
1093 dev->device.common.module = const_cast<hw_module_t*>(module); in overlay_device_open()
1117 dev->device.common.module = const_cast<hw_module_t*>(module); in overlay_device_open()