Searched refs:trialmask (Results 1 – 1 of 1) sorted by relevance
308 unsigned long *trialmask; in iio_scan_mask_set() local310 trialmask = kmalloc(sizeof(*trialmask)* in iio_scan_mask_set()314 if (trialmask == NULL) in iio_scan_mask_set()320 bitmap_copy(trialmask, buffer->scan_mask, indio_dev->masklength); in iio_scan_mask_set()321 set_bit(bit, trialmask); in iio_scan_mask_set()323 if (!iio_validate_scan_mask(indio_dev, trialmask)) in iio_scan_mask_set()329 trialmask, false); in iio_scan_mask_set()333 bitmap_copy(buffer->scan_mask, trialmask, indio_dev->masklength); in iio_scan_mask_set()335 kfree(trialmask); in iio_scan_mask_set()340 kfree(trialmask); in iio_scan_mask_set()