/hardware/qcom/bootctrl/ |
H A D | boot_control.c | 58 void boot_control_init(struct boot_control_module *module) argument 60 if (!module) { 229 unsigned get_number_slots(struct boot_control_module *module) argument 234 if (!module) { 260 unsigned get_current_slot(struct boot_control_module *module) argument 265 if (!module) { 269 num_slots = get_number_slots(module); 292 int mark_boot_successful(struct boot_control_module *module) argument 295 if (!module) { 299 cur_slot = get_current_slot(module); 310 get_suffix(struct boot_control_module *module, unsigned slot) argument 323 set_active_boot_slot(struct boot_control_module *module, unsigned slot) argument 533 set_slot_as_unbootable(struct boot_control_module *module, unsigned slot) argument 556 is_slot_bootable(struct boot_control_module *module, unsigned slot) argument 581 is_slot_marked_successful(struct boot_control_module *module, unsigned slot) argument [all...] |
/hardware/qcom/camera/QCamera2/ |
H A D | QCamera2Factory.cpp | 205 * DESCRIPTION: static function to set callbacks function to camera module 237 int QCamera2Factory::open_legacy(const struct hw_module_t* module, argument 241 if (module != &HAL_MODULE_INFO_SYM.common) { 242 LOGE("Invalid module. Trying to open %p, expect %p", 243 module, &HAL_MODULE_INFO_SYM.common); 251 rc = gQCameraMuxer->open_legacy(module, id, halVersion, device); 358 LOGE("Failed to register callbacks with flash module!"); 437 const struct hw_module_t *module, const char *id, 441 if (module != &HAL_MODULE_INFO_SYM.common) { 442 LOGE("Invalid module 436 camera_device_open( const struct hw_module_t *module, const char *id, struct hw_device_t **hw_device) argument [all...] |
/hardware/qcom/display/msm8084/libgralloc/ |
H A D | framebuffer.cpp | 76 dev->common.module); 87 reinterpret_cast<private_module_t*>(dev->common.module); 112 int mapFrameBufferLocked(struct private_module_t* module) argument 115 if (module->framebuffer) { 136 memset(&module->commit, 0, sizeof(struct mdp_display_commit)); 184 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; 187 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; 189 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888; 203 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565; 312 module 350 mapFrameBuffer(struct private_module_t* module) argument 377 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument [all...] |
H A D | gpu.cpp | 35 gpu_context_t::gpu_context_t(const private_module_t* module, argument 45 common.module = const_cast<hw_module_t*>(&module->base.common); 191 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); 251 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); 326 private_module_t* m = reinterpret_cast<private_module_t*>(common.module);
|
H A D | mapper.cpp | 55 static int gralloc_map(gralloc_module_t const* module, argument 58 if(!module) 92 static int gralloc_unmap(gralloc_module_t const* module, argument 95 if(!module) 130 int gralloc_register_buffer(gralloc_module_t const* module, argument 133 if (!module || private_handle_t::validate(handle) < 0) 148 int err = gralloc_map(module, handle); 157 int gralloc_unregister_buffer(gralloc_module_t const* module, argument 160 if (!module || private_handle_t::validate(handle) < 0) 172 gralloc_unmap(module, handl 179 terminateBuffer(gralloc_module_t const* module, private_handle_t* hnd) argument 207 gralloc_map_and_invalidate(gralloc_module_t const* module, buffer_handle_t handle, int usage) argument 241 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , void** vaddr) argument 253 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , struct android_ycbcr *ycbcr) argument 265 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument 297 gralloc_perform(struct gralloc_module_t const* module, int operation, ... ) argument [all...] |
/hardware/qcom/display/msm8084/liblight/ |
H A D | lights.c | 250 * module methods 254 static int open_lights(const struct hw_module_t* module, char const* name, argument 278 dev->common.module = (struct hw_module_t*)module;
|
/hardware/qcom/display/msm8226/libgralloc/ |
H A D | framebuffer.cpp | 76 dev->common.module); 87 reinterpret_cast<private_module_t*>(dev->common.module); 113 int mapFrameBufferLocked(struct private_module_t* module) argument 116 if (module->framebuffer) { 137 memset(&module->commit, 0, sizeof(struct mdp_display_commit)); 185 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; 188 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; 190 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888; 204 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565; 313 module 351 mapFrameBuffer(struct private_module_t* module) argument 378 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument [all...] |
H A D | gpu.cpp | 34 gpu_context_t::gpu_context_t(const private_module_t* module, argument 44 common.module = const_cast<hw_module_t*>(&module->base.common); 195 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); 255 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); 329 private_module_t* m = reinterpret_cast<private_module_t*>(common.module);
|
H A D | mapper.cpp | 55 static int gralloc_map(gralloc_module_t const* module, argument 58 if(!module) 92 static int gralloc_unmap(gralloc_module_t const* module, argument 95 if(!module) 130 int gralloc_register_buffer(gralloc_module_t const* module, argument 133 if (!module || private_handle_t::validate(handle) < 0) 148 int err = gralloc_map(module, handle); 157 int gralloc_unregister_buffer(gralloc_module_t const* module, argument 160 if (!module || private_handle_t::validate(handle) < 0) 172 gralloc_unmap(module, handl 179 terminateBuffer(gralloc_module_t const* module, private_handle_t* hnd) argument 207 gralloc_map_and_invalidate(gralloc_module_t const* module, buffer_handle_t handle, int usage) argument 241 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , void** vaddr) argument 253 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , struct android_ycbcr *ycbcr) argument 265 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument 297 gralloc_perform(struct gralloc_module_t const* module, int operation, ... ) argument [all...] |
/hardware/qcom/display/msm8226/liblight/ |
H A D | lights.c | 267 * module methods 271 static int open_lights(const struct hw_module_t* module, char const* name, argument 301 dev->common.module = (struct hw_module_t*)module;
|
/hardware/qcom/display/msm8909/libgralloc/ |
H A D | framebuffer.cpp | 69 dev->common.module); 80 reinterpret_cast<private_module_t*>(dev->common.module); 109 private_module_t* module = local 110 reinterpret_cast<private_module_t*>(dev->common.module); 113 if (module->framebuffer) { 180 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; 183 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; 185 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888; 199 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565; 308 module 372 private_module_t* module = local 399 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument [all...] |
H A D | gpu.cpp | 34 gpu_context_t::gpu_context_t(const private_module_t* module, argument 44 common.module = const_cast<hw_module_t*>(&module->base.common); 206 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); 268 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); 342 private_module_t* m = reinterpret_cast<private_module_t*>(common.module);
|
H A D | mapper.cpp | 58 static int gralloc_map(gralloc_module_t const* module, argument 62 if(!module) 103 static int gralloc_unmap(gralloc_module_t const* module, argument 107 if(!module) 142 int gralloc_register_buffer(gralloc_module_t const* module, argument 146 if (!module || private_handle_t::validate(handle) < 0) 161 int err = gralloc_map(module, handle); 170 int gralloc_unregister_buffer(gralloc_module_t const* module, argument 174 if (!module || private_handle_t::validate(handle) < 0) 186 gralloc_unmap(module, handl 193 terminateBuffer(gralloc_module_t const* module, private_handle_t* hnd) argument 222 gralloc_map_and_invalidate(gralloc_module_t const* module, buffer_handle_t handle, int usage) argument 262 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , void** vaddr) argument 275 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , struct android_ycbcr *ycbcr) argument 288 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument 311 gralloc_perform(struct gralloc_module_t const* module, int operation, ... ) argument [all...] |
/hardware/qcom/display/msm8909/liblight/ |
H A D | lights.c | 294 * module methods 298 static int open_lights(const struct hw_module_t* module, char const* name, argument 330 dev->common.module = (struct hw_module_t*)module;
|
/hardware/qcom/display/msm8960/libcopybit/ |
H A D | copybit.h | 33 * The id of this module 162 * Every hardware module must have a data structure named HAL_MODULE_INFO_SYM 164 * followed by module specific information. 172 * followed by module specific public methods and attributes. 261 static inline int copybit_open(const struct hw_module_t* module, argument 263 return module->methods->open(module,
|
/hardware/qcom/display/msm8960/libgralloc/ |
H A D | framebuffer.cpp | 76 dev->common.module); 87 reinterpret_cast<private_module_t*>(dev->common.module); 109 int mapFrameBufferLocked(struct private_module_t* module) argument 112 if (module->framebuffer) { 133 memset(&module->commit, 0, sizeof(struct mdp_display_commit)); 177 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; 180 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; 182 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888; 196 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565; 297 module 335 mapFrameBuffer(struct private_module_t* module) argument 354 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument [all...] |
H A D | gpu.cpp | 35 gpu_context_t::gpu_context_t(const private_module_t* module, argument 45 common.module = const_cast<hw_module_t*>(&module->base.common); 178 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); 238 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); 314 private_module_t* m = reinterpret_cast<private_module_t*>(common.module);
|
H A D | mapper.cpp | 57 static int gralloc_map(gralloc_module_t const* module, argument 91 static int gralloc_unmap(gralloc_module_t const* module, argument 126 int gralloc_register_buffer(gralloc_module_t const* module, argument 144 int err = gralloc_map(module, handle); 153 int gralloc_unregister_buffer(gralloc_module_t const* module, argument 168 gralloc_unmap(module, handle); 175 int terminateBuffer(gralloc_module_t const* module, argument 189 gralloc_unmap(module, hnd); 193 gralloc_unmap(module, hnd); 200 static int gralloc_map_and_invalidate (gralloc_module_t const* module, argument 234 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void** vaddr) argument 246 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 301 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument 330 gralloc_perform(struct gralloc_module_t const* module, int operation, ... ) argument [all...] |
/hardware/qcom/display/msm8960/libhwcomposer/ |
H A D | hwc.cpp | 43 static int hwc_device_open(const struct hw_module_t* module, 601 static int hwc_device_open(const struct hw_module_t* module, const char* name, argument 617 dev->device.common.module = const_cast<hw_module_t*>(module);
|
/hardware/qcom/display/msm8960/liblight/ |
H A D | lights.c | 280 * module methods 284 static int open_lights(const struct hw_module_t* module, char const* name, argument 306 dev->common.module = (struct hw_module_t*)module;
|
/hardware/qcom/display/msm8994/libgralloc/ |
H A D | framebuffer.cpp | 77 dev->common.module); 88 reinterpret_cast<private_module_t*>(dev->common.module); 117 private_module_t* module = local 118 reinterpret_cast<private_module_t*>(dev->common.module); 121 if (module->framebuffer) { 188 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; 191 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; 193 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888; 207 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565; 316 module 380 private_module_t* module = local 407 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument [all...] |
H A D | gpu.cpp | 34 gpu_context_t::gpu_context_t(const private_module_t* module, argument 44 common.module = const_cast<hw_module_t*>(&module->base.common); 203 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); 265 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); 343 private_module_t* m = reinterpret_cast<private_module_t*>(common.module);
|
H A D | mapper.cpp | 79 static int gralloc_map(gralloc_module_t const* module, argument 83 if(!module) 123 static int gralloc_unmap(gralloc_module_t const* module, argument 128 if(!module) 167 int gralloc_register_buffer(gralloc_module_t const* module, argument 171 if (!module || private_handle_t::validate(handle) < 0) 180 int gralloc_unregister_buffer(gralloc_module_t const* module, argument 184 if (!module || private_handle_t::validate(handle) < 0) 193 return gralloc_unmap(module, handle); 196 int terminateBuffer(gralloc_module_t const* module, argument 212 gralloc_map_and_invalidate(gralloc_module_t const* module, buffer_handle_t handle, int usage) argument 252 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , void** vaddr) argument 265 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , struct android_ycbcr *ycbcr) argument 278 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument 301 gralloc_perform(struct gralloc_module_t const* module, int operation, ... ) argument [all...] |
/hardware/qcom/display/msm8994/liblight/ |
H A D | lights.c | 268 * module methods 272 static int open_lights(const struct hw_module_t* module, char const* name, argument 302 dev->common.module = (struct hw_module_t*)module;
|
/hardware/qcom/display/msm8996/libgralloc/ |
H A D | framebuffer.cpp | 69 dev->common.module); 80 reinterpret_cast<private_module_t*>(dev->common.module); 109 private_module_t* module = local 110 reinterpret_cast<private_module_t*>(dev->common.module); 113 if (module->framebuffer) { 180 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; 183 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; 185 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888; 199 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565; 308 module 372 private_module_t* module = local 399 fb_device_open(hw_module_t const* module, const char* name, hw_device_t** device) argument [all...] |