Lines Matching refs:pe
36 unsigned long pe;
59 struct clkgen_field pe[QUADFS_MAX_CHAN];
111 .pe = { CLKGEN_FIELD(0x304, 0x7fff, 0),
147 .pe = { CLKGEN_FIELD(0x2b4, 0x7fff, 0),
525 u32 pe;
537 * notice of the new md/pe values with a glitchless transition.
548 * Ensure the md/pe parameters are ignored while we are
555 CLKGEN_WRITE(fs, pe[fs->chan], fs->pe);
639 res = (P20 * (32 + fs->mdiv) + 32 * fs->pe) * s * ns;
664 fs_tmp.pe = (unsigned long)*p;
674 fs->pe = (unsigned long)*p;
690 uint64_t p, p1, p2; /* pe value */
717 /* pe fine tuning if deviation not 0: +/- 2 around computed pe value */
723 if (fs->pe > 2)
724 p2 = fs->pe - 2;
728 for (; p2 < 32768ll && (p2 <= (fs->pe + 2)); p2++) {
729 fs_tmp.pe = (unsigned long)p2;
737 fs->pe = (unsigned long)p2;
753 params->pe = CLKGEN_READ(fs, pe[fs->chan]);
764 if (!params->mdiv && !params->pe && !params->sdiv)
768 fs->pe = params->pe;
824 pr_debug("%s: %s new rate %ld [sdiv=0x%x,md=0x%x,pe=0x%x,nsdiv3=%u]\n",
827 (unsigned int)params.pe, (unsigned int)params.nsdiv);
837 fs->pe = params->pe;