/linux-6.1.9/drivers/iio/health/ |
D | afe4404.c | 144 { .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 …]
|
D | afe440x.h | 114 int fract; member 127 _table[i].fract); \
|
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()
|
/linux-6.1.9/drivers/iio/trigger/ |
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-6.1.9/drivers/iio/adc/ |
D | sc27xx_adc.c | 583 struct u32_fract *fract) in sc27xx_adc_volt_ratio() argument 588 fract->numerator = ratio >> SC27XX_RATIO_NUMERATOR_OFFSET; in sc27xx_adc_volt_ratio() 589 fract->denominator = ratio & SC27XX_RATIO_DENOMINATOR_MASK; in sc27xx_adc_volt_ratio() 617 struct u32_fract fract; in sc27xx_adc_convert_volt() local 639 sc27xx_adc_volt_ratio(data, channel, scale, &fract); in sc27xx_adc_convert_volt() 641 return DIV_ROUND_CLOSEST(volt * fract.denominator, fract.numerator); in sc27xx_adc_convert_volt()
|
/linux-6.1.9/drivers/iio/common/hid-sensors/ |
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-6.1.9/drivers/media/i2c/ |
D | mt9m111.c | 1069 struct v4l2_fract *fract = &fi->interval; in mt9m111_s_frame_interval() local 1078 if (fract->numerator == 0) { in mt9m111_s_frame_interval() 1079 fract->denominator = 30; in mt9m111_s_frame_interval() 1080 fract->numerator = 1; in mt9m111_s_frame_interval() 1083 fps = DIV_ROUND_CLOSEST(fract->denominator, fract->numerator); in mt9m111_s_frame_interval() 1091 fract->denominator = mode->max_fps; in mt9m111_s_frame_interval() 1092 fract->numerator = 1; in mt9m111_s_frame_interval()
|
/linux-6.1.9/drivers/iio/proximity/ |
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-6.1.9/drivers/clk/mmp/ |
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-6.1.9/kernel/rcu/ |
D | tasks.h | 655 int fract; in rcu_tasks_wait_gp() local 694 fract = rtp->init_fract; in rcu_tasks_wait_gp() 705 schedule_timeout_idle(fract); in rcu_tasks_wait_gp() 707 exp = jiffies_to_nsecs(fract); in rcu_tasks_wait_gp() 712 if (fract < HZ) in rcu_tasks_wait_gp() 713 fract++; in rcu_tasks_wait_gp()
|
/linux-6.1.9/drivers/iio/ |
D | industrialio-core.c | 882 int *integer, int *fract, bool scale_db) in __iio_str_to_fixpoint() argument 888 *fract = 0; in __iio_str_to_fixpoint() 936 *fract = f; in __iio_str_to_fixpoint() 952 int *integer, int *fract) in iio_str_to_fixpoint() argument 954 return __iio_str_to_fixpoint(str, fract_mult, integer, fract, false); in iio_str_to_fixpoint() 966 int integer, fract = 0; in iio_write_channel_info() local 1003 ret = __iio_str_to_fixpoint(buf, fract_mult, &integer, &fract, in iio_write_channel_info() 1010 integer, fract, this_attr->address); in iio_write_channel_info()
|
/linux-6.1.9/drivers/iio/common/cros_ec_sensors/ |
D | cros_ec_sensors_core.c | 120 int integer, fract, ret; in cros_ec_sensor_set_report_latency() local 123 ret = iio_str_to_fixpoint(buf, 100000, &integer, &fract); in cros_ec_sensor_set_report_latency() 128 latency = integer * 1000 + fract / 1000; in cros_ec_sensor_set_report_latency()
|
/linux-6.1.9/drivers/staging/media/atomisp/i2c/ |
D | atomisp-ov2680.c | 1081 struct v4l2_fract fract; in ov2680_enum_frame_interval() local 1089 fract.denominator = ov2680_res_preview[fie->index].fps; in ov2680_enum_frame_interval() 1090 fract.numerator = 1; in ov2680_enum_frame_interval() 1092 fie->interval = fract; in ov2680_enum_frame_interval()
|
/linux-6.1.9/drivers/media/platform/qcom/camss/ |
D | camss-video.c | 27 struct fract { struct 45 struct fract hsub[3]; argument 46 struct fract vsub[3];
|
/linux-6.1.9/include/linux/iio/ |
D | iio.h | 755 int *fract);
|
/linux-6.1.9/drivers/atm/ |
D | iphase.c | 262 && (tempFract == dev->testTable[vcc->vci]->fract)) in clear_lockup() 265 dev->testTable[vcc->vci]->fract = tempFract; in clear_lockup() 2148 iadev->testTable[i]->fract = 0; 2651 iadev->testTable[vcc->vci]->fract = 0;
|
D | iphase.h | 840 u16 fract; member
|
/linux-6.1.9/arch/m68k/fpsp040/ |
D | bindec.S | 759 subil #0x3ffd,%d0 |sub bias less 2 to make fract
|