Lines Matching refs:sample_size
135 unsigned sample_size; // 8 or 16 member
641 if (db->sample_size == 8) in prog_dmabuf()
650 db->user_bytes_per_sample = (db->sample_size>>3) * db->num_channels; in prog_dmabuf()
687 rate, db->sample_size, db->num_channels); in prog_dmabuf()
980 if (db->sample_size == 16 && !mono && db->src_factor == 1) { in translate_from_user()
998 if (db->sample_size == 8) in translate_from_user()
1035 if (db->sample_size == 16 && !mono && db->src_factor == 1) { in translate_to_user()
1047 if (db->sample_size == 8) in translate_to_user()
1599 s->dma_adc.sample_size = 16; in au1000_ioctl()
1602 s->dma_adc.sample_size = 8; in au1000_ioctl()
1610 s->dma_dac.sample_size = 16; in au1000_ioctl()
1613 s->dma_dac.sample_size = 8; in au1000_ioctl()
1620 val = (s->dma_adc.sample_size == 16) ? in au1000_ioctl()
1623 val = (s->dma_dac.sample_size == 16) ? in au1000_ioctl()
1829 return put_user(s->dma_adc.sample_size, (int *)arg); in au1000_ioctl()
1831 return put_user(s->dma_dac.sample_size, (int *)arg); in au1000_ioctl()
1883 s->dma_adc.sample_size = 8; in au1000_open()
1886 s->dma_adc.sample_size = 16; in au1000_open()
1893 s->dma_dac.sample_size = 8; in au1000_open()
1896 s->dma_dac.sample_size = 16; in au1000_open()