Lines Matching refs:wbuf

336 		   int cmd, unsigned char *rbuf, unsigned char *wbuf)  in snd_wavefront_cmd()  argument
377 if (wavefront_write (dev, wbuf[i])) { in snd_wavefront_cmd()
385 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 if ((x = snd_wavefront_cmd (dev, WFC_DELETE_SAMPLE, NULL, wbuf)) == 0) { 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()
1526 dev->rom_samples_rdonly = wc->wbuf[0]; in wavefront_synth_control()
1531 i = wc->wbuf[0] | (wc->wbuf[1] << 7); in wavefront_synth_control()
1543 dev->debug = wc->wbuf[0]; in wavefront_synth_control()
1548 munge_int32 (*((u32 *) wc->wbuf), patchnumbuf, 2); in wavefront_synth_control()
1549 memcpy (wc->wbuf, patchnumbuf, 2); in wavefront_synth_control()
1567 wc->status = snd_wavefront_cmd (dev, wc->cmd, wc->rbuf, wc->wbuf); in wavefront_synth_control()
2148 unsigned char rbuf[4], wbuf[4]; in snd_wavefront_detect() local
2162 if (snd_wavefront_cmd (dev, WFC_FIRMWARE_VERSION, rbuf, wbuf) == 0) { in snd_wavefront_detect()
2173 rbuf, wbuf) == 0) { in snd_wavefront_detect()