Lines Matching refs:PCM_PACKET_SIZE
21 #define PCM_PACKET_SIZE 4096 macro
22 #define PCM_BUFFER_SIZE (2 * PCM_N_URBS * PCM_PACKET_SIZE)
94 .period_bytes_min = PCM_PACKET_SIZE,
217 memset(rt->out_urbs[i].buffer, 0, PCM_PACKET_SIZE); in hiface_pcm_stream_start()
266 if (sub->dma_off + PCM_PACKET_SIZE <= pcm_buffer_size) { in hiface_pcm_playback()
272 memcpy_swahw32(urb->buffer, source, PCM_PACKET_SIZE); in hiface_pcm_playback()
288 PCM_PACKET_SIZE - len); in hiface_pcm_playback()
290 sub->dma_off += PCM_PACKET_SIZE; in hiface_pcm_playback()
294 sub->period_off += PCM_PACKET_SIZE; in hiface_pcm_playback()
332 memset(out_urb->buffer, 0, PCM_PACKET_SIZE); in hiface_pcm_out_urb_handler()
514 urb->buffer = kzalloc(PCM_PACKET_SIZE, GFP_KERNEL); in hiface_pcm_init_urb()
520 PCM_PACKET_SIZE, handler, urb); in hiface_pcm_init_urb()