Home
last modified time | relevance | path

Searched refs:brg (Results 1 – 25 of 63) sorted by relevance

123

/linux-2.6.39/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/cpm/
Dbrg.txt4 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/
Dmpc866ads.dts106 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>;
Dtqm8xx.dts113 brg-frequency = <0>;
128 brg@9f0 {
129 compatible = "fsl,mpc860-brg",
130 "fsl,cpm1-brg",
131 "fsl,cpm-brg";
155 fsl,cpm-brg = <1>;
Dep8248e.dts128 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>;
Dep88xc.dts160 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>;
Dadder875-redboot.dts150 brg@9f0 {
151 compatible = "fsl,mpc875-brg",
152 "fsl,cpm1-brg",
153 "fsl,cpm-brg";
175 fsl,cpm-brg = <1>;
Dadder875-uboot.dts149 brg@9f0 {
150 compatible = "fsl,mpc875-brg",
151 "fsl,cpm1-brg",
152 "fsl,cpm-brg";
174 fsl,cpm-brg = <1>;
Dmpc885ads.dts166 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>;
Dpq2fads.dts146 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>;
Dmpc8272ads.dts147 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>;
Dprpmc2800.dts135 BRG0: brg@b200 {
136 compatible = "marvell,mv64360-brg";
143 BRG1: brg@b208 {
144 compatible = "marvell,mv64360-brg";
170 brg = <&BRG0>;
185 brg = <&BRG1>;
Dmgcoge.dts130 brg@119f0 {
131 compatible = "fsl,mpc8247-brg",
132 "fsl,cpm2-brg",
133 "fsl,cpm-brg";
145 fsl,cpm-brg = <2>;
Dstx_gp3_8560.dts234 brg@919f0 {
235 compatible = "fsl,mpc8560-brg",
236 "fsl,cpm2-brg",
237 "fsl,cpm-brg";
257 fsl,cpm-brg = <2>;
Dc2k.dts147 BRG0: brg@b200 {
148 compatible = "marvell,mv64360-brg";
155 BRG1: brg@b208 {
156 compatible = "marvell,mv64360-brg";
182 brg = <&BRG0>;
197 brg = <&BRG1>;
Dksi8560.dts234 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>;
Dtqm8560.dts253 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/
Dmv64x60_dev.c96 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()
Dcpm2.c119 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/
Dcpm_uart_cpm1.h15 static inline void cpm_set_brg(int brg, int baud) in cpm_set_brg() argument
17 cpm_setbrg(brg, baud); in cpm_set_brg()
Dcpm_uart_cpm2.h15 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/
Dsunzilog.c285 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 …]
Dzs.h51 #define ZS_BRG_TO_BPS(brg, freq) ((freq) / 2 / ((brg) + 2)) argument
Dip22zilog.c803 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/
Dcommproc.c289 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/
Dqe.c201 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()

123