Lines Matching refs:hw_module
123 AudioHwDevice* hwDevice = findAudioHwDeviceByModule(port->ext.device.hw_module); in getAudioPort()
125 ALOGW("%s cannot find hw module %d", __func__, port->ext.device.hw_module); in getAudioPort()
175 oldPatch.sources[0].ext.device.hw_module != in createAudioPatch()
176 patch->sources[0].ext.device.hw_module)) { in createAudioPatch()
177 hwModule = oldPatch.sources[0].ext.device.hw_module; in createAudioPatch()
181 oldPatch.sinks[0].ext.device.hw_module != in createAudioPatch()
182 patch->sinks[0].ext.device.hw_module))) { in createAudioPatch()
188 hwModule = oldPatch.sinks[0].ext.device.hw_module; in createAudioPatch()
205 audio_module_handle_t srcModule = patch->sources[0].ext.device.hw_module; in createAudioPatch()
215 patch->sinks[i].ext.device.hw_module != srcModule)) && in createAudioPatch()
236 ((patch->sinks[0].ext.device.hw_module != srcModule) || in createAudioPatch()
242 (patch->num_sinks != 0 && patch->sinks[0].ext.device.hw_module != in createAudioPatch()
243 patch->sources[1].ext.mix.hw_module)) { in createAudioPatch()
277 patch->sinks[0].ext.device.hw_module, in createAudioPatch()
376 audio_module_handle_t srcModule = patch->sources[0].ext.mix.hw_module; in createAudioPatch()
393 if (patch->sinks[i].ext.device.hw_module != srcModule) { in createAudioPatch()
723 sp<DeviceHalInterface> hwDevice = findHwDeviceByModule(src.ext.device.hw_module); in releaseAudioPatch()
725 ALOGW("%s() bad src hw module %d", __func__, src.ext.device.hw_module); in releaseAudioPatch()
752 if (findHwDeviceByModule(src.ext.mix.hw_module) == 0) { in releaseAudioPatch()
753 ALOGW("%s() bad src hw module %d", __func__, src.ext.mix.hw_module); in releaseAudioPatch()