Lines Matching refs:wfcmd
343 struct wavefront_command *wfcmd; in snd_wavefront_cmd() local
345 if ((wfcmd = wavefront_get_command (cmd)) == NULL) { in snd_wavefront_cmd()
357 wfcmd->write_cnt = (unsigned long) rbuf; in snd_wavefront_cmd()
362 cmd, wfcmd->action, wfcmd->read_cnt, in snd_wavefront_cmd()
363 wfcmd->write_cnt, wfcmd->need_ack); in snd_wavefront_cmd()
368 cmd, wfcmd->action); in snd_wavefront_cmd()
372 if (wfcmd->write_cnt > 0) { in snd_wavefront_cmd()
375 wfcmd->write_cnt, cmd); in snd_wavefront_cmd()
377 for (i = 0; i < wfcmd->write_cnt; i++) { in snd_wavefront_cmd()
381 i, cmd, wfcmd->action); in snd_wavefront_cmd()
390 if (wfcmd->read_cnt > 0) { in snd_wavefront_cmd()
393 wfcmd->read_cnt, cmd); in snd_wavefront_cmd()
395 for (i = 0; i < wfcmd->read_cnt; i++) { in snd_wavefront_cmd()
400 i, cmd, wfcmd->action); in snd_wavefront_cmd()
413 wfcmd->action); 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()
444 wfcmd->action); in snd_wavefront_cmd()
457 if ((wfcmd->read_cnt == 0 && wfcmd->write_cnt == 0) || wfcmd->need_ack) { in snd_wavefront_cmd()
473 cmd, wfcmd->action); in snd_wavefront_cmd()
485 cmd, wfcmd->action); in snd_wavefront_cmd()
491 cmd, wfcmd->action, ack, err, in snd_wavefront_cmd()
500 cmd, wfcmd->action); in snd_wavefront_cmd()
505 cmd, wfcmd->action, wfcmd->read_cnt, in snd_wavefront_cmd()
506 wfcmd->write_cnt, wfcmd->need_ack); in snd_wavefront_cmd()