Home
last modified time | relevance | path

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

/linux/drivers/clocksource/
H A Darm_global_timer.c242 static void gt_write_presc(u32 psv) in gt_write_presc() argument
248 reg |= FIELD_PREP(GT_CONTROL_PRESCALER_MASK, psv); in gt_write_presc()
266 static int __init gt_clocksource_init(unsigned int psv) in gt_clocksource_init() argument
272 writel(FIELD_PREP(GT_CONTROL_PRESCALER_MASK, psv - 1) | in gt_clocksource_init()
289 unsigned long psv; in gt_clk_rate_change_cb() local
291 psv = DIV_ROUND_CLOSEST(ndata->new_rate, gt_target_rate); in gt_clk_rate_change_cb()
292 if (!psv || in gt_clk_rate_change_cb()
293 abs(gt_target_rate - (ndata->new_rate / psv)) > MAX_F_ERR) in gt_clk_rate_change_cb()
296 psv--; in gt_clk_rate_change_cb()
299 if (!FIELD_FIT(GT_CONTROL_PRESCALER_MASK, psv)) in gt_clk_rate_change_cb()
[all …]
H A 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/drivers/acpi/
H A Dthermal.c83 static int psv; variable
84 module_param(psv, int, 0644);
85 MODULE_PARM_DESC(psv, "Disable or override all passive trip points.");
235 if (psv > 0) in acpi_thermal_update_trip()
431 if (psv == -1) in acpi_thermal_init_trip()
437 temp = psv > 0 ? celsius_to_deci_kelvin(psv) : in acpi_thermal_init_trip()
981 if (psv == 0) { in thermal_psv()
984 psv = -1; in thermal_psv()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A 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()
H A Dktls_utils.h50 struct mlx5_seg_get_psv psv; member
/linux/include/linux/mlx5/
H A Ddriver.h377 } psv; member
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt7579 thermal.psv= [HW,ACPI]