Lines Matching refs:p1
36 unsigned long p1; member
138 params->p1 = buf[0]; in si5351_read_parameters()
144 params->p1 = ((buf[2] & 0x03) << 16) | (buf[3] << 8) | buf[4]; in si5351_read_parameters()
159 buf[0] = params->p1 & 0xff; in si5351_write_parameters()
167 buf[2] |= ((params->p1 & 0x30000) >> 16) & 0x03; in si5351_write_parameters()
168 buf[3] = ((params->p1 & 0x0ff00) >> 8) & 0xff; in si5351_write_parameters()
169 buf[4] = params->p1 & 0xff; in si5351_write_parameters()
430 rate = hwdata->params.p1 * hwdata->params.p3; in si5351_pll_recalc_rate()
439 hwdata->params.p1, hwdata->params.p2, hwdata->params.p3, in si5351_pll_recalc_rate()
482 hwdata->params.p1 = 128 * a; in si5351_pll_round_rate()
483 hwdata->params.p1 += (128 * b / c); in si5351_pll_round_rate()
484 hwdata->params.p1 -= 512; in si5351_pll_round_rate()
526 hwdata->params.p1, hwdata->params.p2, hwdata->params.p3, in si5351_pll_set_rate()
617 m = hwdata->params.p1; in si5351_msynth_recalc_rate()
625 m = hwdata->params.p1 * hwdata->params.p3; in si5351_msynth_recalc_rate()
637 hwdata->params.p1, hwdata->params.p2, hwdata->params.p3, in si5351_msynth_recalc_rate()
734 hwdata->params.p1 = 0; in si5351_msynth_round_rate()
738 hwdata->params.p1 = a; in si5351_msynth_round_rate()
742 hwdata->params.p1 = 128 * a; in si5351_msynth_round_rate()
743 hwdata->params.p1 += (128 * b / c); in si5351_msynth_round_rate()
744 hwdata->params.p1 -= 512; in si5351_msynth_round_rate()
782 hwdata->params.p1, hwdata->params.p2, hwdata->params.p3, in si5351_msynth_set_rate()