Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/accel/habanalabs/goya/
Dgoya.c750 u32 nr = 0, nf = 0, od = 0, div_fctr = 0, pll_clk, div_sel; in goya_fetch_psoc_frequency() local
768 div_fctr = RREG32(mmPSOC_PCI_PLL_DIV_FACTOR_1); in goya_fetch_psoc_frequency()
779 freq = PLL_REF_CLK / (div_fctr + 1); in goya_fetch_psoc_frequency()
787 freq = pll_clk / (div_fctr + 1); in goya_fetch_psoc_frequency()
800 prop->psoc_pci_pll_div_factor = div_fctr; in goya_fetch_psoc_frequency()
/Linux-v6.6/drivers/accel/habanalabs/gaudi/
Dgaudi.c907 u32 nr = 0, nf = 0, od = 0, div_fctr = 0, pll_clk, div_sel; in gaudi_fetch_psoc_frequency() local
927 div_fctr = RREG32(mmPSOC_CPU_PLL_DIV_FACTOR_2); in gaudi_fetch_psoc_frequency()
938 freq = PLL_REF_CLK / (div_fctr + 1); in gaudi_fetch_psoc_frequency()
946 freq = pll_clk / (div_fctr + 1); in gaudi_fetch_psoc_frequency()
957 prop->psoc_pci_pll_div_factor = div_fctr; in gaudi_fetch_psoc_frequency()