Lines Matching defs:fref
2907 uint16 fref; /* x-tal frequency in [hz] */
3084 /* fref xf p1div p2div ndiv_int ndiv_frac */
3296 uint16 fref; /* x-tal frequency in [hz] */
3489 for (xt = si_pmu1_xtaltab0(sih); xt != NULL && xt->fref != 0; xt ++)
3493 if (xt == NULL || xt->fref == 0)
3495 ASSERT(xt != NULL && xt->fref != 0);
3497 return xt->fref * 1000;
4305 for (xt = si_pmu2_xtaltab0(sih), xt_idx = 0; xt != NULL && xt->fref != 0; xt++, xt_idx++) {
4306 if (xt->fref == xtal)
4310 if (xt == NULL || xt->fref == 0) {
4322 xt->fref / 1000, xt->fref % 1000));
4327 PMU_MSG(("Programming PLL for %d.%d MHz\n", xt->fref / 1000, xt->fref % 1000));
4408 for (xt = pmu2_xtaltab0_adfll_480; xt != NULL && xt->fref != 0; xt++) {
4414 for (xt = pmu2_xtaltab0_adfll_485; xt != NULL && xt->fref != 0; xt++) {
4437 for (xt = pmu2_xtaltab0_adfll_480; xt != NULL && xt->fref != 0; xt++) {
4443 if (xt == NULL || xt->fref == 0) {
4444 for (xt = pmu2_xtaltab0_adfll_485; xt != NULL && xt->fref != 0; xt++) {
4452 if (xt == NULL || xt->fref == 0)
4454 ASSERT(xt != NULL && xt->fref != 0);
4456 return xt->fref * 1000;
4539 for (xt = si_pmu1_xtaltab0(sih); xt != NULL && xt->fref != 0; xt ++)
4540 if (xt->fref == xtal)
4546 if (xt == NULL || xt->fref == 0) {
4559 xt->fref / 1000, xt->fref % 1000));
4564 PMU_MSG(("Programming PLL for %d.%d MHz\n", xt->fref / 1000, xt->fref % 1000));
4588 if (xt->fref == 38400)
4590 else if (xt->fref == 37400)
4592 else if (xt->fref == 26000)
4599 if ((xt->fref == 38400) || (xt->fref == 37400) || (xt->fref == 26000))
4736 if ((CHIPID(sih->chip) == BCM4319_CHIP_ID) && (xt->fref != XTAL_FREQ_30000MHZ)) {
4739 if (xt->fref == XTAL_FREQ_24000MHZ) {
4741 } else if (xt->fref == XTAL_FREQ_48000MHZ) {
4754 tmp |= (((((xt->fref + 127) / 128) - 1) << PCTL_ILP_DIV_SHIFT) &
4778 uint32 fref;
4859 fref = si_pmu1_alpclk0(sih, osh, cc) / 1000;
4861 fvco = (fref * ndiv_int) << 8;
4862 fvco += (fref * (ndiv_frac >> 12)) >> 4;
4863 fvco += (fref * (ndiv_frac & 0xfff)) >> 12;
6668 if ((params_tbl->fref) == xtal_freq)
6680 xtal_freq = (uint32) params_tbl->fref/100;
6753 for (; xt != NULL && xt->fref != 0; xt++) {
6754 if (xt->fref == xtal_freq) {