Lines Matching refs:SM_BIT
106 if (!(control & SM_BIT(PLLEN)))
208 if (cksel & SM_BIT(CPUDIV))
235 if (cksel & SM_BIT(HSBDIV))
262 if (cksel & SM_BIT(PBADIV))
289 if (cksel & SM_BIT(PBBDIV))
331 control |= SM_BIT(CEN);
333 control &= ~SM_BIT(CEN);
343 if (control & SM_BIT(DIVEN))
359 control &= ~SM_BIT(DIVEN);
362 control = SM_BFINS(DIV, div, control) | SM_BIT(DIVEN);
386 control |= SM_BIT(OSCSEL);
388 control &= ~SM_BIT(OSCSEL);
393 control |= SM_BIT(PLLSEL);
395 control &= ~SM_BIT(PLLSEL);
411 if (control & SM_BIT(OSCSEL))
412 parent = (control & SM_BIT(PLLSEL)) ? &pll1 : &osc1;
414 parent = (control & SM_BIT(PLLSEL)) ? &pll0 : &osc0;
1119 if (sm_readl(sm, PM_MCCTRL) & SM_BIT(PLLSEL))
1124 if (sm_readl(sm, PM_PLL0) & SM_BIT(PLLOSC))
1126 if (sm_readl(sm, PM_PLL1) & SM_BIT(PLLOSC))