Searched refs:bgen (Results 1 – 1 of 1) sorted by relevance
51 unsigned int calc_bauderror, bdiv, bgen; in _uart_zynq_serial_setbrg() local65 bgen = clock / (baud * (bdiv + 1)); in _uart_zynq_serial_setbrg()66 if (bgen < 2 || bgen > 65535) in _uart_zynq_serial_setbrg()69 calc_baud = clock / (bgen * (bdiv + 1)); in _uart_zynq_serial_setbrg()84 writel(bgen, ®s->baud_rate_gen); in _uart_zynq_serial_setbrg()