Lines Matching full:rate
104 /* Set a baud rate generator. This needs lots of work. There are
108 * The baud rate clock is the system clock divided by something.
111 * Baud rate clocks are zero-based in the driver code (as that maps
121 m8560_cpm_setbrg(uint brg, uint rate) in m8560_cpm_setbrg() argument
136 *bp = (((((BRG_UART_CLK+rate-1)/rate)-1)&0xfff)<<1)|CPM_BRG_EN; in m8560_cpm_setbrg()
139 /* This function is used to set high speed synchronous baud rate
143 m8560_cpm_fastbrg(uint brg, uint rate, int div16) in m8560_cpm_fastbrg() argument
158 *bp = (((((BRG_INT_CLK+rate-1)/rate)-1)&0xfff)<<1)|CPM_BRG_EN; in m8560_cpm_fastbrg()
163 /* This function is used to set baud rate generators using an external
168 m8560_cpm_extcbrg(uint brg, uint rate, uint extclk, int pinsel) in m8560_cpm_extcbrg() argument
181 *bp = ((((((extclk/16)+rate-1)/rate)-1)&0xfff)<<1)|CPM_BRG_EN; in m8560_cpm_extcbrg()