/linux/drivers/iio/health/ |
A D | afe4404.c | 147 { .integer = 50000, .fract = 0 }, 148 { .integer = 25000, .fract = 0 }, 149 { .integer = 10000, .fract = 0 }, 156 { .integer = 0, .fract = 5000 }, 157 { .integer = 0, .fract = 2500 }, 158 { .integer = 0, .fract = 10000 }, 159 { .integer = 0, .fract = 7500 }, 160 { .integer = 0, .fract = 20000 }, 161 { .integer = 0, .fract = 17500 }, 198 int val, integer, fract, ret; in afe440x_store_register() local [all …]
|
A D | afe4403.c | 155 vals[1] = afe440x_attr->val_table[reg_val].fract; in afe440x_show_register() 167 int val, integer, fract, ret; in afe440x_store_register() local 169 ret = iio_str_to_fixpoint(buf, 100000, &integer, &fract); in afe440x_store_register() 175 afe440x_attr->val_table[val].fract == fract) in afe440x_store_register()
|
A D | afe440x.h | 114 int fract; member 127 _table[i].fract); \
|
/linux/drivers/iio/trigger/ |
A D | iio-trig-hrtimer.c | 58 int integer, fract, ret; in iio_hrtimer_store_sampling_frequency() local 60 ret = iio_str_to_fixpoint(buf, 100, &integer, &fract); in iio_hrtimer_store_sampling_frequency() 63 if (integer < 0 || fract < 0) in iio_hrtimer_store_sampling_frequency() 66 val = fract + 1000ULL * integer; /* mHz */ in iio_hrtimer_store_sampling_frequency() 72 info->sampling_frequency[1] = fract * 1000; /* uHz */ in iio_hrtimer_store_sampling_frequency()
|
/linux/drivers/iio/common/hid-sensors/ |
A D | hid-sensor-trigger.c | 25 int integer, fract, ret; in _hid_sensor_set_report_latency() local 28 ret = iio_str_to_fixpoint(buf, 100000, &integer, &fract); in _hid_sensor_set_report_latency() 32 latency = integer * 1000 + fract / 1000; in _hid_sensor_set_report_latency()
|
/linux/drivers/media/i2c/ |
A D | mt9m111.c | 1070 struct v4l2_fract *fract = &fi->interval; in mt9m111_s_frame_interval() local 1079 if (fract->numerator == 0) { in mt9m111_s_frame_interval() 1080 fract->denominator = 30; in mt9m111_s_frame_interval() 1081 fract->numerator = 1; in mt9m111_s_frame_interval() 1084 fps = DIV_ROUND_CLOSEST(fract->denominator, fract->numerator); in mt9m111_s_frame_interval() 1092 fract->denominator = mode->max_fps; in mt9m111_s_frame_interval() 1093 fract->numerator = 1; in mt9m111_s_frame_interval()
|
/linux/drivers/iio/proximity/ |
A D | srf08.c | 298 int integer, fract; in srf08_store_range_mm() local 300 ret = iio_str_to_fixpoint(buf, 100, &integer, &fract); in srf08_store_range_mm() 304 ret = srf08_write_range_mm(data, integer * 1000 + fract); in srf08_store_range_mm()
|
/linux/kernel/rcu/ |
A D | tasks.h | 308 int fract; in rcu_tasks_wait_gp() local 336 fract = rtp->init_fract; in rcu_tasks_wait_gp() 345 schedule_timeout_idle(fract); in rcu_tasks_wait_gp() 347 if (fract < HZ) in rcu_tasks_wait_gp() 348 fract++; in rcu_tasks_wait_gp()
|
/linux/drivers/clk/mmp/ |
A D | clk-audio.c | 86 unsigned short fract; member 145 val |= SSPA_AUD_PLL_CTRL0_FRACT(predivs[prediv].fract); in audio_pll_recalc_rate() 211 val |= SSPA_AUD_PLL_CTRL0_FRACT(predivs[prediv].fract); in audio_pll_set_rate()
|
/linux/drivers/iio/ |
A D | industrialio-core.c | 863 int *integer, int *fract, bool scale_db) in __iio_str_to_fixpoint() argument 869 *fract = 0; in __iio_str_to_fixpoint() 918 *fract = f; in __iio_str_to_fixpoint() 934 int *integer, int *fract) in iio_str_to_fixpoint() argument 936 return __iio_str_to_fixpoint(str, fract_mult, integer, fract, false); in iio_str_to_fixpoint() 948 int integer, fract = 0; in iio_write_channel_info() local 985 ret = __iio_str_to_fixpoint(buf, fract_mult, &integer, &fract, in iio_write_channel_info() 992 integer, fract, this_attr->address); in iio_write_channel_info()
|
/linux/drivers/iio/common/cros_ec_sensors/ |
A D | cros_ec_sensors_core.c | 126 int integer, fract, ret; in cros_ec_sensor_set_report_latency() local 129 ret = iio_str_to_fixpoint(buf, 100000, &integer, &fract); in cros_ec_sensor_set_report_latency() 134 latency = integer * 1000 + fract / 1000; in cros_ec_sensor_set_report_latency()
|
/linux/drivers/media/platform/qcom/camss/ |
A D | camss-video.c | 27 struct fract { struct 45 struct fract hsub[3]; argument 46 struct fract vsub[3];
|
/linux/include/linux/iio/ |
A D | iio.h | 701 int *fract);
|
/linux/drivers/atm/ |
A D | iphase.c | 264 && (tempFract == dev->testTable[vcc->vci]->fract)) in clear_lockup() 267 dev->testTable[vcc->vci]->fract = tempFract; in clear_lockup() 2150 iadev->testTable[i]->fract = 0; 2653 iadev->testTable[vcc->vci]->fract = 0;
|
A D | iphase.h | 840 u16 fract; member
|
/linux/arch/m68k/fpsp040/ |
A D | bindec.S | 759 subil #0x3ffd,%d0 |sub bias less 2 to make fract
|