/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/mips/pmc-sierra/msp71xx/ |
H A D | msp_serial.c | 45 struct uart_port up; local 48 memset(&up, 0, sizeof(up)); 57 up.mapbase = MSP_UART0_BASE; 58 up.membase = ioremap_nocache(up.mapbase, MSP_UART_REG_LEN); 59 up.irq = MSP_INT_UART0; 60 up.uartclk = uartclk; 61 up.regshift = 2; 62 up [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/mips/pmc-sierra/msp71xx/ |
H A D | msp_serial.c | 45 struct uart_port up; local 48 memset(&up, 0, sizeof(up)); 57 up.mapbase = MSP_UART0_BASE; 58 up.membase = ioremap_nocache(up.mapbase, MSP_UART_REG_LEN); 59 up.irq = MSP_INT_UART0; 60 up.uartclk = uartclk; 61 up.regshift = 2; 62 up [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/quagga/pimd/ |
H A D | pim_upstream.c | 48 static void join_timer_start(struct pim_upstream *up); 49 static void pim_upstream_update_assert_tracking_desired(struct pim_upstream *up); 51 void pim_upstream_free(struct pim_upstream *up) argument 53 XFREE(MTYPE_PIM_UPSTREAM, up); 56 static void upstream_channel_oil_detach(struct pim_upstream *up) argument 58 if (up->channel_oil) { 59 pim_channel_oil_del(up->channel_oil); 60 up->channel_oil = 0; 64 void pim_upstream_delete(struct pim_upstream *up) argument 66 THREAD_OFF(up 80 send_join(struct pim_upstream *up) argument 110 struct pim_upstream *up; local 124 join_timer_start(struct pim_upstream *up) argument 144 pim_upstream_join_timer_restart(struct pim_upstream *up) argument 150 pim_upstream_join_timer_restart_msec(struct pim_upstream *up, int interval_msec) argument 170 pim_upstream_join_suppress(struct pim_upstream *up, struct in_addr rpf_addr, int holdtime) argument 211 pim_upstream_join_timer_decrease_to_t_override(const char *debug_label, struct pim_upstream *up, struct in_addr rpf_addr) argument 250 forward_on(struct pim_upstream *up) argument 279 forward_off(struct pim_upstream *up) argument 307 pim_upstream_switch(struct pim_upstream *up, enum pim_upstream_state new_state) argument 351 struct pim_upstream *up; local 386 struct pim_upstream *up; local 403 struct pim_upstream *up; local 416 pim_upstream_del(struct pim_upstream *up) argument 448 pim_upstream_evaluate_join_desired(struct pim_upstream *up) argument 483 pim_upstream_update_join_desired(struct pim_upstream *up) argument 524 struct pim_upstream *up; local 561 pim_upstream_rpf_interface_changed(struct pim_upstream *up, struct interface *old_rpf_ifp) argument 601 pim_upstream_update_could_assert(struct pim_upstream *up) argument 629 pim_upstream_update_my_assert_metric(struct pim_upstream *up) argument 657 pim_upstream_update_assert_tracking_desired(struct pim_upstream *up) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/quagga/pimd/ |
H A D | pim_upstream.c | 48 static void join_timer_start(struct pim_upstream *up); 49 static void pim_upstream_update_assert_tracking_desired(struct pim_upstream *up); 51 void pim_upstream_free(struct pim_upstream *up) argument 53 XFREE(MTYPE_PIM_UPSTREAM, up); 56 static void upstream_channel_oil_detach(struct pim_upstream *up) argument 58 if (up->channel_oil) { 59 pim_channel_oil_del(up->channel_oil); 60 up->channel_oil = 0; 64 void pim_upstream_delete(struct pim_upstream *up) argument 66 THREAD_OFF(up 80 send_join(struct pim_upstream *up) argument 110 struct pim_upstream *up; local 124 join_timer_start(struct pim_upstream *up) argument 144 pim_upstream_join_timer_restart(struct pim_upstream *up) argument 150 pim_upstream_join_timer_restart_msec(struct pim_upstream *up, int interval_msec) argument 170 pim_upstream_join_suppress(struct pim_upstream *up, struct in_addr rpf_addr, int holdtime) argument 211 pim_upstream_join_timer_decrease_to_t_override(const char *debug_label, struct pim_upstream *up, struct in_addr rpf_addr) argument 250 forward_on(struct pim_upstream *up) argument 279 forward_off(struct pim_upstream *up) argument 307 pim_upstream_switch(struct pim_upstream *up, enum pim_upstream_state new_state) argument 351 struct pim_upstream *up; local 386 struct pim_upstream *up; local 403 struct pim_upstream *up; local 416 pim_upstream_del(struct pim_upstream *up) argument 448 pim_upstream_evaluate_join_desired(struct pim_upstream *up) argument 483 pim_upstream_update_join_desired(struct pim_upstream *up) argument 524 struct pim_upstream *up; local 561 pim_upstream_rpf_interface_changed(struct pim_upstream *up, struct interface *old_rpf_ifp) argument 601 pim_upstream_update_could_assert(struct pim_upstream *up) argument 629 pim_upstream_update_my_assert_metric(struct pim_upstream *up) argument 657 pim_upstream_update_assert_tracking_desired(struct pim_upstream *up) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/quagga/pimd/ |
H A D | pim_upstream.c | 48 static void join_timer_start(struct pim_upstream *up); 49 static void pim_upstream_update_assert_tracking_desired(struct pim_upstream *up); 51 void pim_upstream_free(struct pim_upstream *up) argument 53 XFREE(MTYPE_PIM_UPSTREAM, up); 56 static void upstream_channel_oil_detach(struct pim_upstream *up) argument 58 if (up->channel_oil) { 59 pim_channel_oil_del(up->channel_oil); 60 up->channel_oil = 0; 64 void pim_upstream_delete(struct pim_upstream *up) argument 66 THREAD_OFF(up 80 send_join(struct pim_upstream *up) argument 110 struct pim_upstream *up; local 124 join_timer_start(struct pim_upstream *up) argument 144 pim_upstream_join_timer_restart(struct pim_upstream *up) argument 150 pim_upstream_join_timer_restart_msec(struct pim_upstream *up, int interval_msec) argument 170 pim_upstream_join_suppress(struct pim_upstream *up, struct in_addr rpf_addr, int holdtime) argument 211 pim_upstream_join_timer_decrease_to_t_override(const char *debug_label, struct pim_upstream *up, struct in_addr rpf_addr) argument 250 forward_on(struct pim_upstream *up) argument 279 forward_off(struct pim_upstream *up) argument 307 pim_upstream_switch(struct pim_upstream *up, enum pim_upstream_state new_state) argument 351 struct pim_upstream *up; local 386 struct pim_upstream *up; local 403 struct pim_upstream *up; local 416 pim_upstream_del(struct pim_upstream *up) argument 448 pim_upstream_evaluate_join_desired(struct pim_upstream *up) argument 483 pim_upstream_update_join_desired(struct pim_upstream *up) argument 524 struct pim_upstream *up; local 561 pim_upstream_rpf_interface_changed(struct pim_upstream *up, struct interface *old_rpf_ifp) argument 601 pim_upstream_update_could_assert(struct pim_upstream *up) argument 629 pim_upstream_update_my_assert_metric(struct pim_upstream *up) argument 657 pim_upstream_update_assert_tracking_desired(struct pim_upstream *up) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/serial/ |
H A D | sunsu.c | 101 static unsigned int serial_in(struct uart_sunsu_port *up, int offset) argument 103 offset <<= up->port.regshift; 105 switch (up->port.iotype) { 107 outb(up->port.hub6 - 1 + offset, up->port.iobase); 108 return inb(up->port.iobase + 1); 111 return readb(up->port.membase + offset); 114 return inb(up->port.iobase + offset); 118 static void serial_out(struct uart_sunsu_port *up, int offset, int value) argument 132 offset <<= up 162 serial_icr_write(struct uart_sunsu_port *up, int offset, int value) argument 174 __enable_rsa(struct uart_sunsu_port *up) argument 194 enable_rsa(struct uart_sunsu_port *up) argument 213 disable_rsa(struct uart_sunsu_port *up) argument 248 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 263 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 281 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 290 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 300 receive_chars(struct uart_sunsu_port *up, unsigned char *status) argument 378 transmit_chars(struct uart_sunsu_port *up) argument 414 check_modem_status(struct uart_sunsu_port *up) argument 437 struct uart_sunsu_port *up = dev_id; local 474 sunsu_change_mouse_baud(struct uart_sunsu_port *up) argument 487 receive_kbd_ms_chars(struct uart_sunsu_port *up, int is_break) argument 519 struct uart_sunsu_port *up = dev_id; local 533 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 546 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 566 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 585 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 599 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 709 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 757 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 903 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 960 struct uart_sunsu_port *up = serio->port_data; local 980 struct uart_sunsu_port *up = serio->port_data; local 997 struct uart_sunsu_port *up = serio->port_data; local 1007 sunsu_autoconfig(struct uart_sunsu_port *up) argument 1164 sunsu_kbd_ms_init(struct uart_sunsu_port *up) argument 1234 wait_for_xmitr(struct uart_sunsu_port *up) argument 1261 struct uart_sunsu_port *up = (struct uart_sunsu_port *)port; local 1274 struct uart_sunsu_port *up = &sunsu_ports[co->index]; local 1395 struct uart_sunsu_port *up; local 1484 struct uart_sunsu_port *up = dev_get_drvdata(&op->dev); local [all...] |
H A D | sunsab.c | 93 static __inline__ void sunsab_tec_wait(struct uart_sunsab_port *up) argument 95 int timeout = up->tec_timeout; 97 while ((readb(&up->regs->r.star) & SAB82532_STAR_TEC) && --timeout) 101 static __inline__ void sunsab_cec_wait(struct uart_sunsab_port *up) argument 103 int timeout = up->cec_timeout; 105 while ((readb(&up->regs->r.star) & SAB82532_STAR_CEC) && --timeout) 110 receive_chars(struct uart_sunsab_port *up, argument 120 if (up->port.state != NULL) /* Unopened serial console */ 121 tty = up->port.state->port.tty; 130 count = readb(&up 229 transmit_chars(struct uart_sunsab_port *up, union sab82532_irq_status *stat) argument 280 check_status(struct uart_sunsab_port *up, union sab82532_irq_status *stat) argument 301 struct uart_sunsab_port *up = dev_id; local 340 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 355 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 378 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 399 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 406 sunsab_tx_idle(struct uart_sunsab_port *up) argument 427 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 457 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 471 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 486 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 509 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 580 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 648 sunsab_convert_to_sab(struct uart_sunsab_port *up, unsigned int cflag, unsigned int iflag, unsigned int baud, unsigned int quot) argument 750 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 762 struct uart_sunsab_port *up = (void *)port; local 820 struct uart_sunsab_port *up = (struct uart_sunsab_port *)port; local 828 struct uart_sunsab_port *up = &sunsab_ports[con->index]; local 850 struct uart_sunsab_port *up = &sunsab_ports[con->index]; local 936 sunsab_init_one(struct uart_sunsab_port *up, struct platform_device *op, unsigned long offset, int line) argument 992 struct uart_sunsab_port *up; local 1047 struct uart_sunsab_port *up = dev_get_drvdata(&op->dev); local [all...] |
H A D | 8250.c | 382 #define map_8250_in_reg(up, offset) (offset) 383 #define map_8250_out_reg(up, offset) (offset) 462 struct uart_8250_port *up = (struct uart_8250_port *)p; local 463 up->lcr = value; 486 struct uart_8250_port *up = (struct uart_8250_port *)p; local 525 up->cur_iotype = p->iotype; 529 serial_out_sync(struct uart_8250_port *up, int offset, int value) argument 531 struct uart_port *p = &up->port; 545 #define serial_in(up, offset) \ 546 (up 559 _serial_dl_read(struct uart_8250_port *up) argument 565 _serial_dl_write(struct uart_8250_port *up, int value) argument 573 serial_dl_read(struct uart_8250_port *up) argument 581 serial_dl_write(struct uart_8250_port *up, int value) argument 589 serial_dl_read(struct uart_8250_port *up) argument 597 serial_dl_write(struct uart_8250_port *up, int value) argument 614 serial_icr_write(struct uart_8250_port *up, int offset, int value) argument 620 serial_icr_read(struct uart_8250_port *up, int offset) argument 672 __enable_rsa(struct uart_8250_port *up) argument 692 enable_rsa(struct uart_8250_port *up) argument 711 disable_rsa(struct uart_8250_port *up) argument 740 size_fifo(struct uart_8250_port *up) argument 810 autoconfig_has_efr(struct uart_8250_port *up) argument 893 autoconfig_8250(struct uart_8250_port *up) argument 910 broken_efr(struct uart_8250_port *up) argument 929 autoconfig_16550a(struct uart_8250_port *up) argument 1086 autoconfig(struct uart_8250_port *up, unsigned int probeflags) argument 1256 autoconfig_irq(struct uart_8250_port *up) argument 1315 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1332 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1360 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1369 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1380 receive_chars(struct uart_8250_port *up, unsigned int *status) argument 1455 transmit_chars(struct uart_8250_port *up) argument 1493 check_modem_status(struct uart_8250_port *up) argument 1519 serial8250_handle_port(struct uart_8250_port *up) argument 1565 struct uart_8250_port *up; local 1617 serial_do_unlink(struct irq_info *i, struct uart_8250_port *up) argument 1637 serial_link_irq_chain(struct uart_8250_port *up) argument 1687 serial_unlink_irq_chain(struct uart_8250_port *up) argument 1727 struct uart_8250_port *up = (struct uart_8250_port *)data; local 1738 struct uart_8250_port *up = (struct uart_8250_port *)data; local 1783 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1797 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1817 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1838 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1853 wait_for_xmitr(struct uart_8250_port *up, int bits) argument 1890 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1904 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1938 struct uart_8250_port *up = (struct uart_8250_port *)port; local 2166 struct uart_8250_port *up = (struct uart_8250_port *)port; local 2235 struct uart_8250_port *up = (struct uart_8250_port *)port; local 2448 serial8250_request_std_resource(struct uart_8250_port *up) argument 2486 serial8250_release_std_resource(struct uart_8250_port *up) argument 2514 serial8250_request_rsa_resource(struct uart_8250_port *up) argument 2534 serial8250_release_rsa_resource(struct uart_8250_port *up) argument 2549 struct uart_8250_port *up = (struct uart_8250_port *)port; local 2558 struct uart_8250_port *up = (struct uart_8250_port *)port; local 2573 struct uart_8250_port *up = (struct uart_8250_port *)port; local 2658 struct uart_8250_port *up; local 2667 struct uart_8250_port *up = &serial8250_ports[i]; local 2705 serial8250_init_fixed_type_port(struct uart_8250_port *up, unsigned int type) argument 2719 struct uart_8250_port *up = &serial8250_ports[i]; local 2726 struct uart_8250_port *up = &serial8250_ports[i]; local 2741 struct uart_8250_port *up = (struct uart_8250_port *)port; local 2756 struct uart_8250_port *up = &serial8250_ports[co->index]; local 2942 struct uart_8250_port *up = &serial8250_ports[line]; local 3013 struct uart_8250_port *up = &serial8250_ports[i]; local 3026 struct uart_8250_port *up = &serial8250_ports[i]; local 3040 struct uart_8250_port *up = &serial8250_ports[i]; local [all...] |
H A D | nwpserial.c | 41 static void wait_for_bits(struct nwpserial_port *up, int bits) argument 45 /* Wait up to 10ms for the character(s) to be sent. */ 47 status = dcr_read(up->dcr_host, UART_LSR); 58 struct nwpserial_port *up; local 59 up = container_of(port, struct nwpserial_port, port); 61 wait_for_bits(up, UART_LSR_THRE); 62 dcr_write(up->dcr_host, UART_TX, c); 63 up->port.icount.tx++; 69 struct nwpserial_port *up = &nwpserial_ports[co->index]; local 74 locked = spin_trylock_irqsave(&up 128 struct nwpserial_port *up = dev_id; local 162 struct nwpserial_port *up; local 189 struct nwpserial_port *up; local 217 struct nwpserial_port *up; local 245 struct nwpserial_port *up; local 251 nwpserial_putchar(struct nwpserial_port *up, unsigned char c) argument 261 struct nwpserial_port *up; local 294 struct nwpserial_port *up; local 337 struct nwpserial_port *up = NULL; local 421 struct nwpserial_port *up = &nwpserial_ports[line]; local 434 struct nwpserial_port *up = NULL; local [all...] |
H A D | ip22zilog.c | 236 static void ip22zilog_maybe_update_regs(struct uart_ip22zilog_port *up, argument 239 if (!ZS_REGS_HELD(up)) { 240 if (ZS_TX_ACTIVE(up)) { 241 up->flags |= IP22ZILOG_FLAG_REGS_HELD; 243 __load_zsregs(channel, up->curregs); 251 static struct tty_struct *ip22zilog_receive_chars(struct uart_ip22zilog_port *up, argument 259 if (up->port.state != NULL && 260 up->port.state->port.tty != NULL) 261 tty = up->port.state->port.tty; 279 ch &= up 321 ip22zilog_status_handle(struct uart_ip22zilog_port *up, struct zilog_channel *channel) argument 363 ip22zilog_transmit_chars(struct uart_ip22zilog_port *up, struct zilog_channel *channel) argument 436 struct uart_ip22zilog_port *up = dev_id; local 553 struct uart_ip22zilog_port *up = (struct uart_ip22zilog_port *) port; local 577 struct uart_ip22zilog_port *up = (struct uart_ip22zilog_port *) port; local 585 struct uart_ip22zilog_port *up = (struct uart_ip22zilog_port *) port; local 627 struct uart_ip22zilog_port *up = UART_ZILOG(port); local 643 struct uart_ip22zilog_port *up = (struct uart_ip22zilog_port *) port; local 659 struct uart_ip22zilog_port *up = (struct uart_ip22zilog_port *) port; local 684 __ip22zilog_reset(struct uart_ip22zilog_port *up) argument 713 __ip22zilog_startup(struct uart_ip22zilog_port *up) argument 736 struct uart_ip22zilog_port *up = UART_ZILOG(port); local 775 struct uart_ip22zilog_port *up = UART_ZILOG(port); local 802 ip22zilog_convert_to_zs(struct uart_ip22zilog_port *up, unsigned int cflag, unsigned int iflag, int brg) argument 880 struct uart_ip22zilog_port *up = (struct uart_ip22zilog_port *) port; local 1019 struct uart_ip22zilog_port *up = &ip22zilog_port_table[con->index]; local 1030 struct uart_ip22zilog_port *up = &ip22zilog_port_table[con->index]; local 1080 struct uart_ip22zilog_port *up; local 1133 struct uart_ip22zilog_port *up = &ip22zilog_port_table[channel]; local 1170 struct uart_ip22zilog_port *up = &ip22zilog_port_table[i]; local 1191 struct uart_ip22zilog_port *up; local [all...] |
H A D | m32r_sio.c | 241 static unsigned int sio_in(struct uart_sio_port *up, int offset) argument 243 return __sio_in(up->port.iobase + offset); 246 static void sio_out(struct uart_sio_port *up, int offset, int value) argument 248 __sio_out(value, up->port.iobase + offset); 251 static unsigned int serial_in(struct uart_sio_port *up, int offset) argument 259 static void serial_out(struct uart_sio_port *up, int offset, int value) argument 269 struct uart_sio_port *up = (struct uart_sio_port *)port; local 271 if (up->ier & UART_IER_THRI) { 272 up->ier &= ~UART_IER_THRI; 273 serial_out(up, UART_IE 280 struct uart_sio_port *up = (struct uart_sio_port *)port; local 303 struct uart_sio_port *up = (struct uart_sio_port *)port; local 312 struct uart_sio_port *up = (struct uart_sio_port *)port; local 318 receive_chars(struct uart_sio_port *up, int *status) argument 391 transmit_chars(struct uart_sio_port *up) argument 432 m32r_sio_handle_port(struct uart_sio_port *up, unsigned int status) argument 477 struct uart_sio_port *up; local 515 serial_do_unlink(struct irq_info *i, struct uart_sio_port *up) argument 531 serial_link_irq_chain(struct uart_sio_port *up) argument 559 serial_unlink_irq_chain(struct uart_sio_port *up) argument 578 struct uart_sio_port *up = (struct uart_sio_port *)data; local 596 struct uart_sio_port *up = (struct uart_sio_port *)port; local 624 struct uart_sio_port *up = (struct uart_sio_port *)port; local 667 struct uart_sio_port *up = (struct uart_sio_port *)port; local 696 struct uart_sio_port *up = (struct uart_sio_port *)port; local 795 struct uart_sio_port *up = (struct uart_sio_port *)port; local 807 m32r_sio_request_std_resource(struct uart_sio_port *up, struct resource **res) argument 840 struct uart_sio_port *up = (struct uart_sio_port *)port; local 877 struct uart_sio_port *up = (struct uart_sio_port *)port; local 904 struct uart_sio_port *up = (struct uart_sio_port *)port; local 958 struct uart_sio_port *up; local 986 struct uart_sio_port *up = &m32r_sio_ports[i]; local 1008 wait_for_xmitr(struct uart_sio_port *up) argument 1031 struct uart_sio_port *up = (struct uart_sio_port *)port; local 1046 struct uart_sio_port *up = &m32r_sio_ports[co->index]; local [all...] |
H A D | mfd.c | 103 static inline unsigned int serial_in(struct uart_hsu_port *up, int offset) argument 109 val = readl(up->port.membase + offset); 111 val = (unsigned int)readb(up->port.membase + offset); 116 static inline void serial_out(struct uart_hsu_port *up, int offset, int value) argument 120 writel(value, up->port.membase + offset); 123 writeb(val, up->port.membase + offset); 140 struct uart_hsu_port *up = file->private_data; local 150 "MFD HSU port[%d] regs:\n", up->index); 155 "IER: \t\t0x%08x\n", serial_in(up, UART_IER)); 157 "IIR: \t\t0x%08x\n", serial_in(up, UART_II 282 struct uart_hsu_port *up = local 289 hsu_dma_tx(struct uart_hsu_port *up) argument 357 struct uart_hsu_port *up = local 370 struct uart_hsu_port *up = local 384 hsu_dma_rx(struct uart_hsu_port *up, u32 int_sts) argument 450 struct uart_hsu_port *up = local 463 receive_chars(struct uart_hsu_port *up, int *status) argument 530 transmit_chars(struct uart_hsu_port *up) argument 572 check_modem_status(struct uart_hsu_port *up) argument 600 struct uart_hsu_port *up = dev_id; local 641 struct uart_hsu_port *up = chan->uport; local 691 struct uart_hsu_port *up = local 705 struct uart_hsu_port *up = local 726 struct uart_hsu_port *up = local 748 struct uart_hsu_port *up = local 770 struct uart_hsu_port *up = local 861 struct uart_hsu_port *up = local 889 struct uart_hsu_port *up = local 1047 struct uart_hsu_port *up = local 1062 struct uart_hsu_port *up = local 1076 wait_for_xmitr(struct uart_hsu_port *up) argument 1103 struct uart_hsu_port *up = local 1119 struct uart_hsu_port *up = serial_hsu_ports[co->index]; local 1155 struct uart_hsu_port *up; local 1220 struct uart_hsu_port *up; local 1236 struct uart_hsu_port *up; local 1334 struct uart_hsu_port *up = chan->uport; local 1436 struct uart_hsu_port *up; local [all...] |
H A D | sunzilog.c | 270 static void sunzilog_maybe_update_regs(struct uart_sunzilog_port *up, argument 273 if (!ZS_REGS_HELD(up)) { 274 if (ZS_TX_ACTIVE(up)) { 275 up->flags |= SUNZILOG_FLAG_REGS_HELD; 277 __load_zsregs(channel, up->curregs); 282 static void sunzilog_change_mouse_baud(struct uart_sunzilog_port *up) argument 284 unsigned int cur_cflag = up->cflag; 287 up->cflag &= ~CBAUD; 288 up->cflag |= suncore_mouse_baud_cflag_next(cur_cflag, &new_baud); 291 up 296 sunzilog_kbdms_receive_chars(struct uart_sunzilog_port *up, unsigned char ch, int is_break) argument 326 sunzilog_receive_chars(struct uart_sunzilog_port *up, struct zilog_channel __iomem *channel) argument 411 sunzilog_status_handle(struct uart_sunzilog_port *up, struct zilog_channel __iomem *channel) argument 462 sunzilog_transmit_chars(struct uart_sunzilog_port *up, struct zilog_channel __iomem *channel) argument 536 struct uart_sunzilog_port *up = dev_id; local 653 struct uart_sunzilog_port *up = (struct uart_sunzilog_port *) port; local 677 struct uart_sunzilog_port *up = (struct uart_sunzilog_port *) port; local 685 struct uart_sunzilog_port *up = (struct uart_sunzilog_port *) port; local 727 struct uart_sunzilog_port *up = UART_ZILOG(port); local 743 struct uart_sunzilog_port *up = (struct uart_sunzilog_port *) port; local 759 struct uart_sunzilog_port *up = (struct uart_sunzilog_port *) port; local 784 __sunzilog_startup(struct uart_sunzilog_port *up) argument 801 struct uart_sunzilog_port *up = UART_ZILOG(port); local 840 struct uart_sunzilog_port *up = UART_ZILOG(port); local 867 sunzilog_convert_to_zs(struct uart_sunzilog_port *up, unsigned int cflag, unsigned int iflag, int brg) argument 945 struct uart_sunzilog_port *up = (struct uart_sunzilog_port *) port; local 973 struct uart_sunzilog_port *up = UART_ZILOG(port); local 1005 struct uart_sunzilog_port *up = (struct uart_sunzilog_port *) port; local 1039 struct uart_sunzilog_port *up = (struct uart_sunzilog_port *)port; local 1083 struct uart_sunzilog_port *up; local 1155 struct uart_sunzilog_port *up = serio->port_data; local 1169 struct uart_sunzilog_port *up = serio->port_data; local 1186 struct uart_sunzilog_port *up = serio->port_data; local 1200 struct uart_sunzilog_port *up = &sunzilog_port_table[con->index]; local 1222 struct uart_sunzilog_port *up = &sunzilog_port_table[con->index]; local 1284 sunzilog_init_kbdms(struct uart_sunzilog_port *up) argument 1304 sunzilog_register_serio(struct uart_sunzilog_port *up) argument 1333 sunzilog_init_hw(struct uart_sunzilog_port *up) argument 1406 struct uart_sunzilog_port *up; local 1509 zs_remove_one(struct uart_sunzilog_port *up) argument 1521 struct uart_sunzilog_port *up = dev_get_drvdata(&op->dev); local 1584 struct uart_sunzilog_port *up = sunzilog_irq_chain; local 1625 struct uart_sunzilog_port *up = sunzilog_irq_chain; local [all...] |
H A D | bfin_sport_uart.c | 58 static int sport_uart_tx_chars(struct sport_uart_port *up); 61 static inline void tx_one_byte(struct sport_uart_port *up, unsigned int value) argument 64 up->txmask1, up->txmask2); 72 : [mask1]"d"(up->txmask1), [mask2]"d"(up->txmask2) 77 SPORT_PUT_TX(up, value); 80 static inline unsigned char rx_one_byte(struct sport_uart_port *up) argument 86 if ((up->csize + up 118 sport_uart_setup(struct sport_uart_port *up, int size, int baud_rate) argument 146 struct sport_uart_port *up = dev_id; local 168 struct sport_uart_port *up = dev_id; local 179 struct sport_uart_port *up = dev_id; local 209 struct sport_uart_port *up = (struct sport_uart_port *)port; local 222 struct sport_uart_port *up = (struct sport_uart_port *)port; local 238 struct sport_uart_port *up = (struct sport_uart_port *)dev_id; local 262 struct sport_uart_port *up = (struct sport_uart_port *)port; local 317 sport_uart_tx_chars(struct sport_uart_port *up) argument 356 struct sport_uart_port *up = (struct sport_uart_port *)port; local 369 struct sport_uart_port *up = (struct sport_uart_port *)port; local 393 struct sport_uart_port *up = (struct sport_uart_port *)port; local 409 struct sport_uart_port *up = (struct sport_uart_port *)port; local 429 struct sport_uart_port *up = (struct sport_uart_port *)port; local 449 struct sport_uart_port *up = (struct sport_uart_port *)port; local 468 struct sport_uart_port *up = (struct sport_uart_port *)port; local 483 struct sport_uart_port *up = (struct sport_uart_port *)port; local 598 struct sport_uart_port *up; local 624 struct sport_uart_port *up = (struct sport_uart_port *)port; local 638 struct sport_uart_port *up = bfin_sport_uart_ports[co->index]; local [all...] |
H A D | pxa.c | 59 static inline unsigned int serial_in(struct uart_pxa_port *up, int offset) argument 62 return readl(up->port.membase + offset); 65 static inline void serial_out(struct uart_pxa_port *up, int offset, int value) argument 68 writel(value, up->port.membase + offset); 73 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local 75 up->ier |= UART_IER_MSI; 76 serial_out(up, UART_IER, up->ier); 81 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local 83 if (up 91 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local 98 receive_chars(struct uart_pxa_port *up, int *status) argument 163 transmit_chars(struct uart_pxa_port *up) argument 198 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local 206 check_modem_status(struct uart_pxa_port *up) argument 232 struct uart_pxa_port *up = dev_id; local 249 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local 262 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local 282 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local 303 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local 318 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local 384 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local 414 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local 533 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local 552 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local 566 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local 580 wait_for_xmitr(struct uart_pxa_port *up) argument 607 struct uart_pxa_port *up = (struct uart_pxa_port *)port; local 622 struct uart_pxa_port *up = serial_pxa_ports[co->index]; local 648 struct uart_pxa_port *up; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/serial/ |
H A D | sunsu.c | 101 static unsigned int serial_in(struct uart_sunsu_port *up, int offset) argument 103 offset <<= up->port.regshift; 105 switch (up->port.iotype) { 107 outb(up->port.hub6 - 1 + offset, up->port.iobase); 108 return inb(up->port.iobase + 1); 111 return readb(up->port.membase + offset); 114 return inb(up->port.iobase + offset); 118 static void serial_out(struct uart_sunsu_port *up, int offset, int value) argument 132 offset <<= up 162 serial_icr_write(struct uart_sunsu_port *up, int offset, int value) argument 174 __enable_rsa(struct uart_sunsu_port *up) argument 194 enable_rsa(struct uart_sunsu_port *up) argument 213 disable_rsa(struct uart_sunsu_port *up) argument 248 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 263 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 281 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 290 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 300 receive_chars(struct uart_sunsu_port *up, unsigned char *status) argument 378 transmit_chars(struct uart_sunsu_port *up) argument 414 check_modem_status(struct uart_sunsu_port *up) argument 437 struct uart_sunsu_port *up = dev_id; local 474 sunsu_change_mouse_baud(struct uart_sunsu_port *up) argument 487 receive_kbd_ms_chars(struct uart_sunsu_port *up, int is_break) argument 519 struct uart_sunsu_port *up = dev_id; local 533 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 546 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 566 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 585 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 599 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 709 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 757 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 903 struct uart_sunsu_port *up = (struct uart_sunsu_port *) port; local 960 struct uart_sunsu_port *up = serio->port_data; local 980 struct uart_sunsu_port *up = serio->port_data; local 997 struct uart_sunsu_port *up = serio->port_data; local 1007 sunsu_autoconfig(struct uart_sunsu_port *up) argument 1164 sunsu_kbd_ms_init(struct uart_sunsu_port *up) argument 1234 wait_for_xmitr(struct uart_sunsu_port *up) argument 1261 struct uart_sunsu_port *up = (struct uart_sunsu_port *)port; local 1274 struct uart_sunsu_port *up = &sunsu_ports[co->index]; local 1395 struct uart_sunsu_port *up; local 1484 struct uart_sunsu_port *up = dev_get_drvdata(&op->dev); local [all...] |
H A D | sunsab.c | 93 static __inline__ void sunsab_tec_wait(struct uart_sunsab_port *up) argument 95 int timeout = up->tec_timeout; 97 while ((readb(&up->regs->r.star) & SAB82532_STAR_TEC) && --timeout) 101 static __inline__ void sunsab_cec_wait(struct uart_sunsab_port *up) argument 103 int timeout = up->cec_timeout; 105 while ((readb(&up->regs->r.star) & SAB82532_STAR_CEC) && --timeout) 110 receive_chars(struct uart_sunsab_port *up, argument 120 if (up->port.state != NULL) /* Unopened serial console */ 121 tty = up->port.state->port.tty; 130 count = readb(&up 229 transmit_chars(struct uart_sunsab_port *up, union sab82532_irq_status *stat) argument 280 check_status(struct uart_sunsab_port *up, union sab82532_irq_status *stat) argument 301 struct uart_sunsab_port *up = dev_id; local 340 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 355 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 378 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 399 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 406 sunsab_tx_idle(struct uart_sunsab_port *up) argument 427 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 457 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 471 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 486 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 509 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 580 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 648 sunsab_convert_to_sab(struct uart_sunsab_port *up, unsigned int cflag, unsigned int iflag, unsigned int baud, unsigned int quot) argument 750 struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; local 762 struct uart_sunsab_port *up = (void *)port; local 820 struct uart_sunsab_port *up = (struct uart_sunsab_port *)port; local 828 struct uart_sunsab_port *up = &sunsab_ports[con->index]; local 850 struct uart_sunsab_port *up = &sunsab_ports[con->index]; local 936 sunsab_init_one(struct uart_sunsab_port *up, struct platform_device *op, unsigned long offset, int line) argument 992 struct uart_sunsab_port *up; local 1047 struct uart_sunsab_port *up = dev_get_drvdata(&op->dev); local [all...] |
H A D | 8250.c | 382 #define map_8250_in_reg(up, offset) (offset) 383 #define map_8250_out_reg(up, offset) (offset) 462 struct uart_8250_port *up = (struct uart_8250_port *)p; local 463 up->lcr = value; 486 struct uart_8250_port *up = (struct uart_8250_port *)p; local 525 up->cur_iotype = p->iotype; 529 serial_out_sync(struct uart_8250_port *up, int offset, int value) argument 531 struct uart_port *p = &up->port; 545 #define serial_in(up, offset) \ 546 (up 559 _serial_dl_read(struct uart_8250_port *up) argument 565 _serial_dl_write(struct uart_8250_port *up, int value) argument 573 serial_dl_read(struct uart_8250_port *up) argument 581 serial_dl_write(struct uart_8250_port *up, int value) argument 589 serial_dl_read(struct uart_8250_port *up) argument 597 serial_dl_write(struct uart_8250_port *up, int value) argument 614 serial_icr_write(struct uart_8250_port *up, int offset, int value) argument 620 serial_icr_read(struct uart_8250_port *up, int offset) argument 672 __enable_rsa(struct uart_8250_port *up) argument 692 enable_rsa(struct uart_8250_port *up) argument 711 disable_rsa(struct uart_8250_port *up) argument 740 size_fifo(struct uart_8250_port *up) argument 810 autoconfig_has_efr(struct uart_8250_port *up) argument 893 autoconfig_8250(struct uart_8250_port *up) argument 910 broken_efr(struct uart_8250_port *up) argument 929 autoconfig_16550a(struct uart_8250_port *up) argument 1086 autoconfig(struct uart_8250_port *up, unsigned int probeflags) argument 1256 autoconfig_irq(struct uart_8250_port *up) argument 1315 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1332 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1360 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1369 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1380 receive_chars(struct uart_8250_port *up, unsigned int *status) argument 1455 transmit_chars(struct uart_8250_port *up) argument 1493 check_modem_status(struct uart_8250_port *up) argument 1519 serial8250_handle_port(struct uart_8250_port *up) argument 1565 struct uart_8250_port *up; local 1617 serial_do_unlink(struct irq_info *i, struct uart_8250_port *up) argument 1637 serial_link_irq_chain(struct uart_8250_port *up) argument 1687 serial_unlink_irq_chain(struct uart_8250_port *up) argument 1727 struct uart_8250_port *up = (struct uart_8250_port *)data; local 1738 struct uart_8250_port *up = (struct uart_8250_port *)data; local 1783 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1797 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1817 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1838 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1853 wait_for_xmitr(struct uart_8250_port *up, int bits) argument 1890 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1904 struct uart_8250_port *up = (struct uart_8250_port *)port; local 1938 struct uart_8250_port *up = (struct uart_8250_port *)port; local 2166 struct uart_8250_port *up = (struct uart_8250_port *)port; local 2235 struct uart_8250_port *up = (struct uart_8250_port *)port; local 2448 serial8250_request_std_resource(struct uart_8250_port *up) argument 2486 serial8250_release_std_resource(struct uart_8250_port *up) argument 2514 serial8250_request_rsa_resource(struct uart_8250_port *up) argument 2534 serial8250_release_rsa_resource(struct uart_8250_port *up) argument 2549 struct uart_8250_port *up = (struct uart_8250_port *)port; local 2558 struct uart_8250_port *up = (struct uart_8250_port *)port; local 2573 struct uart_8250_port *up = (struct uart_8250_port *)port; local 2658 struct uart_8250_port *up; local 2667 struct uart_8250_port *up = &serial8250_ports[i]; local 2705 serial8250_init_fixed_type_port(struct uart_8250_port *up, unsigned int type) argument 2719 struct uart_8250_port *up = &serial8250_ports[i]; local 2726 struct uart_8250_port *up = &serial8250_ports[i]; local 2741 struct uart_8250_port *up = (struct uart_8250_port *)port; local 2756 struct uart_8250_port *up = &serial8250_ports[co->index]; local 2942 struct uart_8250_port *up = &serial8250_ports[line]; local 3013 struct uart_8250_port *up = &serial8250_ports[i]; local 3026 struct uart_8250_port *up = &serial8250_ports[i]; local 3040 struct uart_8250_port *up = &serial8250_ports[i]; local [all...] |
H A D | nwpserial.c | 41 static void wait_for_bits(struct nwpserial_port *up, int bits) argument 45 /* Wait up to 10ms for the character(s) to be sent. */ 47 status = dcr_read(up->dcr_host, UART_LSR); 58 struct nwpserial_port *up; local 59 up = container_of(port, struct nwpserial_port, port); 61 wait_for_bits(up, UART_LSR_THRE); 62 dcr_write(up->dcr_host, UART_TX, c); 63 up->port.icount.tx++; 69 struct nwpserial_port *up = &nwpserial_ports[co->index]; local 74 locked = spin_trylock_irqsave(&up 128 struct nwpserial_port *up = dev_id; local 162 struct nwpserial_port *up; local 189 struct nwpserial_port *up; local 217 struct nwpserial_port *up; local 245 struct nwpserial_port *up; local 251 nwpserial_putchar(struct nwpserial_port *up, unsigned char c) argument 261 struct nwpserial_port *up; local 294 struct nwpserial_port *up; local 337 struct nwpserial_port *up = NULL; local 421 struct nwpserial_port *up = &nwpserial_ports[line]; local 434 struct nwpserial_port *up = NULL; local [all...] |
H A D | ip22zilog.c | 236 static void ip22zilog_maybe_update_regs(struct uart_ip22zilog_port *up, argument 239 if (!ZS_REGS_HELD(up)) { 240 if (ZS_TX_ACTIVE(up)) { 241 up->flags |= IP22ZILOG_FLAG_REGS_HELD; 243 __load_zsregs(channel, up->curregs); 251 static struct tty_struct *ip22zilog_receive_chars(struct uart_ip22zilog_port *up, argument 259 if (up->port.state != NULL && 260 up->port.state->port.tty != NULL) 261 tty = up->port.state->port.tty; 279 ch &= up 321 ip22zilog_status_handle(struct uart_ip22zilog_port *up, struct zilog_channel *channel) argument 363 ip22zilog_transmit_chars(struct uart_ip22zilog_port *up, struct zilog_channel *channel) argument 436 struct uart_ip22zilog_port *up = dev_id; local 553 struct uart_ip22zilog_port *up = (struct uart_ip22zilog_port *) port; local 577 struct uart_ip22zilog_port *up = (struct uart_ip22zilog_port *) port; local 585 struct uart_ip22zilog_port *up = (struct uart_ip22zilog_port *) port; local 627 struct uart_ip22zilog_port *up = UART_ZILOG(port); local 643 struct uart_ip22zilog_port *up = (struct uart_ip22zilog_port *) port; local 659 struct uart_ip22zilog_port *up = (struct uart_ip22zilog_port *) port; local 684 __ip22zilog_reset(struct uart_ip22zilog_port *up) argument 713 __ip22zilog_startup(struct uart_ip22zilog_port *up) argument 736 struct uart_ip22zilog_port *up = UART_ZILOG(port); local 775 struct uart_ip22zilog_port *up = UART_ZILOG(port); local 802 ip22zilog_convert_to_zs(struct uart_ip22zilog_port *up, unsigned int cflag, unsigned int iflag, int brg) argument 880 struct uart_ip22zilog_port *up = (struct uart_ip22zilog_port *) port; local 1019 struct uart_ip22zilog_port *up = &ip22zilog_port_table[con->index]; local 1030 struct uart_ip22zilog_port *up = &ip22zilog_port_table[con->index]; local 1080 struct uart_ip22zilog_port *up; local 1133 struct uart_ip22zilog_port *up = &ip22zilog_port_table[channel]; local 1170 struct uart_ip22zilog_port *up = &ip22zilog_port_table[i]; local 1191 struct uart_ip22zilog_port *up; local [all...] |
H A D | m32r_sio.c | 241 static unsigned int sio_in(struct uart_sio_port *up, int offset) argument 243 return __sio_in(up->port.iobase + offset); 246 static void sio_out(struct uart_sio_port *up, int offset, int value) argument 248 __sio_out(value, up->port.iobase + offset); 251 static unsigned int serial_in(struct uart_sio_port *up, int offset) argument 259 static void serial_out(struct uart_sio_port *up, int offset, int value) argument 269 struct uart_sio_port *up = (struct uart_sio_port *)port; local 271 if (up->ier & UART_IER_THRI) { 272 up->ier &= ~UART_IER_THRI; 273 serial_out(up, UART_IE 280 struct uart_sio_port *up = (struct uart_sio_port *)port; local 303 struct uart_sio_port *up = (struct uart_sio_port *)port; local 312 struct uart_sio_port *up = (struct uart_sio_port *)port; local 318 receive_chars(struct uart_sio_port *up, int *status) argument 391 transmit_chars(struct uart_sio_port *up) argument 432 m32r_sio_handle_port(struct uart_sio_port *up, unsigned int status) argument 477 struct uart_sio_port *up; local 515 serial_do_unlink(struct irq_info *i, struct uart_sio_port *up) argument 531 serial_link_irq_chain(struct uart_sio_port *up) argument 559 serial_unlink_irq_chain(struct uart_sio_port *up) argument 578 struct uart_sio_port *up = (struct uart_sio_port *)data; local 596 struct uart_sio_port *up = (struct uart_sio_port *)port; local 624 struct uart_sio_port *up = (struct uart_sio_port *)port; local 667 struct uart_sio_port *up = (struct uart_sio_port *)port; local 696 struct uart_sio_port *up = (struct uart_sio_port *)port; local 795 struct uart_sio_port *up = (struct uart_sio_port *)port; local 807 m32r_sio_request_std_resource(struct uart_sio_port *up, struct resource **res) argument 840 struct uart_sio_port *up = (struct uart_sio_port *)port; local 877 struct uart_sio_port *up = (struct uart_sio_port *)port; local 904 struct uart_sio_port *up = (struct uart_sio_port *)port; local 958 struct uart_sio_port *up; local 986 struct uart_sio_port *up = &m32r_sio_ports[i]; local 1008 wait_for_xmitr(struct uart_sio_port *up) argument 1031 struct uart_sio_port *up = (struct uart_sio_port *)port; local 1046 struct uart_sio_port *up = &m32r_sio_ports[co->index]; local [all...] |
H A D | mfd.c | 103 static inline unsigned int serial_in(struct uart_hsu_port *up, int offset) argument 109 val = readl(up->port.membase + offset); 111 val = (unsigned int)readb(up->port.membase + offset); 116 static inline void serial_out(struct uart_hsu_port *up, int offset, int value) argument 120 writel(value, up->port.membase + offset); 123 writeb(val, up->port.membase + offset); 140 struct uart_hsu_port *up = file->private_data; local 150 "MFD HSU port[%d] regs:\n", up->index); 155 "IER: \t\t0x%08x\n", serial_in(up, UART_IER)); 157 "IIR: \t\t0x%08x\n", serial_in(up, UART_II 282 struct uart_hsu_port *up = local 289 hsu_dma_tx(struct uart_hsu_port *up) argument 357 struct uart_hsu_port *up = local 370 struct uart_hsu_port *up = local 384 hsu_dma_rx(struct uart_hsu_port *up, u32 int_sts) argument 450 struct uart_hsu_port *up = local 463 receive_chars(struct uart_hsu_port *up, int *status) argument 530 transmit_chars(struct uart_hsu_port *up) argument 572 check_modem_status(struct uart_hsu_port *up) argument 600 struct uart_hsu_port *up = dev_id; local 641 struct uart_hsu_port *up = chan->uport; local 691 struct uart_hsu_port *up = local 705 struct uart_hsu_port *up = local 726 struct uart_hsu_port *up = local 748 struct uart_hsu_port *up = local 770 struct uart_hsu_port *up = local 861 struct uart_hsu_port *up = local 889 struct uart_hsu_port *up = local 1047 struct uart_hsu_port *up = local 1062 struct uart_hsu_port *up = local 1076 wait_for_xmitr(struct uart_hsu_port *up) argument 1103 struct uart_hsu_port *up = local 1119 struct uart_hsu_port *up = serial_hsu_ports[co->index]; local 1155 struct uart_hsu_port *up; local 1220 struct uart_hsu_port *up; local 1236 struct uart_hsu_port *up; local 1334 struct uart_hsu_port *up = chan->uport; local 1436 struct uart_hsu_port *up; local [all...] |
H A D | sunzilog.c | 270 static void sunzilog_maybe_update_regs(struct uart_sunzilog_port *up, argument 273 if (!ZS_REGS_HELD(up)) { 274 if (ZS_TX_ACTIVE(up)) { 275 up->flags |= SUNZILOG_FLAG_REGS_HELD; 277 __load_zsregs(channel, up->curregs); 282 static void sunzilog_change_mouse_baud(struct uart_sunzilog_port *up) argument 284 unsigned int cur_cflag = up->cflag; 287 up->cflag &= ~CBAUD; 288 up->cflag |= suncore_mouse_baud_cflag_next(cur_cflag, &new_baud); 291 up 296 sunzilog_kbdms_receive_chars(struct uart_sunzilog_port *up, unsigned char ch, int is_break) argument 326 sunzilog_receive_chars(struct uart_sunzilog_port *up, struct zilog_channel __iomem *channel) argument 411 sunzilog_status_handle(struct uart_sunzilog_port *up, struct zilog_channel __iomem *channel) argument 462 sunzilog_transmit_chars(struct uart_sunzilog_port *up, struct zilog_channel __iomem *channel) argument 536 struct uart_sunzilog_port *up = dev_id; local 653 struct uart_sunzilog_port *up = (struct uart_sunzilog_port *) port; local 677 struct uart_sunzilog_port *up = (struct uart_sunzilog_port *) port; local 685 struct uart_sunzilog_port *up = (struct uart_sunzilog_port *) port; local 727 struct uart_sunzilog_port *up = UART_ZILOG(port); local 743 struct uart_sunzilog_port *up = (struct uart_sunzilog_port *) port; local 759 struct uart_sunzilog_port *up = (struct uart_sunzilog_port *) port; local 784 __sunzilog_startup(struct uart_sunzilog_port *up) argument 801 struct uart_sunzilog_port *up = UART_ZILOG(port); local 840 struct uart_sunzilog_port *up = UART_ZILOG(port); local 867 sunzilog_convert_to_zs(struct uart_sunzilog_port *up, unsigned int cflag, unsigned int iflag, int brg) argument 945 struct uart_sunzilog_port *up = (struct uart_sunzilog_port *) port; local 973 struct uart_sunzilog_port *up = UART_ZILOG(port); local 1005 struct uart_sunzilog_port *up = (struct uart_sunzilog_port *) port; local 1039 struct uart_sunzilog_port *up = (struct uart_sunzilog_port *)port; local 1083 struct uart_sunzilog_port *up; local 1155 struct uart_sunzilog_port *up = serio->port_data; local 1169 struct uart_sunzilog_port *up = serio->port_data; local 1186 struct uart_sunzilog_port *up = serio->port_data; local 1200 struct uart_sunzilog_port *up = &sunzilog_port_table[con->index]; local 1222 struct uart_sunzilog_port *up = &sunzilog_port_table[con->index]; local 1284 sunzilog_init_kbdms(struct uart_sunzilog_port *up) argument 1304 sunzilog_register_serio(struct uart_sunzilog_port *up) argument 1333 sunzilog_init_hw(struct uart_sunzilog_port *up) argument 1406 struct uart_sunzilog_port *up; local 1509 zs_remove_one(struct uart_sunzilog_port *up) argument 1521 struct uart_sunzilog_port *up = dev_get_drvdata(&op->dev); local 1584 struct uart_sunzilog_port *up = sunzilog_irq_chain; local 1625 struct uart_sunzilog_port *up = sunzilog_irq_chain; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/mtd/maps/ |
H A D | sun_uflash.c | 53 struct uflash_dev *up; local 65 up = kzalloc(sizeof(struct uflash_dev), GFP_KERNEL); 66 if (!up) { 72 memcpy(&up->map, &uflash_map_templ, sizeof(uflash_map_templ)); 74 up->map.size = resource_size(&op->resource[0]); 76 up->name = of_get_property(dp, "model", NULL); 77 if (up->name && 0 < strlen(up->name)) 78 up->map.name = (char *)up 126 struct uflash_dev *up = dev_get_drvdata(&op->dev); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/mtd/maps/ |
H A D | sun_uflash.c | 53 struct uflash_dev *up; local 65 up = kzalloc(sizeof(struct uflash_dev), GFP_KERNEL); 66 if (!up) { 72 memcpy(&up->map, &uflash_map_templ, sizeof(uflash_map_templ)); 74 up->map.size = resource_size(&op->resource[0]); 76 up->name = of_get_property(dp, "model", NULL); 77 if (up->name && 0 < strlen(up->name)) 78 up->map.name = (char *)up 126 struct uflash_dev *up = dev_get_drvdata(&op->dev); local [all...] |