Home
last modified time | relevance | path

Searched refs:tempChannels (Results 1 - 3 of 3) sorted by relevance

/drivers/peripheral/audio/hal/hdi_passthrough/src/
H A Daudio_adapter_info_common.c364 uint64_t tempChannels = strtoul(value, &endptr, DECIMAL_SYSTEM); in TransferChannels() local
365 if ((errno == ERANGE && (tempChannels == ULONG_MAX)) || (errno != 0 && tempChannels == 0)) { in TransferChannels()
369 int32_t ret = CheckAttrChannel(tempChannels); in TransferChannels()
371 *channels = tempChannels; in TransferChannels()
/drivers/peripheral/audio/hdi_service/primary_impl/src/
H A Daudio_adapter_info_common.c359 unsigned long tempChannels = strtoul(value, &endptr, DECIMAL_SYSTEM); in TransferChannels() local
360 if ((errno == ERANGE && (tempChannels == ULONG_MAX)) || (errno != 0 && tempChannels == 0)) { in TransferChannels()
364 if (CheckAttrChannel((uint32_t)tempChannels) != HDF_SUCCESS) { in TransferChannels()
367 *channels = (uint32_t)tempChannels; in TransferChannels()
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
H A Daudio_adapter_info_common.cpp815 unsigned long tempChannels = strtoul(value, &endptr, DECIMAL_SYSTEM); in TransferChannels() local
816 if ((errno == ERANGE && (tempChannels == ULONG_MAX)) || (errno != 0 && tempChannels == 0)) { in TransferChannels()
819 int32_t ret = CheckAttrChannel(tempChannels); in TransferChannels()
821 *channels = tempChannels; in TransferChannels()

Completed in 4 milliseconds