Home
last modified time | relevance | path

Searched refs:num_channels (Results 1 – 25 of 42) sorted by relevance

12

/hardware/synaptics/wlan/synadhd/wifi_hal/
Dlink_layer_stats.cpp65 uint32_t num_channels; member
83 u32 num_channels; // number of channels member
221 + radio_stat_ptr->num_channels * sizeof(wifi_channel_stat)); in handleResponse()
244 uint32_t channel_size = internal_stat_ptr->num_channels * sizeof(wifi_channel_stat); in convertToExternalRadioStatStructure()
260 external_stat_ptr->num_channels = internal_stat_ptr->num_channels; in convertToExternalRadioStatStructure()
261 if (internal_stat_ptr->num_channels) { in convertToExternalRadioStatStructure()
275 uint32_t channel_size = internal_stat_ptr->num_channels * sizeof(wifi_channel_stat); in convertToExternalRadioStatStructureLegacy()
291 external_stat_ptr->num_channels = internal_stat_ptr->num_channels; in convertToExternalRadioStatStructureLegacy()
292 if (internal_stat_ptr->num_channels) { in convertToExternalRadioStatStructureLegacy()
Dgscan.cpp268 int *num_channels; member in GetChannelListCommand
274 max_channels(num_max_ch), num_channels(ch_num), band(band) in GetChannelListCommand()
326 *num_channels = num_channels_to_copy; in handleResponse()
340 int band, int max_channels, wifi_channel *channels, int *num_channels) in wifi_get_valid_channels() argument
342 GetChannelListCommand command(handle, channels, num_channels, in wifi_get_valid_channels()
506 mParams->buckets[i].num_channels); in createSetupRequest()
511 if (mParams->buckets[i].num_channels) { in createSetupRequest()
514 for (int j = 0; j < mParams->buckets[i].num_channels; j++) { in createSetupRequest()
Dcommon.h465 wifi_error wifi_set_coex_unsafe_channels(wifi_handle handle, u32 num_channels,
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c96 int size_from_channelarray(struct iio_channel_info *channels, int num_channels) in size_from_channelarray() argument
100 while (i < num_channels) { in size_from_channelarray()
142 int num_channels) in process_scan() argument
146 for (k = 0; k < num_channels; k++) { in process_scan()
570 int num_channels; in main() local
810 ret = enable_anglvel_se(dev_dir_name, &infoarray, &num_channels, 0); in main()
817 ret = enable_anglvel_se(dev_dir_name, &infoarray, &num_channels, 1); in main()
826 ret = enable_accel_se(dev_dir_name, &infoarray, &num_channels, 1); in main()
835 ret = enable_quaternion_se(dev_dir_name, &infoarray, &num_channels, 1); in main()
842 ret = enable_quaternion_se(dev_dir_name, &infoarray, &num_channels, 0); in main()
[all …]
/hardware/qcom/audio/hal/audio_extn/
Da2dp.c399 uint16_t num_channels; member
1097 aptx_dsp_cfg.custom_cfg.num_channels = aptx_bt_cfg->default_cfg->channels; in configure_aptx_enc_format()
1100 aptx_dsp_cfg.custom_cfg.num_channels = aptx_bt_cfg->dual_mono_cfg->channels; in configure_aptx_enc_format()
1104 switch (aptx_dsp_cfg.custom_cfg.num_channels) { in configure_aptx_enc_format()
1128 a2dp.enc_channels = aptx_dsp_cfg.custom_cfg.num_channels; in configure_aptx_enc_format()
1133 aptx_dsp_cfg.custom_cfg.num_channels); in configure_aptx_enc_format()
1139 aptx_dsp_cfg.custom_cfg.num_channels, in configure_aptx_enc_format()
1171 aptx_dsp_cfg.num_channels = aptx_bt_cfg->channels; in configure_aptx_hd_enc_format()
1172 switch (aptx_dsp_cfg.num_channels) { in configure_aptx_hd_enc_format()
1199 __func__, aptx_dsp_cfg.sample_rate, aptx_dsp_cfg.num_channels); in configure_aptx_hd_enc_format()
[all …]
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dgscancommand.h38 u32 num_channels; member
122 virtual void setNumChannelsPtr(int *num_channels);
Dnan_ind.cpp1088 u32 num_channels = 0, num_ndp_ids = 0; in handleNdpIndication() local
1097 num_channels = nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_NUM_CHANNELS]); in handleNdpIndication()
1098 ALOGD("%s: num_channels = %d", __FUNCTION__, num_channels); in handleNdpIndication()
1099 if ((num_channels > NAN_MAX_CHANNEL_INFO_SUPPORTED) && in handleNdpIndication()
1115 pNdpScheduleUpdateInd->num_channels = num_channels; in handleNdpIndication()
1240 event->num_channels = in getNdpConfirm()
1242 ALOGD("%s: num_channels = %d", __FUNCTION__, event->num_channels); in getNdpConfirm()
1243 if ((event->num_channels > NAN_MAX_CHANNEL_INFO_SUPPORTED) && in getNdpConfirm()
1250 if (event->num_channels != 0) { in getNdpConfirm()
1304 if (event->num_channels != 0) { in getNdpScheduleUpdate()
Dwifihal_internal.h99 int *num_channels);
Dllstats.cpp795 …stats->num_channels = nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STAT… in get_wifi_radio_stats()
797 if (stats->num_channels == 0) { in get_wifi_radio_stats()
918 radioStat->num_channels)); in clearStats()
1037 radioStatsBuf->num_channels, in handleResponse()
1049 for ( i=0; i < radioStatsBuf->num_channels; i++) in handleResponse()
Dgscan.cpp103 int band, int max_channels, wifi_channel *channels, int *num_channels) in wifi_get_valid_channels() argument
165 gScanCommand->setNumChannelsPtr(num_channels); in wifi_get_valid_channels()
295 numChannelSpecs = (unsigned int)bucketSpec.num_channels > MAX_CHANNELS ? in wifi_start_gscan()
296 MAX_CHANNELS : bucketSpec.num_channels; in wifi_start_gscan()
2342 void GScanCommand::setNumChannelsPtr(int *num_channels) { in setNumChannelsPtr() argument
2343 mNumChannelsPtr = num_channels; in setNumChannelsPtr()
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dgscancommand.h38 u32 num_channels; member
122 virtual void setNumChannelsPtr(int *num_channels);
Dnan_ind.cpp1031 u32 num_channels = 0, num_ndp_ids = 0; in handleNdpIndication() local
1040 num_channels = nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_NUM_CHANNELS]); in handleNdpIndication()
1041 ALOGD("%s: num_channels = %d", __FUNCTION__, num_channels); in handleNdpIndication()
1042 if ((num_channels > NAN_MAX_CHANNEL_INFO_SUPPORTED) && in handleNdpIndication()
1058 pNdpScheduleUpdateInd->num_channels = num_channels; in handleNdpIndication()
1169 event->num_channels = in getNdpConfirm()
1171 ALOGD("%s: num_channels = %d", __FUNCTION__, event->num_channels); in getNdpConfirm()
1172 if ((event->num_channels > NAN_MAX_CHANNEL_INFO_SUPPORTED) && in getNdpConfirm()
1179 if (event->num_channels != 0) { in getNdpConfirm()
1233 if (event->num_channels != 0) { in getNdpScheduleUpdate()
Dwifihal_internal.h99 int *num_channels);
Dllstats.cpp781 …stats->num_channels = nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STAT… in get_wifi_radio_stats()
783 if (stats->num_channels == 0) { in get_wifi_radio_stats()
902 radioStat->num_channels)); in clearStats()
1021 radioStatsBuf->num_channels, in handleResponse()
1033 for ( i=0; i < radioStatsBuf->num_channels; i++) in handleResponse()
Dgscan.cpp98 int band, int max_channels, wifi_channel *channels, int *num_channels) in wifi_get_valid_channels() argument
160 gScanCommand->setNumChannelsPtr(num_channels); in wifi_get_valid_channels()
287 numChannelSpecs = (unsigned int)bucketSpec.num_channels > MAX_CHANNELS ? in wifi_start_gscan()
288 MAX_CHANNELS : bucketSpec.num_channels; in wifi_start_gscan()
2290 void GScanCommand::setNumChannelsPtr(int *num_channels) { in setNumChannelsPtr() argument
2291 mNumChannelsPtr = num_channels; in setNumChannelsPtr()
Dwifilogger_event_defs.h195 u8 num_channels; member
/hardware/qcom/audio/legacy/libalsa-intf/
Darec.c78 uint16_t num_channels; member
448 hdr.num_channels = ch; in rec_wav()
470 hdr.num_channels, hdr.sample_rate, hdr.bits_per_sample, in rec_wav()
474 hdr.num_channels = ch; in rec_wav()
482 return record_file(hdr.sample_rate, hdr.num_channels, fd, count, flag, device); in rec_wav()
Daplay.c74 uint16_t num_channels; member
517 hdr.num_channels = ch; in play_wav()
545 hdr.num_channels = ch; in play_wav()
556 return play_file(hdr.sample_rate, hdr.num_channels, fd, flag, device, hdr.data_sz); in play_wav()
/hardware/interfaces/wifi/legacy_headers/include/hardware_legacy/
Dgscan.h37 int band, int max_channels, wifi_channel *channels, int *num_channels);
162 int num_channels; member
Dlink_layer_stats.h106 u32 num_channels; // number of channels member
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dtinyexr.h234 int num_channels; member
257 int num_channels; member
274 int num_channels; member
9371 size_t tmpBufSize, size_t inLen, int num_channels, in DecompressPiz() argument
9434 std::vector<PIZChannelData> channelData(static_cast<size_t>(num_channels)); in DecompressPiz()
9438 for (size_t i = 0; i < static_cast<size_t>(num_channels); ++i) { in DecompressPiz()
9555 int num_channels, const unsigned char *src, in DecompressZfp() argument
9558 size_t uncompressed_size = dst_width * dst_num_lines * num_channels; in DecompressZfp()
9577 zfp_type_float, dst_width, dst_num_lines * num_channels); in DecompressZfp()
9601 for (int c = 0; c < num_channels; c++) { in DecompressZfp()
[all …]
/hardware/broadcom/wlan/bcmdhd/halutil/
Dhalutil.cpp626 int num_channels = 0; variable
985 if(num_channels > 0){ in startScan()
995 params.buckets[0].num_channels = num_channels; in startScan()
997 for(int i = 0; i < num_channels; i++){ in startScan()
1015 params.buckets[0].num_channels = 3; // driver should ignore list since band is specified in startScan()
1025 params.buckets[1].num_channels = 6; in startScan()
1039 params.buckets[2].num_channels = 3; in startScan()
1049 params.buckets[3].num_channels = 3; // driver should ignore list since band is specified in startScan()
1125 params.buckets[0].num_channels = 0; in scanOnce()
3737 for (num_channels = 0; j < argc && isxdigit(argv[j][0]); j++, num_channels++) { in readTestOptions()
[all …]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dgscan.cpp268 int *num_channels; member in GetChannelListCommand
274 max_channels(num_max_ch), num_channels(ch_num), band(band) in GetChannelListCommand()
327 *num_channels = num_channels_to_copy; in handleResponse()
344 int band, int max_channels, wifi_channel *channels, int *num_channels) in wifi_get_valid_channels() argument
346 GetChannelListCommand command(handle, channels, num_channels, in wifi_get_valid_channels()
511 mParams->buckets[i].num_channels); in createSetupRequest()
516 if (mParams->buckets[i].num_channels) { in createSetupRequest()
519 for (int j = 0; j < mParams->buckets[i].num_channels; j++) { in createSetupRequest()
Dlink_layer_stats.cpp66 uint32_t num_channels; member
308 uint32_t channel_size = internal_stat_ptr->num_channels * sizeof(wifi_channel_stat); in convertToExternalRadioStatStructure()
/hardware/interfaces/wifi/aidl/default/
Dwifi_legacy_hal.cpp928 if (l_radio_stats_ptr->num_channels > 0) { in getLinkLayerStats()
932 l_radio_stats_ptr->channels + l_radio_stats_ptr->num_channels); in getLinkLayerStats()
938 l_radio_stats_ptr->num_channels)); in getLinkLayerStats()
984 if (l_radio_stats_ptr->num_channels > 0) { in getLinkLayerStats()
988 l_radio_stats_ptr->channels + l_radio_stats_ptr->num_channels); in getLinkLayerStats()
994 l_radio_stats_ptr->num_channels)); in getLinkLayerStats()

12