/hardware/intel/common/wrs_omxil_core/utils/src/ |
D | module.c | 28 static struct module *g_module_head; 39 struct module *m; \ 49 static struct module *module_find_with_name(struct module *head, in module_find_with_name() 52 struct module *module; in module_find_with_name() local 54 for_each_module(module, head) { in module_find_with_name() 55 if (!strcmp(module->name, filename)) in module_find_with_name() 56 return module; in module_find_with_name() 62 static struct module *module_find_with_handle(struct module *head, in module_find_with_handle() 65 struct module *module; in module_find_with_handle() local 67 for_each_module(module, head) { in module_find_with_handle() [all …]
|
/hardware/intel/common/wrs_omxil_core/utils/inc/ |
D | module.h | 28 struct module; 30 typedef int (*module_init_t)(struct module *module); 31 typedef void (*module_exit_t)(struct module *module); 33 struct module { struct 43 struct module *next; argument 50 struct module *module_open(const char *path, int flag); 51 int module_close(struct module *module); 52 void *module_symbol(struct module *module, const char *string);
|
/hardware/libhardware/include/hardware/ |
D | boot_control.h | 57 void (*init)(struct boot_control_module *module); 64 unsigned (*getNumberSlots)(struct boot_control_module *module); 76 unsigned (*getCurrentSlot)(struct boot_control_module *module); 84 int (*markBootSuccessful)(struct boot_control_module *module); 93 int (*setActiveBootSlot)(struct boot_control_module *module, unsigned slot); 101 int (*setSlotAsUnbootable)(struct boot_control_module *module, unsigned slot); 110 int (*isSlotBootable)(struct boot_control_module *module, unsigned slot); 118 const char* (*getSuffix)(struct boot_control_module *module, unsigned slot); 126 int (*isSlotMarkedSuccessful)(struct boot_control_module *module, unsigned slot);
|
D | gralloc.h | 173 int (*registerBuffer)(struct gralloc_module_t const* module, 188 int (*unregisterBuffer)(struct gralloc_module_t const* module, 226 int (*lock)(struct gralloc_module_t const* module, 237 int (*unlock)(struct gralloc_module_t const* module, 242 int (*perform)(struct gralloc_module_t const* module, 265 int (*lock_ycbcr)(struct gralloc_module_t const* module, 280 int (*lockAsync)(struct gralloc_module_t const* module, 296 int (*unlockAsync)(struct gralloc_module_t const* module, 310 int (*lockAsync_ycbcr)(struct gralloc_module_t const* module, 372 static inline int gralloc_open(const struct hw_module_t* module, in gralloc_open() argument [all …]
|
D | power.h | 176 void (*init)(struct power_module *module); 204 void (*setInteractive)(struct power_module *module, int on); 255 void (*powerHint)(struct power_module *module, power_hint_t hint, 270 void (*setFeature)(struct power_module *module, feature_t feature, int state); 291 int (*get_platform_low_power_stats)(struct power_module *module, 309 ssize_t (*get_number_of_platform_modes)(struct power_module *module); 326 int (*get_voter_list)(struct power_module *module, size_t *voter);
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera_dbg.h | 66 #define CLOGx(module, level, fmt, args...) \ argument 68 if (g_cam_log[module][level]) { \ 69 mm_camera_debug_log(module, level, __func__, __LINE__, fmt, ##args); \ 74 #define CLOGI(module, fmt, args...) \ argument 75 CLOGx(module, CAM_GLBL_DBG_INFO, fmt, ##args) 77 #define CLOGD(module, fmt, args...) \ argument 78 CLOGx(module, CAM_GLBL_DBG_DEBUG, fmt, ##args) 80 #define CLOGL(module, fmt, args...) \ argument 81 CLOGx(module, CAM_GLBL_DBG_LOW, fmt, ##args) 83 #define CLOGW(module, fmt, args...) \ argument [all …]
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | framebuffer.cpp | 76 dev->common.module); in fb_setSwapInterval() 87 reinterpret_cast<private_module_t*>(dev->common.module); in fb_post() 109 int mapFrameBufferLocked(struct private_module_t* module) in mapFrameBufferLocked() argument 112 if (module->framebuffer) { in mapFrameBufferLocked() 133 memset(&module->commit, 0, sizeof(struct mdp_display_commit)); in mapFrameBufferLocked() 177 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 180 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 182 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888; in mapFrameBufferLocked() 196 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565; in mapFrameBufferLocked() 297 module->flags = flags; in mapFrameBufferLocked() [all …]
|
D | gralloc.cpp | 34 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, 40 extern int gralloc_lock(gralloc_module_t const* module, 45 extern int gralloc_lock_ycbcr(gralloc_module_t const* module, 50 extern int gralloc_unlock(gralloc_module_t const* module, 53 extern int gralloc_register_buffer(gralloc_module_t const* module, 56 extern int gralloc_unregister_buffer(gralloc_module_t const* module, 59 extern int gralloc_perform(struct gralloc_module_t const* module, 97 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open() argument 103 module); in gralloc_device_open() [all …]
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/pvr/hal/ |
D | img_gralloc_public.h | 233 int (*Blit)(struct IMG_gralloc_module_public_t const *module, 238 int (*Blit3)(struct IMG_gralloc_module_public_t const *module, 259 gralloc_module_get_buffer_format_img(const gralloc_module_t *module, in gralloc_module_get_buffer_format_img() argument 263 return module->perform(module, GRALLOC_MODULE_GET_BUFFER_FORMAT_IMG, in gralloc_module_get_buffer_format_img() 268 gralloc_module_get_buffer_formats_img(const gralloc_module_t *module, in gralloc_module_get_buffer_formats_img() argument 271 return module->perform(module, GRALLOC_MODULE_GET_BUFFER_FORMATS_IMG, v); in gralloc_module_get_buffer_formats_img() 275 gralloc_module_blit_handle_to_handle_img(const gralloc_module_t *module, in gralloc_module_blit_handle_to_handle_img() argument 282 return module->perform(module, GRALLOC_MODULE_BLIT_HANDLE_TO_HANDLE_IMG, in gralloc_module_blit_handle_to_handle_img() 288 gralloc_module_blit_stamp_to_handle(const gralloc_module_t *module, in gralloc_module_blit_stamp_to_handle() argument 296 return module->perform(module, GRALLOC_MODULE_BLIT_STAMP_TO_HANDLE_IMG, in gralloc_module_blit_stamp_to_handle()
|
/hardware/intel/img/hwcomposer/merrifield/include/pvr/hal/ |
D | img_gralloc_public.h | 233 int (*Blit)(struct IMG_gralloc_module_public_t const *module, 238 int (*Blit3)(struct IMG_gralloc_module_public_t const *module, 259 gralloc_module_get_buffer_format_img(const gralloc_module_t *module, in gralloc_module_get_buffer_format_img() argument 263 return module->perform(module, GRALLOC_MODULE_GET_BUFFER_FORMAT_IMG, in gralloc_module_get_buffer_format_img() 268 gralloc_module_get_buffer_formats_img(const gralloc_module_t *module, in gralloc_module_get_buffer_formats_img() argument 271 return module->perform(module, GRALLOC_MODULE_GET_BUFFER_FORMATS_IMG, v); in gralloc_module_get_buffer_formats_img() 275 gralloc_module_blit_handle_to_handle_img(const gralloc_module_t *module, in gralloc_module_blit_handle_to_handle_img() argument 282 return module->perform(module, GRALLOC_MODULE_BLIT_HANDLE_TO_HANDLE_IMG, in gralloc_module_blit_handle_to_handle_img() 288 gralloc_module_blit_stamp_to_handle(const gralloc_module_t *module, in gralloc_module_blit_stamp_to_handle() argument 296 return module->perform(module, GRALLOC_MODULE_BLIT_STAMP_TO_HANDLE_IMG, in gralloc_module_blit_stamp_to_handle()
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | gralloc.cpp | 34 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, 40 extern int gralloc_lock(gralloc_module_t const* module, 45 extern int gralloc_lock_ycbcr(gralloc_module_t const* module, 50 extern int gralloc_unlock(gralloc_module_t const* module, 53 extern int gralloc_register_buffer(gralloc_module_t const* module, 56 extern int gralloc_unregister_buffer(gralloc_module_t const* module, 59 extern int gralloc_perform(struct gralloc_module_t const* module, 97 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open() argument 103 module); in gralloc_device_open() [all …]
|
D | framebuffer.cpp | 69 dev->common.module); in fb_setSwapInterval() 80 reinterpret_cast<private_module_t*>(dev->common.module); in fb_post() 109 private_module_t* module = in mapFrameBufferLocked() local 110 reinterpret_cast<private_module_t*>(dev->common.module); in mapFrameBufferLocked() 113 if (module->framebuffer) { in mapFrameBufferLocked() 180 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 183 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 185 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888; in mapFrameBufferLocked() 199 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565; in mapFrameBufferLocked() 308 module->flags = flags; in mapFrameBufferLocked() [all …]
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | gralloc.cpp | 34 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, 40 extern int gralloc_lock(gralloc_module_t const* module, 45 extern int gralloc_lock_ycbcr(gralloc_module_t const* module, 50 extern int gralloc_unlock(gralloc_module_t const* module, 53 extern int gralloc_register_buffer(gralloc_module_t const* module, 56 extern int gralloc_unregister_buffer(gralloc_module_t const* module, 59 extern int gralloc_perform(struct gralloc_module_t const* module, 98 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open() argument 104 module); in gralloc_device_open() [all …]
|
D | framebuffer.cpp | 76 dev->common.module); in fb_setSwapInterval() 87 reinterpret_cast<private_module_t*>(dev->common.module); in fb_post() 113 int mapFrameBufferLocked(struct private_module_t* module) in mapFrameBufferLocked() argument 116 if (module->framebuffer) { in mapFrameBufferLocked() 137 memset(&module->commit, 0, sizeof(struct mdp_display_commit)); in mapFrameBufferLocked() 185 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 188 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 190 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888; in mapFrameBufferLocked() 204 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565; in mapFrameBufferLocked() 313 module->flags = flags; in mapFrameBufferLocked() [all …]
|
D | mapper.cpp | 55 static int gralloc_map(gralloc_module_t const* module, in gralloc_map() argument 58 if(!module) in gralloc_map() 92 static int gralloc_unmap(gralloc_module_t const* module, in gralloc_unmap() argument 95 if(!module) in gralloc_unmap() 130 int gralloc_register_buffer(gralloc_module_t const* module, in gralloc_register_buffer() argument 133 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer() 148 int err = gralloc_map(module, handle); in gralloc_register_buffer() 157 int gralloc_unregister_buffer(gralloc_module_t const* module, in gralloc_unregister_buffer() argument 160 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer() 172 gralloc_unmap(module, handle); in gralloc_unregister_buffer() [all …]
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | gralloc.cpp | 34 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, 40 extern int gralloc_lock(gralloc_module_t const* module, 45 extern int gralloc_lock_ycbcr(gralloc_module_t const* module, 50 extern int gralloc_unlock(gralloc_module_t const* module, 53 extern int gralloc_register_buffer(gralloc_module_t const* module, 56 extern int gralloc_unregister_buffer(gralloc_module_t const* module, 59 extern int gralloc_perform(struct gralloc_module_t const* module, 98 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open() argument 104 module); in gralloc_device_open() [all …]
|
D | framebuffer.cpp | 76 dev->common.module); in fb_setSwapInterval() 87 reinterpret_cast<private_module_t*>(dev->common.module); in fb_post() 112 int mapFrameBufferLocked(struct private_module_t* module) in mapFrameBufferLocked() argument 115 if (module->framebuffer) { in mapFrameBufferLocked() 136 memset(&module->commit, 0, sizeof(struct mdp_display_commit)); in mapFrameBufferLocked() 184 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 187 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 189 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888; in mapFrameBufferLocked() 203 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565; in mapFrameBufferLocked() 312 module->flags = flags; in mapFrameBufferLocked() [all …]
|
D | mapper.cpp | 55 static int gralloc_map(gralloc_module_t const* module, in gralloc_map() argument 58 if(!module) in gralloc_map() 92 static int gralloc_unmap(gralloc_module_t const* module, in gralloc_unmap() argument 95 if(!module) in gralloc_unmap() 130 int gralloc_register_buffer(gralloc_module_t const* module, in gralloc_register_buffer() argument 133 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer() 148 int err = gralloc_map(module, handle); in gralloc_register_buffer() 157 int gralloc_unregister_buffer(gralloc_module_t const* module, in gralloc_unregister_buffer() argument 160 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer() 172 gralloc_unmap(module, handle); in gralloc_unregister_buffer() [all …]
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | gralloc.cpp | 34 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, 40 extern int gralloc_lock(gralloc_module_t const* module, 45 extern int gralloc_lock_ycbcr(gralloc_module_t const* module, 50 extern int gralloc_unlock(gralloc_module_t const* module, 53 extern int gralloc_register_buffer(gralloc_module_t const* module, 56 extern int gralloc_unregister_buffer(gralloc_module_t const* module, 59 extern int gralloc_perform(struct gralloc_module_t const* module, 97 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open() argument 103 module); in gralloc_device_open() [all …]
|
D | framebuffer.cpp | 69 dev->common.module); in fb_setSwapInterval() 80 reinterpret_cast<private_module_t*>(dev->common.module); in fb_post() 109 private_module_t* module = in mapFrameBufferLocked() local 110 reinterpret_cast<private_module_t*>(dev->common.module); in mapFrameBufferLocked() 113 if (module->framebuffer) { in mapFrameBufferLocked() 180 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 183 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 185 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888; in mapFrameBufferLocked() 199 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565; in mapFrameBufferLocked() 308 module->flags = flags; in mapFrameBufferLocked() [all …]
|
D | mapper.cpp | 58 static int gralloc_map(gralloc_module_t const* module, in gralloc_map() argument 62 if(!module) in gralloc_map() 103 static int gralloc_unmap(gralloc_module_t const* module, in gralloc_unmap() argument 107 if(!module) in gralloc_unmap() 142 int gralloc_register_buffer(gralloc_module_t const* module, in gralloc_register_buffer() argument 146 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer() 161 int err = gralloc_map(module, handle); in gralloc_register_buffer() 170 int gralloc_unregister_buffer(gralloc_module_t const* module, in gralloc_unregister_buffer() argument 174 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer() 186 gralloc_unmap(module, handle); in gralloc_unregister_buffer() [all …]
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | gralloc.cpp | 34 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, 40 extern int gralloc_lock(gralloc_module_t const* module, 45 extern int gralloc_lock_ycbcr(gralloc_module_t const* module, 50 extern int gralloc_unlock(gralloc_module_t const* module, 53 extern int gralloc_register_buffer(gralloc_module_t const* module, 56 extern int gralloc_unregister_buffer(gralloc_module_t const* module, 59 extern int gralloc_perform(struct gralloc_module_t const* module, 97 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open() argument 103 module); in gralloc_device_open() [all …]
|
D | framebuffer.cpp | 77 dev->common.module); in fb_setSwapInterval() 88 reinterpret_cast<private_module_t*>(dev->common.module); in fb_post() 117 private_module_t* module = in mapFrameBufferLocked() local 118 reinterpret_cast<private_module_t*>(dev->common.module); in mapFrameBufferLocked() 121 if (module->framebuffer) { in mapFrameBufferLocked() 188 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 191 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 193 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888; in mapFrameBufferLocked() 207 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565; in mapFrameBufferLocked() 316 module->flags = flags; in mapFrameBufferLocked() [all …]
|
/hardware/libhardware/modules/gralloc/ |
D | gralloc.cpp | 52 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); in gralloc_alloc_framebuffer_locked() 161 dev->common.module); in gralloc_alloc_framebuffer() 184 gralloc_module_t* module = reinterpret_cast<gralloc_module_t*>( in gralloc_alloc_buffer() local 185 dev->common.module); in gralloc_alloc_buffer() [all …]
|
D | framebuffer.cpp | 85 dev->common.module); in fb_setUpdateRect() 101 dev->common.module); in fb_post() 142 int mapFrameBufferLocked(struct private_module_t* module) argument 145 if (module->framebuffer) { 275 module->flags = flags; 276 module->info = info; 277 module->finfo = finfo; 278 module->xdpi = xdpi; 279 module->ydpi = ydpi; 280 module->fps = fps; [all …]
|