Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy_14nm.c148 static void dsi_pll_14nm_config_init(struct dsi_pll_config *pconf) in dsi_pll_14nm_config_init() argument
151 pconf->plllock_cnt = 1; in dsi_pll_14nm_config_init()
157 pconf->ssc_en = 1; in dsi_pll_14nm_config_init()
158 pconf->ssc_center = 0; /* down spread by default */ in dsi_pll_14nm_config_init()
159 pconf->ssc_spread = 5; /* PPM / 1000 */ in dsi_pll_14nm_config_init()
160 pconf->ssc_freq = 31500; /* default recommended */ in dsi_pll_14nm_config_init()
161 pconf->ssc_adj_period = 37; in dsi_pll_14nm_config_init()
166 static void pll_14nm_ssc_calc(struct dsi_pll_14nm *pll, struct dsi_pll_config *pconf) in pll_14nm_ssc_calc() argument
172 DBG("vco=%lld ref=%d", pconf->vco_current_rate, VCO_REF_CLK_RATE); in pll_14nm_ssc_calc()
174 ssc_period = pconf->ssc_freq / 500; in pll_14nm_ssc_calc()
[all …]
/linux-5.19.10/drivers/pinctrl/aspeed/
Dpinctrl-aspeed.c535 const struct aspeed_pin_config *pconf; in aspeed_pin_config_get() local
541 pconf = find_pinconf_config(pdata, offset, param); in aspeed_pin_config_get()
542 if (!pconf) in aspeed_pin_config_get()
545 rc = regmap_read(pdata->scu, pconf->reg, &val); in aspeed_pin_config_get()
550 (val & pconf->mask) >> __ffs(pconf->mask)); in aspeed_pin_config_get()
581 const struct aspeed_pin_config *pconf; in aspeed_pin_config_set() local
589 pconf = find_pinconf_config(pdata, offset, param); in aspeed_pin_config_set()
590 if (!pconf) in aspeed_pin_config_set()
598 val = pmap->val << __ffs(pconf->mask); in aspeed_pin_config_set()
600 rc = regmap_update_bits(pdata->scu, pconf->reg, in aspeed_pin_config_set()
[all …]