Lines Matching refs:haptic_pcm
2584 if (adev->haptic_pcm != NULL) { in start_output_stream()
2585 pcm_close(adev->haptic_pcm); in start_output_stream()
2586 adev->haptic_pcm = NULL; in start_output_stream()
2588 adev->haptic_pcm = pcm_open_prepare_helper(adev->snd_card, in start_output_stream()
2627 if (adev->haptic_pcm) { in start_output_stream()
2628 pcm_close(adev->haptic_pcm); in start_output_stream()
2629 adev->haptic_pcm = NULL; in start_output_stream()
2806 if (adev->haptic_pcm) { in out_standby_l()
2807 pcm_close(adev->haptic_pcm); in out_standby_l()
2808 adev->haptic_pcm = NULL; in out_standby_l()
3636 if (adev->haptic_pcm) in out_write()
3637 ret = pcm_write(adev->haptic_pcm, in out_write()