Lines Matching refs:card
189 return info.card; in first_valid_sound_card()
237 static bool parse_card_device_params(bool is_out_stream, int *card, int *device) in parse_card_device_params() argument
244 *card = out_stream_card_number; in parse_card_device_params()
250 *card = in_stream_card_number; in parse_card_device_params()
265 *card = -1; in parse_card_device_params()
276 *card = found_card; in parse_card_device_params()
284 if (profile->card < 0 || profile->device < 0) { in device_get_parameters()
420 int card = -1; in out_set_parameters() local
423 if (!parse_card_device_params(true, &card, &device)) { in out_set_parameters()
432 if (!profile_is_cached_for(out->profile, card, device)) { in out_set_parameters()
437 int saved_card = out->profile->card; in out_set_parameters()
439 out->profile->card = card; in out_set_parameters()
443 out->profile->card = saved_card; in out_set_parameters()
483 ALOGV("start_output_stream(card:%d device:%d)", out->profile->card, out->profile->device); in start_output_stream()
631 parse_card_device_params(true, &(out->profile->card), &(out->profile->device)); in adev_open_output_stream()
717 ALOGV("adev_close_output_stream(c:%d d:%d)", out->profile->card, out->profile->device); in adev_close_output_stream()
810 int card = -1; in in_set_parameters() local
813 if (!parse_card_device_params(false, &card, &device)) { in in_set_parameters()
821 if (card >= 0 && device >= 0 && !profile_is_cached_for(in->profile, card, device)) { in in_set_parameters()
826 int saved_card = in->profile->card; in in_set_parameters()
828 in->profile->card = card; in in_set_parameters()
832 in->profile->card = saved_card; in in_set_parameters()
877 ALOGV("ustart_input_stream(card:%d device:%d)", in->profile->card, in->profile->device); in start_input_stream()
1012 parse_card_device_params(false, &(in->profile->card), &(in->profile->device)); in adev_open_input_stream()