Home
last modified time | relevance | path

Searched refs:config (Results 1 – 25 of 46) sorted by relevance

12

/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/
Dperf.c28 __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 …]
Dperf_custom.c352 __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()
Dperf_log.c99 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()
Dperf_print.c201 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()
Dperf_rt.c48 PERF_RT_create(PERF_Private *perf, PERF_Config *config, in PERF_RT_create() argument
132 me->summary = config->rt_summary != 0; in PERF_RT_create()
133 me->debug = config->rt_debug & 0x1FF; in PERF_RT_create()
134 me->detailed = (config->rt_detailed > 2) ? 2 : (int) config->rt_detailed; in PERF_RT_create()
136 me->granularity = (config->rt_granularity < 1) ? 1 : in PERF_RT_create()
137 (config->rt_granularity > MAX_GRANULARITY) ? in PERF_RT_create()
138 MAX_GRANULARITY : (long) config->rt_granularity; in PERF_RT_create()
176 if (config->rt_file && succeed) in PERF_RT_create()
179 if (!strcasecmp(config->rt_file, "STDOUT")) fOut = stdout; in PERF_RT_create()
180 else if (!strcasecmp(config->rt_file, "STDERR")) fOut = stderr; in PERF_RT_create()
[all …]
/hardware/invensense/mlsdk/mllite/
Dcompass.c419 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 …]
DdmpDefault.c361 struct ext_slave_config config; in inv_setup_dmp() local
363 config.key = MPU_SLAVE_CONFIG_ODR_SUSPEND; in inv_setup_dmp()
364 config.len = sizeof(long); in inv_setup_dmp()
365 config.apply = FALSE; in inv_setup_dmp()
366 config.data = &odr; in inv_setup_dmp()
372 &config); in inv_setup_dmp()
377 config.key = MPU_SLAVE_CONFIG_ODR_RESUME; in inv_setup_dmp()
382 &config); in inv_setup_dmp()
387 config.key = MPU_SLAVE_CONFIG_IRQ_SUSPEND; in inv_setup_dmp()
392 &config); in inv_setup_dmp()
[all …]
Dml.c1719 struct ext_slave_config config; in inv_set_mpu_sensors() local
1721 config.key = MPU_SLAVE_CONFIG_ODR_RESUME; in inv_set_mpu_sensors()
1722 config.len = sizeof(long); in inv_set_mpu_sensors()
1723 config.apply = (state == INV_STATE_DMP_STARTED); in inv_set_mpu_sensors()
1724 config.data = &odr; in inv_set_mpu_sensors()
1729 inv_get_serial_handle(), &config); in inv_set_mpu_sensors()
1735 config.key = MPU_SLAVE_CONFIG_IRQ_RESUME; in inv_set_mpu_sensors()
1739 inv_get_serial_handle(), &config); in inv_set_mpu_sensors()
1781 struct ext_slave_config config; in inv_set_mpu_sensors() local
1784 config.len = sizeof(long); in inv_set_mpu_sensors()
[all …]
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/
Dperf_unittest.c331 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/msm7k/libaudio-qdsp5v2/
DAudioHardware.cpp233 struct msm_audio_config config; in write() local
234 status = ioctl(mFd, AUDIO_GET_CONFIG, &config); in write()
241 config.channel_count = AudioSystem::popCount(channels()); in write()
242 config.sample_rate = mSampleRate; in write()
243 config.buffer_size = mBufferSize; in write()
244 config.buffer_count = AUDIO_HW_NUM_OUT_BUF; in write()
246 status = ioctl(mFd, AUDIO_SET_CONFIG, &config); in write()
252 ALOGV("buffer_size: %u", config.buffer_size); in write()
253 ALOGV("buffer_count: %u", config.buffer_count); in write()
254 ALOGV("channel_count: %u", config.channel_count); in write()
[all …]
/hardware/ti/omap3/omx/core_plugin/omx_core_plugin/
DAndroid.mk17 $(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/msm7k/libaudio/
DAudioHardware.cpp723 struct msm_audio_config config; in write() local
724 status = ioctl(mFd, AUDIO_GET_CONFIG, &config); in write()
731 config.channel_count = AudioSystem::popCount(channels()); in write()
732 config.sample_rate = sampleRate(); in write()
733 config.buffer_size = bufferSize(); in write()
734 config.buffer_count = AUDIO_HW_NUM_OUT_BUF; in write()
735 config.codec_type = CODEC_TYPE_PCM; in write()
736 status = ioctl(mFd, AUDIO_SET_CONFIG, &config); in write()
742 ALOGV("buffer_size: %u", config.buffer_size); in write()
743 ALOGV("buffer_count: %u", config.buffer_count); in write()
[all …]
/hardware/ti/omap3/omx/ti_omx_config_parser/
DAndroid.mk21 $(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/
Dgt.h112 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/
Dperf_reader.c59 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_legacy/audio/
Daudio_hw_hal.cpp401 const struct audio_config *config) in adev_get_input_buffer_size() argument
404 return ladev->hwif->getInputBufferSize(config->sample_rate, (int) config->format, in adev_get_input_buffer_size()
405 popcount(config->channel_mask)); in adev_get_input_buffer_size()
412 struct audio_config *config, in adev_open_output_stream() argument
424 out->legacy_out = ladev->hwif->openOutputStream(devices, (int *) &config->format, in adev_open_output_stream()
425 &config->channel_mask, in adev_open_output_stream()
426 &config->sample_rate, &status); in adev_open_output_stream()
473 struct audio_config *config, in adev_open_input_stream() argument
485 in->legacy_in = ladev->hwif->openInputStream(devices, (int *) &config->format, in adev_open_input_stream()
486 &config->channel_mask, &config->sample_rate, in adev_open_input_stream()
DAudioPolicyManagerBase.cpp349 …udioPolicyManagerBase::setForceUse(AudioSystem::force_use usage, AudioSystem::forced_config config) in setForceUse() argument
351 ALOGV("setForceUse() usage %d, config %d, mPhoneState %d", usage, config, mPhoneState); in setForceUse()
356 if (config != AudioSystem::FORCE_SPEAKER && config != AudioSystem::FORCE_BT_SCO && in setForceUse()
357 config != AudioSystem::FORCE_NONE) { in setForceUse()
358 ALOGW("setForceUse() invalid config %d for FOR_COMMUNICATION", config); in setForceUse()
362 mForceUse[usage] = config; in setForceUse()
365 if (config != AudioSystem::FORCE_HEADPHONES && config != AudioSystem::FORCE_BT_A2DP && in setForceUse()
366 config != AudioSystem::FORCE_WIRED_ACCESSORY && in setForceUse()
367 config != AudioSystem::FORCE_ANALOG_DOCK && in setForceUse()
368 config != AudioSystem::FORCE_DIGITAL_DOCK && config != AudioSystem::FORCE_NONE && in setForceUse()
[all …]
/hardware/msm7k/libaudio-qsd8k/
DAudioHardware.cpp1610 struct msm_audio_config config; in write() local
1611 status = ioctl(mFd, AUDIO_GET_CONFIG, &config); in write()
1618 config.channel_count = AudioSystem::popCount(channels()); in write()
1619 config.sample_rate = mSampleRate; in write()
1620 config.buffer_size = mBufferSize; in write()
1621 config.buffer_count = AUDIO_HW_NUM_OUT_BUF; in write()
1622 config.codec_type = CODEC_TYPE_PCM; in write()
1623 status = ioctl(mFd, AUDIO_SET_CONFIG, &config); in write()
1629 ALOGV("buffer_size: %u", config.buffer_size); in write()
1630 ALOGV("buffer_count: %u", config.buffer_count); in write()
[all …]
/hardware/libhardware/modules/usbaudio/
Daudio_hw.c250 struct audio_config *config, in adev_open_output_stream() argument
281 config->format = out_get_format(&out->stream.common); in adev_open_output_stream()
282 config->channel_mask = out_get_channels(&out->stream.common); in adev_open_output_stream()
283 config->sample_rate = out_get_sample_rate(&out->stream.common); in adev_open_output_stream()
350 const struct audio_config *config) in adev_get_input_buffer_size() argument
358 struct audio_config *config, in adev_open_input_stream() argument
/hardware/invensense/mlsdk/platform/include/linux/
Dmpu.h258 int (*config) (void *mlsl_handle, member
261 struct ext_slave_config *config);
265 struct ext_slave_config *config);
/hardware/libhardware/include/hardware/
Daudio.h385 const struct audio_config *config);
392 struct audio_config *config,
402 struct audio_config *config,
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_script.cpp1049 char *load_script(char *config) { in load_script() argument
1060 infile = fopen(config, "r"); in load_script()
1062 strcpy(script_name,config); in load_script()
1065 while((config[count] != '.') && (count < sizeof(dir_name)/sizeof(dir_name[0]))) in load_script()
1069 if(strncpy(dir_name,config,count) == NULL) in load_script()
1093 printf("Error while opening script file %s!\n", config); in load_script()
1122 int start_logging(char *config, int &pid) { in start_logging() argument
1128 while((config[count] != '.') && (count < sizeof(dir_name)/sizeof(dir_name[0]))) in start_logging()
1131 if(strncpy(dir_name,config,count) == NULL) in start_logging()
Dcamera_test.h95 char *load_script(char *config);
96 int start_logging(char *config, int &pid);
/hardware/ti/wpan/tools/kfmapp/
Dkfmapp.c847 struct pcm_config config; in fmapp_start_audio() local
855 config.channels = 2; in fmapp_start_audio()
856 config.rate = 48000; in fmapp_start_audio()
857 config.period_size = 1024; in fmapp_start_audio()
858 config.period_count = 4; in fmapp_start_audio()
859 config.format = PCM_FORMAT_S16_LE; in fmapp_start_audio()
860 config.silence_threshold = 0; in fmapp_start_audio()
861 config.stop_threshold = -1; in fmapp_start_audio()
878 pcm_p = pcm_open(0, pdevice, PCM_OUT, &config); in fmapp_start_audio()
885 pcm_c = pcm_open(0, cdevice, PCM_IN, &config); in fmapp_start_audio()
/hardware/broadcom/wlan/bcm4329/wpa_supplicant_8_lib/
DAndroid.mk26 include $(WPA_SUPPL_DIR)/wpa_supplicant/android.config

12