/* Returns: a value suitable for writing into a PRCI PLL configuration register  */
static u32 __prci_wrpll_pack(const struct wrpll_cfg *c)
/* Returns: a value suitable for writing into a PRCI PLL configuration register  */
static u32 __prci_wrpll_pack(const struct wrpll_cfg *c)
{
	u32 r = 0;
	r |= c->divr << PRCI_COREPLLCFG0_DIVR_SHIFT;
	r |= c->divf << PRCI_COREPLLCFG0_DIVF_SHIFT;
	r |= c->divq << PRCI_COREPLLCFG0_DIVQ_SHIFT;
	r |= c->range << PRCI_COREPLLCFG0_RANGE_SHIFT;
	r |= PRCI_COREPLLCFG0_FSE_MASK;
	return r;
}