Home
last modified time | relevance | path

Searched refs:from_device (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware_legacy/audio/
Daudio_hw_hal.cpp93 static uint32_t convert_audio_device(uint32_t from_device, int from_rev, int to_rev) in convert_audio_device() argument
100 in_bit = from_device & AUDIO_DEVICE_BIT_IN; in convert_audio_device()
101 from_device &= ~AUDIO_DEVICE_BIT_IN; in convert_audio_device()
104 while (from_device) { in convert_audio_device()
105 uint32_t i = 31 - __builtin_clz(from_device); in convert_audio_device()
114 from_device &= ~cur_device; in convert_audio_device()
/hardware/qcom/audio/legacy/alsa_sound/
Daudio_hw_hal.cpp115 static uint32_t convert_audio_device(uint32_t from_device, int from_rev, int to_rev) in convert_audio_device() argument
122 in_bit = from_device & AUDIO_DEVICE_BIT_IN; in convert_audio_device()
123 from_device &= ~AUDIO_DEVICE_BIT_IN; in convert_audio_device()
126 while (from_device) { in convert_audio_device()
127 uint32_t i = 31 - __builtin_clz(from_device); in convert_audio_device()
136 from_device &= ~cur_device; in convert_audio_device()