Lines Matching refs:sample_size
44 unsigned int nb, sample_size, samples_count; member
107 unsigned int sample_size, nb_clients; member
418 bool demux = server_demux && dev->sample_size != thd->sample_size; in send_data()
421 len = (len / dev->sample_size) * thd->sample_size; in send_data()
471 if (dev->sample_size == thd->sample_size) { in receive_data()
535 unsigned int sample_size; in rw_thd() local
595 entry->sample_size = iio_device_get_sample_size(dev); in rw_thd()
599 sample_size = entry->sample_size; in rw_thd()
602 thd->active = !thd->err && thd->nb >= sample_size; in rw_thd()
665 if (ret < 0 || thd->nb < sample_size) in rw_thd()
701 nb_bytes / sample_size); in rw_thd()
717 thd->nb < sample_size) in rw_thd()
781 if (nb < entry->sample_size) in rw_buffer()
902 thd->sample_size = iio_device_get_sample_size_mask(dev, words, len); in open_dev_helper()