Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dgm20b.c89 #define DFS_DET_RANGE 6 /* -2^6 ... 2^6-1 */ macro
206 if (abs(dvfs->dfs_ext_cal) >= BIT(DFS_DET_RANGE)) in gm20b_dvfs_calc_det_coeff()
241 n = (n_eff << DFS_DET_RANGE) - det_delta; in gm20b_dvfs_calc_ndiv()
245 n = 1 << DFS_DET_RANGE; in gm20b_dvfs_calc_ndiv()
247 if (n >> DFS_DET_RANGE > p->max_n) { in gm20b_dvfs_calc_ndiv()
249 n = p->max_n << DFS_DET_RANGE; in gm20b_dvfs_calc_ndiv()
251 *n_int = n >> DFS_DET_RANGE; in gm20b_dvfs_calc_ndiv()
254 rem = ((u32)n) & MASK(DFS_DET_RANGE); in gm20b_dvfs_calc_ndiv()
255 rem_range = SDM_DIN_RANGE + 1 - DFS_DET_RANGE; in gm20b_dvfs_calc_ndiv()
536 nvkm_mask(device, GPC_BCAST_GPCPLL_DVFS2, MASK(DFS_DET_RANGE + 1), in gm20b_dvfs_program_ext_cal()