Lines Matching refs:hardware
113 unsigned short hardware; member
169 unsigned short hardware) in snd_opti9xx_init() argument
173 chip->hardware = hardware; in snd_opti9xx_init()
174 strcpy(chip->name, snd_opti9xx_names[hardware]); in snd_opti9xx_init()
189 chip->mc_base_size = opti9xx_mc_size[hardware]; in snd_opti9xx_init()
192 chip->mc_base_size = opti9xx_mc_size[hardware]; in snd_opti9xx_init()
195 switch (hardware) { in snd_opti9xx_init()
199 chip->password = (hardware == OPTi9XX_HW_82C928) ? 0xe2 : 0xe3; in snd_opti9xx_init()
213 chip->mc_base = (hardware == OPTi9XX_HW_82C930) ? 0xf8f : 0xf8d; in snd_opti9xx_init()
222 dev_err(chip->card->dev, "chip %d not supported\n", hardware); in snd_opti9xx_init()
237 switch (chip->hardware) { in snd_opti9xx_read()
265 dev_err(chip->card->dev, "chip %d not supported\n", chip->hardware); in snd_opti9xx_read()
280 switch (chip->hardware) { in snd_opti9xx_write()
308 dev_err(chip->card->dev, "chip %d not supported\n", chip->hardware); in snd_opti9xx_write()
334 switch (chip->hardware) { in snd_opti9xx_configure()
397 (chip->hardware == OPTi9XX_HW_82C930 ? 0x00 : 0x04), in snd_opti9xx_configure()
404 dev_err(chip->card->dev, "chip %d not supported\n", chip->hardware); in snd_opti9xx_configure()
495 if (chip->hardware > OPTi9XX_HW_82C928) { in snd_opti9xx_configure()
887 if (chip->hardware == OPTi9XX_HW_82C928 ||
888 chip->hardware == OPTi9XX_HW_82C929 ||
889 chip->hardware == OPTi9XX_HW_82C924) {