/hardware/ti/omap4xxx/camera/ |
H A D | CameraHal_Module.cpp | 38 static int camera_device_open(const hw_module_t* module, const char* name, 483 int camera_device_open(const hw_module_t* module, const char* name, argument 539 camera_device->base.common.module = (hw_module_t *)(module);
|
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_h264_enc/src/ |
H A D | omx_proxy_h264enc.c | 855 hw_module_t const* module = NULL; local 859 nErr = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); 863 *hCC = (void *) ((IMG_gralloc_module_public_t const *)module); 868 %s module err = %x", GRALLOC_HARDWARE_MODULE_ID, nErr); 871 gralloc_open(module, &(pProxy->mAllocDev)); 882 IMG_gralloc_module_public_t const* module = hCC; local 887 nErr = module->Blit(module, pSrc[0], pDst, HAL_PIXEL_FORMAT_TI_NV12); 891 nErr = module->Blit2(module, pSr [all...] |
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_mpeg4_enc/src/ |
H A D | omx_proxy_mpeg4enc.c | 842 hw_module_t const* module = NULL; local 846 nErr = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); 850 *hCC = (void *) ((IMG_gralloc_module_public_t const *)module); 855 %s module err = %x", GRALLOC_HARDWARE_MODULE_ID, nErr); 858 gralloc_open(module, &(pProxy->mAllocDev)); 869 IMG_gralloc_module_public_t const* module = hCC; local 874 nErr = module->Blit(module, pSrc[0], pDst, HAL_PIXEL_FORMAT_TI_NV12); 879 nErr = module->Blit2(module, pSr [all...] |
/hardware/libhardware/modules/audio/ |
H A D | audio_hw.c | 432 static int adev_open(const hw_module_t* module, const char* name, argument 449 adev->device.common.module = (struct hw_module_t *) module;
|
/hardware/libhardware/tests/hwc/ |
H A D | cnativewindow.c | 375 hw_module_t const* module; local 383 if (hw_get_module(HWC_HARDWARE_MODULE_ID, &module) != 0) { 384 ERROR("cannot open hw composer module\n"); 388 if (hwc_open_1(module, &hwc)) { 462 hw_module_t const* module; local 473 if (hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module) != 0) { 474 ERROR("cannot open gralloc module\n"); 480 err = framebuffer_open(module, &fb); 496 err = gralloc_open(module, &gr);
|
/hardware/libhardware_legacy/audio/ |
H A D | audio_policy_hal.cpp | 37 struct audio_policy_module module; member in struct:android_audio_legacy::legacy_ap_module 431 static int legacy_ap_dev_open(const hw_module_t* module, const char* name, argument 445 dev->device.common.module = const_cast<hw_module_t*>(module); 460 .module = {
|
H A D | audio_hw_hal.cpp | 36 struct audio_module module; member in struct:android_audio_legacy::legacy_audio_module 642 static int legacy_adev_open(const hw_module_t* module, const char* name, argument 657 ladev->device.common.module = const_cast<hw_module_t*>(module); 696 module: {
|
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | AudioHardwareALSA.cpp | 82 hw_module_t *module; local 85 (hw_module_t const**)&module); 90 err = module->methods->open(module, ALSA_HARDWARE_NAME, &device); 773 alsa_handle.module = mALSADevice; 843 alsa_handle.module = mALSADevice; 916 alsa_handle.module = mALSADevice; 1015 alsa_handle.module = mALSADevice; 1141 alsa_handle.module = mALSADevice; 1212 alsa_handle.module [all...] |
H A D | audio_policy_hal.cpp | 37 struct audio_policy_module module; member in struct:android_audio_legacy::qcom_ap_module 422 static int qcom_ap_dev_open(const hw_module_t* module, const char* name, argument 436 dev->device.common.module = const_cast<hw_module_t*>(module); 451 module: {
|
H A D | alsa_default.cpp | 116 name : "QCOM ALSA module", 124 static int s_device_open(const hw_module_t* module, const char* name, argument 137 dev->common.module = (hw_module_t *) module; 181 ALOGV("ALSA module opened"); 620 static status_t s_init(alsa_device_t *module, ALSAHandleList &list) argument 622 ALOGV("s_init: Initializing devices for ALSA module");
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc.cpp | 49 static int hwc_device_open(const struct hw_module_t* module, 865 static int hwc_device_open(const struct hw_module_t* module, const char* name, argument 883 dev->device.common.module = const_cast<hw_module_t*>(module);
|
H A D | hwc_copybit.cpp | 726 hw_module_t const *module; local 736 if (hw_get_module(COPYBIT_HARDWARE_MODULE_ID, &module) == 0) { 737 if(copybit_open(module, &mEngine) < 0) { 741 ALOGE("FATAL ERROR: copybit hw module not found");
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc.cpp | 59 static int hwc_device_open(const struct hw_module_t* module, 904 static int hwc_device_open(const struct hw_module_t* module, const char* name, argument 922 dev->device.common.module = const_cast<hw_module_t*>(module);
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
H A D | hwc_copybit.cpp | 557 hw_module_t const *module; local 567 if (hw_get_module(COPYBIT_HARDWARE_MODULE_ID, &module) == 0) { 568 if(copybit_open(module, &mEngine) < 0) { 572 ALOGE("FATAL ERROR: copybit hw module not found");
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | hwc.cpp | 49 static int hwc_device_open(const struct hw_module_t* module, 983 static int hwc_device_open(const struct hw_module_t* module, const char* name, argument 1001 dev->device.common.module = const_cast<hw_module_t*>(module);
|
/hardware/qcom/display/msm8996/hdmi_cec/ |
H A D | qhdmi_cec.cpp | 463 static int cec_device_open(const struct hw_module_t* module, argument 478 dev->device.common.module = const_cast<hw_module_t* >(module); 502 // Standard HAL module, should be outside qhdmicec namespace 513 .name = "QTI HDMI CEC module",
|
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_h264_enc/src/ |
H A D | omx_proxy_h264enc.c | 1044 hw_module_t const* module = NULL; local 1048 nErr = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); 1052 *hCC = (void *) ((IMG_gralloc_module_public_t const *)module); 1057 %s module err = %x", GRALLOC_HARDWARE_MODULE_ID, nErr); 1060 gralloc_open(module, &(pProxy->mAllocDev)); 1071 IMG_gralloc_module_public_t const* module = hCC; local 1076 nErr = module->Blit(module, pSrc[0], pDst, HAL_PIXEL_FORMAT_TI_NV12); 1080 nErr = module->Blit2(module, pSr [all...] |
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_mpeg4_enc/src/ |
H A D | omx_proxy_mpeg4enc.c | 997 hw_module_t const* module = NULL; local 1001 nErr = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); 1005 *hCC = (void *) ((IMG_gralloc_module_public_t const *)module); 1010 %s module err = %x", GRALLOC_HARDWARE_MODULE_ID, nErr); 1013 gralloc_open(module, &(pProxy->mAllocDev)); 1024 IMG_gralloc_module_public_t const* module = hCC; local 1029 nErr = module->Blit(module, pSrc[0], pDst, HAL_PIXEL_FORMAT_TI_NV12); 1034 nErr = module->Blit2(module, pSr [all...] |
/hardware/bsp/intel/peripheral/audio/generic/ |
H A D | audio_hal.c | 1171 static int adev_open(const hw_module_t* module, const char* name, hw_device_t** device) argument 1189 adev->hw_device.common.module = (struct hw_module_t *)module;
|
/hardware/intel/audio_media/hdmi/ |
H A D | tinyaudio_hw.c | 913 static int adev_open(const hw_module_t* module, const char* name, argument 929 adev->hw_device.common.module = (struct hw_module_t *) module;
|
/hardware/libhardware/include/hardware/ |
H A D | audio.h | 35 * The id of this module 45 /* Use version 0.1 to be compatible with first generation of audio hw module with version_major 46 * hardcoded to 1. No audio module API change. 508 * Every hardware module must have a data structure named HAL_MODULE_INFO_SYM 510 * followed by module specific information. 534 * audio module based on information in this file. 647 * audio HAL module. */ 677 static inline int audio_hw_device_open(const struct hw_module_t* module, argument 680 return module->methods->open(module, AUDIO_HARDWARE_INTERFAC [all...] |
/hardware/libhardware/modules/sensors/ |
H A D | multihal.cpp | 61 * Comparable class that globally identifies a sensor, by module index and local handle. 62 * A module index is the module's index in sub_hw_modules. 63 * A local handle is the handle the sub-module assigns to a sensor. 107 // Returns the sub_hw_modules index of the module that contains the sensor associates with this 182 * Extends a sensors_poll_device_1 by including all the sub-module's devices. 452 static int open_sensors(const struct hw_module_t* module, const char* name, 484 * Ensures that the sub-module array is initialized. 496 // dlopen the module files and cache their module symbol 510 struct hw_module_t* module = (hw_module_t*) dlsym(lib_handle, sym); local 546 struct sensors_module_t *module = (struct sensors_module_t*) *it; local 564 struct sensors_module_t *module = (struct sensors_module_t*) hw_module; local 595 module__get_sensors_list(__unused struct sensors_module_t* module, struct sensor_t const** list) argument [all...] |
/hardware/libhardware/modules/soundtrigger/ |
H A D | sound_trigger_hw.c | 842 static int stdev_open(const hw_module_t* module, const char* name, argument 859 stdev->device.common.module = (struct hw_module_t *) module;
|
/hardware/libhardware/modules/usbaudio/ |
H A D | audio_hal.c | 1049 static int adev_open(const hw_module_t* module, const char* name, hw_device_t** device) argument 1063 adev->hw_device.common.module = (struct hw_module_t *)module;
|
/hardware/libhardware_legacy/wifi/ |
H A D | wifi.c | 96 #define WIFI_DRIVER_FW_PATH_PARAM "/sys/module/wlan/parameters/fwpath" 137 void *module; local 141 module = load_file(filename, &size); 142 if (!module) 145 ret = init_module(module, size, args); 147 free(module); 166 ALOGD("Unable to unload driver module \"%s\": %s\n",
|