Home
last modified time | relevance | path

Searched refs:period_ms (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_aux.c22 const unsigned int period_ms = 1000 / freq; in inv_mpu_i2c_master_xfer() local
40 msleep(period_ms + period_ms / 2); in inv_mpu_i2c_master_xfer()
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-imx27.c198 unsigned int period_ms; in pwm_imx27_wait_fifo_slot() local
205 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()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dhabanalabs_ioctl.c217 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()
Ddevice.c500 uint32_t hl_device_utilization(struct hl_device *hdev, uint32_t period_ms) in hl_device_utilization() argument
509 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()
Dhabanalabs.h1849 uint32_t hl_device_utilization(struct hl_device *hdev, uint32_t period_ms);
/kernel/linux/linux-5.10/tools/cgroup/
Diocost_monitor.py99 self.period_ms = ioc.period_us.value_() / 1_000
118 'period_ms' : self.period_ms,
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/misc/
Dhabanalabs.h323 __u32 period_ms; member
/kernel/linux/linux-5.10/include/uapi/misc/
Dhabanalabs.h451 __u32 period_ms; member