/device/google/dragon/audio/hal/ |
D | cras_dsp_mod_builtin.c | 16 static int empty_instantiate(struct dsp_module *module, in empty_instantiate() argument 22 static void empty_connect_port(struct dsp_module *module, unsigned long port, in empty_connect_port() argument 25 static int empty_get_delay(struct dsp_module *module) in empty_get_delay() argument 30 static void empty_run(struct dsp_module *module, unsigned long sample_count) {} in empty_run() argument 32 static void empty_deinstantiate(struct dsp_module *module) {} in empty_deinstantiate() argument 34 static void empty_free_module(struct dsp_module *module) in empty_free_module() argument 36 free(module); in empty_free_module() 39 static int empty_get_properties(struct dsp_module *module) { return 0; } in empty_get_properties() argument 41 static void empty_init_module(struct dsp_module *module) in empty_init_module() argument 43 module->instantiate = &empty_instantiate; in empty_init_module() [all …]
|
D | cras_dsp_pipeline.c | 84 struct dsp_module *module; member 468 struct dsp_module *module; in load_module() local 469 module = cras_dsp_module_load_builtin(plugin); in load_module() 470 if (!module) in load_module() 472 instance->module = module; in load_module() 473 instance->properties = module->get_properties(module); in load_module() 618 struct dsp_module *module = instance->module; in calculate_audio_delay() local 632 instance->total_delay = delay + module->get_delay(module); in calculate_audio_delay() 642 struct dsp_module *module = instance->module; in cras_dsp_pipeline_instantiate() local 643 if (module->instantiate(module, sample_rate) != 0) in cras_dsp_pipeline_instantiate() [all …]
|
/device/moto/shamu/ |
D | init.shamu.power.rc | 8 write /sys/module/lpm_levels/enable_low_power/l2 4 9 write /sys/module/msm_pm/modes/cpu0/power_collapse/suspend_enabled 1 10 write /sys/module/msm_pm/modes/cpu0/power_collapse/idle_enabled 1 11 write /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/suspend_enabled 1 12 write /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/idle_enabled 1 13 write /sys/module/msm_pm/modes/cpu0/retention/idle_enabled 1 47 write /sys/module/lpm_levels/enable_low_power/l2 4 48 write /sys/module/msm_pm/modes/cpu0/power_collapse/suspend_enabled 1 49 write /sys/module/msm_pm/modes/cpu1/power_collapse/suspend_enabled 1 50 write /sys/module/msm_pm/modes/cpu2/power_collapse/suspend_enabled 1 [all …]
|
/device/linaro/hikey/gralloc/ |
D | framebuffer_device.cpp | 75 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() 385 …module->framebuffer = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, 0, fbSize, va… in init_frame_buffer_locked() [all …]
|
D | gralloc_module.cpp | 44 static int gralloc_device_open(const hw_module_t *module, const char *name, hw_device_t **device) in gralloc_device_open() argument 50 status = alloc_device_open(module, name, device); in gralloc_device_open() 54 status = framebuffer_device_open(module, name, device); in gralloc_device_open() 60 static int gralloc_register_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_register_buffer() argument 62 MALI_IGNORE(module); in gralloc_register_buffer() 233 static int gralloc_unregister_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unregister_buffer() argument 235 MALI_IGNORE(module); in gralloc_unregister_buffer() 275 static int gralloc_lock(gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, i… in gralloc_lock() argument 308 MALI_IGNORE(module); in gralloc_lock() 316 static int gralloc_unlock(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unlock() argument [all …]
|
D | framebuffer_device.h | 22 int framebuffer_device_open(hw_module_t const *module, const char *name, hw_device_t **device); 25 int init_frame_buffer_locked(struct private_module_t *module);
|
D | alloc_device.cpp | 103 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_alloc_buffer() 261 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_alloc_framebuffer_locked() 350 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in gralloc_alloc_framebuffer() 517 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in alloc_device_free() 550 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in alloc_device_free() 605 int alloc_device_open(hw_module_t const *module, const char *name, hw_device_t **device) in alloc_device_open() argument 635 dev->common.module = const_cast<hw_module_t *>(module); in alloc_device_open() 641 private_module_t *m = reinterpret_cast<private_module_t *>(dev->common.module); in alloc_device_open()
|
/device/generic/goldfish/opengl/ |
D | common.mk | 23 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-end-module = \ 46 $(if $(EMUGL_DEBUG),$(call emugl-dump-module)) 98 _emugl-init-module = \ 102 $(error There is already a $(if $3,host,) module named $1!)\ 128 $(call _emugl-module-import,$(_emugl_HOST)$(_imod))\ 131 _emugl-module-import = \ [all …]
|
/device/lge/bullhead/ |
D | init.bullhead.power.sh | 28 write /sys/module/msm_thermal/core_control/enabled 0 43 write /sys/module/msm_performance/parameters/cpu_max_freq "4:960000 5:960000" 46 write /sys/module/lpm_levels/system/a53/cpu0/retention/idle_enabled 0 47 write /sys/module/lpm_levels/system/a53/cpu1/retention/idle_enabled 0 48 write /sys/module/lpm_levels/system/a53/cpu2/retention/idle_enabled 0 49 write /sys/module/lpm_levels/system/a53/cpu3/retention/idle_enabled 0 50 write /sys/module/lpm_levels/system/a57/cpu4/retention/idle_enabled 0 51 write /sys/module/lpm_levels/system/a57/cpu5/retention/idle_enabled 0 54 write /sys/module/lpm_levels/system/a53/a53-l2-retention/idle_enabled 0 55 write /sys/module/lpm_levels/system/a57/a57-l2-retention/idle_enabled 0 [all …]
|
D | init.bullhead.ramdump.rc | 8 write /sys/module/subsystem_restart/parameters/enable_ramdumps 0 9 write /sys/module/msm_poweroff/parameters/download_mode 1 17 write /sys/module/subsystem_restart/parameters/enable_ramdumps 1 18 write /sys/module/msm_poweroff/parameters/download_mode 0
|
/device/asus/fugu/power/ |
D | power.c | 94 static void fugu_power_init(struct power_module *module) in fugu_power_init() argument 96 struct intel_power_module *mod = (struct intel_power_module *) module; in fugu_power_init() 117 static void fugu_power_set_interactive(struct power_module *module, int on) in fugu_power_set_interactive() argument 120 (void) module; /* unused */ in fugu_power_set_interactive() 140 static void fugu_power_hint(struct power_module *module, power_hint_t hint, void *data) in fugu_power_hint() argument 142 struct intel_power_module *mod = (struct intel_power_module *) module; in fugu_power_hint()
|
/device/google/dragon/power/ |
D | power_dragon.cpp | 97 static void power_init(struct power_module __unused *module) in power_init() argument 100 (struct dragon_power_module *) module; in power_init() 143 static void power_set_interactive(struct power_module __unused *module, int on) in power_set_interactive() argument 188 static void dragon_power_hint(struct power_module *module, power_hint_t hint, in dragon_power_hint() argument 192 (struct dragon_power_module *) module; in dragon_power_hint() 232 static int dragon_power_open(const hw_module_t *module, const char *name, in dragon_power_open() argument
|
/device/htc/flounder/power/ |
D | power_flounder.c | 94 static void power_init(struct power_module __unused *module) in power_init() argument 117 static void power_set_interactive(struct power_module __unused *module, int on) in power_set_interactive() argument 172 static void set_feature(struct power_module *module, feature_t feature, int state) in set_feature() argument 175 (struct flounder_power_module *) module; in set_feature() 188 static void flounder_power_hint(struct power_module *module, power_hint_t hint, in flounder_power_hint() argument 192 (struct flounder_power_module *) module; in flounder_power_hint()
|
/device/generic/goldfish/opengl/system/gralloc/ |
D | gralloc.cpp | 521 static int gralloc_register_buffer(gralloc_module_t const* module, in gralloc_register_buffer() argument 531 private_module_t *gr = (private_module_t *)module; in gralloc_register_buffer() 561 static int gralloc_unregister_buffer(gralloc_module_t const* module, in gralloc_unregister_buffer() argument 568 private_module_t *gr = (private_module_t *)module; in gralloc_unregister_buffer() 601 static int gralloc_lock(gralloc_module_t const* module, in gralloc_lock() argument 610 private_module_t *gr = (private_module_t *)module; in gralloc_lock() 718 static int gralloc_unlock(gralloc_module_t const* module, in gralloc_unlock() argument 725 private_module_t *gr = (private_module_t *)module; in gralloc_unlock() 782 static int gralloc_lock_ycbcr(gralloc_module_t const* module, in gralloc_lock_ycbcr() argument 797 private_module_t *gr = (private_module_t *)module; in gralloc_lock_ycbcr() [all …]
|
/device/generic/goldfish/camera/ |
D | EmulatedBaseCamera.cpp | 38 struct hw_module_t* module) in EmulatedBaseCamera() argument 50 device->module = module; in EmulatedBaseCamera()
|
D | EmulatedQemuCamera2.cpp | 34 struct hw_module_t* module) in EmulatedQemuCamera2() argument 35 : EmulatedCamera2(cameraId,module), in EmulatedQemuCamera2()
|
/device/generic/goldfish/vibrator/ |
D | vibrator_qemu.c | 55 static int qemu_vibra_open(const hw_module_t* module, const char* id __unused, in qemu_vibra_open() argument 65 vibradev->common.module = (hw_module_t *) module; in qemu_vibra_open()
|
/device/google/contexthub/sensorhal/ |
D | sensors.cpp | 34 SensorContext::SensorContext(const struct hw_module_t *module) in SensorContext() argument 40 device.common.module = const_cast<hw_module_t *>(module); in SensorContext() 194 const struct hw_module_t *module, in open_sensors() argument 199 SensorContext *ctx = new SensorContext(module); in open_sensors()
|
/device/lge/bullhead/camera/QCamera2/ |
D | QCamera2Factory.cpp | 179 int QCamera2Factory::open_legacy(const struct hw_module_t* module, in open_legacy() argument 182 if (module != &HAL_MODULE_INFO_SYM.common) { in open_legacy() 184 module, &HAL_MODULE_INFO_SYM.common); in open_legacy() 366 const struct hw_module_t *module, const char *id, in camera_device_open() argument 369 if (module != &HAL_MODULE_INFO_SYM.common) { in camera_device_open() 371 module, &HAL_MODULE_INFO_SYM.common); in camera_device_open()
|
/device/huawei/angler/camera/QCamera2/ |
D | QCamera2Factory.cpp | 179 int QCamera2Factory::open_legacy(const struct hw_module_t* module, in open_legacy() argument 182 if (module != &HAL_MODULE_INFO_SYM.common) { in open_legacy() 184 module, &HAL_MODULE_INFO_SYM.common); in open_legacy() 366 const struct hw_module_t *module, const char *id, in camera_device_open() argument 369 if (module != &HAL_MODULE_INFO_SYM.common) { in camera_device_open() 371 module, &HAL_MODULE_INFO_SYM.common); in camera_device_open()
|
/device/lge/bullhead/power/ |
D | power.c | 101 static void power_init(struct power_module *module) in power_init() argument 228 int __attribute__ ((weak)) power_hint_override(struct power_module *module, power_hint_t hint, in power_hint_override() argument 245 static void power_hint(struct power_module *module, power_hint_t hint, in power_hint() argument 249 if (power_hint_override(module, hint, data) == HINT_HANDLED) { in power_hint() 347 int __attribute__ ((weak)) set_interactive_override(struct power_module *module, int on) in set_interactive_override() argument 352 void set_interactive(struct power_module *module, int on) in set_interactive() argument 359 if (set_interactive_override(module, on) == HINT_HANDLED) { in set_interactive() 557 static ssize_t get_number_of_platform_modes(struct power_module *module) { in get_number_of_platform_modes() argument 561 static int get_voter_list(struct power_module *module, size_t *voter) { in get_voter_list() argument 619 static int get_platform_low_power_stats(struct power_module *module, in get_platform_low_power_stats() argument
|
/device/huawei/angler/ |
D | init.angler.power.sh | 24 write /sys/module/msm_thermal/core_control/enabled 0 44 write /sys/module/msm_performance/parameters/cpu_max_freq "4:960000 5:960000 6:960000 7:960000" 88 write /sys/module/msm_performance/parameters/cpu_max_freq "4:4294967295 5:4294967295 6:4294967295 7… 91 write /sys/module/cpu_boost/parameters/input_boost_freq "0:1344000" 92 write /sys/module/cpu_boost/parameters/input_boost_ms 40 110 write /sys/module/msm_thermal/core_control/enabled 1
|
/device/generic/goldfish/power/ |
D | power_qemu.c | 28 static void power_qemu_init(struct power_module *module) in power_qemu_init() argument 36 static void power_qemu_set_interactive(struct power_module *module, int on) in power_qemu_set_interactive() argument
|
/device/huawei/angler/power/ |
D | power.c | 108 static void power_init(struct power_module *module) in power_init() argument 235 int __attribute__ ((weak)) power_hint_override(struct power_module *module, power_hint_t hint, in power_hint_override() argument 252 static void power_hint(struct power_module *module, power_hint_t hint, in power_hint() argument 258 if (power_hint_override(module, hint, data) == HINT_HANDLED) { in power_hint() 428 int __attribute__ ((weak)) set_interactive_override(struct power_module *module, int on) in set_interactive_override() argument 433 void set_interactive(struct power_module *module, int on) in set_interactive() argument 440 if (set_interactive_override(module, on) == HINT_HANDLED) { in set_interactive() 638 static ssize_t get_number_of_platform_modes(struct power_module *module) { in get_number_of_platform_modes() argument 642 static int get_voter_list(struct power_module *module, size_t *voter) { in get_voter_list() argument 700 static int get_platform_low_power_stats(struct power_module *module, in get_platform_low_power_stats() argument
|
/device/htc/flounder/lights/ |
D | lights.c | 115 static int open_lights(const struct hw_module_t *module, char const *name, in open_lights() argument 142 dev->common.module = (struct hw_module_t *)module; in open_lights()
|