/Zephyr-latest/tests/drivers/video/api/src/ |
D | video_common.c | 96 video_frmival_nsec(&(struct video_frmival){.numerator = 1, .denominator = 15}), in ZTEST() 100 video_frmival_nsec(&(struct video_frmival){.numerator = 1, .denominator = 30}), in ZTEST() 104 video_frmival_nsec(&(struct video_frmival){.numerator = 5, .denominator = 1}), in ZTEST() 108 video_frmival_nsec(&(struct video_frmival){.numerator = 1, .denominator = 1750000}), in ZTEST() 119 stepwise.min.numerator = 1; in ZTEST() 121 stepwise.max.numerator = 30; in ZTEST() 123 stepwise.step.numerator = 1; in ZTEST() 126 desired.numerator = 1; in ZTEST() 131 desired.numerator = 3; in ZTEST() 136 desired.numerator = 7; in ZTEST() [all …]
|
D | video_emul.c | 104 fie.stepwise.min.numerator; in ZTEST() 106 fie.stepwise.max.numerator; in ZTEST() 108 fie.stepwise.step.numerator; in ZTEST() 111 for (q.numerator = min; q.numerator <= max; q.numerator += step) { in ZTEST()
|
/Zephyr-latest/drivers/sensor/st/lsm9ds0_gyro/ |
D | lsm9ds0_gyro.c | 154 float numerator) in lsm9ds0_gyro_convert() argument 158 dval = (double)(raw_val) * (double)numerator / 1000.0 * DEG2RAD; in lsm9ds0_gyro_convert() 166 float numerator) in lsm9ds0_gyro_get_channel() argument 170 lsm9ds0_gyro_convert(val, data->sample_x, numerator); in lsm9ds0_gyro_get_channel() 173 lsm9ds0_gyro_convert(val, data->sample_y, numerator); in lsm9ds0_gyro_get_channel() 176 lsm9ds0_gyro_convert(val, data->sample_z, numerator); in lsm9ds0_gyro_get_channel() 179 lsm9ds0_gyro_convert(val, data->sample_x, numerator); in lsm9ds0_gyro_get_channel() 180 lsm9ds0_gyro_convert(val + 1, data->sample_y, numerator); in lsm9ds0_gyro_get_channel() 181 lsm9ds0_gyro_convert(val + 2, data->sample_z, numerator); in lsm9ds0_gyro_get_channel()
|
/Zephyr-latest/drivers/sensor/st/lsm6ds0/ |
D | lsm6ds0.c | 290 float numerator) in lsm6ds0_gyro_convert() argument 294 dval = (double)(raw_val) * (double)numerator / 1000.0 * SENSOR_DEG2RAD_DOUBLE; in lsm6ds0_gyro_convert() 302 float numerator) in lsm6ds0_gyro_get_channel() argument 307 lsm6ds0_gyro_convert(val, data->gyro_sample_x, numerator); in lsm6ds0_gyro_get_channel() 312 lsm6ds0_gyro_convert(val, data->gyro_sample_y, numerator); in lsm6ds0_gyro_get_channel() 317 lsm6ds0_gyro_convert(val, data->gyro_sample_z, numerator); in lsm6ds0_gyro_get_channel() 322 lsm6ds0_gyro_convert(val, data->gyro_sample_x, numerator); in lsm6ds0_gyro_get_channel() 325 lsm6ds0_gyro_convert(val + 1, data->gyro_sample_y, numerator); in lsm6ds0_gyro_get_channel() 328 lsm6ds0_gyro_convert(val + 2, data->gyro_sample_z, numerator); in lsm6ds0_gyro_get_channel()
|
/Zephyr-latest/drivers/video/ |
D | video_common.c | 108 uint64_t min = stepwise->min.numerator; in video_closest_frmival_stepwise() 109 uint64_t max = stepwise->max.numerator; in video_closest_frmival_stepwise() 110 uint64_t step = stepwise->step.numerator; in video_closest_frmival_stepwise() 111 uint64_t goal = desired->numerator; in video_closest_frmival_stepwise() 123 match->numerator = min + DIV_ROUND_CLOSEST(goal - min, step) * step; in video_closest_frmival_stepwise()
|
D | video_sw_generator.c | 284 if (frmival->denominator && frmival->numerator) { in video_sw_generator_set_frmival() 285 data->frame_rate = MIN(DIV_ROUND_CLOSEST(frmival->denominator, frmival->numerator), in video_sw_generator_set_frmival() 291 frmival->numerator = 1; in video_sw_generator_set_frmival() 302 frmival->numerator = 1; in video_sw_generator_get_frmival() 329 fie->stepwise.min.numerator = 1; in video_sw_generator_enum_frmival() 331 fie->stepwise.max.numerator = UINT32_MAX; in video_sw_generator_enum_frmival() 334 fie->stepwise.step.numerator = 1; in video_sw_generator_enum_frmival()
|
D | video_mcux_mipi_csi2rx.c | 237 cur_fmival->numerator * cur_pixel_rate / in mipi_csi2rx_estimate_pixel_rate() 238 (mipi_csi2rx_cal_frame_size(fie_format) * fie_frmival->numerator * in mipi_csi2rx_estimate_pixel_rate() 301 cur_frmival.numerator); in mipi_csi2rx_enum_frmival() 302 fie->stepwise.max.numerator = 1; in mipi_csi2rx_enum_frmival()
|
D | ov5640.c | 512 desired_frmrate = DIV_ROUND_CLOSEST(frmival->denominator, frmival->numerator); in ov5640_set_frmival() 546 frmival->numerator = 1; in ov5640_set_frmival() 615 def_frmival.numerator = 1; in ov5640_set_fmt() 889 frmival->numerator = 1; in ov5640_get_frmival() 912 fie->discrete.numerator = 1; in ov5640_enum_frmival()
|
D | video_emul_imager.c | 287 frmival->numerator = 1; in emul_imager_get_frmival() 311 fie->discrete.numerator = 1; in emul_imager_enum_frmival()
|
/Zephyr-latest/samples/drivers/video/capture/src/ |
D | main.c | 163 1.0 * frmival.denominator / frmival.numerator); in main() 171 LOG_INF(" %u/%u ", fie.discrete.numerator, fie.discrete.denominator); in main() 174 fie.stepwise.min.numerator, fie.stepwise.min.denominator, in main() 175 fie.stepwise.max.numerator, fie.stepwise.max.denominator, in main() 176 fie.stepwise.step.numerator, fie.stepwise.step.denominator); in main()
|
/Zephyr-latest/soc/nxp/imxrt/imxrt10xx/ |
D | soc.c | 47 .numerator = DT_PROP(DT_CHILD(CCM_NODE, sys_pll), numerator), 101 .numerator = 0,
|
D | lpm_rt1064.c | 374 sys_pll_config.numerator = CCM_ANALOG->PLL_SYS_NUM; in imxrt_lpm_init() 401 video_pll_config.numerator = CCM_ANALOG->PLL_VIDEO_NUM; in imxrt_lpm_init()
|
/Zephyr-latest/soc/nxp/imxrt/imxrt6xx/cm33/ |
D | soc.c | 57 .numerator = 0, 64 .numerator = 5040,
|
/Zephyr-latest/soc/nxp/imxrt/imxrt5xx/cm33/ |
D | soc.c | 52 .numerator = 0, 62 .numerator = 5040,
|
/Zephyr-latest/include/zephyr/drivers/ |
D | video.h | 165 uint32_t numerator; member 780 return (uint64_t)NSEC_PER_SEC * frmival->numerator / frmival->denominator; in video_frmival_nsec()
|
/Zephyr-latest/drivers/sensor/nordic/npm1300_charger/ |
D | npm1300_charger.c | 352 int32_t numerator = in set_dietemp_thresholds() local 355 uint16_t code = DIV_ROUND_CLOSEST(numerator, DIETEMP_FACTOR_MUL); in set_dietemp_thresholds()
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_mcr20a.c | 510 int16_t numerator = ((int16_t)100 * lqi) - 29540; /* always negative */ in mcr20a_get_rssi() local 512 return DIV_ROUND_CLOSEST_WITH_OPPOSITE_SIGNS(numerator, 284); in mcr20a_get_rssi()
|
/Zephyr-latest/soc/nxp/imxrt/imxrt11xx/ |
D | soc.c | 109 .numerator = 1,
|
/Zephyr-latest/drivers/i2s/ |
D | i2s_mcux_sai.c | 1079 audioPllConfig.numerator = dev_cfg->pll_num; in audio_clock_settings() 1086 audioPllConfig.numerator = dev_cfg->pll_num; in audio_clock_settings()
|
/Zephyr-latest/dts/arm/nxp/ |
D | nxp_rt10xx.dtsi | 303 numerator = <0>;
|