Searched refs:rmh (Results 1 – 10 of 10) sorted by relevance
| /linux/sound/pci/pcxhr/ |
| H A D | pcxhr_hwdep.c | 32 struct pcxhr_rmh rmh; in pcxhr_init_board() local 45 pcxhr_init_rmh(&rmh, CMD_SUPPORTED); in pcxhr_init_board() 46 err = pcxhr_send_msg(mgr, &rmh); in pcxhr_init_board() 50 if ((rmh.stat[0] & MASK_FIRST_FIELD) < mgr->playback_chips * 2) in pcxhr_init_board() 53 if (((rmh.stat[0] >> (2 * FIELD_SIZE)) & MASK_FIRST_FIELD) < in pcxhr_init_board() 57 if ((rmh.stat[1] & 0x5F) < card_streams) in pcxhr_init_board() 60 if (((rmh.stat[1] >> 7) & 0x5F) < PCXHR_PLAYBACK_STREAMS) in pcxhr_init_board() 64 rmh.stat[2], rmh.stat[3]); in pcxhr_init_board() 66 pcxhr_init_rmh(&rmh, CMD_VERSION); in pcxhr_init_board() 68 rmh.cmd[0] |= mgr->firmware_num; in pcxhr_init_board() [all …]
|
| H A D | pcxhr.c | 238 struct pcxhr_rmh rmh; in pcxhr_get_clock_reg() local 266 pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE); in pcxhr_get_clock_reg() 267 rmh.cmd[0] |= IO_NUM_REG_GENCLK; in pcxhr_get_clock_reg() 268 rmh.cmd[1] = pllreg & MASK_DSP_WORD; in pcxhr_get_clock_reg() 269 rmh.cmd[2] = pllreg >> 24; in pcxhr_get_clock_reg() 270 rmh.cmd_len = 3; in pcxhr_get_clock_reg() 271 err = pcxhr_send_msg(mgr, &rmh); in pcxhr_get_clock_reg() 312 struct pcxhr_rmh rmh; in pcxhr_sub_set_clock() local 327 pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE); /* mute outputs */ in pcxhr_sub_set_clock() 328 rmh.cmd[0] |= IO_NUM_REG_MUTE_OUT; in pcxhr_sub_set_clock() [all …]
|
| H A D | pcxhr_core.h | 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, 93 int pcxhr_send_msg(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh);
|
| /linux/sound/drivers/vx/ |
| H A D | vx_pcm.c | 89 static int vx_set_differed_time(struct vx_core *chip, struct vx_rmh *rmh, in vx_set_differed_time() argument 97 rmh->Cmd[0] |= DSP_DIFFERED_COMMAND_MASK; in vx_set_differed_time() 100 vx_set_pcx_time(chip, &pipe->pcx_time, &rmh->Cmd[1]); in vx_set_differed_time() 104 rmh->Cmd[1] |= NOTIFY_MASK_TIME_HIGH ; in vx_set_differed_time() 108 rmh->Cmd[1] |= MULTIPLE_MASK_TIME_HIGH; in vx_set_differed_time() 112 rmh->Cmd[1] |= STREAM_MASK_TIME_HIGH; in vx_set_differed_time() 114 rmh->LgCmd += 2; in vx_set_differed_time() 126 struct vx_rmh rmh; in vx_set_stream_format() local 128 vx_init_rmh(&rmh, pipe->is_capture ? in vx_set_stream_format() 130 rmh.Cmd[0] |= pipe->number << FIELD_SIZE; in vx_set_stream_format() [all …]
|
| H A D | vx_cmd.h | 199 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()
|
| H A D | vx_cmd.c | 87 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/sound/pci/lx6464es/ |
| H A D | lx6464es.h | 71 struct lx_rmh rmh; member
|
| /linux/include/sound/ |
| H A D | vx_core.h | 254 int vx_send_msg(struct vx_core *chip, struct vx_rmh *rmh); 255 int vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh);
|
| /linux/arch/x86/include/asm/ |
| H A D | sev.h | 456 extern int sev_es_setup_ap_jump_table(struct real_mode_header *rmh); 605 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/arch/x86/coco/sev/ |
| H A D | core.c | 901 int __init sev_es_setup_ap_jump_table(struct real_mode_header *rmh) in sev_es_setup_ap_jump_table() argument 920 startup_cs = (u16)(rmh->trampoline_start >> 4); in sev_es_setup_ap_jump_table() 921 startup_ip = (u16)(rmh->sev_es_trampoline_start - in sev_es_setup_ap_jump_table() 922 rmh->trampoline_start); in sev_es_setup_ap_jump_table()
|