Lines Matching refs:card

70     .card = SOUND_CARD,
89 .card = SOUND_CARD,
107 .card = SOUND_CARD,
125 .card = SOUND_CARD,
143 .card = SOUND_CARD,
163 .card = SOUND_CARD,
181 .card = SOUND_CARD,
305 static struct mixer_card *adev_get_mixer_for_card(struct audio_device *adev, int card) in adev_get_mixer_for_card() argument
312 if (mixer_card->card == card) in adev_get_mixer_for_card()
318 static struct mixer_card *uc_get_mixer_for_card(struct audio_usecase *usecase, int card) in uc_get_mixer_for_card() argument
325 if (mixer_card->card == card) in uc_get_mixer_for_card()
348 int card; in mixer_init() local
359 card = pcm_devices[i]->card; in mixer_init()
360 if (adev_get_mixer_for_card(adev, card) == NULL) { in mixer_init()
363 mixer = mixer_open(card); in mixer_init()
367 __func__, card); in mixer_init()
374 sprintf(mixer_path, "/system/etc/mixer_paths_%d.xml", card); in mixer_init()
375 audio_route = audio_route_init(card, mixer_path); in mixer_init()
378 __func__, card); in mixer_init()
382 mixer_card->card = card; in mixer_init()
1211 …ref_device->pcm = pcm_open(ref_device->pcm_profile->card, ref_device->pcm_profile->id, PCM_IN | PC… in get_hw_echo_reference()
1977 pcm_device->pcm_profile->card)->uc_list_node[uc_info->id]); in start_input_stream()
2044 period_size %d", __func__, pcm_device->pcm_profile->card, pcm_device->pcm_profile->id, in start_input_stream()
2064 pcm_device->pcm = pcm_open(pcm_device->pcm_profile->card, pcm_device->pcm_profile->id, in start_input_stream()
2285 mixer_card = uc_get_mixer_for_card(usecase, pcm_profile->card); in uc_select_pcm_devices()
2287 mixer_card = adev_get_mixer_for_card(out->dev, pcm_profile->card); in uc_select_pcm_devices()
2334 __func__, pcm_device->pcm_profile->card, pcm_device->pcm_profile->id); in out_open_pcm_devices()
2336 pcm_device->pcm = pcm_open(pcm_device->pcm_profile->card, pcm_device->pcm_profile->id, in out_open_pcm_devices()
2352 pcm_device->pcm_profile->card, pcm_device->pcm_profile->id, in out_open_pcm_devices()
3156 pcm_device->pcm = pcm_open(pcm_device->pcm_profile->card, in out_write()
3189 pcm_device->pcm = pcm_open(pcm_device->pcm_profile->card, in out_write()
4455 pcm = pcm_open(profile->card, profile->id, in dummybuf_thread()
4458 ALOGE("pcm_open: card=%d, id=%d is not ready", profile->card, profile->id); in dummybuf_thread()
4462 ALOGV("pcm_open: card=%d, id=%d", profile->card, profile->id); in dummybuf_thread()
4465 mixer = mixer_open(profile->card); in dummybuf_thread()
4507 pcm = pcm_open(profile->card, profile->id, in dummybuf_thread()
4510 ALOGE("pcm_open: card=%d, id=%d is not ready", profile->card, profile->id); in dummybuf_thread()
4514 ALOGV("pcm_open: card=%d, id=%d", profile->card, profile->id); in dummybuf_thread()