Lines Matching refs:card

354 static bool parse_card_device_params(const char *kvpairs, int *card, int *device)  in parse_card_device_params()  argument
361 *card = -1; in parse_card_device_params()
366 *card = atoi(value); in parse_card_device_params()
376 return *card >= 0 && *device >= 0; in parse_card_device_params()
381 if (profile->card < 0 || profile->device < 0) { in device_get_parameters()
516 static void out_stream_find_mixer_volume_control(struct stream_out* out, int card) { in out_stream_find_mixer_volume_control() argument
517 out->mixer = mixer_open(card); in out_stream_find_mixer_volume_control()
519 ALOGI("%s, no mixer found for card=%d", __func__, card); in out_stream_find_mixer_volume_control()
614 device_info->profile.card = cards[i]; in stream_set_new_devices()
806 device_info->profile.card, device_info->profile.device); in start_output_stream()
810 __func__, device_info->profile.card, device_info->profile.device); in start_output_stream()
985 parse_card_device_params(address, &device_info->profile.card, &device_info->profile.device); in adev_open_output_stream()
1082 out_stream_find_mixer_volume_control(out, device_info->profile.card); in adev_open_output_stream()
1276 device_info->profile.card, device_info->profile.device); in start_input_stream()
1418 int32_t card, device; in adev_open_input_stream() local
1419 if (!parse_card_device_params(address, &card, &device)) { in adev_open_input_stream()
1474 if (!profile_is_cached_for(&device_info->profile, card, device)) { in adev_open_input_stream()
1476 __func__, card, device); in adev_open_input_stream()
1481 device_info->profile.card = card; in adev_open_input_stream()
1637 device_info->profile.card, device_info->profile.device); in adev_close_input_stream()
1819 saved_cards[num_saved_devices] = device_info->profile.card; in adev_create_audio_patch()
1919 if (!parse_card_device_params(port->ext.device.address, &profile.card, &profile.device)) { in adev_get_audio_port()
1952 if (!parse_card_device_params(port->ext.device.address, &profile.card, &profile.device)) { in adev_get_audio_port_v7()