Searched refs:module (Results 1 - 25 of 119) sorted by relevance

12345

/hardware/qcom/display/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...]
H A Dframebuffer.cpp77 dev->common.module);
88 reinterpret_cast<private_module_t*>(dev->common.module);
110 int mapFrameBufferLocked(struct private_module_t* module) argument
113 if (module->framebuffer) {
134 memset(&module->commit, 0, sizeof(struct mdp_display_commit));
178 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888;
181 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888;
183 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888;
197 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565;
298 module
337 mapFrameBuffer(struct private_module_t* module) argument
356 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument
[all...]
H A Dmapper.cpp58 static int gralloc_map(gralloc_module_t const* module, argument
92 static int gralloc_unmap(gralloc_module_t const* module, argument
127 int gralloc_register_buffer(gralloc_module_t const* module, argument
145 int err = gralloc_map(module, handle);
154 int gralloc_unregister_buffer(gralloc_module_t const* module, argument
169 gralloc_unmap(module, handle);
176 int terminateBuffer(gralloc_module_t const* module, argument
190 gralloc_unmap(module, hnd);
194 gralloc_unmap(module, hnd);
201 static int gralloc_map_and_invalidate (gralloc_module_t const* module, argument
235 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void** vaddr) argument
247 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int l, int t, int w, int h, struct android_ycbcr *ycbcr) argument
278 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument
307 gralloc_perform(struct gralloc_module_t const* module, int operation, ... ) argument
[all...]
/hardware/samsung_slsi/exynos5/gralloc/
H A Dgr.h34 int grallocMap(gralloc_module_t const* module, private_handle_t *hnd);
35 int grallocUnmap(gralloc_module_t const* module, private_handle_t *hnd);
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...]
H A Dframebuffer.cpp80 private_module_t* m = reinterpret_cast<private_module_t*>(dev->common.module);
154 int init_fb(struct private_module_t* module) argument
185 get_screen_res("fb0", &module->xres, &module->yres, &refreshRate);
189 float xdpi = (module->xres * 25.4f) / info.width;
190 float ydpi = (module->yres * 25.4f) / info.height;
198 finfo.id, module->xres, module->yres, info.width, xdpi, info.height,
201 module->line_length = module
209 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument
[all...]
/hardware/libhardware/include/hardware/
H A Dpower.h32 * The id of this module
51 * Every hardware module must have a data structure named HAL_MODULE_INFO_SYM
53 * followed by module specific information.
64 void (*init)(struct power_module *module);
92 void (*setInteractive)(struct power_module *module, int on);
120 void (*powerHint)(struct power_module *module, power_hint_t hint,
H A Dgralloc.h37 * Module versioning information for the Gralloc hardware module, based on
43 * Initial Gralloc hardware module API.
55 * The id of this module
90 /* buffer will be used by the HWComposer HAL module */
131 * Every hardware module must have a data structure named HAL_MODULE_INFO_SYM
133 * followed by module specific information.
153 int (*registerBuffer)(struct gralloc_module_t const* module,
168 int (*unregisterBuffer)(struct gralloc_module_t const* module,
206 int (*lock)(struct gralloc_module_t const* module,
217 int (*unlock)(struct gralloc_module_t const* module,
298 gralloc_open(const struct hw_module_t* module, struct alloc_device_t** device) argument
[all...]
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 Dnfc.h59 * nfc_nci_module_t should contain module-specific parameters
186 static inline int nfc_nci_open(const struct hw_module_t* module, argument
188 return module->methods->open(module, NFC_NCI_CONTROLLER,
255 * possible for PN544 module. Configure address according to
261 static inline int nfc_pn544_open(const struct hw_module_t* module, argument
263 return module->methods->open(module, NFC_PN544_CONTROLLER,
/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);
262 gralloc_module_t* module = reinterpret_cast<gralloc_module_t*>( local
286 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
[all...]
H A Dgr.h43 int mapFrameBufferLocked(struct private_module_t* module);
44 int terminateBuffer(gralloc_module_t const* module, private_handle_t* hnd);
45 int mapBuffer(gralloc_module_t const* module, private_handle_t* hnd);
H A Dframebuffer.cpp78 dev->common.module);
94 dev->common.module);
135 int mapFrameBufferLocked(struct private_module_t* module) argument
138 if (module->framebuffer) {
263 module->flags = flags;
264 module->info = info;
265 module->finfo = finfo;
266 module->xdpi = xdpi;
267 module->ydpi = ydpi;
268 module
291 mapFrameBuffer(struct private_module_t* module) argument
310 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument
[all...]
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/Platforms/Generic/
H A DAndroid.mk7 # This is not a separate module.
15 # Header files for components including this module
/hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/Platforms/Generic/
H A DAndroid.mk7 # This is not a separate module.
14 # Header files for components including this module
/hardware/msm7k/libgralloc/
H A Dmapper.cpp53 static int gralloc_map(gralloc_module_t const* module, argument
79 static int gralloc_unmap(gralloc_module_t const* module, argument
105 int gralloc_register_buffer(gralloc_module_t const* module, argument
118 err = gralloc_map(module, handle, &vaddr);
124 int gralloc_unregister_buffer(gralloc_module_t const* module, argument
134 gralloc_unmap(module, handle);
140 int mapBuffer(gralloc_module_t const* module, argument
144 return gralloc_map(module, hnd, &vaddr);
147 int terminateBuffer(gralloc_module_t const* module, argument
157 gralloc_unmap(module, hn
169 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void** vaddr) argument
190 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument
204 gralloc_perform(struct gralloc_module_t const* module, int operation, ... ) argument
[all...]
H A Dgr.h43 int mapFrameBufferLocked(struct private_module_t* module);
44 int terminateBuffer(gralloc_module_t const* module, private_handle_t* hnd);
45 int mapBuffer(gralloc_module_t const* module, private_handle_t* hnd);
H A Dframebuffer.cpp81 dev->common.module);
97 dev->common.module);
143 int mapFrameBufferLocked(struct private_module_t* module) argument
146 if (module->framebuffer) {
280 module->flags = flags;
281 module->info = info;
282 module->finfo = finfo;
283 module->xdpi = xdpi;
284 module->ydpi = ydpi;
285 module
310 mapFrameBuffer(struct private_module_t* module) argument
329 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument
[all...]
/hardware/msm7k/libgralloc-qsd8k/
H A 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,
44 extern int gralloc_lock(gralloc_module_t const* module,
49 extern int gralloc_unlock(gralloc_module_t const* module,
52 extern int gralloc_register_buffer(gralloc_module_t const* module,
55 extern int gralloc_unregister_buffer(gralloc_module_t const* module,
58 extern int gralloc_perform(struct gralloc_module_t const* module,
120 virtual int mapFrameBufferLocked(struct private_module_t* module) { argument
121 return ::mapFrameBufferLocked(module);
124 virtual int terminateBuffer(gralloc_module_t const* module, argument
180 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
[all...]
H A Dframebuffer.cpp85 dev->common.module);
101 dev->common.module);
163 int mapFrameBufferLocked(struct private_module_t* module) argument
166 if (module->framebuffer) {
227 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888;
229 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888;
316 module->flags = flags;
317 module->info = info;
318 module->finfo = finfo;
319 module
345 mapFrameBuffer(struct private_module_t* module) argument
364 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument
[all...]
H A Dgr.h43 int mapFrameBufferLocked(struct private_module_t* module);
44 int terminateBuffer(gralloc_module_t const* module, private_handle_t* hnd);
/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/power/
H A DAndroid.mk4 # HAL module implemenation stored in

Completed in 334 milliseconds

12345