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