Searched refs:psv (Results 1 – 7 of 7) sorted by relevance
243 static void gt_write_presc(u32 psv) in gt_write_presc() argument249 reg |= FIELD_PREP(GT_CONTROL_PRESCALER_MASK, psv); in gt_write_presc()291 unsigned long psv; in gt_clk_rate_change_cb() local293 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()
248 u32 psv; in ttc_rate_change_clocksource_cb() local279 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()
82 static int psv; variable83 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()
259 struct mlx5_seg_get_psv *psv; in resync_post_get_progress_params() local300 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()
50 struct mlx5_seg_get_psv psv; member
371 } psv; member
6680 thermal.psv= [HW,ACPI]