Searched refs:detect (Results 1 – 7 of 7) sorted by relevance
43 bool detect; in proc_read_clock() local59 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()
105 bool detect; in pcm_open() local122 err = snd_dg00x_stream_check_external_clock(dg00x, &detect); in pcm_open()125 if (!detect) { in pcm_open()
89 int snd_dg00x_stream_check_external_clock(struct snd_dg00x *dg00x, bool *detect) in snd_dg00x_stream_check_external_clock() argument98 *detect = be32_to_cpu(reg) > 0; in snd_dg00x_stream_check_external_clock()
141 bool *detect);
940 int detect = 0; in tumbler_detect_headphone() local943 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() local953 detect |= read_audio_gpio(&mix->line_detect); in tumbler_detect_lineout()954 return detect; in tumbler_detect_lineout()
2817 unsigned int detect; in query_chip() local2820 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()
929 tristate "TI Headset/Mic detect and keypress chip"