Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_drm_de.c126 writel(HIBMC_FIELD(HIBMC_CRT_FB_WIDTH_WIDTH, reg) | in hibmc_plane_atomic_update()
127 HIBMC_FIELD(HIBMC_CRT_FB_WIDTH_OFFS, line_l), in hibmc_plane_atomic_update()
133 reg |= HIBMC_FIELD(HIBMC_CRT_DISP_CTL_FORMAT, in hibmc_plane_atomic_update()
167 reg |= HIBMC_FIELD(HIBMC_CRT_DISP_CTL_DPMS, dpms); in hibmc_crtc_dpms()
243 pllreg |= HIBMC_FIELD(HIBMC_PLL_CTRL_BYPASS, 0); in format_pll_reg()
244 pllreg |= HIBMC_FIELD(HIBMC_PLL_CTRL_POWER, 1); in format_pll_reg()
245 pllreg |= HIBMC_FIELD(HIBMC_PLL_CTRL_INPUT, 0); in format_pll_reg()
246 pllreg |= HIBMC_FIELD(HIBMC_PLL_CTRL_POD, pll.POD); in format_pll_reg()
247 pllreg |= HIBMC_FIELD(HIBMC_PLL_CTRL_OD, pll.OD); in format_pll_reg()
248 pllreg |= HIBMC_FIELD(HIBMC_PLL_CTRL_N, pll.N); in format_pll_reg()
[all …]
Dhibmc_drm_drv.c146 control_value |= HIBMC_FIELD(HIBMC_PW_MODE_CTL_MODE, power_mode); in hibmc_set_power_mode()
147 control_value |= HIBMC_FIELD(HIBMC_PW_MODE_CTL_OSC_INPUT, input); in hibmc_set_power_mode()
Dhibmc_drm_regs.h203 #define HIBMC_FIELD(field, value) (field(value) & field##_MASK) macro