Lines Matching refs: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()
1539 dev->rom_samples_rdonly = wc->wbuf[0]; in wavefront_synth_control()
1544 i = wc->wbuf[0] | (wc->wbuf[1] << 7); in wavefront_synth_control()
1556 dev->debug = wc->wbuf[0]; in wavefront_synth_control()
1561 munge_int32 (*((u32 *) wc->wbuf), patchnumbuf, 2); in wavefront_synth_control()
1562 memcpy (wc->wbuf, patchnumbuf, 2); in wavefront_synth_control()
1580 wc->status = snd_wavefront_cmd (dev, wc->cmd, wc->rbuf, wc->wbuf); in wavefront_synth_control()
2161 unsigned char rbuf[4], wbuf[4]; in snd_wavefront_detect() local
2175 if (snd_wavefront_cmd (dev, WFC_FIRMWARE_VERSION, rbuf, wbuf) == 0) { in snd_wavefront_detect()
2186 rbuf, wbuf) == 0) { in snd_wavefront_detect()