Home
last modified time | relevance | path

Searched refs:tmp1 (Results 1 – 6 of 6) sorted by relevance

/sound/oss/
Dad1848.c1541 unsigned char tmp1 = 0xff, tmp2 = 0xff; in ad1848_detect() local
1640 if ((tmp1 = ad_read(devc, 0)) != 0xaa || (tmp2 = ad_read(devc, 1)) != 0x45) in ad1848_detect()
1646 DDB(printk("ad1848 detect error - step B (%x/%x)\n", tmp1, tmp2)); in ad1848_detect()
1654 if ((tmp1 = ad_read(devc, 0)) != 0x45 || (tmp2 = ad_read(devc, 1)) != 0xaa) in ad1848_detect()
1660 DDB(printk("ad1848 detect error - step C (%x/%x)\n", tmp1, tmp2)); in ad1848_detect()
1674 if ((tmp & 0x0f) != ((tmp1 = ad_read(devc, 12)) & 0x0f)) in ad1848_detect()
1676 DDB(printk("ad1848 detect error - step D (%x)\n", tmp1)); in ad1848_detect()
1704 if ((tmp1 = ad_read(devc, i)) != (tmp2 = ad_read(devc, i + 16))) in ad1848_detect()
1706 DDB(printk("ad1848 detect step F(%d/%x/%x) - OPTi chip???\n", i, tmp1, tmp2)); in ad1848_detect()
1729 tmp1 = ad_read(devc, 12); in ad1848_detect()
[all …]
/sound/pci/cs46xx/
Dcs46xx_lib.c539 unsigned int tmp1, tmp2; in snd_cs46xx_set_play_sample_rate() local
560 tmp1 = rate << 16; in snd_cs46xx_set_play_sample_rate()
561 phiIncr = tmp1 / 48000; in snd_cs46xx_set_play_sample_rate()
562 tmp1 -= phiIncr * 48000; in snd_cs46xx_set_play_sample_rate()
563 tmp1 <<= 10; in snd_cs46xx_set_play_sample_rate()
565 tmp2 = tmp1 / 48000; in snd_cs46xx_set_play_sample_rate()
567 tmp1 -= tmp2 * 48000; in snd_cs46xx_set_play_sample_rate()
568 correctionPerGOF = tmp1 / GOF_PER_SEC; in snd_cs46xx_set_play_sample_rate()
569 tmp1 -= correctionPerGOF * GOF_PER_SEC; in snd_cs46xx_set_play_sample_rate()
570 correctionPerSec = tmp1; in snd_cs46xx_set_play_sample_rate()
[all …]
Ddsp_spos_scb_lib.c611 unsigned int tmp1, tmp2; in cs46xx_dsp_create_src_task_scb() local
634 tmp1 = rate << 16; in cs46xx_dsp_create_src_task_scb()
635 phiIncr = tmp1 / 48000; in cs46xx_dsp_create_src_task_scb()
636 tmp1 -= phiIncr * 48000; in cs46xx_dsp_create_src_task_scb()
637 tmp1 <<= 10; in cs46xx_dsp_create_src_task_scb()
639 tmp2 = tmp1 / 48000; in cs46xx_dsp_create_src_task_scb()
641 tmp1 -= tmp2 * 48000; in cs46xx_dsp_create_src_task_scb()
642 correctionPerGOF = tmp1 / GOF_PER_SEC; in cs46xx_dsp_create_src_task_scb()
643 tmp1 -= correctionPerGOF * GOF_PER_SEC; in cs46xx_dsp_create_src_task_scb()
644 correctionPerSec = tmp1; in cs46xx_dsp_create_src_task_scb()
/sound/isa/es1688/
Des1688_lib.c202 int cfg, irq_bits, dma, dma_bits, tmp, tmp1; in snd_es1688_init() local
211 tmp1 = 4; in snd_es1688_init()
214 tmp1 = 5; in snd_es1688_init()
217 tmp1 = 6; in snd_es1688_init()
220 tmp1 = 7; in snd_es1688_init()
223 tmp1 = 0; in snd_es1688_init()
225 if (tmp1) { in snd_es1688_init()
226 cfg |= (tmp << 3) | (tmp1 << 5); in snd_es1688_init()
/sound/isa/
Dopl3sa2.c228 unsigned char tmp, tmp1; in snd_opl3sa2_detect() local
263 if ((tmp1 = snd_opl3sa2_read(chip, OPL3SA2_MISC)) != tmp) { in snd_opl3sa2_detect()
264 snd_printd("OPL3-SA [0x%lx] detect (1) = 0x%x (0x%x)\n", port, tmp, tmp1); in snd_opl3sa2_detect()
270 if (((tmp1 = snd_opl3sa2_read(chip, OPL3SA2_MIC)) & 0x9f) != 0x8a) { in snd_opl3sa2_detect()
271 snd_printd("OPL3-SA [0x%lx] detect (2) = 0x%x (0x%x)\n", port, tmp, tmp1); in snd_opl3sa2_detect()
/sound/soc/codecs/
Dtlv320aic3x.c1103 u8 tmp1, tmp2, *cache = codec->reg_cache; in aic3x_init_3007() local
1109 tmp1 = cache[0xD]; in aic3x_init_3007()
1118 cache[0xD] = tmp1; in aic3x_init_3007()