Lines Matching refs:hardware
130 unsigned short hardware; member
186 unsigned short hardware) in snd_opti9xx_init() argument
190 chip->hardware = hardware; in snd_opti9xx_init()
191 strcpy(chip->name, snd_opti9xx_names[hardware]); in snd_opti9xx_init()
206 chip->mc_base_size = opti9xx_mc_size[hardware]; in snd_opti9xx_init()
209 chip->mc_base_size = opti9xx_mc_size[hardware]; in snd_opti9xx_init()
212 switch (hardware) { in snd_opti9xx_init()
216 chip->password = (hardware == OPTi9XX_HW_82C928) ? 0xe2 : 0xe3; in snd_opti9xx_init()
230 chip->mc_base = (hardware == OPTi9XX_HW_82C930) ? 0xf8f : 0xf8d; in snd_opti9xx_init()
239 snd_printk(KERN_ERR "chip %d not supported\n", hardware); in snd_opti9xx_init()
254 switch (chip->hardware) { in snd_opti9xx_read()
281 snd_printk(KERN_ERR "chip %d not supported\n", chip->hardware); in snd_opti9xx_read()
296 switch (chip->hardware) { in snd_opti9xx_write()
323 snd_printk(KERN_ERR "chip %d not supported\n", chip->hardware); in snd_opti9xx_write()
346 switch (chip->hardware) { in snd_opti9xx_configure()
404 (chip->hardware == OPTi9XX_HW_82C930 ? 0x00 : 0x04), in snd_opti9xx_configure()
411 snd_printk(KERN_ERR "chip %d not supported\n", chip->hardware); in snd_opti9xx_configure()
502 if (chip->hardware > OPTi9XX_HW_82C928) { in snd_opti9xx_configure()
904 if (chip->hardware == OPTi9XX_HW_82C928 ||
905 chip->hardware == OPTi9XX_HW_82C929 ||
906 chip->hardware == OPTi9XX_HW_82C924) {