Lines Matching refs:hardware
409 if ((timeout & CS4231_MCE) == 0 || !(chip->hardware & hw_mask)) in snd_wss_mce_down()
589 if (!(chip->hardware & WSS_HW_AD1848_MASK)) { in snd_wss_calibrate_mute()
597 if (chip->hardware == WSS_HW_INTERWAVE) { in snd_wss_calibrate_mute()
619 if (chip->hardware == WSS_HW_CS4231A || in snd_wss_playback_format()
620 (chip->hardware & WSS_HW_CS4232_MASK)) { in snd_wss_playback_format()
634 } else if (chip->hardware == WSS_HW_AD1845) { in snd_wss_playback_format()
656 if (chip->hardware != WSS_HW_INTERWAVE && !chip->single_dma) { in snd_wss_playback_format()
665 if (chip->hardware == WSS_HW_OPL3SA2) in snd_wss_playback_format()
680 if (chip->hardware == WSS_HW_CS4231A || in snd_wss_capture_format()
681 (chip->hardware & WSS_HW_CS4232_MASK)) { in snd_wss_capture_format()
694 } else if (chip->hardware == WSS_HW_AD1845) { in snd_wss_capture_format()
716 if (chip->hardware != WSS_HW_INTERWAVE && in snd_wss_capture_format()
729 if (chip->hardware & WSS_HW_AD1848_MASK) in snd_wss_capture_format()
746 if (chip->hardware & WSS_HW_CS4236B_MASK) in snd_wss_timer_resolution()
846 if (!(chip->hardware & WSS_HW_AD1848_MASK)) in snd_wss_init()
875 if (!(chip->hardware & WSS_HW_AD1848_MASK)) { in snd_wss_open()
886 if (!(chip->hardware & WSS_HW_AD1848_MASK)) { in snd_wss_open()
912 if (!(chip->hardware & WSS_HW_AD1848_MASK)) in snd_wss_close()
936 if (!(chip->hardware & WSS_HW_AD1848_MASK)) in snd_wss_close()
1040 if (chip->hardware & WSS_HW_AD1848_MASK) in snd_wss_capture_prepare()
1047 if (chip->single_dma && chip->hardware != WSS_HW_INTERWAVE) { in snd_wss_capture_prepare()
1078 if (chip->hardware & WSS_HW_AD1848_MASK) in snd_wss_interrupt()
1087 if (chip->single_dma && chip->hardware != WSS_HW_INTERWAVE) { in snd_wss_interrupt()
1115 if (chip->hardware & WSS_HW_AD1848_MASK) in snd_wss_interrupt()
1155 unsigned short hardware = 0; in snd_ad1848_probe() local
1177 hardware = WSS_HW_AD1847; in snd_ad1848_probe()
1193 if ((chip->hardware & WSS_HW_TYPE_MASK) != WSS_HW_DETECT) in snd_ad1848_probe()
1196 if (hardware) { in snd_ad1848_probe()
1197 chip->hardware = hardware; in snd_ad1848_probe()
1217 chip->hardware = WSS_HW_CMI8330; in snd_ad1848_probe()
1222 chip->hardware = WSS_HW_CS4248; in snd_ad1848_probe()
1224 chip->hardware = WSS_HW_AD1848; in snd_ad1848_probe()
1243 hw = chip->hardware; in snd_wss_probe()
1269 chip->hardware = WSS_HW_AD1845; in snd_wss_probe()
1271 chip->hardware = WSS_HW_CS4231; in snd_wss_probe()
1273 chip->hardware = WSS_HW_CS4231A; in snd_wss_probe()
1275 chip->hardware = WSS_HW_CS4232; in snd_wss_probe()
1277 chip->hardware = WSS_HW_CS4232A; in snd_wss_probe()
1279 chip->hardware = WSS_HW_CS4236; in snd_wss_probe()
1281 chip->hardware = WSS_HW_CS4236B; in snd_wss_probe()
1294 if (!(chip->hardware & WSS_HW_AD1848_MASK)) in snd_wss_probe()
1296 switch (chip->hardware) { in snd_wss_probe()
1308 chip->hardware = WSS_HW_CS4236; in snd_wss_probe()
1315 if (chip->hardware != WSS_HW_OPTI93X) { in snd_wss_probe()
1318 chip->hardware == WSS_HW_INTERWAVE ? 0xc2 : 0x01; in snd_wss_probe()
1321 if (chip->hardware == WSS_HW_AD1845) in snd_wss_probe()
1325 regnum = (chip->hardware & WSS_HW_AD1848_MASK) ? 16 : 32; in snd_wss_probe()
1338 if (chip->hardware == WSS_HW_CS4236B) { in snd_wss_probe()
1345 chip->hardware = WSS_HW_CS4235; in snd_wss_probe()
1363 chip->hardware = WSS_HW_CS4236B; in snd_wss_probe()
1372 chip->hardware = WSS_HW_CS4237B; in snd_wss_probe()
1386 chip->hardware = WSS_HW_CS4238B; in snd_wss_probe()
1399 chip->hardware = WSS_HW_CS4239; in snd_wss_probe()
1479 if (chip->hardware & WSS_HW_AD1848_MASK) in snd_wss_playback_open()
1484 if (chip->hardware == WSS_HW_INTERWAVE && chip->dma1 > 3) in snd_wss_playback_open()
1488 if (chip->hardware == WSS_HW_CS4235 || in snd_wss_playback_open()
1489 chip->hardware == WSS_HW_CS4239) in snd_wss_playback_open()
1522 if (chip->hardware & WSS_HW_AD1848_MASK) in snd_wss_capture_open()
1527 if (chip->hardware == WSS_HW_CS4235 || in snd_wss_capture_open()
1528 chip->hardware == WSS_HW_CS4239 || in snd_wss_capture_open()
1529 chip->hardware == WSS_HW_OPTI93X) in snd_wss_capture_open()
1629 if (chip->hardware == WSS_HW_OPL3SA2) in snd_wss_resume()
1650 !(chip->hardware & (WSS_HW_CS4231_MASK | WSS_HW_CS4232_MASK))) { in snd_wss_resume()
1660 switch (chip->hardware) { in snd_wss_chip_id()
1704 unsigned short hardware, in snd_wss_new() argument
1714 chip->hardware = hardware; in snd_wss_new()
1724 if (chip->hardware == WSS_HW_OPTI93X) in snd_wss_new()
1730 if (chip->hardware & WSS_HW_AD1848_MASK) { in snd_wss_new()
1743 unsigned short hardware, in snd_wss_create() argument
1750 err = snd_wss_new(card, hardware, hwshare, &chip); in snd_wss_create()
1799 if (hardware == WSS_HW_THINKPAD) { in snd_wss_create()
1801 chip->hardware = WSS_HW_DETECT; /* reset */ in snd_wss_create()
1811 if (chip->hardware & WSS_HW_CS4232_MASK) { in snd_wss_create()
1864 if (chip->hardware != WSS_HW_INTERWAVE) in snd_wss_pcm()
1929 switch (chip->hardware) { in snd_wss_info_mux()
2180 if (chip->hardware & WSS_HW_AD1848_MASK) in snd_wss_mixer()
2183 else if (chip->hardware == WSS_HW_OPTI93X) in snd_wss_mixer()