rmh 254 include/sound/vx_core.h int vx_send_msg(struct vx_core *chip, struct vx_rmh *rmh); rmh 255 include/sound/vx_core.h int vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh); rmh 87 sound/drivers/vx/vx_cmd.c void vx_init_rmh(struct vx_rmh *rmh, unsigned int cmd) rmh 91 sound/drivers/vx/vx_cmd.c rmh->LgCmd = vx_dsp_cmds[cmd].length; rmh 92 sound/drivers/vx/vx_cmd.c rmh->LgStat = vx_dsp_cmds[cmd].st_length; rmh 93 sound/drivers/vx/vx_cmd.c rmh->DspStat = vx_dsp_cmds[cmd].st_type; rmh 94 sound/drivers/vx/vx_cmd.c rmh->Cmd[0] = vx_dsp_cmds[cmd].opcode; rmh 199 sound/drivers/vx/vx_cmd.h void vx_init_rmh(struct vx_rmh *rmh, unsigned int cmd); rmh 208 sound/drivers/vx/vx_cmd.h static inline void vx_set_pipe_cmd_params(struct vx_rmh *rmh, int is_capture, rmh 212 sound/drivers/vx/vx_cmd.h rmh->Cmd[0] |= COMMAND_RECORD_MASK; rmh 213 sound/drivers/vx/vx_cmd.h rmh->Cmd[0] |= (((u32)param1 & MASK_FIRST_FIELD) << FIELD_SIZE) & MASK_DSP_WORD; rmh 216 sound/drivers/vx/vx_cmd.h rmh->Cmd[0] |= ((u32)param2 & MASK_FIRST_FIELD) & MASK_DSP_WORD; rmh 226 sound/drivers/vx/vx_cmd.h static inline void vx_set_stream_cmd_params(struct vx_rmh *rmh, int is_capture, int pipe) rmh 229 sound/drivers/vx/vx_cmd.h rmh->Cmd[0] |= COMMAND_RECORD_MASK; rmh 230 sound/drivers/vx/vx_cmd.h rmh->Cmd[0] |= (((u32)pipe & MASK_FIRST_FIELD) << FIELD_SIZE) & MASK_DSP_WORD; rmh 147 sound/drivers/vx/vx_core.c static int vx_read_status(struct vx_core *chip, struct vx_rmh *rmh) rmh 152 sound/drivers/vx/vx_core.c if (rmh->DspStat == RMH_SSIZE_FIXED && rmh->LgStat == 0) rmh 168 sound/drivers/vx/vx_core.c switch (rmh->DspStat) { rmh 171 sound/drivers/vx/vx_core.c rmh->Stat[0] = val & 0xffff00; rmh 172 sound/drivers/vx/vx_core.c rmh->LgStat = size + 1; rmh 176 sound/drivers/vx/vx_core.c rmh->Stat[0] = val; rmh 183 sound/drivers/vx/vx_core.c rmh->LgStat = size + 1; rmh 187 sound/drivers/vx/vx_core.c size = rmh->LgStat; rmh 188 sound/drivers/vx/vx_core.c rmh->Stat[0] = val; /* Val is the status 1st word */ rmh 207 sound/drivers/vx/vx_core.c rmh->Stat[i] = vx_inb(chip, RXH) << 16; rmh 208 sound/drivers/vx/vx_core.c rmh->Stat[i] |= vx_inb(chip, RXM) << 8; rmh 209 sound/drivers/vx/vx_core.c rmh->Stat[i] |= vx_inb(chip, RXL); rmh 228 sound/drivers/vx/vx_core.c int vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh) rmh 242 sound/drivers/vx/vx_core.c rmh->Cmd[0], rmh->LgCmd, rmh->DspStat); rmh 243 sound/drivers/vx/vx_core.c if (rmh->LgCmd > 1) { rmh 245 sound/drivers/vx/vx_core.c for (i = 1; i < rmh->LgCmd; i++) rmh 246 sound/drivers/vx/vx_core.c printk(KERN_CONT "0x%06x ", rmh->Cmd[i]); rmh 251 sound/drivers/vx/vx_core.c if (rmh->LgCmd > 1) rmh 252 sound/drivers/vx/vx_core.c rmh->Cmd[0] |= MASK_MORE_THAN_1_WORD_COMMAND; rmh 254 sound/drivers/vx/vx_core.c rmh->Cmd[0] &= MASK_1_WORD_COMMAND; rmh 263 sound/drivers/vx/vx_core.c vx_outb(chip, TXH, (rmh->Cmd[0] >> 16) & 0xff); rmh 264 sound/drivers/vx/vx_core.c vx_outb(chip, TXM, (rmh->Cmd[0] >> 8) & 0xff); rmh 265 sound/drivers/vx/vx_core.c vx_outb(chip, TXL, rmh->Cmd[0] & 0xff); rmh 292 sound/drivers/vx/vx_core.c if (rmh->LgCmd > 1) { rmh 293 sound/drivers/vx/vx_core.c for (i = 1; i < rmh->LgCmd; i++) { rmh 301 sound/drivers/vx/vx_core.c vx_outb(chip, TXH, (rmh->Cmd[i] >> 16) & 0xff); rmh 302 sound/drivers/vx/vx_core.c vx_outb(chip, TXM, (rmh->Cmd[i] >> 8) & 0xff); rmh 303 sound/drivers/vx/vx_core.c vx_outb(chip, TXL, rmh->Cmd[i] & 0xff); rmh 322 sound/drivers/vx/vx_core.c return vx_read_status(chip, rmh); rmh 333 sound/drivers/vx/vx_core.c int vx_send_msg(struct vx_core *chip, struct vx_rmh *rmh) rmh 338 sound/drivers/vx/vx_core.c err = vx_send_msg_nolock(chip, rmh); rmh 207 sound/drivers/vx/vx_mixer.c struct vx_rmh rmh; rmh 212 sound/drivers/vx/vx_mixer.c vx_init_rmh(&rmh, CMD_AUDIO_LEVEL_ADJUST); rmh 214 sound/drivers/vx/vx_mixer.c rmh.Cmd[0] |= COMMAND_RECORD_MASK; rmh 216 sound/drivers/vx/vx_mixer.c rmh.Cmd[1] = 1 << audio; rmh 217 sound/drivers/vx/vx_mixer.c rmh.Cmd[2] = 0; rmh 219 sound/drivers/vx/vx_mixer.c rmh.Cmd[0] |= VALID_AUDIO_IO_DIGITAL_LEVEL; rmh 220 sound/drivers/vx/vx_mixer.c rmh.Cmd[2] |= info->level; rmh 223 sound/drivers/vx/vx_mixer.c rmh.Cmd[0] |= VALID_AUDIO_IO_MONITORING_LEVEL; rmh 224 sound/drivers/vx/vx_mixer.c rmh.Cmd[2] |= ((unsigned int)info->monitor_level << 10); rmh 227 sound/drivers/vx/vx_mixer.c rmh.Cmd[0] |= VALID_AUDIO_IO_MUTE_LEVEL; rmh 229 sound/drivers/vx/vx_mixer.c rmh.Cmd[2] |= AUDIO_IO_HAS_MUTE_LEVEL; rmh 233 sound/drivers/vx/vx_mixer.c rmh.Cmd[0] |= VALID_AUDIO_IO_MUTE_MONITORING_1 | VALID_AUDIO_IO_MUTE_MONITORING_2; rmh 235 sound/drivers/vx/vx_mixer.c rmh.Cmd[2] |= AUDIO_IO_HAS_MUTE_MONITORING_1; rmh 238 sound/drivers/vx/vx_mixer.c return vx_send_msg(chip, &rmh); rmh 247 sound/drivers/vx/vx_mixer.c struct vx_rmh rmh; rmh 250 sound/drivers/vx/vx_mixer.c vx_init_rmh(&rmh, CMD_GET_AUDIO_LEVELS); rmh 252 sound/drivers/vx/vx_mixer.c rmh.Cmd[0] |= COMMAND_RECORD_MASK; rmh 254 sound/drivers/vx/vx_mixer.c rmh.Cmd[1] = 1 << audio; rmh 255 sound/drivers/vx/vx_mixer.c err = vx_send_msg(chip, &rmh); rmh 258 sound/drivers/vx/vx_mixer.c info.level = rmh.Stat[0] & MASK_DSP_WORD_LEVEL; rmh 259 sound/drivers/vx/vx_mixer.c info.monitor_level = (rmh.Stat[0] >> 10) & MASK_DSP_WORD_LEVEL; rmh 260 sound/drivers/vx/vx_mixer.c info.mute = (rmh.Stat[i] & AUDIO_IO_HAS_MUTE_LEVEL) ? 1 : 0; rmh 261 sound/drivers/vx/vx_mixer.c info.monitor_mute = (rmh.Stat[i] & AUDIO_IO_HAS_MUTE_MONITORING_1) ? 1 : 0; rmh 364 sound/drivers/vx/vx_mixer.c struct vx_rmh rmh; rmh 370 sound/drivers/vx/vx_mixer.c vx_init_rmh(&rmh, CMD_AUDIO_VU_PIC_METER); rmh 371 sound/drivers/vx/vx_mixer.c rmh.LgStat += 2 * VU_METER_CHANNELS; rmh 373 sound/drivers/vx/vx_mixer.c rmh.Cmd[0] |= COMMAND_RECORD_MASK; rmh 376 sound/drivers/vx/vx_mixer.c rmh.Cmd[1] = 0; rmh 378 sound/drivers/vx/vx_mixer.c rmh.Cmd[1] |= 1 << (audio + i); rmh 379 sound/drivers/vx/vx_mixer.c err = vx_send_msg(chip, &rmh); rmh 384 sound/drivers/vx/vx_mixer.c info->saturated = (rmh.Stat[0] & (1 << (audio + i))) ? 1 : 0; rmh 385 sound/drivers/vx/vx_mixer.c info->vu_level = rmh.Stat[i + 1]; rmh 386 sound/drivers/vx/vx_mixer.c info->peak_level = rmh.Stat[i + 2]; rmh 90 sound/drivers/vx/vx_pcm.c static int vx_set_differed_time(struct vx_core *chip, struct vx_rmh *rmh, rmh 98 sound/drivers/vx/vx_pcm.c rmh->Cmd[0] |= DSP_DIFFERED_COMMAND_MASK; rmh 101 sound/drivers/vx/vx_pcm.c vx_set_pcx_time(chip, &pipe->pcx_time, &rmh->Cmd[1]); rmh 105 sound/drivers/vx/vx_pcm.c rmh->Cmd[1] |= NOTIFY_MASK_TIME_HIGH ; rmh 109 sound/drivers/vx/vx_pcm.c rmh->Cmd[1] |= MULTIPLE_MASK_TIME_HIGH; rmh 113 sound/drivers/vx/vx_pcm.c rmh->Cmd[1] |= STREAM_MASK_TIME_HIGH; rmh 115 sound/drivers/vx/vx_pcm.c rmh->LgCmd += 2; rmh 127 sound/drivers/vx/vx_pcm.c struct vx_rmh rmh; rmh 129 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, pipe->is_capture ? rmh 131 sound/drivers/vx/vx_pcm.c rmh.Cmd[0] |= pipe->number << FIELD_SIZE; rmh 134 sound/drivers/vx/vx_pcm.c vx_set_differed_time(chip, &rmh, pipe); rmh 136 sound/drivers/vx/vx_pcm.c rmh.Cmd[rmh.LgCmd] = (data & 0xFFFFFF00) >> 8; rmh 137 sound/drivers/vx/vx_pcm.c rmh.Cmd[rmh.LgCmd + 1] = (data & 0xFF) << 16 /*| (datal & 0xFFFF00) >> 8*/; rmh 138 sound/drivers/vx/vx_pcm.c rmh.LgCmd += 2; rmh 140 sound/drivers/vx/vx_pcm.c return vx_send_msg(chip, &rmh); rmh 183 sound/drivers/vx/vx_pcm.c struct vx_rmh rmh; rmh 185 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_IBL); rmh 186 sound/drivers/vx/vx_pcm.c rmh.Cmd[0] |= info->size & 0x03ffff; rmh 187 sound/drivers/vx/vx_pcm.c err = vx_send_msg(chip, &rmh); rmh 190 sound/drivers/vx/vx_pcm.c info->size = rmh.Stat[0]; rmh 191 sound/drivers/vx/vx_pcm.c info->max_size = rmh.Stat[1]; rmh 192 sound/drivers/vx/vx_pcm.c info->min_size = rmh.Stat[2]; rmh 193 sound/drivers/vx/vx_pcm.c info->granularity = rmh.Stat[3]; rmh 213 sound/drivers/vx/vx_pcm.c struct vx_rmh rmh; rmh 215 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_PIPE_STATE); rmh 216 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); rmh 217 sound/drivers/vx/vx_pcm.c err = vx_send_msg(chip, &rmh); rmh 219 sound/drivers/vx/vx_pcm.c *state = (rmh.Stat[0] & (1 << pipe->number)) ? 1 : 0; rmh 238 sound/drivers/vx/vx_pcm.c struct vx_rmh rmh; rmh 240 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_SIZE_HBUFFER); rmh 241 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); rmh 243 sound/drivers/vx/vx_pcm.c rmh.Cmd[0] |= 0x00000001; rmh 244 sound/drivers/vx/vx_pcm.c result = vx_send_msg(chip, &rmh); rmh 246 sound/drivers/vx/vx_pcm.c result = rmh.Stat[0] & 0xffff; rmh 262 sound/drivers/vx/vx_pcm.c struct vx_rmh rmh; rmh 264 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_CAN_START_PIPE); rmh 265 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); rmh 266 sound/drivers/vx/vx_pcm.c rmh.Cmd[0] |= 1; rmh 268 sound/drivers/vx/vx_pcm.c err = vx_send_msg(chip, &rmh); rmh 270 sound/drivers/vx/vx_pcm.c if (rmh.Stat[0]) rmh 282 sound/drivers/vx/vx_pcm.c struct vx_rmh rmh; rmh 284 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_CONF_PIPE); rmh 286 sound/drivers/vx/vx_pcm.c rmh.Cmd[0] |= COMMAND_RECORD_MASK; rmh 287 sound/drivers/vx/vx_pcm.c rmh.Cmd[1] = 1 << pipe->number; rmh 288 sound/drivers/vx/vx_pcm.c return vx_send_msg(chip, &rmh); rmh 296 sound/drivers/vx/vx_pcm.c struct vx_rmh rmh; rmh 298 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_SEND_IRQA); rmh 299 sound/drivers/vx/vx_pcm.c return vx_send_msg(chip, &rmh); rmh 374 sound/drivers/vx/vx_pcm.c struct vx_rmh rmh; rmh 375 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_STOP_PIPE); rmh 376 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); rmh 377 sound/drivers/vx/vx_pcm.c return vx_send_msg(chip, &rmh); rmh 396 sound/drivers/vx/vx_pcm.c struct vx_rmh rmh; rmh 400 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_RES_PIPE); rmh 401 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, capture, audioid, num_audio); rmh 404 sound/drivers/vx/vx_pcm.c rmh.Cmd[0] |= BIT_SKIP_SOUND; rmh 408 sound/drivers/vx/vx_pcm.c rmh.Cmd[0] |= BIT_DATA_MODE; rmh 409 sound/drivers/vx/vx_pcm.c err = vx_send_msg(chip, &rmh); rmh 417 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_FREE_PIPE); rmh 418 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, capture, audioid, 0); rmh 419 sound/drivers/vx/vx_pcm.c vx_send_msg(chip, &rmh); rmh 442 sound/drivers/vx/vx_pcm.c struct vx_rmh rmh; rmh 444 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_FREE_PIPE); rmh 445 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); rmh 446 sound/drivers/vx/vx_pcm.c vx_send_msg(chip, &rmh); rmh 460 sound/drivers/vx/vx_pcm.c struct vx_rmh rmh; rmh 462 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_START_ONE_STREAM); rmh 463 sound/drivers/vx/vx_pcm.c vx_set_stream_cmd_params(&rmh, pipe->is_capture, pipe->number); rmh 464 sound/drivers/vx/vx_pcm.c vx_set_differed_time(chip, &rmh, pipe); rmh 465 sound/drivers/vx/vx_pcm.c return vx_send_msg(chip, &rmh); rmh 476 sound/drivers/vx/vx_pcm.c struct vx_rmh rmh; rmh 478 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_STOP_STREAM); rmh 479 sound/drivers/vx/vx_pcm.c vx_set_stream_cmd_params(&rmh, pipe->is_capture, pipe->number); rmh 480 sound/drivers/vx/vx_pcm.c return vx_send_msg(chip, &rmh); rmh 584 sound/drivers/vx/vx_pcm.c struct vx_rmh rmh; /* use a temporary rmh here */ rmh 588 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_NOTIFY_END_OF_BUFFER); rmh 589 sound/drivers/vx/vx_pcm.c vx_set_stream_cmd_params(&rmh, 0, pipe->number); rmh 590 sound/drivers/vx/vx_pcm.c err = vx_send_msg_nolock(chip, &rmh); rmh 651 sound/drivers/vx/vx_pcm.c struct vx_rmh rmh; rmh 655 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_STREAM_SAMPLE_COUNT); rmh 656 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->number, 0); rmh 657 sound/drivers/vx/vx_pcm.c err = vx_send_msg(chip, &rmh); rmh 661 sound/drivers/vx/vx_pcm.c count = ((u64)(rmh.Stat[0] & 0xfffff) << 24) | (u64)rmh.Stat[1]; rmh 811 sound/drivers/vx/vx_pcm.c struct vx_rmh rmh; rmh 813 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_FREE_PIPE); rmh 814 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, 0, pipe->number, 0); rmh 815 sound/drivers/vx/vx_pcm.c if ((err = vx_send_msg(chip, &rmh)) < 0) rmh 817 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_RES_PIPE); rmh 818 sound/drivers/vx/vx_pcm.c vx_set_pipe_cmd_params(&rmh, 0, pipe->number, pipe->channels); rmh 820 sound/drivers/vx/vx_pcm.c rmh.Cmd[0] |= BIT_DATA_MODE; rmh 821 sound/drivers/vx/vx_pcm.c if ((err = vx_send_msg(chip, &rmh)) < 0) rmh 1158 sound/drivers/vx/vx_pcm.c struct vx_rmh rmh; rmh 1161 sound/drivers/vx/vx_pcm.c vx_init_rmh(&rmh, CMD_SUPPORTED); rmh 1162 sound/drivers/vx/vx_pcm.c if (vx_send_msg(chip, &rmh) < 0) { rmh 1167 sound/drivers/vx/vx_pcm.c chip->audio_outs = rmh.Stat[0] & MASK_FIRST_FIELD; rmh 1168 sound/drivers/vx/vx_pcm.c chip->audio_ins = (rmh.Stat[0] >> (FIELD_SIZE*2)) & MASK_FIRST_FIELD; rmh 1169 sound/drivers/vx/vx_pcm.c chip->audio_info = rmh.Stat[1]; rmh 22 sound/drivers/vx/vx_uer.c struct vx_rmh rmh; rmh 24 sound/drivers/vx/vx_uer.c vx_init_rmh(&rmh, CMD_MODIFY_CLOCK); rmh 27 sound/drivers/vx/vx_uer.c rmh.Cmd[0] |= CMD_MODIFY_CLOCK_S_BIT; rmh 28 sound/drivers/vx/vx_uer.c return vx_send_msg(chip, &rmh); rmh 36 sound/drivers/vx/vx_uer.c struct vx_rmh rmh; rmh 38 sound/drivers/vx/vx_uer.c vx_init_rmh(&rmh, CMD_RESYNC_AUDIO_INPUTS); rmh 39 sound/drivers/vx/vx_uer.c rmh.Cmd[0] |= 1 << 0; /* reference: AUDIO 0 */ rmh 40 sound/drivers/vx/vx_uer.c return vx_send_msg(chip, &rmh); rmh 71 sound/pci/lx6464es/lx6464es.h struct lx_rmh rmh; rmh 208 sound/pci/lx6464es/lx_core.c static void lx_message_init(struct lx_rmh *rmh, enum cmd_mb_opcodes cmd) rmh 212 sound/pci/lx6464es/lx_core.c rmh->cmd[0] = dsp_commands[cmd].dcCodeOp; rmh 213 sound/pci/lx6464es/lx_core.c rmh->cmd_len = dsp_commands[cmd].dcCmdLength; rmh 214 sound/pci/lx6464es/lx_core.c rmh->stat_len = dsp_commands[cmd].dcStatusLength; rmh 215 sound/pci/lx6464es/lx_core.c rmh->dsp_stat = dsp_commands[cmd].dcStatusType; rmh 216 sound/pci/lx6464es/lx_core.c rmh->cmd_idx = cmd; rmh 217 sound/pci/lx6464es/lx_core.c memset(&rmh->cmd[1], 0, (REG_CRM_NUMBER - 1) * sizeof(u32)); rmh 220 sound/pci/lx6464es/lx_core.c memset(rmh->stat, 0, REG_CRM_NUMBER * sizeof(u32)); rmh 223 sound/pci/lx6464es/lx_core.c rmh->cmd_idx = cmd; rmh 229 sound/pci/lx6464es/lx_core.c static void lx_message_dump(struct lx_rmh *rmh) rmh 231 sound/pci/lx6464es/lx_core.c u8 idx = rmh->cmd_idx; rmh 236 sound/pci/lx6464es/lx_core.c for (i = 0; i != rmh->cmd_len; ++i) rmh 237 sound/pci/lx6464es/lx_core.c snd_printk(LXRMH "\tcmd[%d] %08x\n", i, rmh->cmd[i]); rmh 239 sound/pci/lx6464es/lx_core.c for (i = 0; i != rmh->stat_len; ++i) rmh 240 sound/pci/lx6464es/lx_core.c snd_printk(LXRMH "\tstat[%d]: %08x\n", i, rmh->stat[i]); rmh 244 sound/pci/lx6464es/lx_core.c static inline void lx_message_dump(struct lx_rmh *rmh) rmh 256 sound/pci/lx6464es/lx_core.c static int lx_message_send_atomic(struct lx6464es *chip, struct lx_rmh *rmh) rmh 267 sound/pci/lx6464es/lx_core.c lx_dsp_reg_writebuf(chip, eReg_CRM1, rmh->cmd, rmh->cmd_len); rmh 275 sound/pci/lx6464es/lx_core.c if (rmh->dsp_stat == 0) rmh 289 sound/pci/lx6464es/lx_core.c if (rmh->stat_len) { rmh 290 sound/pci/lx6464es/lx_core.c snd_BUG_ON(rmh->stat_len >= (REG_CRM_NUMBER-1)); rmh 291 sound/pci/lx6464es/lx_core.c lx_dsp_reg_readbuf(chip, eReg_CRM2, rmh->stat, rmh 292 sound/pci/lx6464es/lx_core.c rmh->stat_len); rmh 310 sound/pci/lx6464es/lx_core.c lx_message_dump(rmh); rmh 323 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_01_GET_SYS_CFG); rmh 324 sound/pci/lx6464es/lx_core.c ret = lx_message_send_atomic(chip, &chip->rmh); rmh 326 sound/pci/lx6464es/lx_core.c *rdsp_version = chip->rmh.stat[1]; rmh 340 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_01_GET_SYS_CFG); rmh 341 sound/pci/lx6464es/lx_core.c ret = lx_message_send_atomic(chip, &chip->rmh); rmh 344 sound/pci/lx6464es/lx_core.c freq_raw = chip->rmh.stat[0] >> FREQ_FIELD_OFFSET; rmh 388 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_02_SET_GRANULARITY); rmh 389 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= gran; rmh 391 sound/pci/lx6464es/lx_core.c ret = lx_message_send_atomic(chip, &chip->rmh); rmh 402 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_04_GET_EVENT); rmh 403 sound/pci/lx6464es/lx_core.c chip->rmh.stat_len = 9; /* we don't necessarily need the full length */ rmh 405 sound/pci/lx6464es/lx_core.c ret = lx_message_send_atomic(chip, &chip->rmh); rmh 408 sound/pci/lx6464es/lx_core.c memcpy(data, chip->rmh.stat, chip->rmh.stat_len * sizeof(u32)); rmh 427 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_06_ALLOCATE_PIPE); rmh 429 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= pipe_cmd; rmh 430 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= channels; rmh 432 sound/pci/lx6464es/lx_core.c err = lx_message_send_atomic(chip, &chip->rmh); rmh 447 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_07_RELEASE_PIPE); rmh 449 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= pipe_cmd; rmh 451 sound/pci/lx6464es/lx_core.c err = lx_message_send_atomic(chip, &chip->rmh); rmh 472 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_08_ASK_BUFFERS); rmh 474 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= pipe_cmd; rmh 476 sound/pci/lx6464es/lx_core.c err = lx_message_send_atomic(chip, &chip->rmh); rmh 481 sound/pci/lx6464es/lx_core.c u32 stat = chip->rmh.stat[i]; rmh 497 sound/pci/lx6464es/lx_core.c for (i = 0; i != chip->rmh.stat_len; ++i) rmh 500 sound/pci/lx6464es/lx_core.c chip->rmh.stat[i], rmh 501 sound/pci/lx6464es/lx_core.c chip->rmh.stat[i] & MASK_DATA_SIZE); rmh 516 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_09_STOP_PIPE); rmh 518 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= pipe_cmd; rmh 520 sound/pci/lx6464es/lx_core.c err = lx_message_send_atomic(chip, &chip->rmh); rmh 532 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_0B_TOGGLE_PIPE_STATE); rmh 534 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= pipe_cmd; rmh 536 sound/pci/lx6464es/lx_core.c err = lx_message_send_atomic(chip, &chip->rmh); rmh 577 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_0A_GET_PIPE_SPL_COUNT); rmh 579 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= pipe_cmd; rmh 580 sound/pci/lx6464es/lx_core.c chip->rmh.stat_len = 2; /* need all words here! */ rmh 582 sound/pci/lx6464es/lx_core.c err = lx_message_send_atomic(chip, &chip->rmh); /* don't sleep! */ rmh 588 sound/pci/lx6464es/lx_core.c *rsample_count = ((u64)(chip->rmh.stat[0] & MASK_SPL_COUNT_HI) rmh 590 sound/pci/lx6464es/lx_core.c + chip->rmh.stat[1]; /* lo part */ rmh 603 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_0A_GET_PIPE_SPL_COUNT); rmh 605 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= pipe_cmd; rmh 607 sound/pci/lx6464es/lx_core.c err = lx_message_send_atomic(chip, &chip->rmh); rmh 612 sound/pci/lx6464es/lx_core.c *rstate = (chip->rmh.stat[0] >> PSTATE_OFFSET) & 0x0F; rmh 659 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_13_SET_STREAM_STATE); rmh 661 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= pipe_cmd; rmh 662 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= state; rmh 664 sound/pci/lx6464es/lx_core.c err = lx_message_send_atomic(chip, &chip->rmh); rmh 682 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_0C_DEF_STREAM); rmh 684 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= pipe_cmd; rmh 688 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= (STREAM_FMT_16b << STREAM_FMT_OFFSET); rmh 692 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= (STREAM_FMT_intel << STREAM_FMT_OFFSET); rmh 694 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= channels-1; rmh 696 sound/pci/lx6464es/lx_core.c err = lx_message_send_atomic(chip, &chip->rmh); rmh 709 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_0E_GET_STREAM_SPL_COUNT); rmh 711 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= pipe_cmd; rmh 713 sound/pci/lx6464es/lx_core.c err = lx_message_send_atomic(chip, &chip->rmh); rmh 715 sound/pci/lx6464es/lx_core.c *rstate = (chip->rmh.stat[0] & SF_START) ? START_STATE : PAUSE_STATE; rmh 728 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_0E_GET_STREAM_SPL_COUNT); rmh 730 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= pipe_cmd; rmh 732 sound/pci/lx6464es/lx_core.c err = lx_message_send_atomic(chip, &chip->rmh); rmh 734 sound/pci/lx6464es/lx_core.c *r_bytepos = ((u64) (chip->rmh.stat[0] & MASK_SPL_COUNT_HI) rmh 736 sound/pci/lx6464es/lx_core.c + chip->rmh.stat[1]; /* lo part */ rmh 751 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_0F_UPDATE_BUFFER); rmh 753 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= pipe_cmd; rmh 754 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= BF_NOTIFY_EOB; /* request interrupt notification */ rmh 758 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[1] = buffer_size & MASK_DATA_SIZE; rmh 759 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[2] = buf_address_lo; rmh 762 sound/pci/lx6464es/lx_core.c chip->rmh.cmd_len = 4; rmh 763 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[3] = buf_address_hi; rmh 764 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= BF_64BITS_ADR; rmh 767 sound/pci/lx6464es/lx_core.c err = lx_message_send_atomic(chip, &chip->rmh); rmh 770 sound/pci/lx6464es/lx_core.c *r_buffer_index = chip->rmh.stat[0]; rmh 798 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_11_CANCEL_BUFFER); rmh 800 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= pipe_cmd; rmh 801 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= MASK_BUFFER_ID; /* ask for the current buffer: the rmh 804 sound/pci/lx6464es/lx_core.c err = lx_message_send_atomic(chip, &chip->rmh); rmh 807 sound/pci/lx6464es/lx_core.c *r_buffer_size = chip->rmh.stat[0] & MASK_DATA_SIZE; rmh 820 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_11_CANCEL_BUFFER); rmh 822 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= pipe_cmd; rmh 823 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= buffer_index; rmh 825 sound/pci/lx6464es/lx_core.c err = lx_message_send_atomic(chip, &chip->rmh); rmh 844 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_0D_SET_MUTE); rmh 846 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= PIPE_INFO_TO_CMD(is_capture, 0); rmh 848 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[1] = (u32)(mute_mask >> (u64)32); /* hi part */ rmh 849 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[2] = (u32)(mute_mask & (u64)0xFFFFFFFF); /* lo part */ rmh 852 sound/pci/lx6464es/lx_core.c "mute %x %x %x\n", chip->rmh.cmd[0], chip->rmh.cmd[1], rmh 853 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[2]); rmh 855 sound/pci/lx6464es/lx_core.c err = lx_message_send_atomic(chip, &chip->rmh); rmh 890 sound/pci/lx6464es/lx_core.c lx_message_init(&chip->rmh, CMD_12_GET_PEAK); rmh 891 sound/pci/lx6464es/lx_core.c chip->rmh.cmd[0] |= PIPE_INFO_TO_CMD(is_capture, i); rmh 893 sound/pci/lx6464es/lx_core.c err = lx_message_send_atomic(chip, &chip->rmh); rmh 896 sound/pci/lx6464es/lx_core.c s0 = peak_map[chip->rmh.stat[0] & 0x0F]; rmh 897 sound/pci/lx6464es/lx_core.c s1 = peak_map[(chip->rmh.stat[0] >> 4) & 0xf]; rmh 898 sound/pci/lx6464es/lx_core.c s2 = peak_map[(chip->rmh.stat[0] >> 8) & 0xf]; rmh 899 sound/pci/lx6464es/lx_core.c s3 = peak_map[(chip->rmh.stat[0] >> 12) & 0xf]; rmh 239 sound/pci/pcxhr/pcxhr.c struct pcxhr_rmh rmh; rmh 267 sound/pci/pcxhr/pcxhr.c pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE); rmh 268 sound/pci/pcxhr/pcxhr.c rmh.cmd[0] |= IO_NUM_REG_GENCLK; rmh 269 sound/pci/pcxhr/pcxhr.c rmh.cmd[1] = pllreg & MASK_DSP_WORD; rmh 270 sound/pci/pcxhr/pcxhr.c rmh.cmd[2] = pllreg >> 24; rmh 271 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 3; rmh 272 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); rmh 313 sound/pci/pcxhr/pcxhr.c struct pcxhr_rmh rmh; rmh 328 sound/pci/pcxhr/pcxhr.c pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE); /* mute outputs */ rmh 329 sound/pci/pcxhr/pcxhr.c rmh.cmd[0] |= IO_NUM_REG_MUTE_OUT; rmh 331 sound/pci/pcxhr/pcxhr.c rmh.cmd[1] = 1; rmh 332 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 2; rmh 334 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); rmh 338 sound/pci/pcxhr/pcxhr.c pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE); /* set speed ratio */ rmh 339 sound/pci/pcxhr/pcxhr.c rmh.cmd[0] |= IO_NUM_SPEED_RATIO; rmh 340 sound/pci/pcxhr/pcxhr.c rmh.cmd[1] = speed; rmh 341 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 2; rmh 342 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); rmh 358 sound/pci/pcxhr/pcxhr.c pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_READ); /* unmute outputs */ rmh 359 sound/pci/pcxhr/pcxhr.c rmh.cmd[0] |= IO_NUM_REG_MUTE_OUT; rmh 361 sound/pci/pcxhr/pcxhr.c rmh.cmd[1] = 1; rmh 362 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 2; rmh 364 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); rmh 382 sound/pci/pcxhr/pcxhr.c struct pcxhr_rmh rmh; rmh 397 sound/pci/pcxhr/pcxhr.c pcxhr_init_rmh(&rmh, CMD_MODIFY_CLOCK); rmh 398 sound/pci/pcxhr/pcxhr.c rmh.cmd[0] |= PCXHR_MODIFY_CLOCK_S_BIT; /* resync fifos */ rmh 400 sound/pci/pcxhr/pcxhr.c rmh.cmd[1] = PCXHR_IRQ_TIMER_PERIOD; rmh 402 sound/pci/pcxhr/pcxhr.c rmh.cmd[1] = PCXHR_IRQ_TIMER_PERIOD * 2; rmh 403 sound/pci/pcxhr/pcxhr.c rmh.cmd[2] = rate; rmh 404 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 3; rmh 405 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); rmh 417 sound/pci/pcxhr/pcxhr.c struct pcxhr_rmh rmh; rmh 443 sound/pci/pcxhr/pcxhr.c pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_READ); rmh 444 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 2; rmh 445 sound/pci/pcxhr/pcxhr.c rmh.cmd[0] |= IO_NUM_REG_STATUS; rmh 447 sound/pci/pcxhr/pcxhr.c rmh.cmd[1] = reg; rmh 448 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); rmh 454 sound/pci/pcxhr/pcxhr.c rmh.cmd[1] = REG_STATUS_CURRENT; rmh 455 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); rmh 458 sound/pci/pcxhr/pcxhr.c switch (rmh.stat[1] & 0x0f) { rmh 495 sound/pci/pcxhr/pcxhr.c struct pcxhr_rmh rmh; rmh 519 sound/pci/pcxhr/pcxhr.c pcxhr_init_rmh(&rmh, start ? CMD_START_STREAM : CMD_STOP_STREAM); rmh 520 sound/pci/pcxhr/pcxhr.c pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, rmh 525 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(chip->mgr, &rmh); rmh 547 sound/pci/pcxhr/pcxhr.c struct pcxhr_rmh rmh; rmh 591 sound/pci/pcxhr/pcxhr.c pcxhr_init_rmh(&rmh, is_capture ? rmh 593 sound/pci/pcxhr/pcxhr.c pcxhr_set_pipe_cmd_params(&rmh, is_capture, stream->pipe->first_audio, rmh 599 sound/pci/pcxhr/pcxhr.c rmh.cmd[0] |= 1<<10; rmh 601 sound/pci/pcxhr/pcxhr.c rmh.cmd[0] |= 1<<12; rmh 603 sound/pci/pcxhr/pcxhr.c rmh.cmd[1] = 0; rmh 604 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 2; rmh 607 sound/pci/pcxhr/pcxhr.c rmh.cmd[1] = stream->channels; rmh 610 sound/pci/pcxhr/pcxhr.c rmh.cmd[2] = (stream->channels == 1) ? 0x01 : 0x03; rmh 611 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 3; rmh 614 sound/pci/pcxhr/pcxhr.c rmh.cmd[rmh.cmd_len++] = header >> 8; rmh 615 sound/pci/pcxhr/pcxhr.c rmh.cmd[rmh.cmd_len++] = (header & 0xff) << 16; rmh 616 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(chip->mgr, &rmh); rmh 626 sound/pci/pcxhr/pcxhr.c struct pcxhr_rmh rmh; rmh 639 sound/pci/pcxhr/pcxhr.c pcxhr_init_rmh(&rmh, CMD_UPDATE_R_BUFFERS); rmh 640 sound/pci/pcxhr/pcxhr.c pcxhr_set_pipe_cmd_params(&rmh, is_capture, stream->pipe->first_audio, rmh 646 sound/pci/pcxhr/pcxhr.c rmh.cmd[1] = subs->runtime->dma_bytes * 8; rmh 648 sound/pci/pcxhr/pcxhr.c rmh.cmd[2] = subs->runtime->dma_addr >> 24; rmh 650 sound/pci/pcxhr/pcxhr.c rmh.cmd[2] |= 1<<19; rmh 652 sound/pci/pcxhr/pcxhr.c rmh.cmd[3] = subs->runtime->dma_addr & MASK_DSP_WORD; rmh 653 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 4; rmh 654 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(chip->mgr, &rmh); rmh 666 sound/pci/pcxhr/pcxhr.c struct pcxhr_rmh rmh; rmh 669 sound/pci/pcxhr/pcxhr.c pcxhr_init_rmh(&rmh, CMD_PIPE_SAMPLE_COUNT); rmh 670 sound/pci/pcxhr/pcxhr.c pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, 0, 0, rmh 672 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(chip->mgr, &rmh); rmh 674 sound/pci/pcxhr/pcxhr.c *sample_count = ((snd_pcm_uframes_t)rmh.stat[0]) << 24; rmh 675 sound/pci/pcxhr/pcxhr.c *sample_count += (snd_pcm_uframes_t)rmh.stat[1]; rmh 882 sound/pci/pcxhr/pcxhr.c struct pcxhr_rmh rmh; rmh 885 sound/pci/pcxhr/pcxhr.c pcxhr_init_rmh(&rmh, CMD_SET_TIMER_INTERRUPT); rmh 889 sound/pci/pcxhr/pcxhr.c rmh.cmd[0] |= mgr->granularity; rmh 891 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); rmh 1244 sound/pci/pcxhr/pcxhr.c struct pcxhr_rmh rmh; rmh 1258 sound/pci/pcxhr/pcxhr.c pcxhr_init_rmh(&rmh, CMD_GET_DSP_RESOURCES); rmh 1259 sound/pci/pcxhr/pcxhr.c if( ! pcxhr_send_msg(mgr, &rmh) ) { rmh 1260 sound/pci/pcxhr/pcxhr.c int cur = rmh.stat[0]; rmh 1261 sound/pci/pcxhr/pcxhr.c int ref = rmh.stat[1]; rmh 1274 sound/pci/pcxhr/pcxhr.c rmh.stat[2], rmh.stat[3]); rmh 1288 sound/pci/pcxhr/pcxhr.c rmh.cmd[0] = 0x4200 + PCXHR_SIZE_MAX_STATUS; rmh 1289 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 1; rmh 1290 sound/pci/pcxhr/pcxhr.c rmh.stat_len = PCXHR_SIZE_MAX_STATUS; rmh 1291 sound/pci/pcxhr/pcxhr.c rmh.dsp_stat = 0; rmh 1292 sound/pci/pcxhr/pcxhr.c rmh.cmd_idx = CMD_LAST_INDEX; rmh 1293 sound/pci/pcxhr/pcxhr.c if( ! pcxhr_send_msg(mgr, &rmh) ) { rmh 1295 sound/pci/pcxhr/pcxhr.c if (rmh.stat_len > 8) rmh 1296 sound/pci/pcxhr/pcxhr.c rmh.stat_len = 8; rmh 1297 sound/pci/pcxhr/pcxhr.c for (i = 0; i < rmh.stat_len; i++) rmh 1299 sound/pci/pcxhr/pcxhr.c i, rmh.stat[i]); rmh 1397 sound/pci/pcxhr/pcxhr.c struct pcxhr_rmh rmh; rmh 1406 sound/pci/pcxhr/pcxhr.c pcxhr_init_rmh(&rmh, CMD_MANAGE_SIGNAL); rmh 1407 sound/pci/pcxhr/pcxhr.c rmh.cmd[0] |= MANAGE_SIGNAL_TIME_CODE; rmh 1408 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); rmh 1420 sound/pci/pcxhr/pcxhr.c pcxhr_init_rmh(&rmh, CMD_GET_TIME_CODE); rmh 1421 sound/pci/pcxhr/pcxhr.c err = pcxhr_send_msg(mgr, &rmh); rmh 1426 sound/pci/pcxhr/pcxhr.c ltcHrs = 10*((rmh.stat[0] >> 8) & 0x3) + (rmh.stat[0] & 0xf); rmh 1427 sound/pci/pcxhr/pcxhr.c ltcMin = 10*((rmh.stat[1] >> 16) & 0x7) + ((rmh.stat[1] >> 8) & 0xf); rmh 1428 sound/pci/pcxhr/pcxhr.c ltcSec = 10*(rmh.stat[1] & 0x7) + ((rmh.stat[2] >> 16) & 0xf); rmh 1429 sound/pci/pcxhr/pcxhr.c ltcFrm = 10*((rmh.stat[2] >> 8) & 0x3) + (rmh.stat[2] & 0xf); rmh 1433 sound/pci/pcxhr/pcxhr.c snd_iprintf(buffer, "raw: 0x%04x%06x%06x\n", rmh.stat[0] & 0x00ffff, rmh 1434 sound/pci/pcxhr/pcxhr.c rmh.stat[1] & 0xffffff, rmh.stat[2] & 0xffffff); rmh 1437 sound/pci/pcxhr/pcxhr.c if (!(rmh.stat[0] & TIME_CODE_VALID_MASK)) { rmh 532 sound/pci/pcxhr/pcxhr_core.c static int pcxhr_read_rmh_status(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) rmh 541 sound/pci/pcxhr/pcxhr_core.c if (rmh->stat_len < PCXHR_SIZE_MAX_STATUS) rmh 543 sound/pci/pcxhr/pcxhr_core.c else max_stat_len = rmh->stat_len; rmh 545 sound/pci/pcxhr/pcxhr_core.c for (i = 0; i < rmh->stat_len; i++) { rmh 564 sound/pci/pcxhr/pcxhr_core.c if (rmh->dsp_stat != RMH_SSIZE_FIXED) { rmh 565 sound/pci/pcxhr/pcxhr_core.c if (rmh->dsp_stat == RMH_SSIZE_ARG) { rmh 566 sound/pci/pcxhr/pcxhr_core.c rmh->stat_len = (data & 0x0000ff) + 1; rmh 570 sound/pci/pcxhr/pcxhr_core.c rmh->stat_len = 1; rmh 574 sound/pci/pcxhr/pcxhr_core.c rmh->stat_len++; rmh 581 sound/pci/pcxhr/pcxhr_core.c if (rmh->cmd_idx < CMD_LAST_INDEX) rmh 585 sound/pci/pcxhr/pcxhr_core.c rmh->stat[i] = data; rmh 587 sound/pci/pcxhr/pcxhr_core.c if (rmh->stat_len > max_stat_len) { rmh 589 sound/pci/pcxhr/pcxhr_core.c rmh->stat_len); rmh 590 sound/pci/pcxhr/pcxhr_core.c rmh->stat_len = max_stat_len; rmh 595 sound/pci/pcxhr/pcxhr_core.c static int pcxhr_send_msg_nolock(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) rmh 602 sound/pci/pcxhr/pcxhr_core.c if (snd_BUG_ON(rmh->cmd_len >= PCXHR_SIZE_MAX_CMD)) rmh 625 sound/pci/pcxhr/pcxhr_core.c data = rmh->cmd[0]; rmh 627 sound/pci/pcxhr/pcxhr_core.c if (rmh->cmd_len > 1) rmh 632 sound/pci/pcxhr/pcxhr_core.c if (rmh->cmd_idx < CMD_LAST_INDEX) rmh 634 sound/pci/pcxhr/pcxhr_core.c data, cmd_names[rmh->cmd_idx]); rmh 645 sound/pci/pcxhr/pcxhr_core.c if (rmh->cmd_len > 1) { rmh 647 sound/pci/pcxhr/pcxhr_core.c data = rmh->cmd_len - 1; rmh 658 sound/pci/pcxhr/pcxhr_core.c for (i=1; i < rmh->cmd_len; i++) { rmh 660 sound/pci/pcxhr/pcxhr_core.c data = rmh->cmd[i]; rmh 662 sound/pci/pcxhr/pcxhr_core.c if (rmh->cmd_idx < CMD_LAST_INDEX) rmh 699 sound/pci/pcxhr/pcxhr_core.c rmh->cmd_idx, data); rmh 703 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_read_rmh_status(mgr, rmh); rmh 717 sound/pci/pcxhr/pcxhr_core.c void pcxhr_init_rmh(struct pcxhr_rmh *rmh, int cmd) rmh 721 sound/pci/pcxhr/pcxhr_core.c rmh->cmd[0] = pcxhr_dsp_cmds[cmd].opcode; rmh 722 sound/pci/pcxhr/pcxhr_core.c rmh->cmd_len = 1; rmh 723 sound/pci/pcxhr/pcxhr_core.c rmh->stat_len = pcxhr_dsp_cmds[cmd].st_length; rmh 724 sound/pci/pcxhr/pcxhr_core.c rmh->dsp_stat = pcxhr_dsp_cmds[cmd].st_type; rmh 725 sound/pci/pcxhr/pcxhr_core.c rmh->cmd_idx = cmd; rmh 729 sound/pci/pcxhr/pcxhr_core.c void pcxhr_set_pipe_cmd_params(struct pcxhr_rmh *rmh, int capture, rmh 735 sound/pci/pcxhr/pcxhr_core.c rmh->cmd[0] |= 0x800; /* COMMAND_RECORD_MASK */ rmh 737 sound/pci/pcxhr/pcxhr_core.c rmh->cmd[0] |= (param1 << FIELD_SIZE); rmh 740 sound/pci/pcxhr/pcxhr_core.c rmh->cmd[0] |= param2; rmh 744 sound/pci/pcxhr/pcxhr_core.c rmh->cmd[1] = param3; rmh 745 sound/pci/pcxhr/pcxhr_core.c rmh->cmd_len = 2; rmh 755 sound/pci/pcxhr/pcxhr_core.c int pcxhr_send_msg(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) rmh 760 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_msg_nolock(mgr, rmh); rmh 784 sound/pci/pcxhr/pcxhr_core.c struct pcxhr_rmh rmh; rmh 791 sound/pci/pcxhr/pcxhr_core.c pcxhr_init_rmh(&rmh, CMD_CAN_START_PIPE); rmh 794 sound/pci/pcxhr/pcxhr_core.c pcxhr_set_pipe_cmd_params(&rmh, 0, audio, 0, 0); rmh 797 sound/pci/pcxhr/pcxhr_core.c pcxhr_set_pipe_cmd_params(&rmh, 1, audio - rmh 801 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_msg(mgr, &rmh); rmh 812 sound/pci/pcxhr/pcxhr_core.c if (rmh.stat[0] == 0) rmh 823 sound/pci/pcxhr/pcxhr_core.c struct pcxhr_rmh rmh; rmh 829 sound/pci/pcxhr/pcxhr_core.c pcxhr_init_rmh(&rmh, CMD_STOP_PIPE); rmh 832 sound/pci/pcxhr/pcxhr_core.c pcxhr_set_pipe_cmd_params(&rmh, 0, audio, 0, 0); rmh 835 sound/pci/pcxhr/pcxhr_core.c pcxhr_set_pipe_cmd_params(&rmh, 1, audio - rmh 839 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_msg(mgr, &rmh); rmh 855 sound/pci/pcxhr/pcxhr_core.c struct pcxhr_rmh rmh; rmh 861 sound/pci/pcxhr/pcxhr_core.c pcxhr_init_rmh(&rmh, CMD_CONF_PIPE); rmh 863 sound/pci/pcxhr/pcxhr_core.c pcxhr_set_pipe_cmd_params(&rmh, 0, 0, 0, rmh 866 sound/pci/pcxhr/pcxhr_core.c pcxhr_set_pipe_cmd_params(&rmh, 1, 0, 0, rmh 868 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_msg(mgr, &rmh); rmh 880 sound/pci/pcxhr/pcxhr_core.c pcxhr_init_rmh(&rmh, CMD_SEND_IRQA); rmh 881 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_msg(mgr, &rmh); rmh 962 sound/pci/pcxhr/pcxhr_core.c struct pcxhr_rmh rmh; rmh 975 sound/pci/pcxhr/pcxhr_core.c pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE); rmh 976 sound/pci/pcxhr/pcxhr_core.c rmh.cmd[0] |= IO_NUM_REG_CONT; rmh 977 sound/pci/pcxhr/pcxhr_core.c rmh.cmd[1] = mask; rmh 978 sound/pci/pcxhr/pcxhr_core.c rmh.cmd[2] = value; rmh 979 sound/pci/pcxhr/pcxhr_core.c rmh.cmd_len = 3; rmh 980 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_msg_nolock(mgr, &rmh); rmh 1119 sound/pci/pcxhr/pcxhr_core.c struct pcxhr_rmh rmh; rmh 1125 sound/pci/pcxhr/pcxhr_core.c pcxhr_init_rmh(&rmh, CMD_STREAM_SAMPLE_COUNT); rmh 1126 sound/pci/pcxhr/pcxhr_core.c pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture, rmh 1130 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_send_msg(mgr, &rmh); rmh 1134 sound/pci/pcxhr/pcxhr_core.c hw_sample_count = ((u_int64_t)rmh.stat[0]) << 24; rmh 1135 sound/pci/pcxhr/pcxhr_core.c hw_sample_count += (u_int64_t)rmh.stat[1]; rmh 83 sound/pci/pcxhr/pcxhr_core.h void pcxhr_init_rmh(struct pcxhr_rmh *rmh, int cmd); rmh 85 sound/pci/pcxhr/pcxhr_core.h void pcxhr_set_pipe_cmd_params(struct pcxhr_rmh* rmh, int capture, unsigned int param1, rmh 93 sound/pci/pcxhr/pcxhr_core.h int pcxhr_send_msg(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh); rmh 32 sound/pci/pcxhr/pcxhr_hwdep.c struct pcxhr_rmh rmh; rmh 45 sound/pci/pcxhr/pcxhr_hwdep.c pcxhr_init_rmh(&rmh, CMD_SUPPORTED); rmh 46 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_send_msg(mgr, &rmh); rmh 50 sound/pci/pcxhr/pcxhr_hwdep.c if ((rmh.stat[0] & MASK_FIRST_FIELD) < mgr->playback_chips * 2) rmh 53 sound/pci/pcxhr/pcxhr_hwdep.c if (((rmh.stat[0] >> (2 * FIELD_SIZE)) & MASK_FIRST_FIELD) < rmh 57 sound/pci/pcxhr/pcxhr_hwdep.c if ((rmh.stat[1] & 0x5F) < card_streams) rmh 60 sound/pci/pcxhr/pcxhr_hwdep.c if (((rmh.stat[1] >> 7) & 0x5F) < PCXHR_PLAYBACK_STREAMS) rmh 64 sound/pci/pcxhr/pcxhr_hwdep.c rmh.stat[2], rmh.stat[3]); rmh 66 sound/pci/pcxhr/pcxhr_hwdep.c pcxhr_init_rmh(&rmh, CMD_VERSION); rmh 68 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd[0] |= mgr->firmware_num; rmh 70 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd[1] = (1<<23) + mgr->granularity; rmh 71 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd_len = 2; rmh 72 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_send_msg(mgr, &rmh); rmh 76 sound/pci/pcxhr/pcxhr_hwdep.c "PCXHR DSP version is %d.%d.%d\n", (rmh.stat[0]>>16)&0xff, rmh 77 sound/pci/pcxhr/pcxhr_hwdep.c (rmh.stat[0]>>8)&0xff, rmh.stat[0]&0xff); rmh 78 sound/pci/pcxhr/pcxhr_hwdep.c mgr->dsp_version = rmh.stat[0]; rmh 90 sound/pci/pcxhr/pcxhr_hwdep.c struct pcxhr_rmh rmh; rmh 93 sound/pci/pcxhr/pcxhr_hwdep.c pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_READ); rmh 94 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd[0] |= IO_NUM_REG_STATUS; rmh 95 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd[1] = REG_STATUS_OPTIONS; rmh 96 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd_len = 2; rmh 97 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_send_msg(mgr, &rmh); rmh 101 sound/pci/pcxhr/pcxhr_hwdep.c if ((rmh.stat[1] & REG_STATUS_OPT_DAUGHTER_MASK) == rmh 111 sound/pci/pcxhr/pcxhr_hwdep.c pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_READ); rmh 112 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd[0] |= IO_NUM_REG_MUTE_OUT; rmh 114 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd[1] = 1; /* unmute digital plugs */ rmh 115 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd_len = 2; rmh 117 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_send_msg(mgr, &rmh); rmh 123 sound/pci/pcxhr/pcxhr_hwdep.c struct pcxhr_rmh rmh; rmh 129 sound/pci/pcxhr/pcxhr_hwdep.c pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE); rmh 130 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd[0] |= IO_NUM_REG_MUTE_OUT; rmh 131 sound/pci/pcxhr/pcxhr_hwdep.c pcxhr_send_msg(mgr, &rmh); rmh 159 sound/pci/pcxhr/pcxhr_hwdep.c struct pcxhr_rmh rmh; rmh 176 sound/pci/pcxhr/pcxhr_hwdep.c pcxhr_init_rmh(&rmh, CMD_RES_PIPE); rmh 177 sound/pci/pcxhr/pcxhr_hwdep.c pcxhr_set_pipe_cmd_params(&rmh, is_capture, pin, rmh 179 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd[1] |= 0x020000; /* add P_PCM_ONLY_MASK */ rmh 182 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd[rmh.cmd_len++] = (audio_count == 1) ? 0x01 : 0x03; rmh 184 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_send_msg(mgr, &rmh); rmh 201 sound/pci/pcxhr/pcxhr_hwdep.c struct pcxhr_rmh rmh; rmh 216 sound/pci/pcxhr/pcxhr_hwdep.c pcxhr_init_rmh(&rmh, CMD_FREE_PIPE); rmh 217 sound/pci/pcxhr/pcxhr_hwdep.c pcxhr_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->first_audio, rmh 219 sound/pci/pcxhr/pcxhr_hwdep.c err = pcxhr_send_msg(mgr, &rmh); rmh 43 sound/pci/pcxhr/pcxhr_mixer.c struct pcxhr_rmh rmh; rmh 45 sound/pci/pcxhr/pcxhr_mixer.c pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE); rmh 47 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[0] |= IO_NUM_REG_IN_ANA_LEVEL; rmh 48 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[2] = chip->analog_capture_volume[channel]; rmh 50 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[0] |= IO_NUM_REG_OUT_ANA_LEVEL; rmh 56 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[2] = PCXHR_LINE_PLAYBACK_LEVEL_MAX - vol; rmh 58 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[1] = 1 << ((2 * chip->chip_idx) + channel); /* audio mask */ rmh 59 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd_len = 3; rmh 60 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh); rmh 249 sound/pci/pcxhr/pcxhr_mixer.c struct pcxhr_rmh rmh; rmh 262 sound/pci/pcxhr/pcxhr_mixer.c pcxhr_init_rmh(&rmh, CMD_STREAM_OUT_LEVEL_ADJUST); rmh 264 sound/pci/pcxhr/pcxhr_mixer.c pcxhr_set_pipe_cmd_params(&rmh, 0, pipe->first_audio, 0, 1<<idx); rmh 266 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[0] |= MORE_THAN_ONE_STREAM_LEVEL; rmh 267 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[2] = VALID_STREAM_PAN_LEVEL_MASK | VALID_STREAM_LEVEL_1_MASK; rmh 268 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[2] |= (left << 10); rmh 269 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[3] = VALID_STREAM_PAN_LEVEL_MASK | VALID_STREAM_LEVEL_2_MASK; rmh 270 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[3] |= right; rmh 271 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd_len = 4; rmh 273 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh); rmh 293 sound/pci/pcxhr/pcxhr_mixer.c struct pcxhr_rmh rmh; rmh 301 sound/pci/pcxhr/pcxhr_mixer.c pcxhr_init_rmh(&rmh, CMD_AUDIO_LEVEL_ADJUST); rmh 303 sound/pci/pcxhr/pcxhr_mixer.c pcxhr_set_pipe_cmd_params(&rmh, capture, 0, 0, rmh 308 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[0] |= VALID_AUDIO_IO_DIGITAL_LEVEL; rmh 311 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[2] = chip->digital_capture_volume[channel]; rmh 313 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[0] |= VALID_AUDIO_IO_MONITOR_LEVEL | rmh 318 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[2] = chip->monitoring_volume[channel] << 10; rmh 320 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[2] |= AUDIO_IO_HAS_MUTE_MONITOR_1; rmh 322 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd_len = 3; rmh 324 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh); rmh 573 sound/pci/pcxhr/pcxhr_mixer.c struct pcxhr_rmh rmh; rmh 594 sound/pci/pcxhr/pcxhr_mixer.c pcxhr_init_rmh(&rmh, CMD_RESYNC_AUDIO_INPUTS); rmh 595 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[0] |= (1 << chip->chip_idx); rmh 596 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh); rmh 609 sound/pci/pcxhr/pcxhr_mixer.c pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE); rmh 610 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd_len = 2; rmh 611 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[0] |= IO_NUM_REG_CONFIG_SRC; rmh 612 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[1] = src_config; rmh 613 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh); rmh 619 sound/pci/pcxhr/pcxhr_mixer.c pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE); rmh 620 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd_len = 3; rmh 621 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[0] |= IO_NUM_UER_CHIP_REG; rmh 622 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[1] = codec; rmh 623 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[2] = ((CS8420_DATA_FLOW_CTL & CHIP_SIG_AND_MAP_SPI) | rmh 625 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh); rmh 628 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[2] = ((CS8420_CLOCK_SRC_CTL & CHIP_SIG_AND_MAP_SPI) | rmh 630 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh); rmh 856 sound/pci/pcxhr/pcxhr_mixer.c struct pcxhr_rmh rmh; rmh 858 sound/pci/pcxhr/pcxhr_mixer.c pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_READ); rmh 859 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[0] |= IO_NUM_UER_CHIP_REG; rmh 862 sound/pci/pcxhr/pcxhr_mixer.c case 0: rmh.cmd[1] = CS8420_01_CS; break; rmh 863 sound/pci/pcxhr/pcxhr_mixer.c case 1: rmh.cmd[1] = CS8420_23_CS; break; rmh 864 sound/pci/pcxhr/pcxhr_mixer.c case 2: rmh.cmd[1] = CS8420_45_CS; break; rmh 865 sound/pci/pcxhr/pcxhr_mixer.c case 3: rmh.cmd[1] = CS8420_67_CS; break; rmh 870 sound/pci/pcxhr/pcxhr_mixer.c case 0: rmh.cmd[2] = CS8416_CSB0; break; rmh 871 sound/pci/pcxhr/pcxhr_mixer.c case 1: rmh.cmd[2] = CS8416_CSB1; break; rmh 872 sound/pci/pcxhr/pcxhr_mixer.c case 2: rmh.cmd[2] = CS8416_CSB2; break; rmh 873 sound/pci/pcxhr/pcxhr_mixer.c case 3: rmh.cmd[2] = CS8416_CSB3; break; rmh 874 sound/pci/pcxhr/pcxhr_mixer.c case 4: rmh.cmd[2] = CS8416_CSB4; break; rmh 880 sound/pci/pcxhr/pcxhr_mixer.c case 0: rmh.cmd[2] = CS8420_CSB0; break; rmh 881 sound/pci/pcxhr/pcxhr_mixer.c case 1: rmh.cmd[2] = CS8420_CSB1; break; rmh 882 sound/pci/pcxhr/pcxhr_mixer.c case 2: rmh.cmd[2] = CS8420_CSB2; break; rmh 883 sound/pci/pcxhr/pcxhr_mixer.c case 3: rmh.cmd[2] = CS8420_CSB3; break; rmh 884 sound/pci/pcxhr/pcxhr_mixer.c case 4: rmh.cmd[2] = CS8420_CSB4; break; rmh 889 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[1] &= 0x0fffff; rmh 891 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[2] &= CHIP_SIG_AND_MAP_SPI; rmh 892 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd_len = 3; rmh 893 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh); rmh 898 sound/pci/pcxhr/pcxhr_mixer.c temp = (unsigned char)rmh.stat[1]; rmh 904 sound/pci/pcxhr/pcxhr_mixer.c if (rmh.stat[1] & (1 << i)) rmh 956 sound/pci/pcxhr/pcxhr_mixer.c struct pcxhr_rmh rmh; rmh 966 sound/pci/pcxhr/pcxhr_mixer.c pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE); rmh 967 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[0] |= IO_NUM_REG_CUER; rmh 968 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[1] = cmd; rmh 969 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd_len = 2; rmh 973 sound/pci/pcxhr/pcxhr_mixer.c err = pcxhr_send_msg(chip->mgr, &rmh);