• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mn10300/kernel/

Lines Matching refs:gdbstub_port

27 struct mn10300_serial_port *const gdbstub_port = &mn10300_serial_port_sif0;
29 struct mn10300_serial_port *const gdbstub_port = &mn10300_serial_port_sif1;
31 struct mn10300_serial_port *const gdbstub_port = &mn10300_serial_port_sif2;
43 switch (gdbstub_port->clock_src) {
45 gdbstub_port->ioclk = MN10300_IOCLK;
50 gdbstub_port->ioclk = MN10300_IOBCLK;
61 set_intr_level(gdbstub_port->rx_irq, GxICR_LEVEL_0);
62 set_intr_level(gdbstub_port->tx_irq, GxICR_LEVEL_0);
65 *gdbstub_port->rx_icr |= GxICR_ENABLE;
66 tmp = *gdbstub_port->rx_icr;
70 switch (gdbstub_port->div_timer) {
83 *gdbstub_port->_control = scxctr;
84 tmp = *gdbstub_port->_control;
102 unsigned long ioclk = gdbstub_port->ioclk;
117 switch (gdbstub_port->div_timer) {
159 gdbstub_port->uart.timeout = (2 * bits * HZ) / baud;
160 gdbstub_port->uart.timeout += HZ / 50;
163 switch (gdbstub_port->div_timer) {
165 *gdbstub_port->_tmxmd = 0;
166 *gdbstub_port->_tmxbr = tmxbr;
167 *gdbstub_port->_tmxmd = TM8MD_INIT_COUNTER;
168 *gdbstub_port->_tmxmd = tmxmd | TM8MD_COUNT_ENABLE;
172 *gdbstub_port->_tmxmd = 0;
173 *(volatile u8 *) gdbstub_port->_tmxbr = (u8)tmxbr;
174 *gdbstub_port->_tmxmd = TM2MD_INIT_COUNTER;
175 *gdbstub_port->_tmxmd = tmxmd | TM2MD_COUNT_ENABLE;
221 switch (gdbstub_port->rx_brk) {
222 case 0: gdbstub_port->rx_brk = 1; goto try_again;
223 case 1: gdbstub_port->rx_brk = 2; goto try_again;
225 gdbstub_port->rx_brk = 3;
233 if (gdbstub_port->rx_brk)
239 if (gdbstub_port->rx_brk)
245 if (gdbstub_port->rx_brk)
252 if (gdbstub_port->rx_brk == 3) {
263 gdbstub_port->rx_brk = 0;
270 gdbstub_port->rx_brk = 0;
282 while (*gdbstub_port->_status & SC01STR_TBF)
286 *(u8 *) gdbstub_port->_txb = 0x0d;
287 while (*gdbstub_port->_status & SC01STR_TBF)
291 *(u8 *) gdbstub_port->_txb = ch;
299 while (*gdbstub_port->_status & (SC01STR_TBF | SC01STR_TXF))