Home
last modified time | relevance | path

Searched refs:range_idx (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/vfio/lib/
H A Diova_allocator.c37 .range_idx = 0, in iova_allocator_init()
59 VFIO_ASSERT_LT(allocator->range_idx, allocator->nranges, in iova_allocator_alloc()
62 range = &allocator->ranges[allocator->range_idx]; in iova_allocator_alloc()
79 allocator->range_idx++; in iova_allocator_alloc()
88 allocator->range_idx++; in iova_allocator_alloc()
/linux/tools/testing/selftests/vfio/lib/include/libvfio/
H A Diova_allocator.h14 u32 range_idx; member
/linux/drivers/iio/accel/
H A Dfxls8962af-core.c369 u8 range_idx; in fxls8962af_read_full_scale() local
375 range_idx = FXLS8962AF_SC1_FSR_GET(reg); in fxls8962af_read_full_scale()
377 *val = fxls8962af_scale_table[range_idx][1]; in fxls8962af_read_full_scale()
405 u8 range_idx; in fxls8962af_read_samp_freq() local
411 range_idx = FXLS8962AF_SC3_WAKE_ODR_GET(reg); in fxls8962af_read_samp_freq()
413 *val = fxls8962af_samp_freq_table[range_idx][0]; in fxls8962af_read_samp_freq()
414 *val2 = fxls8962af_samp_freq_table[range_idx][1]; in fxls8962af_read_samp_freq()
H A Dbma220_core.c131 u8 range_idx; member
267 index = data->range_idx; in bma220_read_raw()
328 data->range_idx = index; in bma220_write_raw()