tag | line | file | source code |
brg | 221 | drivers/sbus/char/sunserial.c | int brg; |
brg | 230 | drivers/sbus/char/sunserial.c | brg = BPS_TO_BRG(bps, ZS_CLOCK/16); |
brg | 231 | drivers/sbus/char/sunserial.c | kgdb_regs[R12] = (brg & 255); |
brg | 232 | drivers/sbus/char/sunserial.c | kgdb_regs[R13] = ((brg >> 8) & 255); |
brg | 240 | drivers/sbus/char/sunserial.c | int brg; |
brg | 247 | drivers/sbus/char/sunserial.c | brg = ((read_zsreg(channel, 13)&0xff) << 8); |
brg | 248 | drivers/sbus/char/sunserial.c | brg |= (read_zsreg(channel, 12)&0xff); |
brg | 249 | drivers/sbus/char/sunserial.c | return BRG_TO_BPS(brg, (ZS_CLOCK/(ss->clk_divisor))); |
brg | 812 | drivers/sbus/char/sunserial.c | int brg; |
brg | 832 | drivers/sbus/char/sunserial.c | brg = BPS_TO_BRG(info->zs_baud, ZS_CLOCK/info->clk_divisor); |
brg | 833 | drivers/sbus/char/sunserial.c | info->curregs[12] = (brg & 255); |
brg | 834 | drivers/sbus/char/sunserial.c | info->curregs[13] = ((brg >> 8) & 255); |
brg | 186 | drivers/sbus/char/sunserial.h | #define BRG_TO_BPS(brg, freq) ((freq) / 2 / ((brg) + 2)) |