Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/serial/
H A Dserial_sh.h744 #define SCBRR_VALUE(bps, clk) ((clk+16*bps)/(16*bps)-1) argument
753 #define SCBRR_VALUE(bps, clk) (((clk*2)+16*bps)/(32*bps)-1) argument
756 static inline int scbrr_calc(struct uart_port *port, int bps, int clk) in scbrr_calc()
763 #define SCBRR_VALUE(bps, clk) scbrr_calc(port, bps, clk) argument
765 #define SCBRR_VALUE(bps, clk) (((clk*1000/32)/bps)-1) argument
768 #define DL_VALUE(bps, clk) (clk / bps / 16) /* External Clock */ argument
770 #define SCBRR_VALUE(bps, clk) (clk / bps / 16 - 1) /* Internal Clock */ argument
772 #define SCBRR_VALUE(bps, clk) (clk / bps / 32 - 1) /* Internal Clock */ argument
775 #define SCBRR_VALUE(bps, clk) ((clk+16*bps)/(32*bps)-1) argument
779 #define DL_VALUE(bps, clk) 0 argument
H A Dserial_sti_asc.c48 #define BAUDRATE_VAL_M0(bps) (PCLK / (16 * (bps))) argument
49 #define BAUDRATE_VAL_M1(bps) ((bps * (1 << 14)) + (1<<13)) / (PCLK/(1 << 6)) argument
/rk3399_rockchip-uboot/cmd/
H A Dsf.c409 int bps; /* Bits per second */ in show_time() local
/rk3399_rockchip-uboot/common/
H A Dlrz.c973 long bps; in wcreceive() local
2156 long bps; in rzfiles() local