Lines Matching refs:stat
220 memset(rmh->stat, 0, REG_CRM_NUMBER * sizeof(u32)); in lx_message_init()
240 snd_printk(LXRMH "\tstat[%d]: %08x\n", i, rmh->stat[i]); in lx_message_dump()
291 lx_dsp_reg_readbuf(chip, eReg_CRM2, rmh->stat, in lx_message_send_atomic()
326 *rdsp_version = chip->rmh.stat[1]; in lx_dsp_get_version()
344 freq_raw = chip->rmh.stat[0] >> FREQ_FIELD_OFFSET; in lx_dsp_get_clock_frequency()
408 memcpy(data, chip->rmh.stat, chip->rmh.stat_len * sizeof(u32)); in lx_dsp_read_async_events()
481 u32 stat = chip->rmh.stat[i]; in lx_buffer_ask() local
482 if (stat & (BF_EOB << BUFF_FLAGS_OFFSET)) { in lx_buffer_ask()
486 size_array[i] = stat & MASK_DATA_SIZE; in lx_buffer_ask()
487 } else if ((stat & (BF_VALID << BUFF_FLAGS_OFFSET)) in lx_buffer_ask()
499 chip->rmh.stat[i], in lx_buffer_ask()
500 chip->rmh.stat[i] & MASK_DATA_SIZE); in lx_buffer_ask()
587 *rsample_count = ((u64)(chip->rmh.stat[0] & MASK_SPL_COUNT_HI) in lx_pipe_sample_count()
589 + chip->rmh.stat[1]; /* lo part */ in lx_pipe_sample_count()
611 *rstate = (chip->rmh.stat[0] >> PSTATE_OFFSET) & 0x0F; in lx_pipe_state()
710 *rstate = (chip->rmh.stat[0] & SF_START) ? START_STATE : PAUSE_STATE; in lx_stream_state()
729 *r_bytepos = ((u64) (chip->rmh.stat[0] & MASK_SPL_COUNT_HI) in lx_stream_sample_position()
731 + chip->rmh.stat[1]; /* lo part */ in lx_stream_sample_position()
765 *r_buffer_index = chip->rmh.stat[0]; in lx_buffer_give()
802 *r_buffer_size = chip->rmh.stat[0] & MASK_DATA_SIZE; in lx_buffer_free()
891 s0 = peak_map[chip->rmh.stat[0] & 0x0F]; in lx_level_peaks()
892 s1 = peak_map[(chip->rmh.stat[0] >> 4) & 0xf]; in lx_level_peaks()
893 s2 = peak_map[(chip->rmh.stat[0] >> 8) & 0xf]; in lx_level_peaks()
894 s3 = peak_map[(chip->rmh.stat[0] >> 12) & 0xf]; in lx_level_peaks()
969 u32 stat[9]; /* answer from CMD_04_GET_EVENT */ in lx_interrupt_handle_async_events() local
989 err = lx_dsp_read_async_events(chip, stat); in lx_interrupt_handle_async_events()
994 *r_notified_in_pipe_mask = ((u64)stat[3] << 32) in lx_interrupt_handle_async_events()
995 + stat[4]; in lx_interrupt_handle_async_events()
1000 *r_notified_out_pipe_mask = ((u64)stat[1] << 32) in lx_interrupt_handle_async_events()
1001 + stat[2]; in lx_interrupt_handle_async_events()