Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/health/
Dafe4404.c144 { .integer = 500000, .fract = 0 },
145 { .integer = 250000, .fract = 0 },
146 { .integer = 100000, .fract = 0 },
147 { .integer = 50000, .fract = 0 },
148 { .integer = 25000, .fract = 0 },
149 { .integer = 10000, .fract = 0 },
150 { .integer = 1000000, .fract = 0 },
151 { .integer = 2000000, .fract = 0 },
156 { .integer = 0, .fract = 5000 },
157 { .integer = 0, .fract = 2500 },
[all …]
Dafe440x.h114 int fract; member
127 _table[i].fract); \
Dafe4403.c155 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()
/kernel/linux/linux-5.10/kernel/rcu/
Dtasks.h308 int fract; in rcu_tasks_wait_gp() local
336 fract = rtp->init_fract; in rcu_tasks_wait_gp()
337 if (fract > HZ) in rcu_tasks_wait_gp()
338 fract = HZ; in rcu_tasks_wait_gp()
350 schedule_timeout_idle(HZ/fract); in rcu_tasks_wait_gp()
352 if (fract > 1) in rcu_tasks_wait_gp()
353 fract--; in rcu_tasks_wait_gp()
/kernel/linux/linux-5.10/drivers/iio/common/hid-sensors/
Dhid-sensor-trigger.c28 int integer, fract, ret; in _hid_sensor_set_report_latency() local
31 ret = iio_str_to_fixpoint(buf, 100000, &integer, &fract); in _hid_sensor_set_report_latency()
35 latency = integer * 1000 + fract / 1000; in _hid_sensor_set_report_latency()
/kernel/linux/linux-5.10/drivers/media/i2c/
Dmt9m111.c1070 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()
/kernel/linux/linux-5.10/drivers/iio/proximity/
Dsrf08.c298 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()
/kernel/linux/linux-5.10/drivers/clk/mmp/
Dclk-audio.c86 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()
/kernel/linux/linux-5.10/drivers/iio/
Dindustrialio-core.c822 int *integer, int *fract, bool scale_db) in __iio_str_to_fixpoint() argument
828 *fract = 0; in __iio_str_to_fixpoint()
877 *fract = f; in __iio_str_to_fixpoint()
893 int *integer, int *fract) in iio_str_to_fixpoint() argument
895 return __iio_str_to_fixpoint(str, fract_mult, integer, fract, false); in iio_str_to_fixpoint()
907 int integer, fract = 0; in iio_write_channel_info() local
944 ret = __iio_str_to_fixpoint(buf, fract_mult, &integer, &fract, in iio_write_channel_info()
951 integer, fract, this_attr->address); in iio_write_channel_info()
/kernel/linux/linux-5.10/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors_core.c125 int integer, fract, ret; in cros_ec_sensor_set_report_latency() local
128 ret = iio_str_to_fixpoint(buf, 100000, &integer, &fract); in cros_ec_sensor_set_report_latency()
133 latency = integer * 1000 + fract / 1000; in cros_ec_sensor_set_report_latency()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/
Dcamss-video.c27 struct fract { struct
45 struct fract hsub[3]; argument
46 struct fract vsub[3];
/kernel/linux/linux-5.10/include/linux/iio/
Diio.h724 int *fract);
/kernel/linux/linux-5.10/drivers/atm/
Diphase.c263 && (tempFract == dev->testTable[vcc->vci]->fract)) in clear_lockup()
266 dev->testTable[vcc->vci]->fract = tempFract; in clear_lockup()
2147 iadev->testTable[i]->fract = 0;
2650 iadev->testTable[vcc->vci]->fract = 0;
Diphase.h841 u16 fract; member
/kernel/linux/linux-5.10/arch/m68k/fpsp040/
Dbindec.S759 subil #0x3ffd,%d0 |sub bias less 2 to make fract