Home
last modified time | relevance | path

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

1234567

/device/generic/goldfish-opengl/
Dcmake_transform.py51 def remove_lib_prefix(module): argument
53 if module.startswith("lib"):
54 return module[3:]
56 return module
81 def generate_module(module): argument
83 name = remove_lib_prefix(module["module"])
85 mkfile = os.path.join(module["path"], "Android.mk")
90 make.append("set(%s_src %s)" % (name, " ".join(module["src"])))
91 if module["type"] == "SHARED_LIBRARY":
94 name, " ".join(module["src"])
[all …]
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_module.cpp51 static int mali_gralloc_module_device_open(const hw_module_t *module, const char *name, hw_device_t… in mali_gralloc_module_device_open() argument
59 status = mali_gralloc_device_open(module, name, device); in mali_gralloc_module_device_open()
66 status = alloc_device_open(module, name, device); in mali_gralloc_module_device_open()
72 status = framebuffer_device_open(module, name, device); in mali_gralloc_module_device_open()
78 static int gralloc_register_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_register_buffer() argument
80 const mali_gralloc_module *m = reinterpret_cast<const mali_gralloc_module *>(module); in gralloc_register_buffer()
85 static int gralloc_unregister_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unregister_buffer() argument
87 const mali_gralloc_module *m = reinterpret_cast<const mali_gralloc_module *>(module); in gralloc_unregister_buffer()
92 static int gralloc_lock(gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, i… in gralloc_lock() argument
95 const mali_gralloc_module *m = reinterpret_cast<const mali_gralloc_module *>(module); in gralloc_lock()
[all …]
Dframebuffer_device.cpp68 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in fb_set_swap_interval()
91 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in fb_post()
174 static int init_frame_buffer_locked(struct private_module_t *module) in init_frame_buffer_locked() argument
176 if (module->framebuffer) in init_frame_buffer_locked()
325 module->dpy_type = MALI_DPY_TYPE_CLCD; in init_frame_buffer_locked()
329 module->dpy_type = MALI_DPY_TYPE_HDLCD; in init_frame_buffer_locked()
333 module->dpy_type = MALI_DPY_TYPE_HDLCD; in init_frame_buffer_locked()
337 module->dpy_type = MALI_DPY_TYPE_UNKNOWN; in init_frame_buffer_locked()
350 module->flags = flags; in init_frame_buffer_locked()
351 module->info = info; in init_frame_buffer_locked()
[all …]
Dmali_gralloc_public_interface.cpp169 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc_allocate()
247 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc_retain()
265 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc_release()
279 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc1_get_num_flex_planes()
300 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc1_lock_async()
328 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc1_lock_flex_async()
352 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc1_unlock_async()
391 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc1_validate_buffer_size()
578 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc1_import_buffer()
694 int mali_gralloc_device_open(hw_module_t const *module, const char *name, hw_device_t **device) in mali_gralloc_device_open() argument
[all …]
Dmali_gralloc_reference.cpp37 int mali_gralloc_reference_retain(mali_gralloc_module const *module, buffer_handle_t handle) in mali_gralloc_reference_retain() argument
39 GRALLOC_UNUSED(module); in mali_gralloc_reference_retain()
81 int mali_gralloc_reference_release(mali_gralloc_module const *module, buffer_handle_t handle, bool … in mali_gralloc_reference_release() argument
83 GRALLOC_UNUSED(module); in mali_gralloc_reference_release()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_module.cpp51 static int mali_gralloc_module_device_open(const hw_module_t *module, const char *name, hw_device_t… in mali_gralloc_module_device_open() argument
59 status = mali_gralloc_device_open(module, name, device); in mali_gralloc_module_device_open()
66 status = alloc_device_open(module, name, device); in mali_gralloc_module_device_open()
72 status = framebuffer_device_open(module, name, device); in mali_gralloc_module_device_open()
78 static int gralloc_register_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_register_buffer() argument
80 const mali_gralloc_module *m = reinterpret_cast<const mali_gralloc_module *>(module); in gralloc_register_buffer()
85 static int gralloc_unregister_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unregister_buffer() argument
87 const mali_gralloc_module *m = reinterpret_cast<const mali_gralloc_module *>(module); in gralloc_unregister_buffer()
92 static int gralloc_lock(gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, i… in gralloc_lock() argument
95 const mali_gralloc_module *m = reinterpret_cast<const mali_gralloc_module *>(module); in gralloc_lock()
[all …]
Dframebuffer_device.cpp68 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in fb_set_swap_interval()
91 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in fb_post()
174 static int init_frame_buffer_locked(struct private_module_t *module) in init_frame_buffer_locked() argument
176 if (module->framebuffer) in init_frame_buffer_locked()
325 module->dpy_type = MALI_DPY_TYPE_CLCD; in init_frame_buffer_locked()
329 module->dpy_type = MALI_DPY_TYPE_HDLCD; in init_frame_buffer_locked()
333 module->dpy_type = MALI_DPY_TYPE_HDLCD; in init_frame_buffer_locked()
337 module->dpy_type = MALI_DPY_TYPE_UNKNOWN; in init_frame_buffer_locked()
350 module->flags = flags; in init_frame_buffer_locked()
351 module->info = info; in init_frame_buffer_locked()
[all …]
Dmali_gralloc_public_interface.cpp168 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc_allocate()
245 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc_retain()
263 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc_release()
277 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc1_get_num_flex_planes()
298 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc1_lock_async()
326 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc1_lock_flex_async()
350 m = reinterpret_cast<private_module_t *>(device->common.module); in mali_gralloc1_unlock_async()
423 int mali_gralloc_device_open(hw_module_t const *module, const char *name, hw_device_t **device) in mali_gralloc_device_open() argument
442 dev->common.module = const_cast<hw_module_t *>(module); in mali_gralloc_device_open()
Dmali_gralloc_reference.cpp37 int mali_gralloc_reference_retain(mali_gralloc_module const *module, buffer_handle_t handle) in mali_gralloc_reference_retain() argument
39 GRALLOC_UNUSED(module); in mali_gralloc_reference_retain()
81 int mali_gralloc_reference_release(mali_gralloc_module const *module, buffer_handle_t handle, bool … in mali_gralloc_reference_release() argument
83 GRALLOC_UNUSED(module); in mali_gralloc_reference_release()
/device/amlogic/yukawa/hal/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 …]
/device/linaro/hikey/gralloc/
Dframebuffer_device.cpp76 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in fb_post()
186 int init_frame_buffer_locked(struct private_module_t *module) in init_frame_buffer_locked() argument
188 if (module->framebuffer) in init_frame_buffer_locked()
363 module->flags = flags; in init_frame_buffer_locked()
364 module->info = info; in init_frame_buffer_locked()
365 module->finfo = finfo; in init_frame_buffer_locked()
366 module->xdpi = xdpi; in init_frame_buffer_locked()
367 module->ydpi = ydpi; in init_frame_buffer_locked()
368 module->fps = fps; in init_frame_buffer_locked()
385module->framebuffer = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, 0, fbSize, va… in init_frame_buffer_locked()
[all …]
Dgralloc_module.cpp46 static int gralloc_device_open(const hw_module_t *module, const char *name, hw_device_t **device) in gralloc_device_open() argument
52 status = alloc_device_open(module, name, device); in gralloc_device_open()
56 status = framebuffer_device_open(module, name, device); in gralloc_device_open()
62 static int gralloc_register_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_register_buffer() argument
64 MALI_IGNORE(module); in gralloc_register_buffer()
239 static int gralloc_unregister_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unregister_buffer() argument
241 MALI_IGNORE(module); in gralloc_unregister_buffer()
281 static int gralloc_lock(gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, i… in gralloc_lock() argument
322 MALI_IGNORE(module); in gralloc_lock()
330 static int gralloc_lock_ycbcr(gralloc_module_t const *module, buffer_handle_t handle, int usage, in… in gralloc_lock_ycbcr() argument
[all …]
/device/generic/goldfish-opengl/system/codecs/c2/store/
DGoldfishComponentStore.cpp203 std::shared_ptr<ComponentModule> module = shared_from_this(); in createInterface() local
205 id, interface, [module, deleter](C2ComponentInterface *p) mutable { in createInterface()
209 module.reset(); // remove module ref (not technically needed) in createInterface()
222 std::shared_ptr<ComponentModule> module = shared_from_this(); in createComponent() local
224 id, component, [module, deleter](C2Component *p) mutable { in createComponent()
228 module.reset(); // remove module ref (not technically needed) in createComponent()
312 std::shared_ptr<ComponentModule> module; in visitComponents() local
313 if (loader.fetchModule(&module) == C2_OK) { in visitComponents()
315 module->getTraits(); in visitComponents()
336 C2String name, std::shared_ptr<ComponentModule> *module) { in findComponent() argument
[all …]
/device/google/gs-common/thermal/dump/
Ddump_thermal.sh36 cat /sys/module/gs_thermal/parameters/tmu_reg_dump_state
38 cat /sys/module/gs_thermal/parameters/tmu_reg_dump_intpend
40 cat /sys/module/gs_thermal/parameters/tmu_reg_dump_current_temp
42 cat /sys/module/gs_thermal/parameters/tmu_top_reg_dump_rise_thres
44 cat /sys/module/gs_thermal/parameters/tmu_top_reg_dump_fall_thres
46 cat /sys/module/gs_thermal/parameters/tmu_sub_reg_dump_rise_thres
48 cat /sys/module/gs_thermal/parameters/tmu_sub_reg_dump_fall_thres
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp1031 static int gralloc_register_buffer(gralloc_module_t const* module, in gralloc_register_buffer() argument
1042 private_module_t *gr = (private_module_t *)module; in gralloc_register_buffer()
1089 static int gralloc_unregister_buffer(gralloc_module_t const* module, in gralloc_unregister_buffer() argument
1098 private_module_t *gr = (private_module_t *)module; in gralloc_unregister_buffer()
1153 static int gralloc_lock(gralloc_module_t const* module, in gralloc_lock() argument
1162 private_module_t *gr = (private_module_t *)module; in gralloc_lock()
1324 static int gralloc_unlock(gralloc_module_t const* module, in gralloc_unlock() argument
1331 private_module_t *gr = (private_module_t *)module; in gralloc_unlock()
1370 static int gralloc_lock_ycbcr(gralloc_module_t const* module, in gralloc_lock_ycbcr() argument
1386 private_module_t *gr = (private_module_t *)module; in gralloc_lock_ycbcr()
[all …]
/device/google/contexthub/sensorhal/
Ddirectchannel.cpp88 const hw_module_t *module; in GrallocHalWrapper() local
89 status_t err = ::hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); in GrallocHalWrapper()
92 if (module == nullptr) { in GrallocHalWrapper()
96 switch ((module->module_api_version >> 8) & 0xFF) { in GrallocHalWrapper()
98 err = ::gralloc_open(module, &mAllocDevice); in GrallocHalWrapper()
111 mGrallocModule = (gralloc_module_t *)module; in GrallocHalWrapper()
115 err = ::gralloc1_open(module, &mGralloc1Device); in GrallocHalWrapper()
161 mGrallocModule = (gralloc_module_t *)module; in GrallocHalWrapper()
/device/google/cuttlefish/build/
DREADME.md7 * Create a `prebuilt_etc_host` module for the JSON file with `sub_dir`
10 to the name of that module. For example:
36 * Create a `prebuilt_usr_share_host` module for the JSON file with `sub_dir`
39 to the name of that module. For example:
53 # your custom config module name.
57 # Set this value to the name of your JSON module.
Dcvd-host-package.go36 module := &cvdHostPackage{}
37 android.InitPackageModule(module)
38 android.InitAndroidArchModule(module, android.HostSupported, android.MultilibFirst)
39 module.IgnoreMissingDependencies = true
40 return module
/device/google/cuttlefish_vmm/qemu/scripts/
Dgenrepo.py216 for module in submodules:
217 repo_url = module.origin_url
228 origin_url=module.origin_url,
231 revision=module.hash,
232 shallow=module.path.startswith("qemu/prebuilts/"),
237 project_by_name[gob_path].linkat.append(module.path)
/device/google/zuma-sepolicy/legacy/whitechapel_pro/
Dgenfs_contexts11 genfscon sysfs /module/bcmdhd4389 u:object_r:sysfs_bcm…
48 genfscon sysfs /module/gs_thermal/parameters/tmu_reg_dump_state u:object_r:sysfs_thermal…
49 genfscon sysfs /module/gs_thermal/parameters/tmu_reg_dump_current_temp u:object_r:sysfs_thermal…
50 genfscon sysfs /module/gs_thermal/parameters/tmu_top_reg_dump_rise_thres u:object_r:sysfs_thermal…
51 genfscon sysfs /module/gs_thermal/parameters/tmu_top_reg_dump_fall_thres u:object_r:sysfs_thermal…
52 genfscon sysfs /module/gs_thermal/parameters/tmu_sub_reg_dump_rise_thres u:object_r:sysfs_thermal…
53 genfscon sysfs /module/gs_thermal/parameters/tmu_sub_reg_dump_fall_thres u:object_r:sysfs_thermal…
/device/amlogic/yukawa/hal/gralloc/legacy/
Dalloc_device.cpp54 m = reinterpret_cast<private_module_t *>(dev->common.module); in alloc_device_alloc()
141 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in alloc_device_free()
158 int alloc_device_open(hw_module_t const *module, const char *name, hw_device_t **device) in alloc_device_open() argument
177 dev->common.module = const_cast<hw_module_t *>(module); in alloc_device_open()
/device/linaro/hikey/gralloc960/legacy/
Dalloc_device.cpp54 m = reinterpret_cast<private_module_t *>(dev->common.module); in alloc_device_alloc()
140 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in alloc_device_free()
157 int alloc_device_open(hw_module_t const *module, const char *name, hw_device_t **device) in alloc_device_open() argument
176 dev->common.module = const_cast<hw_module_t *>(module); in alloc_device_open()
/device/generic/opengl-transport/host/libs/virglrenderer/
DGralloc1.cpp120 .module = &g_gralloc1_module,
127 static int gralloc1_device_open(const hw_module_t* module, const char* id, hw_device_t** device) { in gralloc1_device_open() argument
128 if (module != &g_gralloc1_module) in gralloc1_device_open()
136 int hw_get_module(const char* id, const hw_module_t** module) { in hw_get_module() argument
139 *module = const_cast<const hw_module_t*>(&g_gralloc1_module); in hw_get_module()
/device/google/shusky/
DBoardConfig-shusky-common.mk25 BOARD_KERNEL_MODULES_16K := $(foreach module,$(BOARD_KERNEL_MODULES_16K),$(TARGET_KERNEL_DIR_16K)/$…
29 BOARD_KERNEL_MODULES_LOAD_16K := $(foreach module,$(BOARD_KERNEL_MODULES_16K),$(notdir $(module)))
/device/google/cuttlefish_vmm/
Dgen_android_bp.py174 module = Module(
183 out.write(str(module))
282 for module in sorted(modules, key=sort_key):
283 module_text = str(module)
284 if module.parameters["name"] == "x86_64_linux_gnu_crosvm":

1234567