Lines Matching defs:tpf
204 struct v4l2_fract tpf; /* as requested with s_parm */
664 clkrc |= to_clkrc(&priv->tpf, priv->pclk_limit, priv->pclk_max);
740 cp->timeperframe.numerator = GET_CLKRC_DIV(to_clkrc(&priv->tpf,
755 struct v4l2_fract *tpf = &cp->timeperframe;
765 if (tpf->numerator == 0 || tpf->denominator == 0)
768 div = (tpf->numerator * FRAME_RATE_MAX) / tpf->denominator;
776 * Keep result to be used as tpf limit
779 priv->tpf.numerator = div;
780 priv->tpf.denominator = FRAME_RATE_MAX;
782 clkrc = to_clkrc(&priv->tpf, priv->pclk_limit, priv->pclk_max);
786 tpf->numerator = GET_CLKRC_DIV(clkrc);
787 tpf->denominator = FRAME_RATE_MAX;