Home
last modified time | relevance | path

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

1234567891011

/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;
225 int hw_get_module(const char *id, const struct hw_module_t **module);
240 const struct hw_module_t **module);
Dnfc.h70 struct hw_module_t common;
175 static inline int nfc_nci_open(const struct hw_module_t* module, in nfc_nci_open()
208 struct hw_module_t common;
262 static inline int nfc_pn544_open(const struct hw_module_t* module, in nfc_pn544_open()
/hardware/interfaces/graphics/composer/2.1/utils/passthrough/include/composer-passthrough/2.1/
DHwcLoader.h46 const hw_module_t* module = loadModule(); in load()
60 static const hw_module_t* loadModule() { in loadModule()
61 const hw_module_t* module; in loadModule()
77 static std::unique_ptr<hal::ComposerHal> createHal(const hw_module_t* module) { in createHal()
83 static std::unique_ptr<hal::ComposerHal> createHalWithAdapter(const hw_module_t* module) { in createHalWithAdapter()
100 static hwc2_device_t* openDeviceWithAdapter(const hw_module_t* module, bool* outAdapted) { in openDeviceWithAdapter()
124 static hwc2_device_t* adaptGrallocModule(const hw_module_t* module) { in adaptGrallocModule()
/hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/
DGrallocLoader.h42 const hw_module_t* module = loadModule(); in load()
54 static const hw_module_t* loadModule() { in loadModule()
55 const hw_module_t* module; in loadModule()
66 static int getModuleMajorApiVersion(const hw_module_t* module) { in getModuleMajorApiVersion()
71 static std::unique_ptr<hal::AllocatorHal> createHal(const hw_module_t* module) { in createHal()
/hardware/interfaces/boot/1.0/default/
DBootControl.cpp25 extern const hw_module_t HAL_MODULE_INFO_SYM;
105 const hw_module_t* hw_module = &HAL_MODULE_INFO_SYM; in HIDL_FETCH_IBootControl()
111 module = reinterpret_cast<boot_control_module_t*>(const_cast<hw_module_t*>(hw_module)); in HIDL_FETCH_IBootControl()
119 hw_module_t **hwm = reinterpret_cast<hw_module_t**>(&module); in HIDL_FETCH_IBootControl()
120 ret = hw_get_module(BOOT_CONTROL_HARDWARE_MODULE_ID, const_cast<const hw_module_t**>(hwm)); in HIDL_FETCH_IBootControl()
/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/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/sdm845/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/interfaces/keymaster/3.0/default/
DKeymasterDevice.cpp36 static int get_keymaster0_dev(keymaster0_device_t** dev, const hw_module_t* mod) { in get_keymaster0_dev()
46 static int get_keymaster1_dev(keymaster1_device_t** dev, const hw_module_t* mod) { in get_keymaster1_dev()
58 static int get_keymaster2_dev(keymaster2_device_t** dev, const hw_module_t* mod) { in get_keymaster2_dev()
68 const hw_module_t* mod = nullptr; in createKeymaster3Device()
/hardware/qcom/sdm845/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/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/sdm845/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/sdm845/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/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/sdm845/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/qcom/sdm845/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/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/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/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGrallocLoader.h114 const hw_module_t* module = loadModule(); in load()
126 static const hw_module_t* loadModule() { in loadModule()
127 const hw_module_t* module; in loadModule()
138 static int getModuleMajorApiVersion(const hw_module_t* module) { in getModuleMajorApiVersion()
143 static std::unique_ptr<hal::MapperHal> createHal(const hw_module_t* module) { in createHal()
/hardware/libhardware/tests/hardware/
Dstruct-offset.cpp42 CHECK_MEMBER_AT(hw_module_t, tag, 0, 0); in CheckOffsets()
43 CHECK_MEMBER_AT(hw_module_t, module_api_version, 4, 4); in CheckOffsets()
44 CHECK_MEMBER_AT(hw_module_t, hal_api_version, 6, 6); in CheckOffsets()
45 CHECK_MEMBER_AT(hw_module_t, id, 8, 8); in CheckOffsets()
46 CHECK_MEMBER_AT(hw_module_t, name, 12, 16); in CheckOffsets()
47 CHECK_MEMBER_AT(hw_module_t, author, 16, 24); in CheckOffsets()
48 CHECK_MEMBER_AT(hw_module_t, methods, 20, 32); in CheckOffsets()
49 CHECK_MEMBER_AT(hw_module_t, dso, 24, 40); in CheckOffsets()
50 CHECK_MEMBER_AT(hw_module_t, reserved, 28, 48); in CheckOffsets()
/hardware/libhardware/
Dhardware.c77 const struct hw_module_t **pHmi) in load()
81 struct hw_module_t *hmi = NULL; in load()
115 hmi = (struct hw_module_t *)dlsym(handle, sym); in load()
198 const struct hw_module_t **module) in hw_get_module_by_class()
250 int hw_get_module(const char *id, const struct hw_module_t **module) in hw_get_module()
/hardware/interfaces/graphics/composer/2.3/utils/passthrough/include/composer-passthrough/2.3/
DHwcLoader.h38 const hw_module_t* module = loadModule(); in load()
52 static std::unique_ptr<hal::ComposerHal> createHal(const hw_module_t* module) { in createHal()
58 static std::unique_ptr<hal::ComposerHal> createHalWithAdapter(const hw_module_t* module) { in createHalWithAdapter()
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/
DHwcLoader.h38 const hw_module_t* module = loadModule(); in load()
52 static std::unique_ptr<hal::ComposerHal> createHal(const hw_module_t* module) { in createHal()
58 static std::unique_ptr<hal::ComposerHal> createHalWithAdapter(const hw_module_t* module) { in createHalWithAdapter()
/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,
99 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()

1234567891011