Home
last modified time | relevance | path

Searched refs:p_cnt (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/acpica/
H A Dacpi_throttle.c368 uint32_t clk_val, p_cnt, speed; in acpi_thr_set() local
388 p_cnt = THR_GET_REG(sc->cpu_p_cnt); in acpi_thr_set()
389 p_cnt &= ~CPU_P_CNT_THT_EN; in acpi_thr_set()
390 THR_SET_REG(sc->cpu_p_cnt, p_cnt); in acpi_thr_set()
396 p_cnt &= ~clk_val; in acpi_thr_set()
397 p_cnt |= (speed << cpu_duty_offset); in acpi_thr_set()
400 THR_SET_REG(sc->cpu_p_cnt, p_cnt); in acpi_thr_set()
401 p_cnt |= CPU_P_CNT_THT_EN; in acpi_thr_set()
402 THR_SET_REG(sc->cpu_p_cnt, p_cnt); in acpi_thr_set()
413 uint32_t p_cnt, clk_val; in acpi_thr_get() local
[all …]
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_int.c2251 struct ecore_sb_cnt_info *p_cnt = &p_hwfn->hw_info.p_igu_info->usage; in ecore_int_igu_reset_cam_default() local
2257 p_cnt->cnt = p_cnt->orig; in ecore_int_igu_reset_cam_default()
2258 p_cnt->free_cnt = p_cnt->orig; in ecore_int_igu_reset_cam_default()
2259 p_cnt->iov_cnt = p_cnt->iov_orig; in ecore_int_igu_reset_cam_default()
2260 p_cnt->free_cnt_iov = p_cnt->iov_orig; in ecore_int_igu_reset_cam_default()
2261 p_cnt->orig = 0; in ecore_int_igu_reset_cam_default()
2262 p_cnt->iov_orig = 0; in ecore_int_igu_reset_cam_default()