Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 522) sorted by relevance

12345678910>>...21

/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_shader_module.c35 struct vk_shader_module *module, in vk_shader_module_init() argument
38 vk_object_base_init(device, &module->base, VK_OBJECT_TYPE_SHADER_MODULE); in vk_shader_module_init()
40 module->nir = NULL; in vk_shader_module_init()
42 module->size = create_info->codeSize; in vk_shader_module_init()
43 memcpy(module->data, create_info->pCode, module->size); in vk_shader_module_init()
45 _mesa_blake3_compute(module->data, module->size, module->hash); in vk_shader_module_init()
55 struct vk_shader_module *module; in vk_common_CreateShaderModule() local
60 module = vk_alloc2(&device->alloc, pAllocator, in vk_common_CreateShaderModule()
61 sizeof(*module) + pCreateInfo->codeSize, 8, in vk_common_CreateShaderModule()
63 if (module == NULL) in vk_common_CreateShaderModule()
[all …]
/hardware/interfaces/boot/1.1/default/boot_control/
Dlegacy_boot_control.cpp35 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/
DHwcLoader.h46 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/libhardware/include/hardware/
Dboot_control.h57 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);
133 unsigned (*getActiveBootSlot)(struct boot_control_module *module);
Dgralloc.h175 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 …]
/hardware/libhardware/include_all/hardware/
Dboot_control.h57 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);
133 unsigned (*getActiveBootSlot)(struct boot_control_module *module);
Dgralloc.h175 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 …]
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
DPolicyConfig.cpp53 for (const auto& module : mConfig->getFirstModules()->get_module()) { in getModuleFromName() local
54 if (module.getName() == name) return &module; in getModuleFromName()
63 if (auto module = getModuleFromName(moduleName); module) { in getSinkDeviceForMixPort() local
65 if (module->hasDefaultOutputDevice() && in getSinkDeviceForMixPort()
66 possibleDevices.count(module->getDefaultOutputDevice())) { in getSinkDeviceForMixPort()
67 device = module->getDefaultOutputDevice(); in getSinkDeviceForMixPort()
92 auto module = getModuleFromName(name); in haveInputProfilesInModule() local
93 if (module && module->getFirstMixPorts()) { in haveInputProfilesInModule()
94 for (const auto& mixPort : module->getFirstMixPorts()->getMixPort()) { in haveInputProfilesInModule()
123 auto module = getModuleFromName(moduleName); in getAttachedDevices() local
[all …]
/hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/
DGrallocLoader.h42 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/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera_dbg.h66 #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/google/gfxstream/codegen/vulkan/vulkan-docs-next/katex/contrib/
Dmathtex-script-type.js2 if(typeof exports === 'object' && typeof module === 'object')
3 module.exports = factory(require("katex"));
23 /******/ var module = installedModules[moduleId] = {
30 /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
33 /******/ module.l = true;
36 /******/ return module.exports;
78 /******/ __webpack_require__.n = function(module) { argument
79 /******/ var getter = module && module.__esModule ?
80 /******/ function getDefault() { return module['default']; } :
81 /******/ function getModuleExports() { return module; };
[all …]
/hardware/qcom/display/msm8960/libgralloc/
Dframebuffer.cpp78 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 …]
Dgralloc.cpp34 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/
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,
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 …]
Dframebuffer.cpp66 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/
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,
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 …]
/hardware/qcom/display/msm8084/libgralloc/
Dgralloc.cpp34 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 …]
Dframebuffer.cpp78 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/
Dgralloc.cpp34 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 …]
Dframebuffer.cpp71 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/
Dgralloc.cpp34 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/msm8226/libgralloc/
Dgralloc.cpp34 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 …]
Dframebuffer.cpp78 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/ti/am57x/bootctrl/
Dboot_control.cc91 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/google/gfxstream/guest/mesa/include/android_stub/hardware/
Dgralloc.h175 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 …]

12345678910>>...21