Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/magnetometer/
H A Dtmag5273.c151 static const struct iio_val_int_plus_micro tmag5273_scale[][MAGN_RANGE_NUM] = { variable
236 for (i = 0; i < ARRAY_SIZE(tmag5273_scale[0]); i++) { in tmag5273_write_scale()
237 if (tmag5273_scale[data->version][i].micro == scale_micro) in tmag5273_write_scale()
240 if (i == ARRAY_SIZE(tmag5273_scale[0])) in tmag5273_write_scale()
270 *vals = (int *)tmag5273_scale[data->version]; in tmag5273_read_avail()
271 *length = ARRAY_SIZE(tmag5273_scale[data->version]) * in tmag5273_read_avail()
342 *val2 = tmag5273_scale[data->version] in tmag5273_read_raw()