Searched refs:psv (Results 1 – 7 of 7) sorted by relevance
244 static void gt_write_presc(u32 psv) in gt_write_presc() argument250 reg |= psv << GT_CONTROL_PRESCALER_SHIFT; in gt_write_presc()293 int psv; in gt_clk_rate_change_cb() local295 psv = DIV_ROUND_CLOSEST(ndata->new_rate, in gt_clk_rate_change_cb()298 if (abs(gt_target_rate - (ndata->new_rate / psv)) > MAX_F_ERR) in gt_clk_rate_change_cb()301 psv--; in gt_clk_rate_change_cb()304 if (psv < 0 || psv > GT_CONTROL_PRESCALER_MAX) in gt_clk_rate_change_cb()312 gt_psv_new = psv; in gt_clk_rate_change_cb()318 gt_write_presc(psv); in gt_clk_rate_change_cb()
237 u32 psv; in ttc_rate_change_clocksource_cb() local268 psv = (ttccs->scale_clk_ctrl_reg_old & in ttc_rate_change_clocksource_cb()272 psv -= factor; in ttc_rate_change_clocksource_cb()274 psv += factor; in ttc_rate_change_clocksource_cb()277 if (psv & ~(TTC_CLK_CNTRL_PSV_MASK >> TTC_CLK_CNTRL_PSV_SHIFT)) in ttc_rate_change_clocksource_cb()282 ttccs->scale_clk_ctrl_reg_new |= psv << TTC_CLK_CNTRL_PSV_SHIFT; in ttc_rate_change_clocksource_cb()
258 struct mlx5_seg_get_psv *psv; in resync_post_get_progress_params() local299 psv = &wqe->psv; in resync_post_get_progress_params()300 psv->num_psv = 1 << 4; in resync_post_get_progress_params()301 psv->l_key = sq->channel->mkey_be; in resync_post_get_progress_params()302 psv->psv_index[0] = cpu_to_be32(mlx5e_tir_get_tirn(&priv_rx->tir)); in resync_post_get_progress_params()303 psv->va = cpu_to_be64(buf->dma_addr); in resync_post_get_progress_params()
50 struct mlx5_seg_get_psv psv; member
70 static int psv; variable71 module_param(psv, int, 0644);72 MODULE_PARM_DESC(psv, "Disable or override all passive trip points.");331 if (psv == -1) { in acpi_thermal_trips_update()333 } else if (psv > 0) { in acpi_thermal_trips_update()334 tmp = celsius_to_deci_kelvin(psv); in acpi_thermal_trips_update()1143 if (psv == 0) { in thermal_psv()1146 psv = -1; in thermal_psv()
358 } psv; member
6141 thermal.psv= [HW,ACPI]