Home
last modified time | relevance | path

Searched refs:active_percent (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/accel/ivpu/
H A Divpu_pm.c401 int ivpu_pm_dct_enable(struct ivpu_device *vdev, u8 active_percent) in ivpu_pm_dct_enable() argument
406 if (active_percent == 0 || active_percent > 100) in ivpu_pm_dct_enable()
409 active_us = (DCT_PERIOD_US * active_percent) / 100; in ivpu_pm_dct_enable()
418 vdev->pm->dct_active_percent = active_percent; in ivpu_pm_dct_enable()
421 active_percent, active_us, inactive_us); in ivpu_pm_dct_enable()
H A Divpu_debugfs.c393 static int dct_active_get(void *data, u64 *active_percent) in dct_active_get() argument
397 *active_percent = vdev->pm->dct_active_percent; in dct_active_get()
402 static int dct_active_set(void *data, u64 active_percent) in dct_active_set() argument
407 if (active_percent > 100) in dct_active_set()
414 if (active_percent) in dct_active_set()
415 ret = ivpu_pm_dct_enable(vdev, active_percent); in dct_active_set()
H A Divpu_pm.h46 int ivpu_pm_dct_enable(struct ivpu_device *vdev, u8 active_percent);
H A Divpu_hw_btrs.c724 void ivpu_hw_btrs_dct_set_status(struct ivpu_device *vdev, bool enable, u32 active_percent) in ivpu_hw_btrs_dct_set_status() argument
731 val = REG_SET_FLD_NUM(VPU_HW_BTRS_LNL_PCODE_MAILBOX_STATUS, PARAM2, active_percent, val); in ivpu_hw_btrs_dct_set_status()