/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/ |
D | perf.c | 28 __PERF_LOG_create(PERF_Private *perf, PERF_Config *config, 75 __PERF_common_Create(PERF_Config *config, in __PERF_common_Create() argument 82 if ((config->mask & eModule & ~PERF_ModuleMask) && in __PERF_common_Create() 83 (config->mask & (1 << (eModule & PERF_ModuleMask)))) in __PERF_common_Create() 109 if (config->trace_file) in __PERF_common_Create() 111 __PERF_LOG_create(me, config, eModule); in __PERF_common_Create() 115 __PERF_CUSTOM_create(hPERF, config, eModule); in __PERF_common_Create() 142 PERF_Config config; in PERF_Create() local 143 PERF_Config_Init(&config); in PERF_Create() 144 PERF_Config_Read(&config, tag); in PERF_Create() [all …]
|
D | perf_custom.c | 352 __PERF_CUSTOM_create(PERF_OBJHANDLE hObject, PERF_Config *config, in __PERF_CUSTOM_create() argument 363 if (config->replay_file) in __PERF_CUSTOM_create() 367 if (config->log_file) free(config->log_file); in __PERF_CUSTOM_create() 368 config->log_file = config->replay_file; in __PERF_CUSTOM_create() 369 config->replay_file = NULL; in __PERF_CUSTOM_create() 378 if (config->log_file || config->debug || config->detailed_debug) in __PERF_CUSTOM_create() 381 if (!PERF_PRINT_create(me, config, eModule)) in __PERF_CUSTOM_create() 389 if (config->realtime) in __PERF_CUSTOM_create() 392 PERF_RT_create(me, config, eModule); in __PERF_CUSTOM_create()
|
D | perf_log.c | 99 PERF_Config *config, in __PERF_LOG_create() argument 109 me->uBufSize = config->buffer_size; in __PERF_LOG_create() 119 me->fOutFile = (char *) malloc (strlen(config->trace_file) + 34); in __PERF_LOG_create() 128 config->trace_file, perf->ulPID, (unsigned long) perf, in __PERF_LOG_create() 133 if (!config->delayed_open) in __PERF_LOG_create() 153 if (!me->puBuffer || !me->fOutFile || (!config->delayed_open && !me->fOut)) in __PERF_LOG_create()
|
D | perf_print.c | 201 PERF_PRINT_create(PERF_Private *perf, PERF_Config *config, in PERF_PRINT_create() argument 211 me->csv = config->csv; in PERF_PRINT_create() 221 if (config->log_file) in PERF_PRINT_create() 224 if (!strcasecmp(config->log_file, "STDOUT")) fOut = stdout; in PERF_PRINT_create() 225 else if (!strcasecmp(config->log_file, "STDERR")) fOut = stderr; in PERF_PRINT_create() 229 fOutFile = (char *) malloc (strlen(config->log_file) + 32); in PERF_PRINT_create() 233 config->log_file, perf->ulPID, (unsigned long) perf, in PERF_PRINT_create() 248 else if (config->detailed_debug) in PERF_PRINT_create() 253 else if (config->debug) in PERF_PRINT_create()
|
/hardware/invensense/60xx/mlsdk/mllite/ |
D | compass.c | 419 struct ext_slave_config config; in inv_compass_write_reg() local 426 config.key = MPU_SLAVE_WRITE_REGISTERS; in inv_compass_write_reg() 427 config.len = 2; in inv_compass_write_reg() 428 config.apply = TRUE; in inv_compass_write_reg() 429 config.data = data; in inv_compass_write_reg() 433 inv_get_serial_handle(), &config); in inv_compass_write_reg() 453 struct ext_slave_config config; in inv_compass_read_reg() local 459 config.key = MPU_SLAVE_READ_REGISTERS; in inv_compass_read_reg() 460 config.len = 2; in inv_compass_read_reg() 461 config.apply = TRUE; in inv_compass_read_reg() [all …]
|
D | dmpDefault.c | 362 struct ext_slave_config config; in inv_setup_dmp() local 364 config.key = MPU_SLAVE_CONFIG_ODR_SUSPEND; in inv_setup_dmp() 365 config.len = sizeof(long); in inv_setup_dmp() 366 config.apply = FALSE; in inv_setup_dmp() 367 config.data = &odr; in inv_setup_dmp() 373 &config); in inv_setup_dmp() 378 config.key = MPU_SLAVE_CONFIG_ODR_RESUME; in inv_setup_dmp() 383 &config); in inv_setup_dmp() 388 config.key = MPU_SLAVE_CONFIG_IRQ_SUSPEND; in inv_setup_dmp() 393 &config); in inv_setup_dmp() [all …]
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
D | perf_unittest.c | 331 PERF_Config config; in test_PERF_config() local 333 PERF_Config_Init(&config); in test_PERF_config() 347 PERF_Config_Read(&config, 0); in test_PERF_config() 348 assert(config.mask == 0xFFFFFFFF); in test_PERF_config() 349 assert(config.detailed_debug = 0x1234567A); in test_PERF_config() 350 assert(config.debug = 0xFFFFFFFF); in test_PERF_config() 351 assert(config.buffer_size = 0xFFFFFFFE); in test_PERF_config() 352 assert(config.csv); in test_PERF_config() 353 assert(config.delayed_open); in test_PERF_config() 354 assert(!strcmp(config.log_file, "string1 string2")); in test_PERF_config() [all …]
|
/hardware/libhardware/modules/audio_remote_submix/ |
D | audio_hw.cpp | 66 submix_config config; member 105 uint32_t out_rate = out->dev->config.rate; in out_get_sample_rate() 118 out->dev->config.rate = rate; in out_set_sample_rate() 126 const struct submix_config& config_out = out->dev->config; in out_get_buffer_size() 138 uint32_t channels = out->dev->config.channel_mask; in out_get_channels() 215 const struct submix_config * config_out = &(out->dev->config); in out_get_latency() 319 return in->dev->config.rate; in in_get_sample_rate() 331 in->dev->config.period_size * audio_stream_frame_size(stream)); in in_get_buffer_size() 332 return in->dev->config.period_size * audio_stream_frame_size(stream); in in_get_buffer_size() 515 struct audio_config *config, in adev_open_output_stream() argument [all …]
|
/hardware/qcom/audio/voice_processing/ |
D | voice_processing.c | 68 effect_config_t config; member 294 session->config.inputCfg.samplingRate = 16000; in session_create_effect() 295 session->config.inputCfg.channels = AUDIO_CHANNEL_IN_MONO; in session_create_effect() 296 session->config.inputCfg.format = AUDIO_FORMAT_PCM_16_BIT; in session_create_effect() 297 session->config.outputCfg.samplingRate = 16000; in session_create_effect() 298 session->config.outputCfg.channels = AUDIO_CHANNEL_IN_MONO; in session_create_effect() 299 session->config.outputCfg.format = AUDIO_FORMAT_PCM_16_BIT; in session_create_effect() 332 static int session_set_config(struct session_s *session, effect_config_t *config) in session_set_config() argument 336 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate || in session_set_config() 337 config->inputCfg.format != config->outputCfg.format || in session_set_config() [all …]
|
/hardware/ti/omap3/omx/core_plugin/omx_core_plugin/ |
D | Android.mk | 17 $(PV_TOP)/engines/player/config/android \ 20 $(PV_TOP)/nodes/pvdownloadmanagernode/config/opencore \ 22 $(PV_TOP)/fileformats/mp4/parser/config/opencore \ 23 $(PV_TOP)/oscl/oscl/config/android \ 24 $(PV_TOP)/oscl/oscl/config/shared \
|
/hardware/qcom/audio/visualizer/ |
D | offload_visualizer.c | 61 effect_config_t config; member 499 int set_config(effect_context_t *context, effect_config_t *config) in set_config() argument 501 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate) return -EINVAL; in set_config() 502 if (config->inputCfg.channels != config->outputCfg.channels) return -EINVAL; in set_config() 503 if (config->inputCfg.format != config->outputCfg.format) return -EINVAL; in set_config() 504 if (config->inputCfg.channels != AUDIO_CHANNEL_OUT_STEREO) return -EINVAL; in set_config() 505 if (config->outputCfg.accessMode != EFFECT_BUFFER_ACCESS_WRITE && in set_config() 506 config->outputCfg.accessMode != EFFECT_BUFFER_ACCESS_ACCUMULATE) return -EINVAL; in set_config() 507 if (config->inputCfg.format != AUDIO_FORMAT_PCM_16_BIT) return -EINVAL; in set_config() 509 context->config = *config; in set_config() [all …]
|
/hardware/qcom/audio/hal/ |
D | audio_hw.c | 630 __func__, SOUND_CARD, in->pcm_device_id, in->config.channels); in start_input_stream() 632 PCM_IN, &in->config); in start_input_stream() 931 check_and_set_hdmi_channels(adev, out->config.channels); in start_output_stream() 941 PCM_OUT | PCM_MONOTONIC, &out->config); in start_output_stream() 1155 return out->config.period_size * audio_stream_frame_size(stream); in out_get_buffer_size() 1378 return (out->config.period_count * out->config.period_size * 1000) / in out_get_latency() 1379 (out->config.rate); in out_get_latency() 1459 out->written += bytes / (out->config.channels * sizeof(short)); in out_write() 1535 size_t kernel_buffer_size = out->config.period_size * out->config.period_count; in out_get_presentation_position() 1636 return in->config.rate; in in_get_sample_rate() [all …]
|
/hardware/ti/omap3/omx/ti_omx_config_parser/ |
D | Android.mk | 21 $(PV_TOP)/engines/player/config/android \ 24 $(PV_TOP)/nodes/pvdownloadmanagernode/config/opencore \ 26 $(PV_TOP)/fileformats/mp4/parser/config/opencore \ 27 $(PV_TOP)/oscl/oscl/config/android \ 28 $(PV_TOP)/oscl/oscl/config/shared \
|
/hardware/ti/omap3/dspbridge/inc/ |
D | gt.h | 112 GT_config(struct GT_Config config) in GT_config() argument 248 #define GT_config( config ) argument 249 #define GT_configInit( config ) argument 261 #define GT_config( config ) (_GT_params = *(config)) argument 262 #define GT_configInit( config ) (*(config) = _GT_params) argument
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/reader/ |
D | perf_reader.c | 59 PERF_OBJHANDLE __PERF_common_Create(struct PERF_Config *config, 63 struct PERF_Config *config, 330 PERF_Config config; in main() local 343 PERF_Config_Init(&config); in main() 344 PERF_Config_Read(&config, "replay"); in main() 345 config.mask = 0xFFFFFFFF; in main() 348 PERF_Replay(log, &config); in main() 350 PERF_Config_Release(&config); in main()
|
/hardware/libhardware/tests/hwc/ |
D | util.c | 113 unsigned format, EGLConfig *config) { in select_config_for_window() argument 152 *config = cfg[i]; in select_config_for_window() 167 EGLConfig config = { 0 }; in egl_create() local 197 if ((res = select_config_for_window(display, config_attrs, format, &config))) in egl_create() 200 surface = eglCreateWindowSurface(display, config, window, NULL); in egl_create() 204 context = eglCreateContext(display, config, EGL_NO_CONTEXT, context_attrs); in egl_create()
|
/hardware/broadcom/wlan/bcmdhd/config/ |
D | config-bcm.mk | 19 …hardware/broadcom/wlan/bcmdhd/config/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_ov… 20 …hardware/broadcom/wlan/bcmdhd/config/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_ov…
|
/hardware/broadcom/wlan/bcmdhd/firmware/bcm4350/ |
D | device-bcm.mk | 18 -include hardware/broadcom/wlan/bcmdhd/config/config-bcm.mk
|
/hardware/broadcom/wlan/bcmdhd/firmware/bcm4339/ |
D | device-bcm.mk | 15 -include hardware/broadcom/wlan/bcmdhd/config/config-bcm.mk
|
/hardware/broadcom/wlan/bcmdhd/firmware/bcm4324/ |
D | device-bcm.mk | 18 -include hardware/broadcom/wlan/bcmdhd/config/config-bcm.mk
|
/hardware/broadcom/wlan/bcmdhd/firmware/bcm4335/ |
D | device-bcm.mk | 15 -include hardware/broadcom/wlan/bcmdhd/config/config-bcm.mk
|
/hardware/broadcom/wlan/bcmdhd/firmware/bcm4329/ |
D | device-bcm.mk | 18 -include hardware/broadcom/wlan/bcmdhd/config/config-bcm.mk
|
/hardware/libhardware_legacy/audio/ |
D | audio_hw_hal.cpp | 479 const struct audio_config *config) in adev_get_input_buffer_size() argument 482 return ladev->hwif->getInputBufferSize(config->sample_rate, (int) config->format, in adev_get_input_buffer_size() 483 popcount(config->channel_mask)); in adev_get_input_buffer_size() 490 struct audio_config *config, in adev_open_output_stream() argument 504 out->legacy_out = ladev->hwif->openOutputStream(devices, (int *) &config->format, in adev_open_output_stream() 505 &config->channel_mask, in adev_open_output_stream() 506 &config->sample_rate, &status); in adev_open_output_stream() 553 struct audio_config *config, in adev_open_input_stream() argument 567 in->legacy_in = ladev->hwif->openInputStream(devices, (int *) &config->format, in adev_open_input_stream() 568 &config->channel_mask, &config->sample_rate, in adev_open_input_stream()
|
/hardware/broadcom/wlan/bcmdhd/firmware/bcm4330/ |
D | device-bcm.mk | 18 -include hardware/broadcom/wlan/bcmdhd/config/config-bcm.mk
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | audio_hw_hal.cpp | 507 const struct audio_config *config) in adev_get_input_buffer_size() argument 510 uint8_t channelCount = popcount(config->channel_mask); in adev_get_input_buffer_size() 511 return qadev->hwif->getInputBufferSize(config->sample_rate, config->format, channelCount); in adev_get_input_buffer_size() 556 struct audio_config *config, in adev_open_output_stream() argument 572 (int *)&config->format, in adev_open_output_stream() 573 &config->channel_mask, in adev_open_output_stream() 574 &config->sample_rate, in adev_open_output_stream() 622 audio_config *config, in adev_open_input_stream() argument 636 in->qcom_in = qadev->hwif->openInputStream(devices, (int *)&config->format, in adev_open_input_stream() 637 &config->channel_mask, in adev_open_input_stream() [all …]
|