Searched refs:av_masks (Results 1 – 2 of 2) sorted by relevance
1910 const unsigned long *av_masks; in iio_sanity_check_avail_scan_masks() local1913 av_masks = indio_dev->available_scan_masks; in iio_sanity_check_avail_scan_masks()1930 if (bitmap_empty(av_masks, masklength)) in iio_sanity_check_avail_scan_masks()1933 for (num_masks = 0; *av_masks; num_masks++) in iio_sanity_check_avail_scan_masks()1934 av_masks += longs_per_mask; in iio_sanity_check_avail_scan_masks()1939 av_masks = indio_dev->available_scan_masks; in iio_sanity_check_avail_scan_masks()1954 mask1 = av_masks + i * longs_per_mask; in iio_sanity_check_avail_scan_masks()1958 mask2 = av_masks + j * longs_per_mask; in iio_sanity_check_avail_scan_masks()1977 const unsigned long *av_masks; in iio_active_scan_mask_index() local1996 av_masks = indio_dev->available_scan_masks; in iio_active_scan_mask_index()[all …]
453 static const unsigned long *iio_scan_mask_match(const unsigned long *av_masks, in iio_scan_mask_match() argument476 while (*av_masks) { in iio_scan_mask_match()478 if (bitmap_equal(mask, av_masks, masklength)) in iio_scan_mask_match()479 return av_masks; in iio_scan_mask_match()481 if (bitmap_subset(mask, av_masks, masklength)) in iio_scan_mask_match()482 return av_masks; in iio_scan_mask_match()484 av_masks += BITS_TO_LONGS(masklength); in iio_scan_mask_match()