/sound/oss/ |
D | pas2_midi.c | 227 unsigned char stat; in pas_midi_interrupt() local 230 stat = pas_read(0x1B88); in pas_midi_interrupt() 232 if (stat & 0x04) /* Input data available */ in pas_midi_interrupt() 245 if (stat & (0x08 | 0x10)) in pas_midi_interrupt() 257 if (stat & 0x40) in pas_midi_interrupt() 259 printk(KERN_WARNING "MIDI output overrun %x,%x\n", pas_read(0x1B89), stat); in pas_midi_interrupt() 261 pas_write(stat, 0x1B88); /* Acknowledge interrupts */ in pas_midi_interrupt()
|
/sound/pci/lx6464es/ |
D | lx_core.c | 291 memset(rmh->stat, 0, REG_CRM_NUMBER * sizeof(u32)); in lx_message_init() 311 snd_printk(LXRMH "\tstat[%d]: %08x\n", i, rmh->stat[i]); in lx_message_dump() 362 lx_dsp_reg_readbuf(chip, eReg_CRM2, rmh->stat, in lx_message_send_atomic() 398 *rdsp_version = chip->rmh.stat[1]; in lx_dsp_get_version() 417 freq_raw = chip->rmh.stat[0] >> FREQ_FIELD_OFFSET; in lx_dsp_get_clock_frequency() 483 memcpy(data, chip->rmh.stat, chip->rmh.stat_len * sizeof(u32)); in lx_dsp_read_async_events() 594 u32 stat = chip->rmh.stat[i]; in lx_buffer_ask() local 595 if (stat & (BF_EOB << BUFF_FLAGS_OFFSET)) { in lx_buffer_ask() 599 size_array[i] = stat & MASK_DATA_SIZE; in lx_buffer_ask() 600 } else if ((stat & (BF_VALID << BUFF_FLAGS_OFFSET)) in lx_buffer_ask() [all …]
|
D | lx_core.h | 107 u32 stat[REG_CRM_NUMBER]; member
|
/sound/pci/pcxhr/ |
D | pcxhr_hwdep.c | 63 if ((rmh.stat[0] & MASK_FIRST_FIELD) < mgr->playback_chips * 2) in pcxhr_init_board() 66 if (((rmh.stat[0] >> (2 * FIELD_SIZE)) & MASK_FIRST_FIELD) < in pcxhr_init_board() 70 if ((rmh.stat[1] & 0x5F) < card_streams) in pcxhr_init_board() 73 if (((rmh.stat[1] >> 7) & 0x5F) < PCXHR_PLAYBACK_STREAMS) in pcxhr_init_board() 76 rmh.stat[2], rmh.stat[3]); in pcxhr_init_board() 87 snd_printdd("PCXHR DSP version is %d.%d.%d\n", (rmh.stat[0]>>16)&0xff, in pcxhr_init_board() 88 (rmh.stat[0]>>8)&0xff, rmh.stat[0]&0xff); in pcxhr_init_board() 89 mgr->dsp_version = rmh.stat[0]; in pcxhr_init_board() 112 if ((rmh.stat[1] & REG_STATUS_OPT_DAUGHTER_MASK) == in pcxhr_sub_init()
|
D | pcxhr_core.c | 597 rmh->stat[i] = data; in pcxhr_read_rmh_status() 821 if (rmh.stat[0] == 0) in pcxhr_prepair_pipe_start() 1058 err, prmh->stat[0]); in pcxhr_msg_tasklet() 1073 int nb_audio = ((prmh->stat[i] >> FIELD_SIZE) & in pcxhr_msg_tasklet() 1075 int nb_stream = ((prmh->stat[i] >> (2*FIELD_SIZE)) & in pcxhr_msg_tasklet() 1077 int pipe = prmh->stat[i] & MASK_FIRST_FIELD; in pcxhr_msg_tasklet() 1078 int is_capture = prmh->stat[i] & 0x400000; in pcxhr_msg_tasklet() 1081 if (prmh->stat[i] & 0x800000) { /* if BIT_END */ in pcxhr_msg_tasklet() 1087 err2 = prmh->stat[i] ? prmh->stat[i] : prmh->stat[i+1]; in pcxhr_msg_tasklet() 1094 err2 = prmh->stat[i] ? in pcxhr_msg_tasklet() [all …]
|
D | pcxhr.c | 471 switch (rmh.stat[1] & 0x0f) { in pcxhr_sub_get_external_clock() 686 *sample_count = ((snd_pcm_uframes_t)rmh.stat[0]) << 24; 687 *sample_count += (snd_pcm_uframes_t)rmh.stat[1]; 1274 int cur = rmh.stat[0]; in pcxhr_proc_info() 1275 int ref = rmh.stat[1]; in pcxhr_proc_info() 1288 rmh.stat[2], rmh.stat[3]); in pcxhr_proc_info() 1313 i, rmh.stat[i]); in pcxhr_proc_info() 1440 ltcHrs = 10*((rmh.stat[0] >> 8) & 0x3) + (rmh.stat[0] & 0xf); in pcxhr_proc_ltc() 1441 ltcMin = 10*((rmh.stat[1] >> 16) & 0x7) + ((rmh.stat[1] >> 8) & 0xf); in pcxhr_proc_ltc() 1442 ltcSec = 10*(rmh.stat[1] & 0x7) + ((rmh.stat[2] >> 16) & 0xf); in pcxhr_proc_ltc() [all …]
|
D | pcxhr_core.h | 53 u32 stat[PCXHR_SIZE_MAX_STATUS]; member
|
D | pcxhr_mixer.c | 923 temp = (unsigned char)rmh.stat[1]; in pcxhr_iec958_capture_byte() 929 if (rmh.stat[1] & (1 << i)) in pcxhr_iec958_capture_byte()
|
/sound/soc/mxs/ |
D | mxs-saif.c | 210 u32 stat; in mxs_saif_put_mclk() local 215 stat = __raw_readl(saif->base + SAIF_STAT); in mxs_saif_put_mclk() 216 if (stat & BM_SAIF_STAT_BUSY) { in mxs_saif_put_mclk() 244 u32 stat; in mxs_saif_get_mclk() local 265 stat = __raw_readl(saif->base + SAIF_STAT); in mxs_saif_get_mclk() 266 if (stat & BM_SAIF_STAT_BUSY) { in mxs_saif_get_mclk() 294 u32 scr, stat; in mxs_saif_set_dai_fmt() local 298 stat = __raw_readl(saif->base + SAIF_STAT); in mxs_saif_set_dai_fmt() 299 if (stat & BM_SAIF_STAT_BUSY) { in mxs_saif_set_dai_fmt() 399 u32 scr, stat; in mxs_saif_hw_params() local [all …]
|
/sound/soc/au1x/ |
D | psc-i2s.c | 120 unsigned long stat; in au1xpsc_i2s_hw_params() local 123 stat = au_readl(I2S_STAT(pscdata)); in au1xpsc_i2s_hw_params() 124 if (stat & (PSC_I2SSTAT_TB | PSC_I2SSTAT_RB)) { in au1xpsc_i2s_hw_params() 184 unsigned long tmo, stat; in au1xpsc_i2s_start() local 190 stat = au_readl(I2S_STAT(pscdata)); in au1xpsc_i2s_start() 191 if (!(stat & (PSC_I2SSTAT_TB | PSC_I2SSTAT_RB))) { in au1xpsc_i2s_start() 218 unsigned long tmo, stat; in au1xpsc_i2s_stop() local 229 stat = au_readl(I2S_STAT(pscdata)); in au1xpsc_i2s_stop() 230 if (!(stat & (PSC_I2SSTAT_TB | PSC_I2SSTAT_RB))) { in au1xpsc_i2s_stop()
|
D | psc-ac97.c | 217 unsigned long r, ro, stat; in au1xpsc_ac97_hw_params() local 223 stat = au_readl(AC97_STAT(pscdata)); in au1xpsc_ac97_hw_params() 226 if (stat & (PSC_AC97STAT_TB | PSC_AC97STAT_RB)) { in au1xpsc_ac97_hw_params()
|
/sound/soc/samsung/ |
D | ac97.c | 71 u32 ac_glbctrl, stat; in s3c_ac97_activate() local 73 stat = readl(s3c_ac97.regs + S3C_AC97_GLBSTAT) & 0x7; in s3c_ac97_activate() 74 if (stat == S3C_AC97_GLBSTAT_MAINSTATE_ACTIVE) in s3c_ac97_activate() 100 u32 stat, addr, data; in s3c_ac97_read() local 121 stat = readl(s3c_ac97.regs + S3C_AC97_STAT); in s3c_ac97_read() 122 addr = (stat >> 16) & 0x7f; in s3c_ac97_read() 123 data = (stat & 0xffff); in s3c_ac97_read() 178 u32 stat; in s3c_ac97_warm_reset() local 180 stat = readl(s3c_ac97.regs + S3C_AC97_GLBSTAT) & 0x7; in s3c_ac97_warm_reset() 181 if (stat == S3C_AC97_GLBSTAT_MAINSTATE_ACTIVE) in s3c_ac97_warm_reset()
|
/sound/isa/gus/ |
D | gus_uart.c | 31 unsigned char stat, data, byte; in snd_gf1_interrupt_midi_in() local 37 stat = snd_gf1_uart_stat(gus); in snd_gf1_interrupt_midi_in() 38 if (!(stat & 0x01)) { /* data in Rx FIFO? */ in snd_gf1_interrupt_midi_in() 49 if (stat & 0x10) { /* framing error */ in snd_gf1_interrupt_midi_in() 57 if (stat & 0x20) { in snd_gf1_interrupt_midi_in()
|
/sound/pcmcia/pdaudiocf/ |
D | pdaudiocf_irq.c | 32 unsigned short stat; in pdacf_interrupt() local 39 stat = inw(chip->port + PDAUDIOCF_REG_ISR); in pdacf_interrupt() 40 if (stat & (PDAUDIOCF_IRQLVL|PDAUDIOCF_IRQOVR)) { in pdacf_interrupt() 41 if (stat & PDAUDIOCF_IRQOVR) /* should never happen */ in pdacf_interrupt() 45 if (!(stat & PDAUDIOCF_IRQAKM)) in pdacf_interrupt() 46 stat |= PDAUDIOCF_IRQAKM; /* check rate */ in pdacf_interrupt()
|
/sound/drivers/ |
D | ml403-ac97cr.c | 836 u32 stat; local 900 stat = in_be32(CR_REG(ml403_ac97cr, STATUS)); 901 if ((stat & CR_RAF) == CR_RAF) { 906 reg, value, value, stat); 935 reg, stat, value, value, rafaccess, 959 u32 stat; local 1014 stat = in_be32(CR_REG(ml403_ac97cr, STATUS)) 1015 if ((stat & CR_RAF) == CR_RAF) { 1041 reg, val, val, stat, rafaccess, ml403_ac97cr->ac97_write,
|
/sound/soc/blackfin/ |
D | bf5xx-sport.c | 633 status = sport->regs->stat; in sport_check_status() 635 sport->regs->stat = (status & (TOVF|TUVF|ROVF|RUVF)); in sport_check_status() 668 sport->regs->stat, in sport_dump_stat() 756 status = sport->regs->stat; in err_handler() 758 sport->regs->stat = (status & (TOVF|TUVF|ROVF|RUVF)); in err_handler() 1060 status = sport->regs->stat; in sport_send_and_recv() 1066 status = *(unsigned short *)&sport->regs->stat; in sport_send_and_recv()
|
/sound/ppc/ |
D | pmac.c | 327 int stat; in snd_pmac_pcm_pointer() local 329 stat = ld_le16(&cp->xfer_status); in snd_pmac_pcm_pointer() 330 if (stat & (ACTIVE|DEAD)) { in snd_pmac_pcm_pointer() 465 int stat; in snd_pmac_pcm_update() local 476 stat = ld_le16(&cp->xfer_status); in snd_pmac_pcm_update() 478 if (stat & DEAD) { in snd_pmac_pcm_update() 486 if (! (stat & ACTIVE)) in snd_pmac_pcm_update()
|
/sound/pci/mixart/ |
D | mixart.c | 131 u32 stat; in mixart_set_pipe_state() local 148 err = snd_mixart_send_msg(mgr, &request, sizeof(stat), &stat); in mixart_set_pipe_state() 149 if (err < 0 || stat != 0) { in mixart_set_pipe_state() 150 snd_printk(KERN_ERR "error MSG_SYSTEM_SEND_SYNCHRO_CMD err=%x stat=%x !\n", err, stat); in mixart_set_pipe_state()
|
/sound/pci/ |
D | via82xx_modem.c | 394 unsigned int stat = !secondary ? VIA_REG_AC97_PRIMARY_VALID : in snd_via82xx_codec_valid() local 399 val1 = val & (VIA_REG_AC97_BUSY | stat); in snd_via82xx_codec_valid() 400 if (val1 == stat) in snd_via82xx_codec_valid()
|
D | via82xx.c | 540 unsigned int stat = !secondary ? VIA_REG_AC97_PRIMARY_VALID : in snd_via82xx_codec_valid() local 545 val1 = val & (VIA_REG_AC97_BUSY | stat); in snd_via82xx_codec_valid() 546 if (val1 == stat) in snd_via82xx_codec_valid()
|
/sound/pci/riptide/ |
D | riptide.c | 207 #define IS_CMDE(a) (READ_PORT_ULONG(a->stat)&0x1) /* cmd empty */ 208 #define IS_DATF(a) (READ_PORT_ULONG(a->stat)&0x2) /* data filled */ 386 u32 stat; /* status */ member 931 cif->cmdcnt, (int)((void *)&(cmdport->stat) - (void *)hwport), in sendcmd()
|