Searched refs:scan_mask (Results 1 – 12 of 12) sorted by relevance
/drivers/iio/ |
D | industrialio-buffer.c | 258 indio_dev->buffer->scan_mask); in iio_scan_el_show() 319 bitmap_copy(trialmask, buffer->scan_mask, indio_dev->masklength); in iio_scan_mask_set() 332 bitmap_copy(buffer->scan_mask, trialmask, indio_dev->masklength); in iio_scan_mask_set() 345 clear_bit(bit, buffer->scan_mask); in iio_scan_mask_clear() 593 bytes = iio_compute_scan_bytes(indio_dev, buffer->scan_mask, in iio_buffer_update_bytes_per_datum() 628 const unsigned long *scan_mask; member 638 const unsigned long *scan_mask; in iio_verify_update() local 697 bitmap_or(compound_mask, compound_mask, buffer->scan_mask, in iio_verify_update() 704 insert_buffer->scan_mask, indio_dev->masklength); in iio_verify_update() 709 scan_mask = iio_scan_mask_match(indio_dev->available_scan_masks, in iio_verify_update() [all …]
|
/drivers/iio/buffer/ |
D | industrialio-buffer-cb.c | 37 kfree(cb_buff->buffer.scan_mask); in iio_buffer_cb_release() 76 cb_buff->buffer.scan_mask in iio_channel_get_all_cb() 79 if (cb_buff->buffer.scan_mask == NULL) { in iio_channel_get_all_cb() 90 cb_buff->buffer.scan_mask); in iio_channel_get_all_cb() 97 kfree(cb_buff->buffer.scan_mask); in iio_channel_get_all_cb()
|
/drivers/iio/adc/ |
D | xilinx-xadc-core.c | 744 unsigned long scan_mask; in xadc_postdisable() local 748 scan_mask = 1; /* Run calibration as part of the sequence */ in xadc_postdisable() 750 scan_mask |= BIT(indio_dev->channels[i].scan_index); in xadc_postdisable() 753 ret = xadc_write_adc_reg(xadc, XADC_REG_SEQ(0), scan_mask & 0xffff); in xadc_postdisable() 757 ret = xadc_write_adc_reg(xadc, XADC_REG_SEQ(1), scan_mask >> 16); in xadc_postdisable() 772 unsigned long scan_mask; in xadc_preenable() local 781 scan_mask = *indio_dev->active_scan_mask; in xadc_preenable() 782 seq_mode = xadc_get_seq_mode(xadc, scan_mask); in xadc_preenable() 784 ret = xadc_write_adc_reg(xadc, XADC_REG_SEQ(0), scan_mask & 0xffff); in xadc_preenable() 796 scan_mask = ((scan_mask >> 8) | scan_mask) & 0xff0000; in xadc_preenable() [all …]
|
D | ad799x.c | 223 const unsigned long *scan_mask) in ad799x_update_scan_mode() argument 232 st->transfer_size = bitmap_weight(scan_mask, indio_dev->masklength) * 2; in ad799x_update_scan_mode() 241 st->config |= (*scan_mask << AD799X_CHANNEL_SHIFT); in ad799x_update_scan_mode()
|
D | ad7266.c | 125 const unsigned long *scan_mask) in ad7266_update_scan_mode() argument 128 unsigned int nr = find_first_bit(scan_mask, indio_dev->masklength); in ad7266_update_scan_mode()
|
D | cc10001_adc.c | 252 const unsigned long *scan_mask) in cc10001_update_scan_mode() argument
|
D | max1363.c | 1013 const unsigned long *scan_mask) in max1363_update_scan_mode() argument 1021 st->current_mode = max1363_match_mode(scan_mask, st->chip_info); in max1363_update_scan_mode()
|
/drivers/iio/imu/ |
D | adis16400_buffer.c | 17 const unsigned long *scan_mask) in adis16400_update_scan_mode() argument 25 return adis_update_scan_mode(indio_dev, scan_mask); in adis16400_update_scan_mode()
|
D | adis_buffer.c | 24 const unsigned long *scan_mask) in adis_update_scan_mode() argument 68 if (!test_bit(chan->scan_index, scan_mask)) in adis_update_scan_mode()
|
D | adis16400.h | 205 const unsigned long *scan_mask);
|
/drivers/iio/light/ |
D | adjd_s311.c | 232 const unsigned long *scan_mask) in adjd_s311_update_scan_mode() argument
|
/drivers/iio/proximity/ |
D | sx9500.c | 586 const unsigned long *scan_mask) in sx9500_update_scan_mode() argument
|