Home
last modified time | relevance | path

Searched refs:detect (Results 1 – 7 of 7) sorted by relevance

/sound/firewire/digi00x/
Ddigi00x-proc.c43 bool detect; in proc_read_clock() local
59 if (snd_dg00x_stream_check_external_clock(dg00x, &detect) < 0) in proc_read_clock()
61 snd_iprintf(buf, "External source: %s\n", detect ? "detected" : "not"); in proc_read_clock()
62 if (!detect) in proc_read_clock()
Ddigi00x-pcm.c105 bool detect; in pcm_open() local
122 err = snd_dg00x_stream_check_external_clock(dg00x, &detect); in pcm_open()
125 if (!detect) { in pcm_open()
Ddigi00x-stream.c89 int snd_dg00x_stream_check_external_clock(struct snd_dg00x *dg00x, bool *detect) in snd_dg00x_stream_check_external_clock() argument
98 *detect = be32_to_cpu(reg) > 0; in snd_dg00x_stream_check_external_clock()
Ddigi00x.h141 bool *detect);
/sound/ppc/
Dtumbler.c940 int detect = 0; in tumbler_detect_headphone() local
943 detect |= read_audio_gpio(&mix->hp_detect); in tumbler_detect_headphone()
944 return detect; in tumbler_detect_headphone()
950 int detect = 0; in tumbler_detect_lineout() local
953 detect |= read_audio_gpio(&mix->line_detect); in tumbler_detect_lineout()
954 return detect; in tumbler_detect_lineout()
/sound/pci/
Dcmipci.c2817 unsigned int detect; in query_chip() local
2820 detect = snd_cmipci_read(cm, CM_REG_INT_HLDCLR) & CM_CHIP_MASK2; in query_chip()
2821 if (! detect) { in query_chip()
2823 detect = snd_cmipci_read(cm, CM_REG_CHFORMAT) & CM_CHIP_MASK1; in query_chip()
2824 switch (detect) { in query_chip()
2843 if (detect & CM_CHIP_039) { in query_chip()
2845 if (detect & CM_CHIP_039_6CH) /* 4 or 6 channels */ in query_chip()
2849 } else if (detect & CM_CHIP_8768) { in query_chip()
/sound/soc/codecs/
DKconfig929 tristate "TI Headset/Mic detect and keypress chip"