Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/vfio/lib/
H A Diova_allocator.c38 .range_idx = 0, in iova_allocator_init()
60 VFIO_ASSERT_LT(allocator->range_idx, allocator->nranges, in iova_allocator_alloc()
63 range = &allocator->ranges[allocator->range_idx]; in iova_allocator_alloc()
80 allocator->range_idx++; in iova_allocator_alloc()
89 allocator->range_idx++; in iova_allocator_alloc()
/linux/drivers/iio/accel/
H A Dfxls8962af-core.c370 u8 range_idx; in fxls8962af_read_full_scale() local
376 range_idx = FXLS8962AF_SC1_FSR_GET(reg); in fxls8962af_read_full_scale()
378 *val = fxls8962af_scale_table[range_idx][1]; in fxls8962af_read_full_scale()
406 u8 range_idx; in fxls8962af_read_samp_freq() local
412 range_idx = FXLS8962AF_SC3_WAKE_ODR_GET(reg); in fxls8962af_read_samp_freq()
414 *val = fxls8962af_samp_freq_table[range_idx][0]; in fxls8962af_read_samp_freq()
415 *val2 = fxls8962af_samp_freq_table[range_idx][1]; in fxls8962af_read_samp_freq()
H A Dbma220_core.c132 u8 range_idx; member
268 index = data->range_idx; in bma220_read_raw()
329 data->range_idx = index; in bma220_write_raw()
/linux/tools/testing/selftests/vfio/lib/include/libvfio/
H A Diova_allocator.h14 u32 range_idx; member
/linux/tools/arch/x86/kcpuid/
H A Dkcpuid.c116 u32 range_idx = index & CPUID_INDEX_MASK; in index_to_cpuid_range() local
120 if (range->index == range_idx && (u32)range->nr > func_idx) in index_to_cpuid_range()