Searched refs:SCBRR_VALUE (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/drivers/serial/ |
D | serial_sh.h | 740 #define SCBRR_VALUE(bps, clk) ((clk+16*bps)/(16*bps)-1) macro 749 #define SCBRR_VALUE(bps, clk) (((clk*2)+16*bps)/(32*bps)-1) macro 759 #define SCBRR_VALUE(bps, clk) scbrr_calc(port, bps, clk) macro 761 #define SCBRR_VALUE(bps, clk) (((clk*1000/32)/bps)-1) macro 765 #define SCBRR_VALUE(bps, clk) (clk / bps / 16 - 1) /* Internal Clock */ macro 767 #define SCBRR_VALUE(bps, clk) (clk / bps / 32 - 1) /* Internal Clock */ macro 770 #define SCBRR_VALUE(bps, clk) ((clk+16*bps)/(32*bps)-1) macro
|
D | serial_sh.c | 77 sci_out(port, SCBRR, SCBRR_VALUE(baudrate, clk)); in sh_serial_setbrg_generic()
|