Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 23 of 23) sorted by relevance

/sound/pci/lx6464es/
Dlx_core.c235 memset(rmh->stat, 0, REG_CRM_NUMBER * sizeof(u32)); in lx_message_init()
255 snd_printk(LXRMH "\tstat[%d]: %08x\n", i, rmh->stat[i]); in lx_message_dump()
306 lx_dsp_reg_readbuf(chip, eReg_CRM2, rmh->stat, in lx_message_send_atomic()
341 *rdsp_version = chip->rmh.stat[1]; in lx_dsp_get_version()
359 freq_raw = chip->rmh.stat[0] >> FREQ_FIELD_OFFSET; in lx_dsp_get_clock_frequency()
423 memcpy(data, chip->rmh.stat, chip->rmh.stat_len * sizeof(u32)); in lx_dsp_read_async_events()
496 u32 stat = chip->rmh.stat[i]; in lx_buffer_ask() local
497 if (stat & (BF_EOB << BUFF_FLAGS_OFFSET)) { in lx_buffer_ask()
501 size_array[i] = stat & MASK_DATA_SIZE; in lx_buffer_ask()
502 } else if ((stat & (BF_VALID << BUFF_FLAGS_OFFSET)) in lx_buffer_ask()
[all …]
Dlx_core.h107 u32 stat[REG_CRM_NUMBER]; member
/sound/oss/
Dpas2_midi.c227 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/pcxhr/
Dpcxhr_hwdep.c63 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()
77 rmh.stat[2], rmh.stat[3]); in pcxhr_init_board()
89 "PCXHR DSP version is %d.%d.%d\n", (rmh.stat[0]>>16)&0xff, in pcxhr_init_board()
90 (rmh.stat[0]>>8)&0xff, rmh.stat[0]&0xff); in pcxhr_init_board()
91 mgr->dsp_version = rmh.stat[0]; in pcxhr_init_board()
114 if ((rmh.stat[1] & REG_STATUS_OPT_DAUGHTER_MASK) == in pcxhr_sub_init()
Dpcxhr_core.c598 rmh->stat[i] = data; in pcxhr_read_rmh_status()
825 if (rmh.stat[0] == 0) in pcxhr_prepair_pipe_start()
1067 err, prmh->stat[0]); in pcxhr_msg_thread()
1083 int nb_audio = ((prmh->stat[i] >> FIELD_SIZE) & in pcxhr_msg_thread()
1085 int nb_stream = ((prmh->stat[i] >> (2*FIELD_SIZE)) & in pcxhr_msg_thread()
1087 int pipe = prmh->stat[i] & MASK_FIRST_FIELD; in pcxhr_msg_thread()
1088 int is_capture = prmh->stat[i] & 0x400000; in pcxhr_msg_thread()
1091 if (prmh->stat[i] & 0x800000) { /* if BIT_END */ in pcxhr_msg_thread()
1098 err2 = prmh->stat[i] ? prmh->stat[i] : prmh->stat[i+1]; in pcxhr_msg_thread()
1105 err2 = prmh->stat[i] ? in pcxhr_msg_thread()
[all …]
Dpcxhr.c471 switch (rmh.stat[1] & 0x0f) { in pcxhr_sub_get_external_clock()
687 *sample_count = ((snd_pcm_uframes_t)rmh.stat[0]) << 24;
688 *sample_count += (snd_pcm_uframes_t)rmh.stat[1];
1275 int cur = rmh.stat[0]; in pcxhr_proc_info()
1276 int ref = rmh.stat[1]; in pcxhr_proc_info()
1289 rmh.stat[2], rmh.stat[3]); in pcxhr_proc_info()
1314 i, rmh.stat[i]); in pcxhr_proc_info()
1441 ltcHrs = 10*((rmh.stat[0] >> 8) & 0x3) + (rmh.stat[0] & 0xf); in pcxhr_proc_ltc()
1442 ltcMin = 10*((rmh.stat[1] >> 16) & 0x7) + ((rmh.stat[1] >> 8) & 0xf); in pcxhr_proc_ltc()
1443 ltcSec = 10*(rmh.stat[1] & 0x7) + ((rmh.stat[2] >> 16) & 0xf); in pcxhr_proc_ltc()
[all …]
Dpcxhr_core.h53 u32 stat[PCXHR_SIZE_MAX_STATUS]; member
Dpcxhr_mixer.c911 temp = (unsigned char)rmh.stat[1]; in pcxhr_iec958_capture_byte()
917 if (rmh.stat[1] & (1 << i)) in pcxhr_iec958_capture_byte()
/sound/soc/mxs/
Dmxs-saif.c208 u32 stat; in mxs_saif_put_mclk() local
213 stat = __raw_readl(saif->base + SAIF_STAT); in mxs_saif_put_mclk()
214 if (stat & BM_SAIF_STAT_BUSY) { in mxs_saif_put_mclk()
242 u32 stat; in mxs_saif_get_mclk() local
263 stat = __raw_readl(saif->base + SAIF_STAT); in mxs_saif_get_mclk()
264 if (stat & BM_SAIF_STAT_BUSY) { in mxs_saif_get_mclk()
292 u32 scr, stat; in mxs_saif_set_dai_fmt() local
296 stat = __raw_readl(saif->base + SAIF_STAT); in mxs_saif_set_dai_fmt()
297 if (stat & BM_SAIF_STAT_BUSY) { in mxs_saif_set_dai_fmt()
407 u32 scr, stat; in mxs_saif_hw_params() local
[all …]
/sound/soc/au1x/
Dpsc-i2s.c120 unsigned long stat; in au1xpsc_i2s_hw_params() local
123 stat = __raw_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 = __raw_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 = __raw_readl(I2S_STAT(pscdata)); in au1xpsc_i2s_stop()
230 if (!(stat & (PSC_I2SSTAT_TB | PSC_I2SSTAT_RB))) { in au1xpsc_i2s_stop()
Dpsc-ac97.c216 unsigned long r, ro, stat; in au1xpsc_ac97_hw_params() local
222 stat = __raw_readl(AC97_STAT(pscdata)); in au1xpsc_ac97_hw_params()
225 if (stat & (PSC_AC97STAT_TB | PSC_AC97STAT_RB)) { in au1xpsc_ac97_hw_params()
/sound/soc/samsung/
Dac97.c55 u32 ac_glbctrl, stat; in s3c_ac97_activate() local
57 stat = readl(s3c_ac97.regs + S3C_AC97_GLBSTAT) & 0x7; in s3c_ac97_activate()
58 if (stat == S3C_AC97_GLBSTAT_MAINSTATE_ACTIVE) in s3c_ac97_activate()
84 u32 stat, addr, data; in s3c_ac97_read() local
105 stat = readl(s3c_ac97.regs + S3C_AC97_STAT); in s3c_ac97_read()
106 addr = (stat >> 16) & 0x7f; in s3c_ac97_read()
107 data = (stat & 0xffff); in s3c_ac97_read()
162 u32 stat; in s3c_ac97_warm_reset() local
164 stat = readl(s3c_ac97.regs + S3C_AC97_GLBSTAT) & 0x7; in s3c_ac97_warm_reset()
165 if (stat == S3C_AC97_GLBSTAT_MAINSTATE_ACTIVE) in s3c_ac97_warm_reset()
/sound/soc/adi/
Daxi-spdif.c81 unsigned int clkdiv, stat; in axi_spdif_hw_params() local
85 stat = AXI_SPDIF_FREQ_32000; in axi_spdif_hw_params()
88 stat = AXI_SPDIF_FREQ_44100; in axi_spdif_hw_params()
91 stat = AXI_SPDIF_FREQ_48000; in axi_spdif_hw_params()
94 stat = AXI_SPDIF_FREQ_NA; in axi_spdif_hw_params()
102 regmap_write(spdif->regmap, AXI_SPDIF_REG_STAT, stat); in axi_spdif_hw_params()
/sound/isa/gus/
Dgus_uart.c31 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/
Dpdaudiocf_irq.c32 unsigned short stat; in pdacf_interrupt() local
40 stat = inw(chip->port + PDAUDIOCF_REG_ISR); in pdacf_interrupt()
41 if (stat & (PDAUDIOCF_IRQLVL|PDAUDIOCF_IRQOVR)) { in pdacf_interrupt()
42 if (stat & PDAUDIOCF_IRQOVR) /* should never happen */ in pdacf_interrupt()
46 if (!(stat & PDAUDIOCF_IRQAKM)) in pdacf_interrupt()
47 stat |= PDAUDIOCF_IRQAKM; /* check rate */ in pdacf_interrupt()
/sound/drivers/
Dml403-ac97cr.c836 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/
Dbf5xx-sport.c637 status = sport->regs->stat; in sport_check_status()
639 sport->regs->stat = (status & (TOVF|TUVF|ROVF|RUVF)); in sport_check_status()
672 sport->regs->stat, in sport_dump_stat()
760 status = sport->regs->stat; in err_handler()
762 sport->regs->stat = (status & (TOVF|TUVF|ROVF|RUVF)); in err_handler()
1068 status = sport->regs->stat; in sport_send_and_recv()
1074 status = *(unsigned short *)&sport->regs->stat; in sport_send_and_recv()
/sound/ppc/
Dpmac.c328 int stat; in snd_pmac_pcm_pointer() local
330 stat = le16_to_cpu(cp->xfer_status); in snd_pmac_pcm_pointer()
331 if (stat & (ACTIVE|DEAD)) { in snd_pmac_pcm_pointer()
466 int stat; in snd_pmac_pcm_update() local
477 stat = le16_to_cpu(cp->xfer_status); in snd_pmac_pcm_update()
479 if (stat & DEAD) { in snd_pmac_pcm_update()
487 if (! (stat & ACTIVE)) in snd_pmac_pcm_update()
/sound/soc/davinci/
Ddavinci-mcasp.c315 u32 stat; in davinci_mcasp_tx_irq_handler() local
317 stat = mcasp_get_reg(mcasp, DAVINCI_MCASP_TXSTAT_REG); in davinci_mcasp_tx_irq_handler()
318 if (stat & XUNDRN & irq_mask) { in davinci_mcasp_tx_irq_handler()
333 stat); in davinci_mcasp_tx_irq_handler()
335 if (stat & XRERR) in davinci_mcasp_tx_irq_handler()
350 u32 stat; in davinci_mcasp_rx_irq_handler() local
352 stat = mcasp_get_reg(mcasp, DAVINCI_MCASP_RXSTAT_REG); in davinci_mcasp_rx_irq_handler()
353 if (stat & ROVRN & irq_mask) { in davinci_mcasp_rx_irq_handler()
368 stat); in davinci_mcasp_rx_irq_handler()
370 if (stat & XRERR) in davinci_mcasp_rx_irq_handler()
/sound/pci/mixart/
Dmixart.c135 u32 stat = 0; in mixart_set_pipe_state() local
154 err = snd_mixart_send_msg(mgr, &request, sizeof(stat), &stat); in mixart_set_pipe_state()
155 if (err < 0 || stat != 0) { in mixart_set_pipe_state()
158 err, stat); in mixart_set_pipe_state()
/sound/pci/
Dvia82xx_modem.c395 unsigned int stat = !secondary ? VIA_REG_AC97_PRIMARY_VALID : in snd_via82xx_codec_valid() local
400 val1 = val & (VIA_REG_AC97_BUSY | stat); in snd_via82xx_codec_valid()
401 if (val1 == stat) in snd_via82xx_codec_valid()
Dvia82xx.c541 unsigned int stat = !secondary ? VIA_REG_AC97_PRIMARY_VALID : in snd_via82xx_codec_valid() local
546 val1 = val & (VIA_REG_AC97_BUSY | stat); in snd_via82xx_codec_valid()
547 if (val1 == stat) in snd_via82xx_codec_valid()
/sound/pci/riptide/
Driptide.c207 #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()