Searched defs:module (Results 1 - 25 of 96) sorted by relevance

1234

/hardware/libhardware/modules/nfc/
H A Dnfc_pn544_example.c31 static int nfc_open(const hw_module_t* module, const char* name, argument
38 dev->common.module = (struct hw_module_t*) module;
/hardware/libhardware/modules/power/
H A Dpower.c28 static void power_init(struct power_module *module) argument
32 static void power_set_interactive(struct power_module *module, int on) argument
36 static void power_hint(struct power_module *module, power_hint_t hint, argument
/hardware/qcom/display/msm8960/libgralloc/
H A Dgralloc.cpp36 int fb_device_open(const hw_module_t* module, const char* name,
39 static int gralloc_device_open(const hw_module_t* module, const char* name,
42 extern int gralloc_lock(gralloc_module_t const* module,
47 extern int gralloc_lock_ycbcr(gralloc_module_t const* module,
52 extern int gralloc_unlock(gralloc_module_t const* module,
55 extern int gralloc_register_buffer(gralloc_module_t const* module,
58 extern int gralloc_unregister_buffer(gralloc_module_t const* module,
61 extern int gralloc_perform(struct gralloc_module_t const* module,
64 // HAL module methods
69 // HAL module initializ
99 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
[all...]
/hardware/qcom/display/msm8960/libmemtrack/
H A Dmemtrack_msm.c23 int msm_memtrack_init(const struct memtrack_module *module) argument
28 int msm_memtrack_get_memory(const struct memtrack_module *module, argument
/hardware/qcom/display/msm8974/libgralloc/
H A Dgralloc.cpp36 int fb_device_open(const hw_module_t* module, const char* name,
39 static int gralloc_device_open(const hw_module_t* module, const char* name,
42 extern int gralloc_lock(gralloc_module_t const* module,
47 extern int gralloc_lock_ycbcr(gralloc_module_t const* module,
52 extern int gralloc_unlock(gralloc_module_t const* module,
55 extern int gralloc_register_buffer(gralloc_module_t const* module,
58 extern int gralloc_unregister_buffer(gralloc_module_t const* module,
61 extern int gralloc_perform(struct gralloc_module_t const* module,
64 // HAL module methods
69 // HAL module initializ
99 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
[all...]
/hardware/qcom/display/msm8974/libmemtrack/
H A Dmemtrack_msm.c23 int msm_memtrack_init(const struct memtrack_module *module) argument
28 int msm_memtrack_get_memory(const struct memtrack_module *module, argument
/hardware/qcom/display/msm8x26/libgralloc/
H A Dgralloc.cpp36 int fb_device_open(const hw_module_t* module, const char* name,
39 static int gralloc_device_open(const hw_module_t* module, const char* name,
42 extern int gralloc_lock(gralloc_module_t const* module,
47 extern int gralloc_lock_ycbcr(gralloc_module_t const* module,
52 extern int gralloc_unlock(gralloc_module_t const* module,
55 extern int gralloc_register_buffer(gralloc_module_t const* module,
58 extern int gralloc_unregister_buffer(gralloc_module_t const* module,
61 extern int gralloc_perform(struct gralloc_module_t const* module,
64 // HAL module methods
69 // HAL module initializ
99 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
[all...]
/hardware/samsung_slsi/exynos5/libmemtrack/
H A Dmemtrack_exynos5.c23 int exynos5_memtrack_init(const struct memtrack_module *module) argument
28 int exynos5_memtrack_get_memory(const struct memtrack_module *module, argument
/hardware/libhardware/modules/local_time/
H A Dlocal_time_hw.c43 dev->common.module->name, ret);
66 static int ltdev_open(const hw_module_t* module, const char* name, argument
82 ltdev->device.common.module = (struct hw_module_t *) module;
/hardware/libhardware/tests/nusensors/
H A Dnusensors.cpp64 struct sensors_module_t* module; local
66 err = hw_get_module(SENSORS_HARDWARE_MODULE_ID, (hw_module_t const**)&module);
72 err = sensors_open(&module->common, &device);
79 int count = module->get_sensors_list(module, &list);
/hardware/qcom/audio/legacy/alsa_sound/
H A Dacoustics_default.cpp43 name : "ALSA acoustics module",
50 static int s_device_open(const hw_module_t* module, const char* name, argument
62 dev->common.module = (hw_module_t *) module;
/hardware/libhardware/include/hardware/
H A Dlocal_time_hal.h28 * The id of this module
49 * Every hardware module must have a data structure named HAL_MODULE_INFO_SYM
51 * followed by module specific information.
102 const struct hw_module_t* module,
105 return module->methods->open(module, LOCAL_TIME_HARDWARE_INTERFACE,
101 local_time_hw_device_open( const struct hw_module_t* module, struct local_time_hw_device** device) argument
H A Dfb.h154 static inline int framebuffer_open(const struct hw_module_t* module, argument
156 return module->methods->open(module,
H A Dhardware.h49 * All module implementations must set the hw_module_t.hal_api_version field
50 * to this value when declaring the module with HAL_MODULE_INFO_SYM.
60 * Helper macros for module implementors.
63 * versions so that implementations can explicitly specify module/device
82 * Every hardware module must have a data structure named HAL_MODULE_INFO_SYM
84 * followed by module specific information.
91 * The API version of the implemented module. The module owner is
92 * responsible for updating the version when a module interface has
96 * The module use
186 struct hw_module_t* module; member in struct:hw_device_t
[all...]
/hardware/libhardware/modules/hwcomposer/
H A Dhwcomposer.cpp36 static int hwc_device_open(const struct hw_module_t* module, const char* name,
49 name: "Sample hwcomposer module",
107 static int hwc_device_open(const struct hw_module_t* module, const char* name, argument
121 dev->device.common.module = const_cast<hw_module_t*>(module);
/hardware/qcom/camera/QCamera2/HAL/
H A DQCamera2Factory.cpp189 const struct hw_module_t *module, const char *id,
192 if (module != &HAL_MODULE_INFO_SYM.common) {
193 ALOGE("Invalid module. Trying to open %p, expect %p",
194 module, &HAL_MODULE_INFO_SYM.common);
188 camera_device_open( const struct hw_module_t *module, const char *id, struct hw_device_t **hw_device) argument
/hardware/qcom/camera/QCamera2/HAL3/
H A DQCamera3Factory.cpp204 const struct hw_module_t *module, const char *id,
207 if (module != &HAL_MODULE_INFO_SYM.common) {
208 ALOGE("Invalid module. Trying to open %p, expect %p",
209 module, &HAL_MODULE_INFO_SYM.common);
203 camera_device_open( const struct hw_module_t *module, const char *id, struct hw_device_t **hw_device) argument
/hardware/libhardware/
H A Dhardware.c36 * is "<MODULE_ID>.variant.so" so for the led module the Dream variants
77 ALOGE("load: module=%s\n%s", path, err_str?err_str:"unknown");
121 const struct hw_module_t **module)
142 /* Loop through the configuration variants looking for a module */
168 /* load the module, if this fails, we're doomed, and we should not try
170 status = load(class_id, path, module);
176 int hw_get_module(const char *id, const struct hw_module_t **module) argument
178 return hw_get_module_by_class(id, NULL, module);
120 hw_get_module_by_class(const char *class_id, const char *inst, const struct hw_module_t **module) argument
/hardware/libhardware/modules/consumerir/
H A Dconsumerir.c75 static int consumerir_open(const hw_module_t* module, const char* name, argument
91 dev->common.module = (struct hw_module_t*) module;
/hardware/libhardware/modules/gralloc/
H A Dmapper.cpp46 static int gralloc_map(gralloc_module_t const* module, argument
67 static int gralloc_unmap(gralloc_module_t const* module, argument
89 int gralloc_register_buffer(gralloc_module_t const* module, argument
136 return gralloc_map(module, handle, &vaddr);
139 int gralloc_unregister_buffer(gralloc_module_t const* module, argument
147 gralloc_unmap(module, handle);
152 int mapBuffer(gralloc_module_t const* module, argument
156 return gralloc_map(module, hnd, &vaddr);
159 int terminateBuffer(gralloc_module_t const* module, argument
164 gralloc_unmap(module, hn
170 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void** vaddr) argument
191 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument
[all...]
H A 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,
58 extern int gralloc_lock(gralloc_module_t const* module,
63 extern int gralloc_unlock(gralloc_module_t const* module,
66 extern int gralloc_register_buffer(gralloc_module_t const* module,
69 extern int gralloc_unregister_buffer(gralloc_module_t const* module,
108 dev->common.module);
161 dev->common.module);
184 gralloc_module_t* module = reinterpret_cast<gralloc_module_t*>( local
185 dev->common.module);
260 gralloc_module_t* module = reinterpret_cast<gralloc_module_t*>( local
284 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
[all...]
/hardware/libhardware/modules/nfc-nci/
H A Dnfc_nci_example.c77 static int nfc_open(const hw_module_t* module, const char* name, argument
84 dev->common.module = (struct hw_module_t*) module;
/hardware/qcom/power/
H A Dpower.c57 static void power_init(struct power_module *module) argument
166 static void power_set_interactive(struct power_module *module, int on) argument
186 static void power_hint(struct power_module *module, power_hint_t hint, argument
/hardware/samsung_slsi/exynos5/gralloc/
H A Dmapper.cpp40 static int gralloc_map(gralloc_module_t const* module, buffer_handle_t handle) argument
56 static int gralloc_unmap(gralloc_module_t const* module, buffer_handle_t handle) argument
75 int grallocMap(gralloc_module_t const* module, private_handle_t *hnd) argument
77 return gralloc_map(module, hnd);
80 int grallocUnmap(gralloc_module_t const* module, private_handle_t *hnd) argument
82 return gralloc_unmap(module, hnd);
85 int getIonFd(gralloc_module_t const *module) argument
87 private_module_t* m = const_cast<private_module_t*>(reinterpret_cast<const private_module_t*>(module));
97 int gralloc_register_buffer(gralloc_module_t const* module, argument
104 err = gralloc_map(module, handl
128 gralloc_unregister_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
150 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void** vaddr) argument
173 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument
[all...]
/hardware/akm/AK8975_FS/libsensors/
H A Dsensors.cpp97 static int open_sensors(const struct hw_module_t* module, const char* id,
100 static int sensors__get_sensors_list(struct sensors_module_t* module, argument
117 name: "AKM Sensor module",
353 static int open_sensors(const struct hw_module_t* module, const char* id, argument
363 dev->device.common.module = const_cast<hw_module_t*>(module);

Completed in 526 milliseconds

1234