Lines Matching refs:H2_BLOCK_SIZE
64 #define H2_BLOCK_SIZE 1024 macro
360 adc->desc[adc->head].cnt = H2_BLOCK_SIZE; in hal2_adc_interrupt()
562 (void *)(codec->buffer + i * H2_BLOCK_SIZE), in hal2_alloc_dmabuf()
563 H2_BLOCK_SIZE, dir); in hal2_alloc_dmabuf()
578 H2_DAC_BUFSIZE / H2_BLOCK_SIZE, in hal2_alloc_dac_dmabuf()
586 H2_ADC_BUFSIZE / H2_BLOCK_SIZE, in hal2_alloc_adc_dmabuf()
587 HPCDMA_XIE | H2_BLOCK_SIZE, in hal2_alloc_adc_dmabuf()
599 H2_BLOCK_SIZE, dir); in hal2_free_dmabuf()
636 buf = &adc->buffer[(adc->tail + 1) * H2_BLOCK_SIZE - tail->cnt]; in hal2_get_buffer()
648 tail->desc.cntinfo = HPCDMA_XIE | H2_BLOCK_SIZE; in hal2_get_buffer()
685 size = min((int)H2_BLOCK_SIZE, count); in hal2_add_buffer()
686 buf = &dac->buffer[dac->head * H2_BLOCK_SIZE]; in hal2_add_buffer()
726 HPCDMA_EOX : H2_BLOCK_SIZE; in hal2_reset_pointer()
737 signed long timeout = 1000 * H2_BLOCK_SIZE * 2 * dac->voices * in hal2_sync_dac()
1103 info.fragsize = H2_BLOCK_SIZE; in hal2_ioctl()
1127 info.fragsize = H2_BLOCK_SIZE; in hal2_ioctl()
1137 return put_user(H2_BLOCK_SIZE, (int *)arg); in hal2_ioctl()
1184 signed long timeout = 1000 * H2_BLOCK_SIZE * in hal2_read()
1240 signed long timeout = 1000 * H2_BLOCK_SIZE * in hal2_write()