Searched refs:modr (Results 1 – 1 of 1) sorted by relevance
72 int64_t modr; in icm42688_compute_fifo_wm() local92 modr = gyro_modr; in icm42688_compute_fifo_wm()94 modr = accel_modr; in icm42688_compute_fifo_wm()108 modr = ((int64_t)accel_modr * (int64_t)gyro_modr) / n1; in icm42688_compute_fifo_wm()113 modr *= (int64_t)cfg->batch_ticks * pkt_size; in icm42688_compute_fifo_wm()116 modr = DIV_ROUND_UP(modr, CONFIG_SYS_CLOCK_TICKS_PER_SEC * INT64_C(1000)); in icm42688_compute_fifo_wm()118 return (uint16_t)MIN(modr, 0x7ff); in icm42688_compute_fifo_wm()