Lines Matching refs:bytestocopy

100 		u32 bytestocopy;  in emu10k1_audio_read()  local
109 emu10k1_wavein_getxfersize(wiinst, &bytestocopy); in emu10k1_audio_read()
113 DPD(3, "bytestocopy --> %d\n", bytestocopy); in emu10k1_audio_read()
115 if ((bytestocopy >= wiinst->buffer.fragment_size) in emu10k1_audio_read()
116 || (bytestocopy >= count)) { in emu10k1_audio_read()
117 bytestocopy = min_t(u32, bytestocopy, count); in emu10k1_audio_read()
119 emu10k1_wavein_xferdata(wiinst, (u8 *) buffer, &bytestocopy); in emu10k1_audio_read()
121 count -= bytestocopy; in emu10k1_audio_read()
122 buffer += bytestocopy; in emu10k1_audio_read()
123 ret += bytestocopy; in emu10k1_audio_read()
205 u32 bytestocopy; in emu10k1_audio_write() local
209 emu10k1_waveout_getxfersize(woinst, &bytestocopy); in emu10k1_audio_write()
212 DPD(3, "bytestocopy --> %d\n", bytestocopy); in emu10k1_audio_write()
214 if ((bytestocopy >= woinst->buffer.fragment_size) in emu10k1_audio_write()
215 || (bytestocopy >= count)) { in emu10k1_audio_write()
217 bytestocopy = min_t(u32, bytestocopy, count); in emu10k1_audio_write()
219 emu10k1_waveout_xferdata(woinst, (u8 *) buffer, &bytestocopy); in emu10k1_audio_write()
221 count -= bytestocopy; in emu10k1_audio_write()
222 buffer += bytestocopy * woinst->num_voices; in emu10k1_audio_write()
223 ret += bytestocopy * woinst->num_voices; in emu10k1_audio_write()
226 woinst->total_copied += bytestocopy; in emu10k1_audio_write()
259 u32 bytestocopy; local
701 emu10k1_waveout_getxfersize(woinst, &bytestocopy);
702 info.bytes = bytestocopy;
731 emu10k1_wavein_getxfersize(wiinst, &bytestocopy);
732 info.bytes = bytestocopy;
763 emu10k1_waveout_getxfersize(woinst, &bytestocopy);
764 val = woinst->buffer.size - bytestocopy;
797 wiinst->buffer.bytestocopy %= wiinst->buffer.fragment_size;
1306 u32 bytestocopy; local
1322 emu10k1_waveout_getxfersize(woinst, &bytestocopy);
1324 if (bytestocopy >= woinst->buffer.fragment_size)
1337 emu10k1_wavein_getxfersize(wiinst, &bytestocopy);
1339 if (bytestocopy >= wiinst->buffer.fragment_size)
1499 u32 bytestocopy; local
1513 emu10k1_wavein_getxfersize(wiinst, &bytestocopy);
1517 if (bytestocopy >= wiinst->buffer.fragment_size) {
1521 DPD(3, "Not enough transfer size, %d\n", bytestocopy);
1530 u32 bytestocopy; local
1544 emu10k1_waveout_getxfersize(woinst, &bytestocopy);
1552 if (bytestocopy >= woinst->buffer.fragment_size) {
1556 DPD(3, "Not enough transfer size -> %d\n", bytestocopy);