Lines Matching full:size

41 static inline void pdacf_transfer_mono16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_po…  in pdacf_transfer_mono16()  argument
43 while (size-- > 0) { in pdacf_transfer_mono16()
49 static inline void pdacf_transfer_mono32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_po… in pdacf_transfer_mono32() argument
53 while (size-- > 0) { in pdacf_transfer_mono32()
61 static inline void pdacf_transfer_stereo16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_stereo16() argument
63 while (size-- > 0) { in pdacf_transfer_stereo16()
69 static inline void pdacf_transfer_stereo32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_stereo32() argument
73 while (size-- > 0) { in pdacf_transfer_stereo32()
82 static inline void pdacf_transfer_mono16sw(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_mono16sw() argument
84 while (size-- > 0) { in pdacf_transfer_mono16sw()
90 static inline void pdacf_transfer_mono32sw(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_mono32sw() argument
94 while (size-- > 0) { in pdacf_transfer_mono32sw()
102 static inline void pdacf_transfer_stereo16sw(u16 *dst, u16 xor, unsigned int size, unsigned long rd… in pdacf_transfer_stereo16sw() argument
104 while (size-- > 0) { in pdacf_transfer_stereo16sw()
110 static inline void pdacf_transfer_stereo32sw(u32 *dst, u32 xor, unsigned int size, unsigned long rd… in pdacf_transfer_stereo32sw() argument
114 while (size-- > 0) { in pdacf_transfer_stereo32sw()
123 static inline void pdacf_transfer_mono24le(u8 *dst, u16 xor, unsigned int size, unsigned long rdp_p… in pdacf_transfer_mono24le() argument
128 while (size-- > 0) { in pdacf_transfer_mono24le()
139 static inline void pdacf_transfer_mono24be(u8 *dst, u16 xor, unsigned int size, unsigned long rdp_p… in pdacf_transfer_mono24be() argument
144 while (size-- > 0) { in pdacf_transfer_mono24be()
155 static inline void pdacf_transfer_stereo24le(u8 *dst, u32 xor, unsigned int size, unsigned long rdp… in pdacf_transfer_stereo24le() argument
160 while (size-- > 0) { in pdacf_transfer_stereo24le()
175 static inline void pdacf_transfer_stereo24be(u8 *dst, u32 xor, unsigned int size, unsigned long rdp… in pdacf_transfer_stereo24be() argument
180 while (size-- > 0) { in pdacf_transfer_stereo24be()
195 static void pdacf_transfer(struct snd_pdacf *chip, unsigned int size, unsigned int off) in pdacf_transfer() argument
203 pdacf_transfer_mono24le((char *)chip->pcm_area + (off * 3), xor, size, rdp_port); in pdacf_transfer()
205 pdacf_transfer_stereo24le((char *)chip->pcm_area + (off * 6), xor, size, rdp_port); in pdacf_transfer()
209 pdacf_transfer_mono24be((char *)chip->pcm_area + (off * 3), xor, size, rdp_port); in pdacf_transfer()
211 pdacf_transfer_stereo24be((char *)chip->pcm_area + (off * 6), xor, size, rdp_port); in pdacf_transfer()
219 pdacf_transfer_mono16((u16 *)chip->pcm_area + off, xor, size, rdp_port); in pdacf_transfer()
221 pdacf_transfer_mono32((u32 *)chip->pcm_area + off, xor, size, rdp_port); in pdacf_transfer()
225 pdacf_transfer_stereo16((u16 *)chip->pcm_area + (off * 2), xor, size, rdp_port); in pdacf_transfer()
227 pdacf_transfer_stereo32((u32 *)chip->pcm_area + (off * 2), xor, size, rdp_port); in pdacf_transfer()
233 pdacf_transfer_mono16sw((u16 *)chip->pcm_area + off, xor, size, rdp_port); in pdacf_transfer()
235 pdacf_transfer_mono32sw((u32 *)chip->pcm_area + off, xor, size, rdp_port); in pdacf_transfer()
239 pdacf_transfer_stereo16sw((u16 *)chip->pcm_area + (off * 2), xor, size, rdp_port); in pdacf_transfer()
241 pdacf_transfer_stereo32sw((u32 *)chip->pcm_area + (off * 2), xor, size, rdp_port); in pdacf_transfer()
250 int size, off, cont, rdp, wdp; in pdacf_threaded_irq() local
261 size = wdp - rdp; in pdacf_threaded_irq()
262 if (size < 0) in pdacf_threaded_irq()
263 size += 0x10000; in pdacf_threaded_irq()
264 if (size == 0) in pdacf_threaded_irq()
265 size = 0x10000; in pdacf_threaded_irq()
266 size /= chip->pcm_frame; in pdacf_threaded_irq()
267 if (size > 64) in pdacf_threaded_irq()
268 size -= 32; in pdacf_threaded_irq()
271 chip->pcm_hwptr += size; in pdacf_threaded_irq()
273 chip->pcm_tdone += size; in pdacf_threaded_irq()
276 while (size-- > 0) { in pdacf_threaded_irq()
282 while (size-- > 0) { in pdacf_threaded_irq()
291 chip->pcm_tdone += size; in pdacf_threaded_irq()
292 while (size > 0) { in pdacf_threaded_irq()
294 if (cont > size) in pdacf_threaded_irq()
295 cont = size; in pdacf_threaded_irq()
299 size -= cont; in pdacf_threaded_irq()