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

/linux-master/sound/pci/pcxhr/
H A Dpcxhr_hwdep.c32 struct pcxhr_rmh rmh; local
45 pcxhr_init_rmh(&rmh, CMD_SUPPORTED);
46 err = pcxhr_send_msg(mgr, &rmh);
50 if ((rmh.stat[0] & MASK_FIRST_FIELD) < mgr->playback_chips * 2)
53 if (((rmh.stat[0] >> (2 * FIELD_SIZE)) & MASK_FIRST_FIELD) <
57 if ((rmh.stat[1] & 0x5F) < card_streams)
60 if (((rmh.stat[1] >> 7) & 0x5F) < PCXHR_PLAYBACK_STREAMS)
64 rmh.stat[2], rmh.stat[3]);
66 pcxhr_init_rmh(&rmh, CMD_VERSIO
90 struct pcxhr_rmh rmh; local
123 struct pcxhr_rmh rmh; local
159 struct pcxhr_rmh rmh; local
[all...]
H A Dpcxhr.c238 struct pcxhr_rmh rmh; local
266 pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE);
267 rmh.cmd[0] |= IO_NUM_REG_GENCLK;
268 rmh.cmd[1] = pllreg & MASK_DSP_WORD;
269 rmh.cmd[2] = pllreg >> 24;
270 rmh.cmd_len = 3;
271 err = pcxhr_send_msg(mgr, &rmh);
312 struct pcxhr_rmh rmh; local
327 pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE); /* mute outputs */
328 rmh
381 struct pcxhr_rmh rmh; local
416 struct pcxhr_rmh rmh; local
494 struct pcxhr_rmh rmh; local
546 struct pcxhr_rmh rmh; local
625 struct pcxhr_rmh rmh; local
880 struct pcxhr_rmh rmh; local
1227 struct pcxhr_rmh rmh; local
1380 struct pcxhr_rmh rmh; local
[all...]
H A Dpcxhr_mixer.c43 struct pcxhr_rmh rmh; local
45 pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE);
47 rmh.cmd[0] |= IO_NUM_REG_IN_ANA_LEVEL;
48 rmh.cmd[2] = chip->analog_capture_volume[channel];
50 rmh.cmd[0] |= IO_NUM_REG_OUT_ANA_LEVEL;
56 rmh.cmd[2] = PCXHR_LINE_PLAYBACK_LEVEL_MAX - vol;
58 rmh.cmd[1] = 1 << ((2 * chip->chip_idx) + channel); /* audio mask */
59 rmh.cmd_len = 3;
60 err = pcxhr_send_msg(chip->mgr, &rmh);
249 struct pcxhr_rmh rmh; local
293 struct pcxhr_rmh rmh; local
573 struct pcxhr_rmh rmh; local
856 struct pcxhr_rmh rmh; local
956 struct pcxhr_rmh rmh; local
[all...]
H A Dpcxhr_core.c532 static int pcxhr_read_rmh_status(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) argument
541 if (rmh->stat_len < PCXHR_SIZE_MAX_STATUS)
543 else max_stat_len = rmh->stat_len;
545 for (i = 0; i < rmh->stat_len; i++) {
562 /* need to update rmh->stat_len on the fly ?? */
564 if (rmh->dsp_stat != RMH_SSIZE_FIXED) {
565 if (rmh->dsp_stat == RMH_SSIZE_ARG) {
566 rmh->stat_len = (data & 0x0000ff) + 1;
569 /* rmh->dsp_stat == RMH_SSIZE_MASK */
570 rmh
595 pcxhr_send_msg_nolock(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) argument
717 pcxhr_init_rmh(struct pcxhr_rmh *rmh, int cmd) argument
729 pcxhr_set_pipe_cmd_params(struct pcxhr_rmh *rmh, int capture, unsigned int param1, unsigned int param2, unsigned int param3) argument
755 pcxhr_send_msg(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) argument
784 struct pcxhr_rmh rmh; local
823 struct pcxhr_rmh rmh; local
855 struct pcxhr_rmh rmh; local
962 struct pcxhr_rmh rmh; local
1119 struct pcxhr_rmh rmh; local
[all...]
H A Dpcxhr_core.h81 init the rmh struct; by default cmd_len is set to 1
83 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,
91 send the rmh
93 int pcxhr_send_msg(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh);
/linux-master/sound/pci/lx6464es/
H A Dlx_core.c130 /* rmh */
208 static void lx_message_init(struct lx_rmh *rmh, enum cmd_mb_opcodes cmd) argument
212 rmh->cmd[0] = dsp_commands[cmd].dcCodeOp;
213 rmh->cmd_len = dsp_commands[cmd].dcCmdLength;
214 rmh->stat_len = dsp_commands[cmd].dcStatusLength;
215 rmh->dsp_stat = dsp_commands[cmd].dcStatusType;
216 rmh->cmd_idx = cmd;
217 memset(&rmh->cmd[1], 0, (REG_CRM_NUMBER - 1) * sizeof(u32));
220 memset(rmh->stat, 0, REG_CRM_NUMBER * sizeof(u32));
223 rmh
229 lx_message_dump(struct lx_rmh *rmh) argument
244 lx_message_dump(struct lx_rmh *rmh) argument
256 lx_message_send_atomic(struct lx6464es *chip, struct lx_rmh *rmh) argument
[all...]
H A Dlx6464es.h71 struct lx_rmh rmh; member in struct:lx6464es
/linux-master/sound/drivers/vx/
H A Dvx_pcm.c81 * @rmh: the rmh record to modify
85 * on the rmh and changes its command length.
89 static int vx_set_differed_time(struct vx_core *chip, struct vx_rmh *rmh, argument
97 rmh->Cmd[0] |= DSP_DIFFERED_COMMAND_MASK;
100 vx_set_pcx_time(chip, &pipe->pcx_time, &rmh->Cmd[1]);
104 rmh->Cmd[1] |= NOTIFY_MASK_TIME_HIGH ;
108 rmh->Cmd[1] |= MULTIPLE_MASK_TIME_HIGH;
112 rmh->Cmd[1] |= STREAM_MASK_TIME_HIGH;
114 rmh
126 struct vx_rmh rmh; local
182 struct vx_rmh rmh; local
212 struct vx_rmh rmh; local
237 struct vx_rmh rmh; local
261 struct vx_rmh rmh; local
281 struct vx_rmh rmh; local
295 struct vx_rmh rmh; local
375 struct vx_rmh rmh; local
397 struct vx_rmh rmh; local
443 struct vx_rmh rmh; local
461 struct vx_rmh rmh; local
477 struct vx_rmh rmh; local
584 struct vx_rmh rmh; /* use a temporary rmh here */ local
651 struct vx_rmh rmh; local
797 struct vx_rmh rmh; local
1139 struct vx_rmh rmh; local
[all...]
H A Dvx_core.c145 * vx_read_status - return the status rmh
146 * @rmh: rmh record to store the status
152 static int vx_read_status(struct vx_core *chip, struct vx_rmh *rmh) argument
157 if (rmh->DspStat == RMH_SSIZE_FIXED && rmh->LgStat == 0)
173 switch (rmh->DspStat) {
176 rmh->Stat[0] = val & 0xffff00;
177 rmh->LgStat = size + 1;
181 rmh
233 vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh) argument
346 vx_send_msg(struct vx_core *chip, struct vx_rmh *rmh) argument
[all...]
H A Dvx_cmd.h199 void vx_init_rmh(struct vx_rmh *rmh, unsigned int cmd);
203 * @rmh: the rmh to be modified
208 static inline void vx_set_pipe_cmd_params(struct vx_rmh *rmh, int is_capture, argument
212 rmh->Cmd[0] |= COMMAND_RECORD_MASK;
213 rmh->Cmd[0] |= (((u32)param1 & MASK_FIRST_FIELD) << FIELD_SIZE) & MASK_DSP_WORD;
216 rmh->Cmd[0] |= ((u32)param2 & MASK_FIRST_FIELD) & MASK_DSP_WORD;
222 * @rmh: the rmh to be modified
226 static inline void vx_set_stream_cmd_params(struct vx_rmh *rmh, in argument
[all...]
H A Dvx_cmd.c84 * @rmh: the rmh pointer to be initialized
85 * @cmd: the rmh command to be set
87 void vx_init_rmh(struct vx_rmh *rmh, unsigned int cmd) argument
91 rmh->LgCmd = vx_dsp_cmds[cmd].length;
92 rmh->LgStat = vx_dsp_cmds[cmd].st_length;
93 rmh->DspStat = vx_dsp_cmds[cmd].st_type;
94 rmh->Cmd[0] = vx_dsp_cmds[cmd].opcode;
H A Dvx_mixer.c207 struct vx_rmh rmh; local
212 vx_init_rmh(&rmh, CMD_AUDIO_LEVEL_ADJUST);
214 rmh.Cmd[0] |= COMMAND_RECORD_MASK;
216 rmh.Cmd[1] = 1 << audio;
217 rmh.Cmd[2] = 0;
219 rmh.Cmd[0] |= VALID_AUDIO_IO_DIGITAL_LEVEL;
220 rmh.Cmd[2] |= info->level;
223 rmh.Cmd[0] |= VALID_AUDIO_IO_MONITORING_LEVEL;
224 rmh.Cmd[2] |= ((unsigned int)info->monitor_level << 10);
227 rmh
364 struct vx_rmh rmh; local
[all...]
H A Dvx_uer.c22 struct vx_rmh rmh; local
24 vx_init_rmh(&rmh, CMD_MODIFY_CLOCK);
27 rmh.Cmd[0] |= CMD_MODIFY_CLOCK_S_BIT;
28 return vx_send_msg(chip, &rmh);
36 struct vx_rmh rmh; local
38 vx_init_rmh(&rmh, CMD_RESYNC_AUDIO_INPUTS);
39 rmh.Cmd[0] |= 1 << 0; /* reference: AUDIO 0 */
40 return vx_send_msg(chip, &rmh);
/linux-master/arch/x86/include/asm/
H A Dsev.h173 extern int sev_es_setup_ap_jump_table(struct real_mode_header *rmh);
235 static inline int sev_es_setup_ap_jump_table(struct real_mode_header *rmh) { return 0; } argument
/linux-master/include/sound/
H 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-master/arch/x86/kernel/
H A Dsev.c1138 int __init sev_es_setup_ap_jump_table(struct real_mode_header *rmh) argument
1157 startup_cs = (u16)(rmh->trampoline_start >> 4);
1158 startup_ip = (u16)(rmh->sev_es_trampoline_start -
1159 rmh->trampoline_start);

Completed in 383 milliseconds