Home
last modified time | relevance | path

Searched refs:present (Results 1 – 10 of 10) sorted by relevance

/sound/core/oss/
Dmixer_oss.c493 unsigned int present; member
598 if (slot->present & SNDRV_MIXER_OSS_PRESENT_PVOLUME) { in snd_mixer_oss_get_volume1()
600 } else if (slot->present & SNDRV_MIXER_OSS_PRESENT_GVOLUME) { in snd_mixer_oss_get_volume1()
602 } else if (slot->present & SNDRV_MIXER_OSS_PRESENT_GLOBAL) { in snd_mixer_oss_get_volume1()
605 if (slot->present & SNDRV_MIXER_OSS_PRESENT_PSWITCH) { in snd_mixer_oss_get_volume1()
607 } else if (slot->present & SNDRV_MIXER_OSS_PRESENT_GSWITCH) { in snd_mixer_oss_get_volume1()
609 } else if (slot->present & SNDRV_MIXER_OSS_PRESENT_PROUTE) { in snd_mixer_oss_get_volume1()
611 } else if (slot->present & SNDRV_MIXER_OSS_PRESENT_GROUTE) { in snd_mixer_oss_get_volume1()
708 if (slot->present & SNDRV_MIXER_OSS_PRESENT_PVOLUME) { in snd_mixer_oss_put_volume1()
710 if (slot->present & SNDRV_MIXER_OSS_PRESENT_CVOLUME) in snd_mixer_oss_put_volume1()
[all …]
/sound/pci/hda/
Dpatch_conexant.c729 unsigned int present; in cxt5045_hp_automic() local
731 present = snd_hda_jack_detect(codec, 0x12); in cxt5045_hp_automic()
732 if (present) in cxt5045_hp_automic()
1229 unsigned int present; in cxt5047_hp_automic() local
1231 present = snd_hda_jack_detect(codec, 0x15); in cxt5047_hp_automic()
1232 if (present) in cxt5047_hp_automic()
1599 unsigned int present; in cxt5051_portb_automic() local
1603 present = snd_hda_jack_detect(codec, 0x17); in cxt5051_portb_automic()
1606 present ? 0x01 : 0x00); in cxt5051_portb_automic()
1613 unsigned int present; in cxt5051_portc_automic() local
[all …]
Dpatch_via.c301 unsigned present = 0; in set_pin_power_state() local
305 present = snd_hda_jack_detect(codec, nid); in set_pin_power_state()
307 || ((no_presence || present) in set_pin_power_state()
1258 unsigned int mono_out, present; in set_widgets_power_state_vt1716S() local
1312 present = snd_hda_jack_detect(codec, 0x1c); in set_widgets_power_state_vt1716S()
1314 if (present) in set_widgets_power_state_vt1716S()
1317 present = snd_hda_jack_detect(codec, 0x1d); in set_widgets_power_state_vt1716S()
1318 if (!spec->gen.indep_hp_enabled && present) in set_widgets_power_state_vt1716S()
1401 unsigned int present; in set_widgets_power_state_vt2002P() local
1455 present = snd_hda_jack_detect(codec, 0x25); in set_widgets_power_state_vt2002P()
[all …]
Dpatch_analog.c863 unsigned int present; in ad1986a_automic() local
864 present = snd_hda_jack_detect(codec, 0x1f); in ad1986a_automic()
867 present ? 0 : 2); in ad1986a_automic()
1919 unsigned int present; in ad1981_hp_automute() local
1921 present = snd_hda_jack_detect(codec, 0x06); in ad1981_hp_automute()
1923 HDA_AMP_MUTE, present ? HDA_AMP_MUTE : 0); in ad1981_hp_automute()
1939 unsigned int present; in ad1981_hp_automic() local
1941 present = snd_hda_jack_detect(codec, 0x08); in ad1981_hp_automic()
1942 if (present) in ad1981_hp_automic()
4219 unsigned int present; in ad1884a_hp_automute() local
[all …]
Dhda_generic.c3696 int i, present = 0; in detect_jacks() local
3705 present |= snd_hda_jack_detect(codec, nid); in detect_jacks()
3707 return present; in detect_jacks()
3990 int present = 0; in check_auto_mute_availability() local
3997 present++; in check_auto_mute_availability()
3999 present++; in check_auto_mute_availability()
4001 present++; in check_auto_mute_availability()
4002 if (present < 2) /* need two different output types */ in check_auto_mute_availability()
Dpatch_hdmi.c1223 int present = snd_hda_pin_sense(codec, pin_nid); in hdmi_present_sense() local
1227 pin_eld->monitor_present = !!(present & AC_PINSENSE_PRESENCE); in hdmi_present_sense()
1229 eld->eld_valid = !!(present & AC_PINSENSE_ELDV); in hdmi_present_sense()
/sound/oss/
Dsoundcard.c85 int *load_mixer_volumes(char *name, int *levels, int present) in load_mixer_volumes() argument
91 if (present) in load_mixer_volumes()
104 if (present) in load_mixer_volumes()
Ddev_table.h243 int *load_mixer_volumes(char *name, int *levels, int present);
DKconfig513 CD-ROM present.
/sound/soc/codecs/
Dwm8994.c3597 bool present; in wm1811_jackdet_irq() local
3613 present = reg & WM1811_JACKDET_LVL; in wm1811_jackdet_irq()
3615 if (present) { in wm1811_jackdet_irq()
3652 if (control->pdata.jd_ext_cap && !present) in wm1811_jackdet_irq()
3655 if (present) in wm1811_jackdet_irq()