/linux-6.1.9/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/ |
D | brg.txt | 4 fsl,cpm-brg 5 fsl,cpm1-brg 6 fsl,cpm2-brg 15 brg@119f0 { 16 compatible = "fsl,mpc8272-brg", 17 "fsl,cpm2-brg", 18 "fsl,cpm-brg";
|
/linux-6.1.9/arch/powerpc/boot/dts/ |
D | mpc866ads.dts | 101 brg-frequency = <0>; 116 brg@9f0 { 117 compatible = "fsl,mpc866-brg", 118 "fsl,cpm1-brg", 119 "fsl,cpm-brg"; 143 fsl,cpm-brg = <1>; 154 fsl,cpm-brg = <2>;
|
D | ep8248e.dts | 121 brg@119f0 { 122 compatible = "fsl,mpc8248-brg", 123 "fsl,cpm2-brg", 124 "fsl,cpm-brg"; 136 fsl,cpm-brg = <7>; 149 fsl,cpm-brg = <1>;
|
D | tqm8xx.dts | 133 brg-frequency = <0>; 148 brg@9f0 { 149 compatible = "fsl,mpc860-brg", 150 "fsl,cpm1-brg", 151 "fsl,cpm-brg"; 175 fsl,cpm-brg = <1>;
|
D | ep88xc.dts | 154 brg@9f0 { 155 compatible = "fsl,mpc885-brg", 156 "fsl,cpm1-brg", 157 "fsl,cpm-brg"; 179 fsl,cpm-brg = <1>; 192 fsl,cpm-brg = <2>;
|
D | adder875-uboot.dts | 143 brg@9f0 { 144 compatible = "fsl,mpc875-brg", 145 "fsl,cpm1-brg", 146 "fsl,cpm-brg"; 168 fsl,cpm-brg = <1>;
|
D | adder875-redboot.dts | 144 brg@9f0 { 145 compatible = "fsl,mpc875-brg", 146 "fsl,cpm1-brg", 147 "fsl,cpm-brg"; 169 fsl,cpm-brg = <1>;
|
D | mpc885ads.dts | 159 brg@9f0 { 160 compatible = "fsl,mpc885-brg", 161 "fsl,cpm1-brg", 162 "fsl,cpm-brg"; 184 fsl,cpm-brg = <1>; 195 fsl,cpm-brg = <2>;
|
D | pq2fads.dts | 142 brg@119f0 { 143 compatible = "fsl,mpc8280-brg", 144 "fsl,cpm2-brg", 145 "fsl,cpm-brg"; 156 fsl,cpm-brg = <1>; 167 fsl,cpm-brg = <2>;
|
D | mpc8272ads.dts | 143 brg@119f0 { 144 compatible = "fsl,mpc8272-brg", 145 "fsl,cpm2-brg", 146 "fsl,cpm-brg"; 157 fsl,cpm-brg = <1>; 168 fsl,cpm-brg = <4>;
|
D | mgcoge.dts | 126 brg@119f0 { 127 compatible = "fsl,mpc8247-brg", 128 "fsl,cpm2-brg", 129 "fsl,cpm-brg"; 141 fsl,cpm-brg = <2>;
|
D | stx_gp3_8560.dts | 230 brg@919f0 { 231 compatible = "fsl,mpc8560-brg", 232 "fsl,cpm2-brg", 233 "fsl,cpm-brg"; 253 fsl,cpm-brg = <2>;
|
D | ksi8560.dts | 234 brg@919f0 { 235 compatible = "fsl,mpc8560-brg", 236 "fsl,cpm2-brg", 237 "fsl,cpm-brg"; 257 fsl,cpm-brg = <1>; 269 fsl,cpm-brg = <2>;
|
D | tqm8560.dts | 248 brg@919f0 { 249 compatible = "fsl,mpc8560-brg", 250 "fsl,cpm2-brg", 251 "fsl,cpm-brg"; 271 fsl,cpm-brg = <1>; 283 fsl,cpm-brg = <2>;
|
/linux-6.1.9/drivers/soc/fsl/qe/ |
D | qe.c | 162 u32 brg; in qe_get_brg_clk() local 172 if (!of_property_read_u32(qe, "brg-frequency", &brg)) in qe_get_brg_clk() 173 brg_clk = brg; in qe_get_brg_clk() 209 int qe_setbrg(enum qe_clock brg, unsigned int rate, unsigned int multiplier) in qe_setbrg() argument 214 if ((brg < QE_BRG1) || (brg > QE_BRG16)) in qe_setbrg() 234 iowrite32be(tempval, &qe_immr->brg.brgc[brg - QE_BRG1]); in qe_setbrg()
|
/linux-6.1.9/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_cpm1.h | 14 static inline void cpm_set_brg(int brg, int baud) in cpm_set_brg() argument 16 cpm_setbrg(brg, baud); in cpm_set_brg()
|
D | cpm_uart_cpm2.h | 14 static inline void cpm_set_brg(int brg, int baud) in cpm_set_brg() argument 16 cpm_setbrg(brg, baud); in cpm_set_brg()
|
/linux-6.1.9/drivers/tty/serial/ |
D | sunzilog.c | 283 int brg, new_baud; in sunzilog_change_mouse_baud() local 288 brg = BPS_TO_BRG(new_baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_change_mouse_baud() 289 up->curregs[R12] = (brg & 0xff); in sunzilog_change_mouse_baud() 290 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_change_mouse_baud() 866 unsigned int iflag, int brg) in sunzilog_convert_to_zs() argument 875 up->curregs[R12] = brg & 0xff; in sunzilog_convert_to_zs() 876 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_convert_to_zs() 946 int baud, brg; in sunzilog_set_termios() local 952 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_set_termios() 954 sunzilog_convert_to_zs(up, termios->c_cflag, termios->c_iflag, brg); in sunzilog_set_termios() [all …]
|
D | zs.h | 52 #define ZS_BRG_TO_BPS(brg, freq) ((freq) / 2 / ((brg) + 2)) argument
|
D | ip22zilog.c | 801 unsigned int iflag, int brg) in ip22zilog_convert_to_zs() argument 810 up->curregs[R12] = brg & 0xff; in ip22zilog_convert_to_zs() 811 up->curregs[R13] = (brg >> 8) & 0xff; in ip22zilog_convert_to_zs() 881 int baud, brg; in ip22zilog_set_termios() local 887 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in ip22zilog_set_termios() 889 ip22zilog_convert_to_zs(up, termios->c_cflag, termios->c_iflag, brg); in ip22zilog_set_termios() 1136 int brg; in ip22zilog_prepare() local 1147 brg = BPS_TO_BRG(9600, ZS_CLOCK / ZS_CLOCK_DIVISOR); in ip22zilog_prepare() 1148 up->curregs[R12] = (brg & 0xff); in ip22zilog_prepare() 1149 up->curregs[R13] = (brg >> 8) & 0xff; in ip22zilog_prepare()
|
D | ip22zilog.h | 31 #define BRG_TO_BPS(brg, freq) ((freq) / 2 / ((brg) + 2)) argument
|
D | sunzilog.h | 23 #define BRG_TO_BPS(brg, freq) ((freq) / 2 / ((brg) + 2)) argument
|
/linux-6.1.9/arch/powerpc/sysdev/ |
D | cpm2.c | 114 void __cpm2_setbrg(uint brg, uint rate, uint clk, int div16, int src) in __cpm2_setbrg() argument 121 if (brg < 4) { in __cpm2_setbrg() 125 brg -= 4; in __cpm2_setbrg() 127 bp += brg; in __cpm2_setbrg()
|
/linux-6.1.9/drivers/spi/ |
D | spi-au1550.c | 104 u32 div, brg; in au1550_spi_baudcfg() local 107 brg = mainclk_hz / speed_hz / (4 << div); in au1550_spi_baudcfg() 109 if (brg < (4 + 1)) { in au1550_spi_baudcfg() 110 brg = (4 + 1); /* speed_hz too big */ in au1550_spi_baudcfg() 113 if (brg <= (63 + 1)) in au1550_spi_baudcfg() 118 brg = (63 + 1); /* set highest brg and div */ in au1550_spi_baudcfg() 120 brg--; in au1550_spi_baudcfg() 121 return PSC_SPICFG_SET_BAUD(brg) | PSC_SPICFG_SET_DIV(div); in au1550_spi_baudcfg()
|
/linux-6.1.9/arch/powerpc/boot/dts/fsl/ |
D | mpc8560ads.dts | 231 brg@919f0 { 232 compatible = "fsl,mpc8560-brg", 233 "fsl,cpm2-brg", 234 "fsl,cpm-brg"; 254 fsl,cpm-brg = <1>; 266 fsl,cpm-brg = <2>;
|