Lines Matching refs:sample_size
117 unsigned sample_size; member
669 if (db->sample_size == 8) in prog_dmabuf()
679 db->user_bytes_per_sample = (db->sample_size>>3) * db->num_channels; in prog_dmabuf()
716 rate, db->sample_size, db->num_channels); in prog_dmabuf()
915 if (db->sample_size == 16 && !mono && db->src_factor == 1) { in translate_from_user()
933 if (db->sample_size == 8) in translate_from_user()
970 if (db->sample_size == 16 && !mono && db->src_factor == 1) { in translate_to_user()
983 if (db->sample_size == 8) in translate_to_user()
1557 s->dma_adc.sample_size = 16; in au1550_ioctl()
1560 s->dma_adc.sample_size = 8; in au1550_ioctl()
1568 s->dma_dac.sample_size = 16; in au1550_ioctl()
1571 s->dma_dac.sample_size = 8; in au1550_ioctl()
1578 val = (s->dma_adc.sample_size == 16) ? in au1550_ioctl()
1581 val = (s->dma_dac.sample_size == 16) ? in au1550_ioctl()
1787 return put_user(s->dma_adc.sample_size, (int *)arg); in au1550_ioctl()
1789 return put_user(s->dma_dac.sample_size, (int *)arg); in au1550_ioctl()
1842 s->dma_adc.sample_size = 8; in au1550_open()
1845 s->dma_adc.sample_size = 16; in au1550_open()
1852 s->dma_dac.sample_size = 8; in au1550_open()
1855 s->dma_dac.sample_size = 16; in au1550_open()