Lines Matching refs:wave_dev
84 static int pt_putblock(struct emu10k1_wavedevice *wave_dev, u16 *block, int nonblock) in pt_putblock() argument
86 struct woinst *woinst = wave_dev->woinst; in pt_putblock()
87 struct emu10k1_card *card = wave_dev->card; in pt_putblock()
93 r = pt_wait_for_write(wave_dev, nonblock); in pt_putblock()
115 static int pt_setup(struct emu10k1_wavedevice *wave_dev) in pt_setup() argument
118 struct emu10k1_card *card = wave_dev->card; in pt_setup()
139 struct emu10k1_wavedevice *wave_dev = (struct emu10k1_wavedevice *) file->private_data; in emu10k1_pt_write() local
140 struct emu10k1_card *card = wave_dev->card; in emu10k1_pt_write()
161 pt_setup(wave_dev); in emu10k1_pt_write()
174 r = pt_putblock(wave_dev, (u16 *) pt->buf, nonblock); in emu10k1_pt_write()
186 r = pt_putblock(wave_dev, bufptr, nonblock); in emu10k1_pt_write()
224 void emu10k1_pt_waveout_update(struct emu10k1_wavedevice *wave_dev) in emu10k1_pt_waveout_update() argument
226 struct woinst *woinst = wave_dev->woinst; in emu10k1_pt_waveout_update()
227 struct pt_data *pt = &wave_dev->card->pt; in emu10k1_pt_waveout_update()
231 pos = sblive_readptr(wave_dev->card, GPR_BASE + pt->pos_gpr, 0); in emu10k1_pt_waveout_update()