/hardware/interfaces/boot/1.1/default/boot_control/ |
D | legacy_boot_control.cpp | 35 void BootControl_init(boot_control_module_t* module) { in BootControl_init() argument 36 auto& impl = reinterpret_cast<boot_control_private_t*>(module)->impl; in BootControl_init() 40 unsigned int BootControl_getNumberSlots(boot_control_module_t* module) { in BootControl_getNumberSlots() argument 41 auto& impl = reinterpret_cast<boot_control_private_t*>(module)->impl; in BootControl_getNumberSlots() 45 unsigned int BootControl_getCurrentSlot(boot_control_module_t* module) { in BootControl_getCurrentSlot() argument 46 auto& impl = reinterpret_cast<boot_control_private_t*>(module)->impl; in BootControl_getCurrentSlot() 50 int BootControl_markBootSuccessful(boot_control_module_t* module) { in BootControl_markBootSuccessful() argument 51 auto& impl = reinterpret_cast<boot_control_private_t*>(module)->impl; in BootControl_markBootSuccessful() 55 int BootControl_setActiveBootSlot(boot_control_module_t* module, unsigned int slot) { in BootControl_setActiveBootSlot() argument 56 auto& impl = reinterpret_cast<boot_control_private_t*>(module)->impl; in BootControl_setActiveBootSlot() [all …]
|
/hardware/interfaces/graphics/composer/2.1/utils/passthrough/include/composer-passthrough/2.1/ |
D | HwcLoader.h | 46 const hw_module_t* module = loadModule(); in load() local 47 if (!module) { in load() 51 auto hal = createHalWithAdapter(module); in load() 61 const hw_module_t* module; in loadModule() local 62 int error = hw_get_module(HWC_HARDWARE_MODULE_ID, &module); in loadModule() 65 error = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); in loadModule() 73 return module; in loadModule() 77 static std::unique_ptr<hal::ComposerHal> createHal(const hw_module_t* module) { in createHal() argument 79 return hal->initWithModule(module) ? std::move(hal) : nullptr; in createHal() 83 static std::unique_ptr<hal::ComposerHal> createHalWithAdapter(const hw_module_t* module) { in createHalWithAdapter() argument [all …]
|
/hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/ |
D | GrallocLoader.h | 42 const hw_module_t* module = loadModule(); in load() local 43 if (!module) { in load() 46 auto hal = createHal(module); in load() 55 const hw_module_t* module; in loadModule() local 56 int error = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); in loadModule() 62 return module; in loadModule() 66 static int getModuleMajorApiVersion(const hw_module_t* module) { in getModuleMajorApiVersion() argument 67 return (module->module_api_version >> 8) & 0xff; in getModuleMajorApiVersion() 71 static std::unique_ptr<hal::AllocatorHal> createHal(const hw_module_t* module) { in createHal() argument 72 int major = getModuleMajorApiVersion(module); in createHal() [all …]
|
/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 | 175 int (*registerBuffer)(struct gralloc_module_t const* module, 190 int (*unregisterBuffer)(struct gralloc_module_t const* module, 228 int (*lock)(struct gralloc_module_t const* module, 239 int (*unlock)(struct gralloc_module_t const* module, 244 int (*perform)(struct gralloc_module_t const* module, 267 int (*lock_ycbcr)(struct gralloc_module_t const* module, 282 int (*lockAsync)(struct gralloc_module_t const* module, 298 int (*unlockAsync)(struct gralloc_module_t const* module, 312 int (*lockAsync_ycbcr)(struct gralloc_module_t const* module, 330 struct gralloc_module_t const* module, buffer_handle_t handle, uint32_t *outNumFds, [all …]
|
D | power.h | 178 void (*init)(struct power_module *module); 206 void (*setInteractive)(struct power_module *module, int on); 265 void (*powerHint)(struct power_module *module, power_hint_t hint, 280 void (*setFeature)(struct power_module *module, feature_t feature, int state); 301 int (*get_platform_low_power_stats)(struct power_module *module, 319 ssize_t (*get_number_of_platform_modes)(struct power_module *module); 336 int (*get_voter_list)(struct power_module *module, size_t *voter);
|
/hardware/qcom/camera/msm8998/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 | 78 dev->common.module); in fb_setSwapInterval() 89 reinterpret_cast<private_module_t*>(dev->common.module); in fb_post() 111 int mapFrameBufferLocked(struct private_module_t* module) in mapFrameBufferLocked() argument 114 if (module->framebuffer) { in mapFrameBufferLocked() 135 memset(&module->commit, 0, sizeof(struct mdp_display_commit)); in mapFrameBufferLocked() 179 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 182 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 184 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888; in mapFrameBufferLocked() 198 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565; in mapFrameBufferLocked() 299 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, 99 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open() argument 105 module); in gralloc_device_open() [all …]
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | gralloc.cpp | 36 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, 105 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open() argument 112 return gralloc1_adapter_device_open(module, name, device); in gralloc_device_open() [all …]
|
D | framebuffer.cpp | 66 dev->common.module); in fb_setSwapInterval() 77 reinterpret_cast<private_module_t*>(dev->common.module); in fb_post() 106 private_module_t* module = in mapFrameBufferLocked() local 107 reinterpret_cast<private_module_t*>(dev->common.module); in mapFrameBufferLocked() 110 if (module->framebuffer) { 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() 305 module->flags = flags; in mapFrameBufferLocked() [all …]
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | gralloc.cpp | 36 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, 105 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open() argument 112 return gralloc1_adapter_device_open(module, name, device); in gralloc_device_open() [all …]
|
D | framebuffer.cpp | 79 dev->common.module); in fb_setSwapInterval() 90 reinterpret_cast<private_module_t*>(dev->common.module); in fb_post() 119 private_module_t* module = in mapFrameBufferLocked() local 120 reinterpret_cast<private_module_t*>(dev->common.module); in mapFrameBufferLocked() 123 if (module->framebuffer) { in mapFrameBufferLocked() 190 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 193 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 195 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888; in mapFrameBufferLocked() 209 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565; in mapFrameBufferLocked() 318 module->flags = flags; in mapFrameBufferLocked() [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, 100 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open() argument 106 module); in gralloc_device_open() [all …]
|
D | framebuffer.cpp | 78 dev->common.module); in fb_setSwapInterval() 89 reinterpret_cast<private_module_t*>(dev->common.module); in fb_post() 114 int mapFrameBufferLocked(struct private_module_t* module) in mapFrameBufferLocked() argument 117 if (module->framebuffer) { in mapFrameBufferLocked() 138 memset(&module->commit, 0, sizeof(struct mdp_display_commit)); in mapFrameBufferLocked() 186 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 189 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 191 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888; in mapFrameBufferLocked() 205 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565; in mapFrameBufferLocked() 314 module->flags = flags; in mapFrameBufferLocked() [all …]
|
/hardware/qcom/display/msm8909w_3100/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, 99 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open() argument 105 module); in gralloc_device_open() [all …]
|
D | framebuffer.cpp | 71 dev->common.module); in fb_setSwapInterval() 82 reinterpret_cast<private_module_t*>(dev->common.module); in fb_post() 113 private_module_t* module = in mapFrameBufferLocked() local 114 reinterpret_cast<private_module_t*>(dev->common.module); in mapFrameBufferLocked() 117 if (module->framebuffer) { 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 …]
|
/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, 99 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open() argument 105 module); in gralloc_device_open() [all …]
|
D | framebuffer.cpp | 71 dev->common.module); in fb_setSwapInterval() 82 reinterpret_cast<private_module_t*>(dev->common.module); in fb_post() 113 private_module_t* module = in mapFrameBufferLocked() local 114 reinterpret_cast<private_module_t*>(dev->common.module); in mapFrameBufferLocked() 117 if (module->framebuffer) { 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 …]
|
/hardware/ti/am57x/bootctrl/ |
D | boot_control.cc | 91 static bool IsInitialized(const BootControlPrivate* module) { in IsInitialized() argument 92 if (!module->initialized) { in IsInitialized() 100 void BootControlInit(boot_control_module_t* module) { in BootControlInit() argument 102 reinterpret_cast<BootControlPrivate*>(module); in BootControlInit() 106 if (!module) { in BootControlInit() 111 ALOGI("Init %s", module->common.name); in BootControlInit() 155 unsigned int GetNumberSlots(boot_control_module_t* module) { in GetNumberSlots() argument 157 reinterpret_cast<BootControlPrivate*>(module); in GetNumberSlots() 164 unsigned int GetCurrentSlot(boot_control_module_t* module) { in GetCurrentSlot() argument 166 reinterpret_cast<BootControlPrivate*>(module); in GetCurrentSlot() [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, 100 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open() argument 106 module); in gralloc_device_open() [all …]
|
D | framebuffer.cpp | 78 dev->common.module); in fb_setSwapInterval() 89 reinterpret_cast<private_module_t*>(dev->common.module); in fb_post() 115 int mapFrameBufferLocked(struct private_module_t* module) in mapFrameBufferLocked() argument 118 if (module->framebuffer) { in mapFrameBufferLocked() 139 memset(&module->commit, 0, sizeof(struct mdp_display_commit)); in mapFrameBufferLocked() 187 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 190 module->fbFormat = HAL_PIXEL_FORMAT_RGBX_8888; in mapFrameBufferLocked() 192 module->fbFormat = HAL_PIXEL_FORMAT_RGBA_8888; in mapFrameBufferLocked() 206 module->fbFormat = HAL_PIXEL_FORMAT_RGB_565; in mapFrameBufferLocked() 315 module->flags = flags; in mapFrameBufferLocked() [all …]
|
/hardware/interfaces/boot/1.0/default/ |
D | BootControl.cpp | 34 BootControl::BootControl(boot_control_module_t *module) : mModule(module){ in BootControl() argument 101 boot_control_module_t* module; in HIDL_FETCH_IBootControl() local 111 module = reinterpret_cast<boot_control_module_t*>(const_cast<hw_module_t*>(hw_module)); in HIDL_FETCH_IBootControl() 112 module->init(module); in HIDL_FETCH_IBootControl() 113 return new BootControl(module); in HIDL_FETCH_IBootControl() 118 boot_control_module_t* module = NULL; in HIDL_FETCH_IBootControl() local 119 hw_module_t **hwm = reinterpret_cast<hw_module_t**>(&module); in HIDL_FETCH_IBootControl() 126 module->init(module); in HIDL_FETCH_IBootControl() 127 return new BootControl(module); in HIDL_FETCH_IBootControl()
|
/hardware/libhardware/modules/gralloc/ |
D | gralloc.cpp | 51 int fb_device_open(const hw_module_t* module, const char* name, 54 static int gralloc_device_open(const hw_module_t* module, const char* name, 57 extern int gralloc_lock(gralloc_module_t const* module, 62 extern int gralloc_unlock(gralloc_module_t const* module, 65 extern int gralloc_register_buffer(gralloc_module_t const* module, 68 extern int gralloc_unregister_buffer(gralloc_module_t const* module, 107 dev->common.module); in gralloc_alloc_framebuffer_locked() 160 dev->common.module); in gralloc_alloc_framebuffer() 183 gralloc_module_t* module = reinterpret_cast<gralloc_module_t*>( in gralloc_alloc_buffer() local 184 dev->common.module); in gralloc_alloc_buffer() [all …]
|
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/ |
D | GrallocLoader.h | 114 const hw_module_t* module = loadModule(); in load() local 115 if (!module) { in load() 118 auto hal = createHal(module); in load() 127 const hw_module_t* module; in loadModule() local 128 int error = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); in loadModule() 134 return module; in loadModule() 138 static int getModuleMajorApiVersion(const hw_module_t* module) { in getModuleMajorApiVersion() argument 139 return (module->module_api_version >> 8) & 0xff; in getModuleMajorApiVersion() 143 static std::unique_ptr<hal::MapperHal> createHal(const hw_module_t* module) { in createHal() argument 144 int major = getModuleMajorApiVersion(module); in createHal() [all …]
|