Lines Matching refs:pllodiv
304 uint32_t i, pllodiv, pdiv; in adjust_odiv_settings() local
316 pllodiv = mmio_read_32(PLLDIG_PLLODIV(pll_addr, i)); in adjust_odiv_settings()
318 pdiv = PLLDIG_PLLODIV_DIV(pllodiv); in adjust_odiv_settings()
330 pllodiv = PLLDIG_PLLODIV_DIV_SET(pdiv - 1U); in adjust_odiv_settings()
331 mmio_write_32(PLLDIG_PLLODIV(pll_addr, i), pllodiv); in adjust_odiv_settings()
340 uint32_t pllodiv; in get_enabled_odivs() local
344 pllodiv = mmio_read_32(PLLDIG_PLLODIV(pll_addr, i)); in get_enabled_odivs()
345 if ((pllodiv & PLLDIG_PLLODIV_DE) != 0U) { in get_enabled_odivs()
540 uint32_t pllodiv; in config_pll_out_div() local
543 pllodiv = mmio_read_32(PLLDIG_PLLODIV(pll_addr, div_index)); in config_pll_out_div()
544 pdiv = PLLDIG_PLLODIV_DIV(pllodiv); in config_pll_out_div()
546 if (((pdiv + 1U) == dc) && ((pllodiv & PLLDIG_PLLODIV_DE) != 0U)) { in config_pll_out_div()
550 if ((pllodiv & PLLDIG_PLLODIV_DE) != 0U) { in config_pll_out_div()
554 pllodiv = PLLDIG_PLLODIV_DIV_SET(dc - 1U); in config_pll_out_div()
555 mmio_write_32(PLLDIG_PLLODIV(pll_addr, div_index), pllodiv); in config_pll_out_div()
1710 uint32_t pllodiv; in get_pll_div_freq() local
1738 pllodiv = mmio_read_32(PLLDIG_PLLODIV(pll_addr, pdiv->index)); in get_pll_div_freq()
1741 if ((pllodiv & PLLDIG_PLLODIV_DE) == 0U) { in get_pll_div_freq()
1746 dc = PLLDIG_PLLODIV_DIV(pllodiv); in get_pll_div_freq()