Home
last modified time | relevance | path

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

12345678

/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')
89 make.append('set(%s_src %s)' % (name, ' '.join(module['src'])))
90 if module['type'] == 'SHARED_LIBRARY':
91 …oid_add_library(TARGET {} SHARED LICENSE Apache-2.0 SRC {})'.format(name, ' '.join(module['src'])))
[all …]
Dcommon.mk23 emugl-begin-static-library = $(call emugl-begin-module,$1,STATIC_LIBRARY)
24 emugl-begin-shared-library = $(call emugl-begin-module,$1,SHARED_LIBRARY)
31 emugl-begin-module = \
39 $(call _emugl-init-module,$1,$2,$3)
42 emugl-begin-module += $(eval LOCAL_VENDOR_MODULE := true)
46 emugl-begin-module += $(eval include external/stlport/libstlport.mk)
49 emugl-begin-module += $(eval LOCAL_PRELINK_MODULE := false)
52 emugl-begin-module += $(eval LOCAL_MODULE_TAGS := debug)
53 emugl-begin-module += $(eval LOCAL_SHARED_LIBRARIES += libstlport)
57 emugl-end-module = \
[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_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()
Dgralloc_vsync_s3cfb.cpp30 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_vsync_enable()
43 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_vsync_disable()
56 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_wait_for_vsync()
/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_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()
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()
Dgralloc_vsync_s3cfb.cpp30 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_vsync_enable()
43 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_vsync_disable()
56 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_wait_for_vsync()
/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/ti/beagle_x15/
Dfstab.beagle_x15board_v59 …cp/48000000.interconnect/48000000.interconnect:segment@0/480b4000.target-module/480b4000.mmc/by-na…
10 …cp/48000000.interconnect/48000000.interconnect:segment@0/480b4000.target-module/480b4000.mmc/by-na…
11 …cp/48000000.interconnect/48000000.interconnect:segment@0/480b4000.target-module/480b4000.mmc/by-na…
12 …cp/48000000.interconnect/48000000.interconnect:segment@0/480b4000.target-module/480b4000.mmc/by-na…
16 /devices/platform/48800000.interconnect/48800000.interconnect:segment@0/488c0000.target-module/488c…
17 /devices/platform/48800000.interconnect/48800000.interconnect:segment@0/48880000.target-module/4888…
18 /devices/platform/48000000.interconnect/48000000.interconnect:segment@0/4809c000.target-module/4809…
/device/google/bonito/
Dinit.power.rc55 write /sys/module/lpm_levels/parameters/sleep_disabled 0
66 write /sys/module/lpm_levels/L3/cpu0/ret/idle_enabled N
67 write /sys/module/lpm_levels/L3/cpu1/ret/idle_enabled N
68 write /sys/module/lpm_levels/L3/cpu2/ret/idle_enabled N
69 write /sys/module/lpm_levels/L3/cpu3/ret/idle_enabled N
70 write /sys/module/lpm_levels/L3/cpu4/ret/idle_enabled N
71 write /sys/module/lpm_levels/L3/cpu5/ret/idle_enabled N
72 write /sys/module/lpm_levels/L3/cpu6/ret/idle_enabled N
73 write /sys/module/lpm_levels/L3/cpu7/ret/idle_enabled N
77 write /sys/module/printk/parameters/console_suspend N
[all …]
/device/generic/goldfish/camera/
DEmulatedCameraFactory.cpp180 int EmulatedCameraFactory::device_open(const hw_module_t *module, const char in device_open() argument
187 if (module != &HAL_MODULE_INFO_SYM.common) { in device_open()
189 __FUNCTION__, module, &HAL_MODULE_INFO_SYM.common); in device_open()
218 int EmulatedCameraFactory::open_legacy(const struct hw_module_t *module, in open_legacy() argument
324 struct hw_module_t* module) { in createQemuCameraImpl() argument
329 auto camera = std::make_unique<EmulatedQemuCamera>(cameraId, module, mGBM); in createQemuCameraImpl()
338 auto camera = std::make_unique<EmulatedQemuCamera3>(cameraId, module, mGBM); in createQemuCameraImpl()
393 struct hw_module_t* module) { in createFakeCameraImpl() argument
396 return std::make_unique<EmulatedFakeCamera>(cameraId, backCamera, module, mGBM); in createFakeCameraImpl()
399 return std::make_unique<EmulatedFakeCamera2>(cameraId, backCamera, module, mGBM); in createFakeCameraImpl()
[all …]
DEmulatedBaseCamera.cpp38 struct hw_module_t* module) in EmulatedBaseCamera() argument
50 device->module = module; in EmulatedBaseCamera()
DEmulatedCameraFactory.h136 static int open_legacy(const struct hw_module_t *module, const char *id,
143 static int device_open(const hw_module_t *module, const char *name,
231 struct hw_module_t* module);
244 struct hw_module_t* module);
/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/goldfish-opengl/system/gralloc/
Dgralloc_30.cpp75 hw_device_t make_hw_device(hw_module_t* module, int (*close)(hw_device_t*)) { in make_hw_device() argument
80 result.module = module; in make_hw_device()
477 goldfish_gralloc30_device_t(private_module_t* module) in goldfish_gralloc30_device_t() argument
478 : gralloc_module(module->impl()) { in goldfish_gralloc30_device_t()
480 device.common = make_hw_device(module->to_hw_module(), in goldfish_gralloc30_device_t()
965 private_module_t* module = private_module_t::from_gralloc_module(gralloc_module); in gralloc_register_buffer() local
966 if (!module) { in gralloc_register_buffer()
970 return module->impl()->register_buffer(h); in gralloc_register_buffer()
974 private_module_t* module = private_module_t::from_gralloc_module(gralloc_module); in gralloc_unregister_buffer() local
975 if (!module) { in gralloc_unregister_buffer()
[all …]
/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/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/generic/opengl-transport/host/libs/virglrenderer/include/hardware/
Dgralloc1.h74 static inline int gralloc1_open(const hw_module_t* module, gralloc1_device_t** device) { in gralloc1_open() argument
75 return module->methods->open(module, GRALLOC_HARDWARE_MODULE_ID, in gralloc1_open()

12345678