/linux-2.6.39/Documentation/devicetree/bindings/powerpc/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-2.6.39/arch/powerpc/boot/dts/ |
D | mpc866ads.dts | 106 brg-frequency = <0>; 121 brg@9f0 { 122 compatible = "fsl,mpc866-brg", 123 "fsl,cpm1-brg", 124 "fsl,cpm-brg"; 148 fsl,cpm-brg = <1>; 159 fsl,cpm-brg = <2>;
|
D | tqm8xx.dts | 113 brg-frequency = <0>; 128 brg@9f0 { 129 compatible = "fsl,mpc860-brg", 130 "fsl,cpm1-brg", 131 "fsl,cpm-brg"; 155 fsl,cpm-brg = <1>;
|
D | ep8248e.dts | 128 brg@119f0 { 129 compatible = "fsl,mpc8248-brg", 130 "fsl,cpm2-brg", 131 "fsl,cpm-brg"; 143 fsl,cpm-brg = <7>; 156 fsl,cpm-brg = <1>;
|
D | ep88xc.dts | 160 brg@9f0 { 161 compatible = "fsl,mpc885-brg", 162 "fsl,cpm1-brg", 163 "fsl,cpm-brg"; 185 fsl,cpm-brg = <1>; 198 fsl,cpm-brg = <2>;
|
D | adder875-redboot.dts | 150 brg@9f0 { 151 compatible = "fsl,mpc875-brg", 152 "fsl,cpm1-brg", 153 "fsl,cpm-brg"; 175 fsl,cpm-brg = <1>;
|
D | adder875-uboot.dts | 149 brg@9f0 { 150 compatible = "fsl,mpc875-brg", 151 "fsl,cpm1-brg", 152 "fsl,cpm-brg"; 174 fsl,cpm-brg = <1>;
|
D | mpc885ads.dts | 166 brg@9f0 { 167 compatible = "fsl,mpc885-brg", 168 "fsl,cpm1-brg", 169 "fsl,cpm-brg"; 191 fsl,cpm-brg = <1>; 202 fsl,cpm-brg = <2>;
|
D | pq2fads.dts | 146 brg@119f0 { 147 compatible = "fsl,mpc8280-brg", 148 "fsl,cpm2-brg", 149 "fsl,cpm-brg"; 160 fsl,cpm-brg = <1>; 171 fsl,cpm-brg = <2>;
|
D | mpc8272ads.dts | 147 brg@119f0 { 148 compatible = "fsl,mpc8272-brg", 149 "fsl,cpm2-brg", 150 "fsl,cpm-brg"; 161 fsl,cpm-brg = <1>; 172 fsl,cpm-brg = <4>;
|
D | prpmc2800.dts | 135 BRG0: brg@b200 { 136 compatible = "marvell,mv64360-brg"; 143 BRG1: brg@b208 { 144 compatible = "marvell,mv64360-brg"; 170 brg = <&BRG0>; 185 brg = <&BRG1>;
|
D | mgcoge.dts | 130 brg@119f0 { 131 compatible = "fsl,mpc8247-brg", 132 "fsl,cpm2-brg", 133 "fsl,cpm-brg"; 145 fsl,cpm-brg = <2>;
|
D | stx_gp3_8560.dts | 234 brg@919f0 { 235 compatible = "fsl,mpc8560-brg", 236 "fsl,cpm2-brg", 237 "fsl,cpm-brg"; 257 fsl,cpm-brg = <2>;
|
D | c2k.dts | 147 BRG0: brg@b200 { 148 compatible = "marvell,mv64360-brg"; 155 BRG1: brg@b208 { 156 compatible = "marvell,mv64360-brg"; 182 brg = <&BRG0>; 197 brg = <&BRG1>;
|
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 | 253 brg@919f0 { 254 compatible = "fsl,mpc8560-brg", 255 "fsl,cpm2-brg", 256 "fsl,cpm-brg"; 276 fsl,cpm-brg = <1>; 288 fsl,cpm-brg = <2>;
|
/linux-2.6.39/arch/powerpc/sysdev/ |
D | mv64x60_dev.c | 96 struct device_node *sdma, *brg; in mv64x60_mpsc_device_setup() local 124 brg = of_find_node_by_phandle(*ph); in mv64x60_mpsc_device_setup() 125 if (!brg) in mv64x60_mpsc_device_setup() 128 err = of_address_to_resource(brg, 0, &r[2]); in mv64x60_mpsc_device_setup() 129 of_node_put(brg); in mv64x60_mpsc_device_setup() 147 prop = of_get_property(brg, "current-speed", NULL); in mv64x60_mpsc_device_setup() 172 prop = of_get_property(brg, "bcr", NULL); in mv64x60_mpsc_device_setup() 178 prop = of_get_property(brg, "clock-src", NULL); in mv64x60_mpsc_device_setup() 182 prop = of_get_property(brg, "clock-frequency", NULL); in mv64x60_mpsc_device_setup()
|
D | cpm2.c | 119 void __cpm2_setbrg(uint brg, uint rate, uint clk, int div16, int src) in __cpm2_setbrg() argument 126 if (brg < 4) { in __cpm2_setbrg() 130 brg -= 4; in __cpm2_setbrg() 132 bp += brg; in __cpm2_setbrg()
|
/linux-2.6.39/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_cpm1.h | 15 static inline void cpm_set_brg(int brg, int baud) in cpm_set_brg() argument 17 cpm_setbrg(brg, baud); in cpm_set_brg()
|
D | cpm_uart_cpm2.h | 15 static inline void cpm_set_brg(int brg, int baud) in cpm_set_brg() argument 17 cpm_setbrg(brg, baud); in cpm_set_brg()
|
/linux-2.6.39/drivers/tty/serial/ |
D | sunzilog.c | 285 int brg, new_baud; in sunzilog_change_mouse_baud() local 290 brg = BPS_TO_BRG(new_baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_change_mouse_baud() 291 up->curregs[R12] = (brg & 0xff); in sunzilog_change_mouse_baud() 292 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_change_mouse_baud() 868 unsigned int iflag, int brg) in sunzilog_convert_to_zs() argument 877 up->curregs[R12] = brg & 0xff; in sunzilog_convert_to_zs() 878 up->curregs[R13] = (brg >> 8) & 0xff; in sunzilog_convert_to_zs() 947 int baud, brg; in sunzilog_set_termios() local 953 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in sunzilog_set_termios() 955 sunzilog_convert_to_zs(up, termios->c_cflag, termios->c_iflag, brg); in sunzilog_set_termios() [all …]
|
D | zs.h | 51 #define ZS_BRG_TO_BPS(brg, freq) ((freq) / 2 / ((brg) + 2)) argument
|
D | ip22zilog.c | 803 unsigned int iflag, int brg) in ip22zilog_convert_to_zs() argument 812 up->curregs[R12] = brg & 0xff; in ip22zilog_convert_to_zs() 813 up->curregs[R13] = (brg >> 8) & 0xff; in ip22zilog_convert_to_zs() 882 int baud, brg; in ip22zilog_set_termios() local 888 brg = BPS_TO_BRG(baud, ZS_CLOCK / ZS_CLOCK_DIVISOR); in ip22zilog_set_termios() 890 ip22zilog_convert_to_zs(up, termios->c_cflag, termios->c_iflag, brg); in ip22zilog_set_termios() 1134 int brg; in ip22zilog_prepare() local 1145 brg = BPS_TO_BRG(9600, ZS_CLOCK / ZS_CLOCK_DIVISOR); in ip22zilog_prepare() 1146 up->curregs[R12] = (brg & 0xff); in ip22zilog_prepare() 1147 up->curregs[R13] = (brg >> 8) & 0xff; in ip22zilog_prepare()
|
/linux-2.6.39/arch/m68k/platform/68360/ |
D | commproc.c | 289 m360_cpm_setbrg(uint brg, uint rate) in m360_cpm_setbrg() argument 297 bp += brg; in m360_cpm_setbrg()
|
/linux-2.6.39/arch/powerpc/sysdev/qe_lib/ |
D | qe.c | 201 int qe_setbrg(enum qe_clock brg, unsigned int rate, unsigned int multiplier) in qe_setbrg() argument 206 if ((brg < QE_BRG1) || (brg > QE_BRG16)) in qe_setbrg() 225 out_be32(&qe_immr->brg.brgc[brg - QE_BRG1], tempval); in qe_setbrg()
|