/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/pcxhr/ |
H A D | pcxhr_hwdep.c | 52 struct pcxhr_rmh rmh; local 65 pcxhr_init_rmh(&rmh, CMD_SUPPORTED); 66 err = pcxhr_send_msg(mgr, &rmh); 70 snd_assert((rmh.stat[0] & MASK_FIRST_FIELD) == mgr->playback_chips*2, 73 snd_assert(((rmh.stat[0] >> (2*FIELD_SIZE)) & MASK_FIRST_FIELD) == 76 snd_assert((rmh.stat[1] & 0x5F) >= card_streams, return -EINVAL); 78 snd_assert(((rmh.stat[1]>>7)&0x5F) >= PCXHR_PLAYBACK_STREAMS, return -EINVAL); 80 pcxhr_init_rmh(&rmh, CMD_VERSION); 82 rmh.cmd[0] |= mgr->firmware_num; 84 rmh 122 struct pcxhr_rmh rmh; local 151 struct pcxhr_rmh rmh; local [all...] |
H A D | pcxhr_core.c | 508 static int pcxhr_read_rmh_status(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) argument 517 if (rmh->stat_len < PCXHR_SIZE_MAX_STATUS) 519 else max_stat_len = rmh->stat_len; 521 for (i = 0; i < rmh->stat_len; i++) { 535 /* need to update rmh->stat_len on the fly ?? */ 537 if (rmh->dsp_stat != RMH_SSIZE_FIXED) { 538 if (rmh->dsp_stat == RMH_SSIZE_ARG) { 539 rmh->stat_len = (u16)(data & 0x0000ff) + 1; 542 /* rmh->dsp_stat == RMH_SSIZE_MASK */ 543 rmh 567 pcxhr_send_msg_nolock(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) argument 679 pcxhr_init_rmh(struct pcxhr_rmh *rmh, int cmd) argument 690 pcxhr_set_pipe_cmd_params(struct pcxhr_rmh *rmh, int capture, unsigned int param1, unsigned int param2, unsigned int param3) argument 716 pcxhr_send_msg(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) argument 743 struct pcxhr_rmh rmh; local 779 struct pcxhr_rmh rmh; local 811 struct pcxhr_rmh rmh; local 909 struct pcxhr_rmh rmh; local 1043 struct pcxhr_rmh rmh; local [all...] |
H A D | pcxhr_mixer.c | 53 struct pcxhr_rmh rmh; local 55 pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE); 57 rmh.cmd[0] |= IO_NUM_REG_IN_ANA_LEVEL; 58 rmh.cmd[2] = chip->analog_capture_volume[channel]; 60 rmh.cmd[0] |= IO_NUM_REG_OUT_ANA_LEVEL; 65 rmh.cmd[2] = PCXHR_ANALOG_PLAYBACK_LEVEL_MAX - vol; /* playback analog levels are inversed */ 67 rmh.cmd[1] = 1 << ((2 * chip->chip_idx) + channel); /* audio mask */ 68 rmh.cmd_len = 3; 69 err = pcxhr_send_msg(chip->mgr, &rmh); 209 struct pcxhr_rmh rmh; local 252 struct pcxhr_rmh rmh; local 517 struct pcxhr_rmh rmh; local 740 struct pcxhr_rmh rmh; local 812 struct pcxhr_rmh rmh; local [all...] |
H A D | pcxhr.c | 164 struct pcxhr_rmh rmh; local 192 pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE); 193 rmh.cmd[0] |= IO_NUM_REG_GENCLK; 194 rmh.cmd[1] = pllreg & MASK_DSP_WORD; 195 rmh.cmd[2] = pllreg >> 24; 196 rmh.cmd_len = 3; 197 err = pcxhr_send_msg(mgr, &rmh); 223 struct pcxhr_rmh rmh; local 241 pcxhr_init_rmh(&rmh, CMD_ACCESS_IO_WRITE); /* mute outputs */ 242 rmh 294 struct pcxhr_rmh rmh; local 347 struct pcxhr_rmh rmh; local 395 struct pcxhr_rmh rmh; local 453 struct pcxhr_rmh rmh; local 674 struct pcxhr_rmh rmh; local 1048 struct pcxhr_rmh rmh; local [all...] |
H A D | pcxhr_core.h | 92 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, 100 send the rmh 102 int pcxhr_send_msg(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/drivers/vx/ |
H A D | vx_pcm.c | 148 * @rmh: the rmh record to modify 152 * on the rmh and changes its command length. 156 static int vx_set_differed_time(struct vx_core *chip, struct vx_rmh *rmh, argument 164 rmh->Cmd[0] |= DSP_DIFFERED_COMMAND_MASK; 167 vx_set_pcx_time(chip, &pipe->pcx_time, &rmh->Cmd[1]); 171 rmh->Cmd[1] |= NOTIFY_MASK_TIME_HIGH ; 175 rmh->Cmd[1] |= MULTIPLE_MASK_TIME_HIGH; 179 rmh->Cmd[1] |= STREAM_MASK_TIME_HIGH; 181 rmh 193 struct vx_rmh rmh; local 249 struct vx_rmh rmh; local 279 struct vx_rmh rmh; local 304 struct vx_rmh rmh; local 328 struct vx_rmh rmh; local 348 struct vx_rmh rmh; local 362 struct vx_rmh rmh; local 440 struct vx_rmh rmh; local 462 struct vx_rmh rmh; local 504 struct vx_rmh rmh; local 522 struct vx_rmh rmh; local 538 struct vx_rmh rmh; local 648 struct vx_rmh rmh; /* use a temporary rmh here */ local 715 struct vx_rmh rmh; local 889 struct vx_rmh rmh; local 1233 struct vx_rmh rmh; local [all...] |
H A D | vx_cmd.h | 212 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 D | vx_cmd.c | 98 * @rmh: the rmh pointer to be initialized 99 * @cmd: the rmh command to be set 101 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 D | vx_core.c | 154 * vx_read_status - return the status rmh 155 * @rmh: rmh record to store the status 161 static int vx_read_status(struct vx_core *chip, struct vx_rmh *rmh) argument 166 if (rmh->DspStat == RMH_SSIZE_FIXED && rmh->LgStat == 0) 182 switch (rmh->DspStat) { 185 rmh->Stat[0] = val & 0xffff00; 186 rmh->LgStat = size + 1; 190 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 D | vx_uer.c | 36 struct vx_rmh rmh; local 38 vx_init_rmh(&rmh, CMD_MODIFY_CLOCK); 41 rmh.Cmd[0] |= CMD_MODIFY_CLOCK_S_BIT; 42 return vx_send_msg(chip, &rmh); 50 struct vx_rmh rmh; local 52 vx_init_rmh(&rmh, CMD_RESYNC_AUDIO_INPUTS); 53 rmh.Cmd[0] |= 1 << 0; /* reference: AUDIO 0 */ 54 return vx_send_msg(chip, &rmh);
|
H A D | vx_mixer.c | 224 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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/sound/ |
H A D | vx_core.h | 284 int vx_send_msg(struct vx_core *chip, struct vx_rmh *rmh); 285 int vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/dhcp6/ |
H A D | dhcp6s.c | 103 static struct msghdr rmh; variable in typeref:struct:msghdr 366 rmh.msg_iov = &iov; 367 rmh.msg_iovlen = 1;
|