Searched refs:samplecount (Results 1 – 1 of 1) sorted by relevance
62 u32 quot, samplecount, realbaud; in _mtk_serial_setbrg() local79 samplecount = DIV_ROUND_CLOSEST(priv->clock, in _mtk_serial_setbrg()81 if (samplecount != 0) { in _mtk_serial_setbrg()82 realbaud = priv->clock / samplecount / quot; in _mtk_serial_setbrg()122 writel(samplecount - 1, &priv->regs->sample_count); in _mtk_serial_setbrg()123 writel((samplecount - 2) >> 1, &priv->regs->sample_point); in _mtk_serial_setbrg()