Lines Matching defs:hardware
118 unsigned short hardware;
174 unsigned short hardware)
178 chip->hardware = hardware;
179 strcpy(chip->name, snd_opti9xx_names[hardware]);
194 chip->mc_base_size = opti9xx_mc_size[hardware];
197 chip->mc_base_size = opti9xx_mc_size[hardware];
200 switch (hardware) {
204 chip->password = (hardware == OPTi9XX_HW_82C928) ? 0xe2 : 0xe3;
218 chip->mc_base = (hardware == OPTi9XX_HW_82C930) ? 0xf8f : 0xf8d;
227 snd_printk(KERN_ERR "chip %d not supported\n", hardware);
242 switch (chip->hardware) {
270 snd_printk(KERN_ERR "chip %d not supported\n", chip->hardware);
285 switch (chip->hardware) {
313 snd_printk(KERN_ERR "chip %d not supported\n", chip->hardware);
339 switch (chip->hardware) {
402 (chip->hardware == OPTi9XX_HW_82C930 ? 0x00 : 0x04),
409 snd_printk(KERN_ERR "chip %d not supported\n", chip->hardware);
500 if (chip->hardware > OPTi9XX_HW_82C928) {
905 if (chip->hardware == OPTi9XX_HW_82C928 ||
906 chip->hardware == OPTi9XX_HW_82C929 ||
907 chip->hardware == OPTi9XX_HW_82C924) {