Lines Matching full:wbuf
334 int cmd, unsigned char *rbuf, unsigned char *wbuf) in snd_wavefront_cmd() argument
375 if (wavefront_write (dev, wbuf[i])) { in snd_wavefront_cmd()
383 i, wbuf[i]); in snd_wavefront_cmd()
600 unsigned char wbuf[2]; in wavefront_delete_sample() local
603 wbuf[0] = sample_num & 0x7f; in wavefront_delete_sample()
604 wbuf[1] = sample_num >> 7; in wavefront_delete_sample()
606 if ((x = snd_wavefront_cmd (dev, WFC_DELETE_SAMPLE, NULL, wbuf)) == 0) { in wavefront_delete_sample()
618 unsigned char rbuf[32], wbuf[32]; in wavefront_get_sample_status() local
623 if (snd_wavefront_cmd (dev, WFC_GET_NSAMPLES, rbuf, wbuf)) { in wavefront_get_sample_status()
632 wbuf[0] = i & 0x7f; in wavefront_get_sample_status()
633 wbuf[1] = i >> 7; in wavefront_get_sample_status()
635 if (snd_wavefront_cmd (dev, WFC_IDENTIFY_SAMPLE_TYPE, rbuf, wbuf)) { in wavefront_get_sample_status()
1538 dev->rom_samples_rdonly = wc->wbuf[0]; in wavefront_synth_control()
1543 i = wc->wbuf[0] | (wc->wbuf[1] << 7); in wavefront_synth_control()
1555 dev->debug = wc->wbuf[0]; in wavefront_synth_control()
1560 munge_int32 (*((u32 *) wc->wbuf), patchnumbuf, 2); in wavefront_synth_control()
1561 memcpy (wc->wbuf, patchnumbuf, 2); in wavefront_synth_control()
1579 wc->status = snd_wavefront_cmd (dev, wc->cmd, wc->rbuf, wc->wbuf); in wavefront_synth_control()
2160 unsigned char rbuf[4], wbuf[4]; in snd_wavefront_detect() local
2174 if (snd_wavefront_cmd (dev, WFC_FIRMWARE_VERSION, rbuf, wbuf) == 0) { in snd_wavefront_detect()
2185 rbuf, wbuf) == 0) { in snd_wavefront_detect()