Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/loongson/
H A Dlsdc_gfxpll.c85 struct loongson_gfxpll_parms *pparms = &this->parms; in loongson_gfxpll_get_rates() local
94 pparms->div_ref = gfxpll_reg.bitmap.div_ref; in loongson_gfxpll_get_rates()
95 pparms->loopc = gfxpll_reg.bitmap.loopc; in loongson_gfxpll_get_rates()
97 pparms->div_out_dc = gfxpll_reg.bitmap.div_out_dc; in loongson_gfxpll_get_rates()
98 pparms->div_out_gmc = gfxpll_reg.bitmap.div_out_gmc; in loongson_gfxpll_get_rates()
99 pparms->div_out_gpu = gfxpll_reg.bitmap.div_out_gpu; in loongson_gfxpll_get_rates()
101 pre_output = pparms->ref_clock / pparms->div_ref * pparms->loopc; in loongson_gfxpll_get_rates()
103 dc_mhz = pre_output / pparms->div_out_dc / 1000; in loongson_gfxpll_get_rates()
104 gmc_mhz = pre_output / pparms->div_out_gmc / 1000; in loongson_gfxpll_get_rates()
105 gpu_mhz = pre_output / pparms->div_out_gpu / 1000; in loongson_gfxpll_get_rates()
[all …]
H A Dlsdc_pixpll.c120 struct lsdc_pixpll_parms *pparms; in lsdc_pixel_pll_setup() local
126 pparms = kzalloc(sizeof(*pparms), GFP_KERNEL); in lsdc_pixel_pll_setup()
127 if (!pparms) { in lsdc_pixel_pll_setup()
132 pparms->ref_clock = LSDC_PLL_REF_CLK_KHZ; in lsdc_pixel_pll_setup()
134 this->priv = pparms; in lsdc_pixel_pll_setup()
196 struct lsdc_pixpll_parms *pparms = this->priv; in lsdc_pixel_pll_compute() local
197 unsigned int refclk = pparms->ref_clock; in lsdc_pixel_pll_compute()
225 pparms->div_ref = div_ref; in lsdc_pixel_pll_compute()
226 pparms->div_out = div_out; in lsdc_pixel_pll_compute()
227 pparms->loopc = loopc; in lsdc_pixel_pll_compute()
[all …]
H A Dlsdc_crtc.c433 memcpy(&new_priv_state->pparms, &old_priv_state->pparms, in lsdc_crtc_atomic_duplicate_state()
434 sizeof(new_priv_state->pparms)); in lsdc_crtc_atomic_duplicate_state()
702 const struct lsdc_pixpll_parms *pparms; in lsdc_crtc_atomic_print_state() local
705 pparms = &priv_state->pparms; in lsdc_crtc_atomic_print_state()
707 drm_printf(p, "\tInput clock divider = %u\n", pparms->div_ref); in lsdc_crtc_atomic_print_state()
708 drm_printf(p, "\tMedium clock multiplier = %u\n", pparms->loopc); in lsdc_crtc_atomic_print_state()
709 drm_printf(p, "\tOutput clock divider = %u\n", pparms->div_out); in lsdc_crtc_atomic_print_state()
783 ret = pfuncs->compute(pixpll, clock, &priv_state->pparms); in lsdc_pixpll_atomic_check()
814 pixpll_funcs->update(pixpll, &priv_state->pparms); in lsdc_crtc_mode_set_nofb()
H A Dlsdc_drv.h256 struct lsdc_pixpll_parms pparms; member
/openbmc/phosphor-certificate-manager/
H A Dcerts_manager.cpp815 auto pparms = holderOfKey(params); in generateECKeyPair() local