Home
last modified time | relevance | path

Searched refs:rmh (Results 1 – 16 of 16) sorted by relevance

/linux/sound/pci/lx6464es/
A Dlx_core.c216 rmh->cmd_idx = cmd; in lx_message_init()
223 rmh->cmd_idx = cmd; in lx_message_init()
231 u8 idx = rmh->cmd_idx; in lx_message_dump()
267 lx_dsp_reg_writebuf(chip, eReg_CRM1, rmh->cmd, rmh->cmd_len); in lx_message_send_atomic()
289 if (rmh->stat_len) { in lx_message_send_atomic()
292 rmh->stat_len); in lx_message_send_atomic()
310 lx_message_dump(rmh); in lx_message_send_atomic()
408 memcpy(data, chip->rmh.stat, chip->rmh.stat_len * sizeof(u32)); in lx_dsp_read_async_events()
758 chip->rmh.cmd_len = 4; in lx_buffer_give()
848 "mute %x %x %x\n", chip->rmh.cmd[0], chip->rmh.cmd[1], in lx_level_unmute()
[all …]
A Dlx6464es.h71 struct lx_rmh rmh; member
/linux/sound/pci/pcxhr/
A Dpcxhr_hwdep.c32 struct pcxhr_rmh rmh; in pcxhr_init_board() local
64 rmh.stat[2], rmh.stat[3]); in pcxhr_init_board()
71 rmh.cmd_len = 2; in pcxhr_init_board()
77 (rmh.stat[0]>>8)&0xff, rmh.stat[0]&0xff); in pcxhr_init_board()
90 struct pcxhr_rmh rmh; in pcxhr_sub_init() local
96 rmh.cmd_len = 2; in pcxhr_sub_init()
115 rmh.cmd_len = 2; in pcxhr_sub_init()
123 struct pcxhr_rmh rmh; in pcxhr_reset_board() local
159 struct pcxhr_rmh rmh; in pcxhr_dsp_allocate_pipe() local
182 rmh.cmd[rmh.cmd_len++] = (audio_count == 1) ? 0x01 : 0x03; in pcxhr_dsp_allocate_pipe()
[all …]
A Dpcxhr.c340 rmh.cmd_len = 2; in pcxhr_sub_set_clock()
443 rmh.cmd_len = 2; in pcxhr_sub_get_external_clock()
602 rmh.cmd[1] = 0; in pcxhr_set_format()
603 rmh.cmd_len = 2; in pcxhr_set_format()
613 rmh.cmd[rmh.cmd_len++] = header >> 8; in pcxhr_set_format()
614 rmh.cmd[rmh.cmd_len++] = (header & 0xff) << 16; in pcxhr_set_format()
652 rmh.cmd_len = 4; in pcxhr_update_r_buffer()
1257 rmh.stat[2], rmh.stat[3]); in pcxhr_proc_info()
1409 ltcHrs = 10*((rmh.stat[0] >> 8) & 0x3) + (rmh.stat[0] & 0xf); in pcxhr_proc_ltc()
1412 ltcFrm = 10*((rmh.stat[2] >> 8) & 0x3) + (rmh.stat[2] & 0xf); in pcxhr_proc_ltc()
[all …]
A Dpcxhr_mixer.c43 struct pcxhr_rmh rmh; in pcxhr_update_analog_audio_level() local
59 rmh.cmd_len = 3; in pcxhr_update_analog_audio_level()
249 struct pcxhr_rmh rmh; in pcxhr_update_playback_stream_level() local
270 rmh.cmd[3] |= right; in pcxhr_update_playback_stream_level()
271 rmh.cmd_len = 4; in pcxhr_update_playback_stream_level()
322 rmh.cmd_len = 3; in pcxhr_update_audio_pipe_level()
610 rmh.cmd_len = 2; in pcxhr_set_audio_source()
620 rmh.cmd_len = 3; in pcxhr_set_audio_source()
892 rmh.cmd_len = 3; in pcxhr_iec958_capture_byte()
968 rmh.cmd[1] = cmd; in pcxhr_iec958_update_byte()
[all …]
A Dpcxhr_core.c589 rmh->stat_len); in pcxhr_read_rmh_status()
625 data = rmh->cmd[0]; in pcxhr_send_msg_nolock()
627 if (rmh->cmd_len > 1) in pcxhr_send_msg_nolock()
660 data = rmh->cmd[i]; in pcxhr_send_msg_nolock()
722 rmh->cmd_len = 1; in pcxhr_init_rmh()
725 rmh->cmd_idx = cmd; in pcxhr_init_rmh()
745 rmh->cmd_len = 2; in pcxhr_set_pipe_cmd_params()
784 struct pcxhr_rmh rmh; in pcxhr_prepair_pipe_start() local
977 rmh.cmd[1] = mask; in pcxhr_write_io_num_reg_cont()
978 rmh.cmd[2] = value; in pcxhr_write_io_num_reg_cont()
[all …]
A Dpcxhr_core.h83 void pcxhr_init_rmh(struct pcxhr_rmh *rmh, int cmd);
85 void pcxhr_set_pipe_cmd_params(struct pcxhr_rmh* rmh, int capture, unsigned int param1,
93 int pcxhr_send_msg(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh);
/linux/sound/drivers/vx/
A Dvx_pcm.c114 rmh->LgCmd += 2; in vx_set_differed_time()
126 struct vx_rmh rmh; in vx_set_stream_format() local
135 rmh.Cmd[rmh.LgCmd] = (data & 0xFFFFFF00) >> 8; in vx_set_stream_format()
137 rmh.LgCmd += 2; in vx_set_stream_format()
182 struct vx_rmh rmh; in vx_set_ibl() local
212 struct vx_rmh rmh; in vx_get_pipe_state() local
237 struct vx_rmh rmh; in vx_query_hbuffer_size() local
261 struct vx_rmh rmh; in vx_pipe_can_start() local
265 rmh.Cmd[0] |= 1; in vx_pipe_can_start()
269 if (rmh.Stat[0]) in vx_pipe_can_start()
[all …]
A Dvx_core.c157 if (rmh->DspStat == RMH_SSIZE_FIXED && rmh->LgStat == 0) in vx_read_status()
173 switch (rmh->DspStat) { in vx_read_status()
176 rmh->Stat[0] = val & 0xffff00; in vx_read_status()
177 rmh->LgStat = size + 1; in vx_read_status()
181 rmh->Stat[0] = val; in vx_read_status()
188 rmh->LgStat = size + 1; in vx_read_status()
192 size = rmh->LgStat; in vx_read_status()
248 rmh->Cmd[0], rmh->LgCmd, rmh->DspStat); in vx_send_msg_nolock()
249 if (rmh->LgCmd > 1) { in vx_send_msg_nolock()
257 if (rmh->LgCmd > 1) in vx_send_msg_nolock()
[all …]
A Dvx_cmd.h199 void vx_init_rmh(struct vx_rmh *rmh, unsigned int cmd);
208 static inline void vx_set_pipe_cmd_params(struct vx_rmh *rmh, int is_capture, in vx_set_pipe_cmd_params() argument
212 rmh->Cmd[0] |= COMMAND_RECORD_MASK; in vx_set_pipe_cmd_params()
213 rmh->Cmd[0] |= (((u32)param1 & MASK_FIRST_FIELD) << FIELD_SIZE) & MASK_DSP_WORD; in vx_set_pipe_cmd_params()
216 rmh->Cmd[0] |= ((u32)param2 & MASK_FIRST_FIELD) & MASK_DSP_WORD; in vx_set_pipe_cmd_params()
226 static inline void vx_set_stream_cmd_params(struct vx_rmh *rmh, int is_capture, int pipe) in vx_set_stream_cmd_params() argument
229 rmh->Cmd[0] |= COMMAND_RECORD_MASK; in vx_set_stream_cmd_params()
230 rmh->Cmd[0] |= (((u32)pipe & MASK_FIRST_FIELD) << FIELD_SIZE) & MASK_DSP_WORD; in vx_set_stream_cmd_params()
A Dvx_mixer.c207 struct vx_rmh rmh; in vx_adjust_audio_level() local
216 rmh.Cmd[1] = 1 << audio; in vx_adjust_audio_level()
217 rmh.Cmd[2] = 0; in vx_adjust_audio_level()
220 rmh.Cmd[2] |= info->level; in vx_adjust_audio_level()
238 return vx_send_msg(chip, &rmh); in vx_adjust_audio_level()
247 struct vx_rmh rmh;
254 rmh.Cmd[1] = 1 << audio;
255 err = vx_send_msg(chip, &rmh);
364 struct vx_rmh rmh; in vx_get_audio_vu_meter() local
376 rmh.Cmd[1] = 0; in vx_get_audio_vu_meter()
[all …]
A Dvx_uer.c22 struct vx_rmh rmh; in vx_modify_board_clock() local
24 vx_init_rmh(&rmh, CMD_MODIFY_CLOCK); in vx_modify_board_clock()
27 rmh.Cmd[0] |= CMD_MODIFY_CLOCK_S_BIT; in vx_modify_board_clock()
28 return vx_send_msg(chip, &rmh); in vx_modify_board_clock()
36 struct vx_rmh rmh; in vx_modify_board_inputs() local
38 vx_init_rmh(&rmh, CMD_RESYNC_AUDIO_INPUTS); in vx_modify_board_inputs()
39 rmh.Cmd[0] |= 1 << 0; /* reference: AUDIO 0 */ in vx_modify_board_inputs()
40 return vx_send_msg(chip, &rmh); in vx_modify_board_inputs()
A Dvx_cmd.c87 void vx_init_rmh(struct vx_rmh *rmh, unsigned int cmd) in vx_init_rmh() argument
91 rmh->LgCmd = vx_dsp_cmds[cmd].length; in vx_init_rmh()
92 rmh->LgStat = vx_dsp_cmds[cmd].st_length; in vx_init_rmh()
93 rmh->DspStat = vx_dsp_cmds[cmd].st_type; in vx_init_rmh()
94 rmh->Cmd[0] = vx_dsp_cmds[cmd].opcode; in vx_init_rmh()
/linux/arch/x86/include/asm/
A Dsev.h77 extern int sev_es_setup_ap_jump_table(struct real_mode_header *rmh);
93 static inline int sev_es_setup_ap_jump_table(struct real_mode_header *rmh) { return 0; } in sev_es_setup_ap_jump_table() argument
/linux/include/sound/
A Dvx_core.h255 int vx_send_msg(struct vx_core *chip, struct vx_rmh *rmh);
256 int vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh);
/linux/arch/x86/kernel/
A Dsev.c561 int sev_es_setup_ap_jump_table(struct real_mode_header *rmh) in sev_es_setup_ap_jump_table() argument
580 startup_cs = (u16)(rmh->trampoline_start >> 4); in sev_es_setup_ap_jump_table()
581 startup_ip = (u16)(rmh->sev_es_trampoline_start - in sev_es_setup_ap_jump_table()
582 rmh->trampoline_start); in sev_es_setup_ap_jump_table()

Completed in 90 milliseconds