Lines Matching refs:attr
129 int attr; in can_be_headset_mic() local
138 attr = snd_hda_get_input_pin_attr(def_conf); in can_be_headset_mic()
139 if (attr <= INPUT_PIN_ATTR_DOCK) in can_be_headset_mic()
488 int attr; in hda_get_input_pin_label() local
500 attr = snd_hda_get_input_pin_attr(def_conf); in hda_get_input_pin_label()
501 if (!attr) in hda_get_input_pin_label()
503 return mic_names[attr - 1]; in hda_get_input_pin_label()
507 attr = snd_hda_get_input_pin_attr(def_conf); in hda_get_input_pin_label()
508 if (!attr) in hda_get_input_pin_label()
510 if (attr == INPUT_PIN_ATTR_DOCK) in hda_get_input_pin_label()
537 int i, attr, attr2; in check_mic_location_need() local
540 attr = snd_hda_get_input_pin_attr(defc); in check_mic_location_need()
542 if (attr <= INPUT_PIN_ATTR_NORMAL) in check_mic_location_need()
545 attr = 0; in check_mic_location_need()
550 if (attr && attr != attr2) in check_mic_location_need()
552 attr = attr2; in check_mic_location_need()
623 int attr = snd_hda_get_input_pin_attr(def_conf); in check_output_pfx() local
626 switch (attr) { in check_output_pfx()
658 int attr = snd_hda_get_input_pin_attr(def_conf); in fill_audio_out_name() local
662 if (!strcmp(name, "Line Out") && attr == INPUT_PIN_ATTR_INT) in fill_audio_out_name()