Searched refs:period_ms (Results 1 – 7 of 7) sorted by relevance
22 const unsigned int period_ms = 1000 / freq; in inv_mpu_i2c_master_xfer() local40 msleep(period_ms + period_ms / 2); in inv_mpu_i2c_master_xfer()
198 unsigned int period_ms; in pwm_imx27_wait_fifo_slot() local205 period_ms = DIV_ROUND_UP_ULL(pwm_get_period(pwm), in pwm_imx27_wait_fifo_slot()207 msleep(period_ms); in pwm_imx27_wait_fifo_slot()
215 if ((args->period_ms < 100) || (args->period_ms > 1000) || in device_utilization()216 (args->period_ms % 100)) { in device_utilization()219 args->period_ms); in device_utilization()223 device_util.utilization = hl_device_utilization(hdev, args->period_ms); in device_utilization()
498 uint32_t hl_device_utilization(struct hl_device *hdev, uint32_t period_ms) in hl_device_utilization() argument507 period_us = period_ms * USEC_PER_MSEC; in hl_device_utilization()591 return DIV_ROUND_UP_ULL(total_busy_time_ms * 100, period_ms); in hl_device_utilization()
1849 uint32_t hl_device_utilization(struct hl_device *hdev, uint32_t period_ms);
99 self.period_ms = ioc.period_us.value_() / 1_000118 'period_ms' : self.period_ms,
451 __u32 period_ms; member