Searched refs:period_ms (Results 1 – 8 of 8) 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()
217 if ((args->period_ms < 100) || (args->period_ms > 1000) || in device_utilization()218 (args->period_ms % 100)) { in device_utilization()221 args->period_ms); in device_utilization()225 device_util.utilization = hl_device_utilization(hdev, args->period_ms); in device_utilization()
500 uint32_t hl_device_utilization(struct hl_device *hdev, uint32_t period_ms) in hl_device_utilization() argument509 period_us = period_ms * USEC_PER_MSEC; in hl_device_utilization()593 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,
323 __u32 period_ms; member
451 __u32 period_ms; member