Lines Matching refs:hw_device
45 struct audio_hw_device hw_device;
395 adev->hw_device.common.tag = HARDWARE_DEVICE_TAG;
396 adev->hw_device.common.version = AUDIO_DEVICE_API_VERSION_2_0;
397 adev->hw_device.common.module = (struct hw_module_t *) module;
398 adev->hw_device.common.close = adev_close;
400 adev->hw_device.init_check = adev_init_check;
401 adev->hw_device.set_voice_volume = adev_set_voice_volume;
402 adev->hw_device.set_master_volume = adev_set_master_volume;
403 adev->hw_device.set_mode = adev_set_mode;
404 adev->hw_device.set_mic_mute = adev_set_mic_mute;
405 adev->hw_device.get_mic_mute = adev_get_mic_mute;
406 adev->hw_device.set_parameters = adev_set_parameters;
407 adev->hw_device.get_parameters = adev_get_parameters;
408 adev->hw_device.get_input_buffer_size = adev_get_input_buffer_size;
409 adev->hw_device.open_output_stream = adev_open_output_stream;
410 adev->hw_device.close_output_stream = adev_close_output_stream;
411 adev->hw_device.open_input_stream = adev_open_input_stream;
412 adev->hw_device.close_input_stream = adev_close_input_stream;
413 adev->hw_device.dump = adev_dump;
415 *device = &adev->hw_device.common;