Home
last modified time | relevance | path

Searched refs:psv (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/clocksource/
Darm_global_timer.c243 static void gt_write_presc(u32 psv) in gt_write_presc() argument
249 reg |= FIELD_PREP(GT_CONTROL_PRESCALER_MASK, psv); in gt_write_presc()
291 unsigned long psv; in gt_clk_rate_change_cb() local
293 psv = DIV_ROUND_CLOSEST(ndata->new_rate, gt_target_rate); in gt_clk_rate_change_cb()
294 if (!psv || in gt_clk_rate_change_cb()
295 abs(gt_target_rate - (ndata->new_rate / psv)) > MAX_F_ERR) in gt_clk_rate_change_cb()
298 psv--; in gt_clk_rate_change_cb()
301 if (!FIELD_FIT(GT_CONTROL_PRESCALER_MASK, psv)) in gt_clk_rate_change_cb()
309 gt_psv_new = psv; in gt_clk_rate_change_cb()
315 gt_write_presc(psv); in gt_clk_rate_change_cb()
Dtimer-cadence-ttc.c248 u32 psv; in ttc_rate_change_clocksource_cb() local
279 psv = (ttccs->scale_clk_ctrl_reg_old & in ttc_rate_change_clocksource_cb()
283 psv -= factor; in ttc_rate_change_clocksource_cb()
285 psv += factor; in ttc_rate_change_clocksource_cb()
288 if (psv & ~(TTC_CLK_CNTRL_PSV_MASK >> TTC_CLK_CNTRL_PSV_SHIFT)) in ttc_rate_change_clocksource_cb()
293 ttccs->scale_clk_ctrl_reg_new |= psv << TTC_CLK_CNTRL_PSV_SHIFT; in ttc_rate_change_clocksource_cb()
/linux-6.12.1/drivers/acpi/
Dthermal.c82 static int psv; variable
83 module_param(psv, int, 0644);
84 MODULE_PARM_DESC(psv, "Disable or override all passive trip points.");
234 if (psv > 0) in acpi_thermal_update_trip()
430 if (psv == -1) in acpi_thermal_init_trip()
436 temp = psv > 0 ? celsius_to_deci_kelvin(psv) : in acpi_thermal_init_trip()
1003 if (psv == 0) { in thermal_psv()
1006 psv = -1; in thermal_psv()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_rx.c259 struct mlx5_seg_get_psv *psv; in resync_post_get_progress_params() local
300 psv = &wqe->psv; in resync_post_get_progress_params()
301 psv->num_psv = 1 << 4; in resync_post_get_progress_params()
302 psv->l_key = sq->channel->mkey_be; in resync_post_get_progress_params()
303 psv->psv_index[0] = cpu_to_be32(mlx5e_tir_get_tirn(&priv_rx->tir)); in resync_post_get_progress_params()
304 psv->va = cpu_to_be64(buf->dma_addr); in resync_post_get_progress_params()
Dktls_utils.h50 struct mlx5_seg_get_psv psv; member
/linux-6.12.1/include/linux/mlx5/
Ddriver.h371 } psv; member
/linux-6.12.1/Documentation/admin-guide/
Dkernel-parameters.txt6680 thermal.psv= [HW,ACPI]