Home
last modified time | relevance | path

Searched refs:rev (Results 1 – 25 of 34) sorted by relevance

12

/sound/soc/codecs/
Dtfa989x.c51 unsigned int rev; member
180 .rev = TFA9895_REVISION,
203 .rev = TFA9897_REVISION,
260 const struct tfa989x_rev *rev; in tfa989x_i2c_probe() local
266 rev = device_get_match_data(dev); in tfa989x_i2c_probe()
267 if (!rev) { in tfa989x_i2c_probe()
310 if (val != rev->rev) { in tfa989x_i2c_probe()
312 rev->rev, val); in tfa989x_i2c_probe()
322 ret = rev->init(regmap); in tfa989x_i2c_probe()
Dwm1250-ev1.c198 int id, board, rev, ret; in wm1250_ev1_probe() local
209 rev = board & 0x3; in wm1250_ev1_probe()
216 dev_info(&i2c->dev, "revision %d\n", rev + 1); in wm1250_ev1_probe()
Dwmfw.h34 __le16 rev; member
157 __be32 rev; member
Dsgtl5000.c1586 int ret, reg, rev; in sgtl5000_i2c_probe() local
1645 rev = (reg & SGTL5000_REVID_MASK) >> SGTL5000_REVID_SHIFT; in sgtl5000_i2c_probe()
1646 dev_info(&client->dev, "sgtl5000 revision 0x%x\n", rev); in sgtl5000_i2c_probe()
1647 sgtl5000->revision = rev; in sgtl5000_i2c_probe()
Dwm_adsp.h60 int rev; member
Dwm2200.c88 int rev; member
2295 wm2200->rev = reg & WM2200_DEVICE_REVISION_MASK; in wm2200_i2c_probe()
2297 dev_info(&i2c->dev, "revision %c\n", wm2200->rev + 'A'); in wm2200_i2c_probe()
2299 switch (wm2200->rev) { in wm2200_i2c_probe()
Dwm5100.c59 int rev; member
2507 wm5100->rev = reg & WM5100_DEVICE_REVISION_MASK; in wm5100_i2c_probe()
2509 dev_info(&i2c->dev, "revision %c\n", wm5100->rev + 'A'); in wm5100_i2c_probe()
2517 switch (wm5100->rev) { in wm5100_i2c_probe()
Dda7219.c2450 unsigned int system_active, system_status, rev; in da7219_probe() local
2500 ret = regmap_read(da7219->regmap, DA7219_CHIP_REVISION, &rev); in da7219_probe()
2506 switch (rev & DA7219_CHIP_MINOR_MASK) { in da7219_probe()
Dwm5110.c167 switch (arizona->rev) { in wm5110_sysclk_ev()
369 switch (priv->arizona->rev) { in wm5110_hp_ev()
573 switch (arizona->rev) { in wm5110_in_ev()
Dmadera.c2590 if (madera->rev < 3) in madera_get_legacy_dspclk_setting()
3479 switch (fll->madera->rev) { in madera_find_fratio()
3536 switch (fll->madera->rev) { in madera_calc_fratio()
3667 switch (fll->madera->rev) { in madera_calc_fll()
4032 switch (fll->madera->rev) { in madera_enable_fll()
Darizona-jack.c1277 switch (arizona->rev) { in arizona_jack_codec_dev_probe()
1289 switch (arizona->rev) { in arizona_jack_codec_dev_probe()
Dwm8997.c90 switch (arizona->rev) { in wm8997_sysclk_ev()
/sound/isa/gus/
Dgus_main.c351 unsigned char val, rev; in snd_gus_check_version() local
358 rev = inb(GUSP(gus, BOARDVERSION)); in snd_gus_check_version()
360 snd_printdd("GF1 [0x%lx] init - val = 0x%x, rev = 0x%x\n", gus->gf1.port, val, rev); in snd_gus_check_version()
363 if ((val != 255 && (val & 0x06)) || (rev >= 5 && rev != 255)) { in snd_gus_check_version()
364 if (rev >= 5 && rev <= 9) { in snd_gus_check_version()
366 if (rev == 5) in snd_gus_check_version()
369 card->longname[29] = rev == 5 ? '5' : '7'; in snd_gus_check_version()
371 if (rev >= 10 && rev != 255) { in snd_gus_check_version()
372 if (rev >= 10 && rev <= 11) { in snd_gus_check_version()
376 } else if (rev == 0x30) { in snd_gus_check_version()
[all …]
/sound/pci/au88x0/
Dau88x0.c289 chip->rev = pci->revision; in __snd_vortex_probe()
291 if ((chip->rev) != 0xfe && (chip->rev) != 0xfa) { in __snd_vortex_probe()
294 chip->rev); in __snd_vortex_probe()
Dau88x0.h77 (x->rev == 0xfe && x->device == PCI_DEVICE_ID_AUREAL_VORTEX_2) || \
78 (x->rev == 0xfe && x->device == PCI_DEVICE_ID_AUREAL_ADVANTAGE))
182 u8 rev; member
/sound/isa/msnd/
Dmsnd_pinnacle.c210 char *xv, *rev = NULL; in snd_msnd_probe() local
255 rev = "I"; in snd_msnd_probe()
259 rev = "F"; in snd_msnd_probe()
263 rev = "G"; in snd_msnd_probe()
267 rev = "H"; in snd_msnd_probe()
271 rev = "E"; in snd_msnd_probe()
275 rev = "C"; in snd_msnd_probe()
279 rev = "D"; in snd_msnd_probe()
283 rev = "A-B (Fiji) or A-E (Pinnacle)"; in snd_msnd_probe()
291 rev, xv, in snd_msnd_probe()
/sound/mips/
Dhal2.c745 unsigned short rev; in hal2_detect() local
756 rev = hal2_read(&hal2->ctl_regs->rev); in hal2_detect()
757 if (rev & H2_REV_AUDIO_PRESENT) in hal2_detect()
760 board = (rev & H2_REV_BOARD_M) >> 12; in hal2_detect()
761 major = (rev & H2_REV_MAJOR_CHIP_M) >> 4; in hal2_detect()
762 minor = (rev & H2_REV_MINOR_CHIP_M); in hal2_detect()
Dhal2.h192 u32 rev; /* 0x20 Revision Register */ member
/sound/pci/
Dens1370.c380 unsigned int rev; /* chip revision */ member
1554 unsigned char rev; /* revision */ member
1563 ensoniq->rev == list->rev) in es1371_quirk_lookup()
1571 { .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_CT5880, .rev = CT5880REV_CT5880_C },
1572 { .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_CT5880, .rev = CT5880REV_CT5880_D },
1573 { .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_CT5880, .rev = CT5880REV_CT5880_E },
1574 { .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_ES1371, .rev = ES1371REV_CT5880_A },
1575 { .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_ES1371, .rev = ES1371REV_ES1373_8 },
1899 { .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_CT5880, .rev = CT5880REV_CT5880_C },
1900 { .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_CT5880, .rev = CT5880REV_CT5880_D },
[all …]
Drme96.c221 u8 rev; /* card revision number */ member
261 #define RME96_DAC_IS_1852(rme96) (RME96_HAS_ANALOG_OUT(rme96) && (rme96)->rev >= 4)
262 …55(rme96) (((rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST && (rme96)->rev < 4) || \
263 ((rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PRO && (rme96)->rev == 2))
766 if (rme96->rev < 4) { in snd_rme96_capture_analog_setrate()
773 if (rme96->rev < 4) { in snd_rme96_capture_analog_setrate()
851 rme96->rev > 4)) in snd_rme96_setinputtype()
865 if (rme96->rev < 4) { in snd_rme96_setinputtype()
1627 pci_read_config_byte(pci, 8, &rme96->rev); in snd_rme96_create()
1902 if (rme96->rev > 4) { in snd_rme96_info_inputtype_control()
[all …]
Drme32.c189 u8 rev; /* card revision number */ member
223 …4(rme32) ((rme32)->pci->device == PCI_DEVICE_ID_RME_DIGI32_PRO && (rme32)->rev == RME32_PRO_REVISI…
1334 pci_read_config_byte(pci, 8, &rme32->rev); in snd_rme32_create()
1920 card->shortname, rme32->rev, rme32->port, rme32->irq); in __snd_rme32_probe()
/sound/isa/wss/
Dwss_lib.c1235 int i, id, rev, regnum; in snd_wss_probe() local
1263 rev = snd_wss_in(chip, CS4231_VERSION) & 0xe7; in snd_wss_probe()
1264 snd_printdd("CS4231: VERSION (I25) = 0x%x\n", rev); in snd_wss_probe()
1265 if (rev == 0x80) { in snd_wss_probe()
1272 } else if (rev == 0xa0) { in snd_wss_probe()
1274 } else if (rev == 0xa2) { in snd_wss_probe()
1276 } else if (rev == 0xb2) { in snd_wss_probe()
1278 } else if (rev == 0x83) { in snd_wss_probe()
1280 } else if (rev == 0x03) { in snd_wss_probe()
1284 "unknown CS chip with version 0x%x\n", rev); in snd_wss_probe()
[all …]
/sound/aoa/soundbus/i2sbus/
Dpcm.c77 struct codec_info_item *cii, *rev; in i2sbus_pcm_open() local
208 list_for_each_entry_reverse(rev, in i2sbus_pcm_open()
210 if (found_this && rev->codec->close) { in i2sbus_pcm_open()
211 rev->codec->close(rev, in i2sbus_pcm_open()
214 if (rev == cii) in i2sbus_pcm_open()
/sound/pci/ymfpci/
Dymfpci.h275 unsigned char rev; /* PCI revision */ member
/sound/pci/rme9652/
Drme9652.c2419 unsigned short rev; in snd_rme9652_create() local
2424 pci_read_config_word(rme9652->pci, PCI_CLASS_REVISION, &rev); in snd_rme9652_create()
2426 switch (rev & 0xff) { in snd_rme9652_create()
2483 switch (rev) { in snd_rme9652_create()

12