Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/proximity/
H A Disl29501.c661 u32 current_scale; in isl29501_get_scale() local
685 &current_scale); in isl29501_get_scale()
689 if (current_scale > ARRAY_SIZE(isl29501_current_scale_table)) in isl29501_get_scale()
692 if (!current_scale) { in isl29501_get_scale()
698 *val = isl29501_current_scale_table[current_scale - 1][0]; in isl29501_get_scale()
699 *val2 = isl29501_current_scale_table[current_scale - 1][1]; in isl29501_get_scale()