Home
last modified time | relevance | path

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

12

/hardware/libhardware/include/hardware/
Dhardware.h37 struct hw_module_t;
46 typedef struct hw_module_t { struct
74 } hw_module_t; argument
78 int (*open)(const struct hw_module_t* module, const char* id,
95 struct hw_module_t* module;
120 int hw_get_module(const char *id, const struct hw_module_t **module);
135 const struct hw_module_t **module);
Dgralloc.h109 struct hw_module_t common;
247 static inline int gralloc_open(const struct hw_module_t* module, in gralloc_open()
Dhwcomposer.h230 struct hw_module_t common;
329 static inline int hwc_open(const struct hw_module_t* module, in hwc_open()
Dsensors.h393 struct hw_module_t common;
477 static inline int sensors_open(const struct hw_module_t* module, in sensors_open()
Daudio.h244 struct hw_module_t common;
328 static inline int audio_hw_device_open(const struct hw_module_t* module, in audio_hw_device_open()
Daudio_policy.h354 struct hw_module_t common;
371 static inline int audio_policy_dev_open(const hw_module_t* module, in audio_policy_dev_open()
Dfb.h151 static inline int framebuffer_open(const struct hw_module_t* module, in framebuffer_open()
Dcamera.h60 hw_module_t common;
/hardware/libhardware/
Dhardware.c63 const struct hw_module_t **pHmi) in load()
67 struct hw_module_t *hmi; in load()
84 hmi = (struct hw_module_t *)dlsym(handle, sym); in load()
121 const struct hw_module_t **module) in hw_get_module_by_class()
125 const struct hw_module_t *hmi = NULL; in hw_get_module_by_class()
172 int hw_get_module(const char *id, const struct hw_module_t **module) in hw_get_module()
/hardware/qcom/gps/loc_api/libloc_api/
Dgps.c39 static int open_gps(const struct hw_module_t* module, char const* name, in open_gps()
47 dev->common.module = (struct hw_module_t*)module; in open_gps()
58 const struct hw_module_t HAL_MODULE_INFO_SYM = {
/hardware/libhardware/modules/hwcomposer/
Dhwcomposer.cpp36 static int hwc_device_open(const struct hw_module_t* module, const char* name,
107 static int hwc_device_open(const struct hw_module_t* module, const char* name, in hwc_device_open()
121 dev->device.common.module = const_cast<hw_module_t*>(module); in hwc_device_open()
/hardware/msm7k/libgralloc-qsd8k/
Dgralloc.cpp38 int fb_device_open(const hw_module_t* module, const char* name,
41 static int gralloc_device_open(const hw_module_t* module, const char* name,
180 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()
Dframebuffer.cpp364 int fb_device_open(hw_module_t const* module, const char* name, in fb_device_open()
381 dev->device.common.module = const_cast<hw_module_t*>(module); in fb_device_open()
/hardware/libhardware/modules/gralloc/
Dgralloc.cpp52 int fb_device_open(const hw_module_t* module, const char* name,
55 static int gralloc_device_open(const hw_module_t* module, const char* name,
285 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()
299 dev->device.common.module = const_cast<hw_module_t*>(module); in gralloc_device_open()
Dframebuffer.cpp310 int fb_device_open(hw_module_t const* module, const char* name, in fb_device_open()
327 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/
Dgralloc.cpp66 int fb_device_open(const hw_module_t* module, const char* name,
69 static int gralloc_device_open(const hw_module_t* module, const char* name,
576 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()
590 dev->device.common.module = const_cast<hw_module_t*>(module); in gralloc_device_open()
Dframebuffer.cpp329 int fb_device_open(hw_module_t const* module, const char* name, in fb_device_open()
346 dev->device.common.module = const_cast<hw_module_t*>(module); in fb_device_open()
/hardware/libhardware/modules/audio/
Daudio_policy.c282 static int default_ap_dev_open(const hw_module_t* module, const char* name, in default_ap_dev_open()
298 dev->device.common.module = (hw_module_t *)module; in default_ap_dev_open()
Daudio_hw.c382 static int adev_open(const hw_module_t* module, const char* name, in adev_open()
397 adev->device.common.module = (struct hw_module_t *) module; in adev_open()
/hardware/msm7k/libcopybit/
Dcopybit.cpp67 static int open_copybit(const struct hw_module_t* module, const char* name,
437 static int open_copybit(const struct hw_module_t* module, const char* name, in open_copybit()
447 ctx->device.common.module = const_cast<hw_module_t*>(module); in open_copybit()
/hardware/ti/omap4xxx/camera/
DCameraHal_Module.cpp38 static int camera_device_open(const hw_module_t* module, const char* name,
483 int camera_device_open(const hw_module_t* module, const char* name, in camera_device_open()
539 camera_device->base.common.module = (hw_module_t *)(module); in camera_device_open()
/hardware/libhardware/tests/nusensors/
Dnusensors.cpp66 err = hw_get_module(SENSORS_HARDWARE_MODULE_ID, (hw_module_t const**)&module); in main()
/hardware/libhardware_legacy/audio/
Daudio_policy_hal.cpp380 static int legacy_ap_dev_open(const hw_module_t* module, const char* name, in legacy_ap_dev_open()
394 dev->device.common.module = const_cast<hw_module_t*>(module); in legacy_ap_dev_open()
Daudio_hw_hal.cpp534 static int legacy_adev_open(const hw_module_t* module, const char* name, in legacy_adev_open()
549 ladev->device.common.module = const_cast<hw_module_t*>(module); in legacy_adev_open()

12