Lines Matching defs:hardware
112 unsigned short hardware;
168 unsigned short hardware)
172 chip->hardware = hardware;
173 strcpy(chip->name, snd_opti9xx_names[hardware]);
188 chip->mc_base_size = opti9xx_mc_size[hardware];
191 chip->mc_base_size = opti9xx_mc_size[hardware];
194 switch (hardware) {
198 chip->password = (hardware == OPTi9XX_HW_82C928) ? 0xe2 : 0xe3;
212 chip->mc_base = (hardware == OPTi9XX_HW_82C930) ? 0xf8f : 0xf8d;
221 snd_printk(KERN_ERR "chip %d not supported\n", hardware);
236 switch (chip->hardware) {
264 snd_printk(KERN_ERR "chip %d not supported\n", chip->hardware);
279 switch (chip->hardware) {
307 snd_printk(KERN_ERR "chip %d not supported\n", chip->hardware);
333 switch (chip->hardware) {
396 (chip->hardware == OPTi9XX_HW_82C930 ? 0x00 : 0x04),
403 snd_printk(KERN_ERR "chip %d not supported\n", chip->hardware);
494 if (chip->hardware > OPTi9XX_HW_82C928) {
886 if (chip->hardware == OPTi9XX_HW_82C928 ||
887 chip->hardware == OPTi9XX_HW_82C929 ||
888 chip->hardware == OPTi9XX_HW_82C924) {