Searched refs:fract (Results 1 – 7 of 7) sorted by relevance
/linux-4.19.296/drivers/iio/health/ |
D | afe4404.c | 152 { .integer = 500000, .fract = 0 }, 153 { .integer = 250000, .fract = 0 }, 154 { .integer = 100000, .fract = 0 }, 155 { .integer = 50000, .fract = 0 }, 156 { .integer = 25000, .fract = 0 }, 157 { .integer = 10000, .fract = 0 }, 158 { .integer = 1000000, .fract = 0 }, 159 { .integer = 2000000, .fract = 0 }, 164 { .integer = 0, .fract = 5000 }, 165 { .integer = 0, .fract = 2500 }, [all …]
|
D | afe440x.h | 122 int fract; member 135 _table[i].fract); \
|
D | afe4403.c | 161 vals[1] = afe440x_attr->val_table[reg_val].fract; in afe440x_show_register() 173 int val, integer, fract, ret; in afe440x_store_register() local 175 ret = iio_str_to_fixpoint(buf, 100000, &integer, &fract); in afe440x_store_register() 181 afe440x_attr->val_table[val].fract == fract) in afe440x_store_register()
|
/linux-4.19.296/drivers/iio/common/hid-sensors/ |
D | hid-sensor-trigger.c | 39 int integer, fract, ret; in _hid_sensor_set_report_latency() local 42 ret = iio_str_to_fixpoint(buf, 100000, &integer, &fract); in _hid_sensor_set_report_latency() 46 latency = integer * 1000 + fract / 1000; in _hid_sensor_set_report_latency()
|
/linux-4.19.296/drivers/iio/proximity/ |
D | srf08.c | 301 int integer, fract; in srf08_store_range_mm() local 303 ret = iio_str_to_fixpoint(buf, 100, &integer, &fract); in srf08_store_range_mm() 307 ret = srf08_write_range_mm(data, integer * 1000 + fract); in srf08_store_range_mm()
|
/linux-4.19.296/drivers/iio/ |
D | industrialio-core.c | 801 int *integer, int *fract) in iio_str_to_fixpoint() argument 807 *fract = 0; in iio_str_to_fixpoint() 848 *fract = f; in iio_str_to_fixpoint() 862 int integer, fract; in iio_write_channel_info() local 884 ret = iio_str_to_fixpoint(buf, fract_mult, &integer, &fract); in iio_write_channel_info() 889 integer, fract, this_attr->address); in iio_write_channel_info()
|
/linux-4.19.296/include/linux/iio/ |
D | iio.h | 731 int *fract);
|