Lines Matching defs:detect
312 #define CM_DMAUTO 0x01 /* SB16 DMA auto detect */
2739 unsigned int detect;
2742 detect = snd_cmipci_read(cm, CM_REG_INT_HLDCLR) & CM_CHIP_MASK2;
2743 if (! detect) {
2745 detect = snd_cmipci_read(cm, CM_REG_CHFORMAT) & CM_CHIP_MASK1;
2746 switch (detect) {
2765 if (detect & CM_CHIP_039) {
2767 if (detect & CM_CHIP_039_6CH) /* 4 or 6 channels */
2771 } else if (detect & CM_CHIP_8768) {
2796 if (joystick_port[dev] == 1) { /* auto-detect */