Lines Matching full:wbuf

334 		   int cmd, unsigned char *rbuf, unsigned char *wbuf)  in snd_wavefront_cmd()  argument
376 if (wavefront_write (dev, wbuf[i])) { in snd_wavefront_cmd()
384 i, wbuf[i]); in snd_wavefront_cmd()
602 unsigned char wbuf[2]; in wavefront_delete_sample() local
605 wbuf[0] = sample_num & 0x7f; in wavefront_delete_sample()
606 wbuf[1] = sample_num >> 7; in wavefront_delete_sample()
608 x = snd_wavefront_cmd(dev, WFC_DELETE_SAMPLE, NULL, wbuf); in wavefront_delete_sample()
620 unsigned char rbuf[32], wbuf[32]; in wavefront_get_sample_status() local
625 if (snd_wavefront_cmd (dev, WFC_GET_NSAMPLES, rbuf, wbuf)) { in wavefront_get_sample_status()
634 wbuf[0] = i & 0x7f; in wavefront_get_sample_status()
635 wbuf[1] = i >> 7; in wavefront_get_sample_status()
637 if (snd_wavefront_cmd (dev, WFC_IDENTIFY_SAMPLE_TYPE, rbuf, wbuf)) { in wavefront_get_sample_status()
1548 dev->rom_samples_rdonly = wc->wbuf[0]; in wavefront_synth_control()
1553 i = wc->wbuf[0] | (wc->wbuf[1] << 7); in wavefront_synth_control()
1565 dev->debug = wc->wbuf[0]; in wavefront_synth_control()
1570 munge_int32 (*((u32 *) wc->wbuf), patchnumbuf, 2); in wavefront_synth_control()
1571 memcpy (wc->wbuf, patchnumbuf, 2); in wavefront_synth_control()
1589 wc->status = snd_wavefront_cmd (dev, wc->cmd, wc->rbuf, wc->wbuf); in wavefront_synth_control()
2171 unsigned char rbuf[4], wbuf[4]; in snd_wavefront_detect() local
2185 if (snd_wavefront_cmd (dev, WFC_FIRMWARE_VERSION, rbuf, wbuf) == 0) { in snd_wavefront_detect()
2196 rbuf, wbuf) == 0) { in snd_wavefront_detect()