Lines Matching defs:version
71 static int csp_detect(struct snd_sb *chip, int *version);
105 int version;
112 if (csp_detect(chip, &version))
125 p->version = version;
136 sprintf(hw->name, "CSP v%d.%d", (version >> 4), (version & 0x0f));
209 info.version = p->version;
546 static int csp_detect(struct snd_sb *chip, int *version)
570 *version = get_version(chip);
572 if (*version >= 0x10 && *version <= 0x1f)
573 result = 0; /* valid version id */
581 * get CSP version number
588 dsp_cmd[1] = 0x03; /* get chip version id? */
595 * check if the CSP version is valid
599 if (p->version < 0x10 || p->version > 0x1f) {
600 snd_printd("%s: Invalid CSP version: 0x%x\n", __func__, p->version);
1140 snd_iprintf(buffer, "Creative Signal Processor [v%d.%d]\n", (p->version >> 4), (p->version & 0x0f));