Home
last modified time | relevance | path

Searched defs:SCBRR_VALUE (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/serial/
H A Dserial_sh.h740 #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