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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/pcxhr/
H A Dpcxhr_hwdep.c52 struct pcxhr_rmh rmh; local
65 pcxhr_init_rmh(&rmh, CMD_SUPPORTED);
66 err = pcxhr_send_msg(mgr, &rmh);
70 if ((rmh.stat[0] & MASK_FIRST_FIELD) != mgr->playback_chips * 2)
73 if (((rmh.stat[0] >> (2 * FIELD_SIZE)) & MASK_FIRST_FIELD) <
77 if ((rmh.stat[1] & 0x5F) < card_streams)
80 if (((rmh.stat[1] >> 7) & 0x5F) < PCXHR_PLAYBACK_STREAMS)
83 rmh.stat[2], rmh.stat[3]);
85 pcxhr_init_rmh(&rmh, CMD_VERSIO
108 struct pcxhr_rmh rmh; local
141 struct pcxhr_rmh rmh; local
177 struct pcxhr_rmh rmh; local
[all...]
H A Dpcxhr_core.c540 static int pcxhr_read_rmh_status(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) argument
549 if (rmh->stat_len < PCXHR_SIZE_MAX_STATUS)
551 else max_stat_len = rmh->stat_len;
553 for (i = 0; i < rmh->stat_len; i++) {
570 /* need to update rmh->stat_len on the fly ?? */
572 if (rmh->dsp_stat != RMH_SSIZE_FIXED) {
573 if (rmh->dsp_stat == RMH_SSIZE_ARG) {
574 rmh->stat_len = (data & 0x0000ff) + 1;
577 /* rmh->dsp_stat == RMH_SSIZE_MASK */
578 rmh
603 pcxhr_send_msg_nolock(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) argument
722 pcxhr_init_rmh(struct pcxhr_rmh *rmh, int cmd) argument
734 pcxhr_set_pipe_cmd_params(struct pcxhr_rmh *rmh, int capture, unsigned int param1, unsigned int param2, unsigned int param3) argument
760 pcxhr_send_msg(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) argument
789 struct pcxhr_rmh rmh; local
828 struct pcxhr_rmh rmh; local
860 struct pcxhr_rmh rmh; local
964 struct pcxhr_rmh rmh; local
1118 struct pcxhr_rmh rmh; local
[all...]
H A Dpcxhr.c228 struct pcxhr_rmh rmh; local
256 pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE);
257 rmh.cmd[0] |= IO_NUM_REG_GENCLK;
258 rmh.cmd[1] = pllreg & MASK_DSP_WORD;
259 rmh.cmd[2] = pllreg >> 24;
260 rmh.cmd_len = 3;
261 err = pcxhr_send_msg(mgr, &rmh);
302 struct pcxhr_rmh rmh; local
317 pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE); /* mute outputs */
318 rmh
371 struct pcxhr_rmh rmh; local
406 struct pcxhr_rmh rmh; local
484 struct pcxhr_rmh rmh; local
536 struct pcxhr_rmh rmh; local
614 struct pcxhr_rmh rmh; local
851 struct pcxhr_rmh rmh; local
1215 struct pcxhr_rmh rmh; local
[all...]
H A Dpcxhr_mixer.c56 struct pcxhr_rmh rmh; local
58 pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE);
60 rmh.cmd[0] |= IO_NUM_REG_IN_ANA_LEVEL;
61 rmh.cmd[2] = chip->analog_capture_volume[channel];
63 rmh.cmd[0] |= IO_NUM_REG_OUT_ANA_LEVEL;
69 rmh.cmd[2] = PCXHR_LINE_PLAYBACK_LEVEL_MAX - vol;
71 rmh.cmd[1] = 1 << ((2 * chip->chip_idx) + channel); /* audio mask */
72 rmh.cmd_len = 3;
73 err = pcxhr_send_msg(chip->mgr, &rmh);
261 struct pcxhr_rmh rmh; local
305 struct pcxhr_rmh rmh; local
584 struct pcxhr_rmh rmh; local
881 struct pcxhr_rmh rmh; local
981 struct pcxhr_rmh rmh; local
[all...]
H A Dpcxhr_core.h92 init the rmh struct; by default cmd_len is set to 1
94 void pcxhr_init_rmh(struct pcxhr_rmh *rmh, int cmd);
96 void pcxhr_set_pipe_cmd_params(struct pcxhr_rmh* rmh, int capture, unsigned int param1,
102 send the rmh
104 int pcxhr_send_msg(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/lx6464es/
H A Dlx_core.c192 /* rmh */
270 static void lx_message_init(struct lx_rmh *rmh, enum cmd_mb_opcodes cmd) argument
274 rmh->cmd[0] = dsp_commands[cmd].dcCodeOp;
275 rmh->cmd_len = dsp_commands[cmd].dcCmdLength;
276 rmh->stat_len = dsp_commands[cmd].dcStatusLength;
277 rmh->dsp_stat = dsp_commands[cmd].dcStatusType;
278 rmh->cmd_idx = cmd;
279 memset(&rmh->cmd[1], 0, (REG_CRM_NUMBER - 1) * sizeof(u32));
282 memset(rmh->stat, 0, REG_CRM_NUMBER * sizeof(u32));
285 rmh
291 lx_message_dump(struct lx_rmh *rmh) argument
306 lx_message_dump(struct lx_rmh *rmh) argument
318 lx_message_send_atomic(struct lx6464es *chip, struct lx_rmh *rmh) argument
[all...]
H A Dlx6464es.h89 struct lx_rmh rmh; member in struct:lx6464es
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/drivers/vx/
H A Dvx_pcm.c97 * @rmh: the rmh record to modify
101 * on the rmh and changes its command length.
105 static int vx_set_differed_time(struct vx_core *chip, struct vx_rmh *rmh, argument
113 rmh->Cmd[0] |= DSP_DIFFERED_COMMAND_MASK;
116 vx_set_pcx_time(chip, &pipe->pcx_time, &rmh->Cmd[1]);
120 rmh->Cmd[1] |= NOTIFY_MASK_TIME_HIGH ;
124 rmh->Cmd[1] |= MULTIPLE_MASK_TIME_HIGH;
128 rmh->Cmd[1] |= STREAM_MASK_TIME_HIGH;
130 rmh
142 struct vx_rmh rmh; local
198 struct vx_rmh rmh; local
228 struct vx_rmh rmh; local
253 struct vx_rmh rmh; local
277 struct vx_rmh rmh; local
297 struct vx_rmh rmh; local
311 struct vx_rmh rmh; local
389 struct vx_rmh rmh; local
411 struct vx_rmh rmh; local
453 struct vx_rmh rmh; local
471 struct vx_rmh rmh; local
487 struct vx_rmh rmh; local
598 struct vx_rmh rmh; /* use a temporary rmh here */ local
665 struct vx_rmh rmh; local
840 struct vx_rmh rmh; local
1188 struct vx_rmh rmh; local
[all...]
H A Dvx_cmd.h212 void vx_init_rmh(struct vx_rmh *rmh, unsigned int cmd);
216 * @rmh: the rmh to be modified
221 static inline void vx_set_pipe_cmd_params(struct vx_rmh *rmh, int is_capture, argument
225 rmh->Cmd[0] |= COMMAND_RECORD_MASK;
226 rmh->Cmd[0] |= (((u32)param1 & MASK_FIRST_FIELD) << FIELD_SIZE) & MASK_DSP_WORD;
229 rmh->Cmd[0] |= ((u32)param2 & MASK_FIRST_FIELD) & MASK_DSP_WORD;
235 * @rmh: the rmh to be modified
239 static inline void vx_set_stream_cmd_params(struct vx_rmh *rmh, in argument
[all...]
H A Dvx_cmd.c97 * @rmh: the rmh pointer to be initialized
98 * @cmd: the rmh command to be set
100 void vx_init_rmh(struct vx_rmh *rmh, unsigned int cmd) argument
104 rmh->LgCmd = vx_dsp_cmds[cmd].length;
105 rmh->LgStat = vx_dsp_cmds[cmd].st_length;
106 rmh->DspStat = vx_dsp_cmds[cmd].st_type;
107 rmh->Cmd[0] = vx_dsp_cmds[cmd].opcode;
H A Dvx_core.c153 * vx_read_status - return the status rmh
154 * @rmh: rmh record to store the status
160 static int vx_read_status(struct vx_core *chip, struct vx_rmh *rmh) argument
165 if (rmh->DspStat == RMH_SSIZE_FIXED && rmh->LgStat == 0)
181 switch (rmh->DspStat) {
184 rmh->Stat[0] = val & 0xffff00;
185 rmh->LgStat = size + 1;
189 rmh
241 vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh) argument
336 vx_send_msg(struct vx_core *chip, struct vx_rmh *rmh) argument
[all...]
H A Dvx_uer.c35 struct vx_rmh rmh; local
37 vx_init_rmh(&rmh, CMD_MODIFY_CLOCK);
40 rmh.Cmd[0] |= CMD_MODIFY_CLOCK_S_BIT;
41 return vx_send_msg(chip, &rmh);
49 struct vx_rmh rmh; local
51 vx_init_rmh(&rmh, CMD_RESYNC_AUDIO_INPUTS);
52 rmh.Cmd[0] |= 1 << 0; /* reference: AUDIO 0 */
53 return vx_send_msg(chip, &rmh);
H A Dvx_mixer.c224 struct vx_rmh rmh; local
229 vx_init_rmh(&rmh, CMD_AUDIO_LEVEL_ADJUST);
231 rmh.Cmd[0] |= COMMAND_RECORD_MASK;
233 rmh.Cmd[1] = 1 << audio;
234 rmh.Cmd[2] = 0;
236 rmh.Cmd[0] |= VALID_AUDIO_IO_DIGITAL_LEVEL;
237 rmh.Cmd[2] |= info->level;
240 rmh.Cmd[0] |= VALID_AUDIO_IO_MONITORING_LEVEL;
241 rmh.Cmd[2] |= ((unsigned int)info->monitor_level << 10);
244 rmh
358 struct vx_rmh rmh; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/sound/
H A Dvx_core.h277 int vx_send_msg(struct vx_core *chip, struct vx_rmh *rmh);
278 int vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/dhcp6/
H A Ddhcp6s.c103 static struct msghdr rmh; variable in typeref:struct:msghdr
365 rmh.msg_iov = &iov;
366 rmh.msg_iovlen = 1;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/dhcp6/
H A Ddhcp6s.c103 static struct msghdr rmh; variable in typeref:struct:msghdr
366 rmh.msg_iov = &iov;
367 rmh.msg_iovlen = 1;

Completed in 90 milliseconds