Lines Matching defs:detect
2606 unsigned int detect;
2609 detect = snd_cmipci_read(cm, CM_REG_INT_HLDCLR) & CM_CHIP_MASK2;
2610 if (! detect) {
2612 detect = snd_cmipci_read(cm, CM_REG_CHFORMAT) & CM_CHIP_MASK1;
2613 if (! detect) {
2629 if (detect & CM_CHIP_8768) {
2635 } else if (detect & CM_CHIP_055) {
2641 } else if (detect & CM_CHIP_039) {
2643 if (detect & CM_CHIP_039_6CH) /* 4 or 6 channels */
2651 printk(KERN_ERR "chip %x version not supported\n", detect);
2667 if (joystick_port[dev] == 1) { /* auto-detect */