Lines Matching defs:detect
312 #define CM_DMAUTO 0x01 /* SB16 DMA auto detect */
2790 unsigned int detect;
2793 detect = snd_cmipci_read(cm, CM_REG_INT_HLDCLR) & CM_CHIP_MASK2;
2794 if (! detect) {
2796 detect = snd_cmipci_read(cm, CM_REG_CHFORMAT) & CM_CHIP_MASK1;
2797 switch (detect) {
2816 if (detect & CM_CHIP_039) {
2818 if (detect & CM_CHIP_039_6CH) /* 4 or 6 channels */
2822 } else if (detect & CM_CHIP_8768) {
2847 if (joystick_port[dev] == 1) { /* auto-detect */