Lines Matching refs:cmd
140 int cmd; member
245 wavefront_get_command (int cmd) in wavefront_get_command() argument
250 for (i = 0; wavefront_commands[i].cmd != 0; i++) { in wavefront_get_command()
251 if (cmd == wavefront_commands[i].cmd) { in wavefront_get_command()
334 int cmd, unsigned char *rbuf, unsigned char *wbuf) in snd_wavefront_cmd() argument
342 wfcmd = wavefront_get_command(cmd); in snd_wavefront_cmd()
345 cmd); in snd_wavefront_cmd()
354 if (cmd == WFC_DOWNLOAD_MULTISAMPLE) { in snd_wavefront_cmd()
360 cmd, wfcmd->action, wfcmd->read_cnt, in snd_wavefront_cmd()
363 if (wavefront_write (dev, cmd)) { in snd_wavefront_cmd()
366 cmd, wfcmd->action); in snd_wavefront_cmd()
373 wfcmd->write_cnt, cmd); in snd_wavefront_cmd()
379 i, cmd, wfcmd->action); in snd_wavefront_cmd()
391 wfcmd->read_cnt, cmd); in snd_wavefront_cmd()
399 i, cmd, wfcmd->action); in snd_wavefront_cmd()
412 i, cmd, in snd_wavefront_cmd()
420 wfcmd->cmd == WFC_IDENTIFY_SAMPLE_TYPE) { in snd_wavefront_cmd()
425 wfcmd->cmd == WFC_UPLOAD_PATCH) { in snd_wavefront_cmd()
430 wfcmd->cmd == WFC_UPLOAD_PROGRAM) { in snd_wavefront_cmd()
443 i, cmd, in snd_wavefront_cmd()
459 DPRINT (WF_DEBUG_CMD, "reading ACK for 0x%x\n", cmd); in snd_wavefront_cmd()
473 cmd, wfcmd->action); in snd_wavefront_cmd()
486 cmd, wfcmd->action); in snd_wavefront_cmd()
492 cmd, wfcmd->action, ack, err, in snd_wavefront_cmd()
501 cmd, wfcmd->action); in snd_wavefront_cmd()
506 cmd, wfcmd->action, wfcmd->read_cnt, in snd_wavefront_cmd()
1525 "cmd 0x%x\n", wc->cmd); in wavefront_synth_control()
1529 switch (wc->cmd) { in wavefront_synth_control()
1589 wc->status = snd_wavefront_cmd (dev, wc->cmd, wc->rbuf, wc->wbuf); in wavefront_synth_control()
1598 switch (wc->cmd) { in wavefront_synth_control()
1662 unsigned int cmd, unsigned long arg) in snd_wavefront_synth_ioctl() argument
1682 switch (cmd) { in snd_wavefront_synth_ioctl()