Home
last modified time | relevance | path

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

12345678

/hardware/libhardware/include/hardware/
Dhardware.h77 struct hw_module_t;
86 typedef struct hw_module_t { struct
154 } hw_module_t; argument
158 int (*open)(const struct hw_module_t* module, const char* id,
190 struct hw_module_t* module;
219 int hw_get_module(const char *id, const struct hw_module_t **module);
234 const struct hw_module_t **module);
Dnfc.h69 struct hw_module_t common;
199 static inline int nfc_nci_open(const struct hw_module_t* module, in nfc_nci_open()
232 struct hw_module_t common;
286 static inline int nfc_pn544_open(const struct hw_module_t* module, in nfc_pn544_open()
Dnfc_tag.h41 struct hw_module_t common;
83 static inline int nfc_tag_open(const struct hw_module_t* module, in nfc_tag_open()
Dlocal_time_hal.h54 struct hw_module_t common;
108 const struct hw_module_t* module, in local_time_hw_device_open()
/hardware/qcom/audio/legacy/alsa_sound/
Dacoustics_default.cpp26 static int s_device_open(const hw_module_t*, const char*, hw_device_t**);
38 extern "C" hw_module_t HAL_MODULE_INFO_SYM = {
50 static int s_device_open(const hw_module_t* module, const char* name, in s_device_open()
62 dev->common.module = (hw_module_t *) module; in s_device_open()
/hardware/libhardware/
Dhardware.c70 const struct hw_module_t **pHmi) in load()
74 struct hw_module_t *hmi = NULL; in load()
91 hmi = (struct hw_module_t *)dlsym(handle, sym); in load()
153 const struct hw_module_t **module) in hw_get_module_by_class()
205 int hw_get_module(const char *id, const struct hw_module_t **module) in hw_get_module()
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dgps.c42 static int open_gps(const struct hw_module_t* module, char const* name, in open_gps()
50 dev->common.module = (struct hw_module_t*)module; in open_gps()
61 struct hw_module_t HAL_MODULE_INFO_SYM = {
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dgps.c42 static int open_gps(const struct hw_module_t* module, char const* name, in open_gps()
54 dev->common.module = (struct hw_module_t*)module; in open_gps()
65 struct hw_module_t HAL_MODULE_INFO_SYM = {
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dgps.c42 static int open_gps(const struct hw_module_t* module, char const* name, in open_gps()
54 dev->common.module = (struct hw_module_t*)module; in open_gps()
65 struct hw_module_t HAL_MODULE_INFO_SYM = {
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dgps.c42 static int open_gps(const struct hw_module_t* module, char const* name, in open_gps()
54 dev->common.module = (struct hw_module_t*)module; in open_gps()
65 struct hw_module_t HAL_MODULE_INFO_SYM = {
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dgps.c42 static int open_gps(const struct hw_module_t* module, char const* name, in open_gps()
54 dev->common.module = (struct hw_module_t*)module; in open_gps()
65 struct hw_module_t HAL_MODULE_INFO_SYM = {
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dgps.c42 static int open_gps(const struct hw_module_t* module, char const* name, in open_gps()
54 dev->common.module = (struct hw_module_t*)module; in open_gps()
65 struct hw_module_t HAL_MODULE_INFO_SYM = {
/hardware/libhardware/tests/hardware/
Dstruct-offset.cpp43 CHECK_MEMBER_AT(hw_module_t, tag, 0, 0); in CheckOffsets()
44 CHECK_MEMBER_AT(hw_module_t, module_api_version, 4, 4); in CheckOffsets()
45 CHECK_MEMBER_AT(hw_module_t, hal_api_version, 6, 6); in CheckOffsets()
46 CHECK_MEMBER_AT(hw_module_t, id, 8, 8); in CheckOffsets()
47 CHECK_MEMBER_AT(hw_module_t, name, 12, 16); in CheckOffsets()
48 CHECK_MEMBER_AT(hw_module_t, author, 16, 24); in CheckOffsets()
49 CHECK_MEMBER_AT(hw_module_t, methods, 20, 32); in CheckOffsets()
50 CHECK_MEMBER_AT(hw_module_t, dso, 24, 40); in CheckOffsets()
51 CHECK_MEMBER_AT(hw_module_t, reserved, 28, 48); in CheckOffsets()
/hardware/qcom/display/msm8996/libgralloc/
Dgralloc.cpp34 int fb_device_open(const hw_module_t* module, const char* name,
37 static int gralloc_device_open(const hw_module_t* module, const char* name,
97 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()
/hardware/qcom/display/msm8226/libgralloc/
Dgralloc.cpp34 int fb_device_open(const hw_module_t* module, const char* name,
37 static int gralloc_device_open(const hw_module_t* module, const char* name,
98 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()
/hardware/qcom/display/msm8084/libgralloc/
Dgralloc.cpp34 int fb_device_open(const hw_module_t* module, const char* name,
37 static int gralloc_device_open(const hw_module_t* module, const char* name,
98 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()
/hardware/qcom/display/msm8960/libgralloc/
Dgralloc.cpp34 int fb_device_open(const hw_module_t* module, const char* name,
37 static int gralloc_device_open(const hw_module_t* module, const char* name,
97 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()
/hardware/libhardware/modules/vibrator/
Dvibrator.c93 static int vibra_open(const hw_module_t* module, const char* id __unused, in vibra_open()
108 vibradev->common.module = (hw_module_t *) module; in vibra_open()
128 struct hw_module_t HAL_MODULE_INFO_SYM = {
/hardware/qcom/display/msm8909/libgralloc/
Dgralloc.cpp34 int fb_device_open(const hw_module_t* module, const char* name,
37 static int gralloc_device_open(const hw_module_t* module, const char* name,
97 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()
/hardware/qcom/display/msm8994/libgralloc/
Dgralloc.cpp34 int fb_device_open(const hw_module_t* module, const char* name,
37 static int gralloc_device_open(const hw_module_t* module, const char* name,
97 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()
/hardware/libhardware/modules/tv_input/
Dtv_input.cpp36 static int tv_input_device_open(const struct hw_module_t* module,
114 static int tv_input_device_open(const struct hw_module_t* module, in tv_input_device_open()
127 dev->device.common.module = const_cast<hw_module_t*>(module); in tv_input_device_open()
/hardware/libhardware/modules/sensors/
Dmultihal.cpp58 static std::vector<hw_module_t *> *sub_hw_modules = NULL;
452 static int open_sensors(const struct hw_module_t* module, const char* name,
497 sub_hw_modules = new std::vector<hw_module_t *>(); in lazy_init_modules()
510 struct hw_module_t* module = (hw_module_t*) dlsym(lib_handle, sym); in lazy_init_modules()
544 for (std::vector<hw_module_t*>::iterator it = sub_hw_modules->begin(); in lazy_init_sensors_list()
559 for (std::vector<hw_module_t*>::iterator it = sub_hw_modules->begin(); in lazy_init_sensors_list()
561 hw_module_t *hw_module = *it; in lazy_init_sensors_list()
626 static int open_sensors(const struct hw_module_t* hw_module, const char* name, in open_sensors()
637 dev->proxy_device.common.module = const_cast<hw_module_t*>(hw_module); in open_sensors()
648 for (std::vector<hw_module_t*>::iterator it = sub_hw_modules->begin(); in open_sensors()
/hardware/libhardware/modules/hwcomposer/
Dhwcomposer.cpp37 static int hwc_device_open(const struct hw_module_t* module, const char* name,
108 static int hwc_device_open(const struct hw_module_t* module, const char* name, in hwc_device_open()
122 dev->device.common.module = const_cast<hw_module_t*>(module); in hwc_device_open()
/hardware/libhardware/modules/nfc/
Dnfc_pn544_example.c32 static int nfc_open(const hw_module_t* module, const char* name, in nfc_open()
39 dev->common.module = (struct hw_module_t*) module; in nfc_open()
/hardware/bsp/intel/peripheral/wifi/bcm43340/
Dbcm43340_hal.cpp143 open_bcm43340_driver(const struct hw_module_t* module, const char*, struct hw_device_t** device) { in open_bcm43340_driver()
151 dev->common.module = (hw_module_t *)module; in open_bcm43340_driver()
166 hw_module_t HAL_MODULE_INFO_SYM = {

12345678