taglinefilesource code
info645drivers/FPU-emu/fpu_entry.cvoid math_abort(struct info * info, unsigned int signal)
info652drivers/FPU-emu/fpu_entry.c__asm__("movl %0,%%esp ; ret": :"g" (((long) info)-4));
info55drivers/FPU-emu/fpu_proto.hextern void math_abort(struct info *info, unsigned int signal);
info20drivers/FPU-emu/fpu_system.h#define SETUP_DATA_AREA(arg)    FPU_info = (struct info *) &arg
info23drivers/FPU-emu/fpu_system.h#define FPU_info    (I387.soft.info)
info30drivers/FPU-emu/get_address.coffsetof(struct info,___eax),
info31drivers/FPU-emu/get_address.coffsetof(struct info,___ecx),
info32drivers/FPU-emu/get_address.coffsetof(struct info,___edx),
info33drivers/FPU-emu/get_address.coffsetof(struct info,___ebx),
info34drivers/FPU-emu/get_address.coffsetof(struct info,___esp),
info35drivers/FPU-emu/get_address.coffsetof(struct info,___ebp),
info36drivers/FPU-emu/get_address.coffsetof(struct info,___esi),
info37drivers/FPU-emu/get_address.coffsetof(struct info,___edi)
info43drivers/FPU-emu/get_address.coffsetof(struct info,___cs),
info44drivers/FPU-emu/get_address.coffsetof(struct info,___vm86_ds),
info45drivers/FPU-emu/get_address.coffsetof(struct info,___vm86_es),
info46drivers/FPU-emu/get_address.coffsetof(struct info,___vm86_fs),
info47drivers/FPU-emu/get_address.coffsetof(struct info,___vm86_gs),
info48drivers/FPU-emu/get_address.coffsetof(struct info,___ss),
info49drivers/FPU-emu/get_address.coffsetof(struct info,___vm86_ds)
info82drivers/char/serial.cstatic void autoconfig(struct async_struct * info);
info211drivers/char/serial.cstatic inline unsigned int serial_in(struct async_struct *info, int offset)
info213drivers/char/serial.cif (info->hub6) {
info214drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
info215drivers/char/serial.creturn inb(info->port+1);
info217drivers/char/serial.creturn inb(info->port + offset);
info220drivers/char/serial.cstatic inline unsigned int serial_inp(struct async_struct *info, int offset)
info222drivers/char/serial.cif (info->hub6) {
info223drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
info224drivers/char/serial.creturn inb_p(info->port+1);
info226drivers/char/serial.creturn inb_p(info->port + offset);
info229drivers/char/serial.cstatic inline void serial_out(struct async_struct *info, int offset, int value)
info231drivers/char/serial.cif (info->hub6) {
info232drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
info233drivers/char/serial.coutb(value, info->port+1);
info235drivers/char/serial.coutb(value, info->port+offset);
info238drivers/char/serial.cstatic inline void serial_outp(struct async_struct *info, int offset,
info241drivers/char/serial.cif (info->hub6) {
info242drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
info243drivers/char/serial.coutb_p(value, info->port+1);
info245drivers/char/serial.coutb_p(value, info->port+offset);
info258drivers/char/serial.cstruct async_struct *info;
info260drivers/char/serial.cinfo = rs_table + DEV_TO_SL(tty->line);
info262drivers/char/serial.cif (info->flags & ASYNC_CLOSING) {
info268drivers/char/serial.cinfo->IER = UART_IER_MSI | UART_IER_RLSI | UART_IER_RDI;
info270drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info276drivers/char/serial.cstruct async_struct *info;
info278drivers/char/serial.cinfo = rs_table + DEV_TO_SL(tty->line);
info280drivers/char/serial.cinfo->IER = (UART_IER_MSI | UART_IER_RLSI |
info283drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info323drivers/char/serial.cstatic inline void rs_sched_event(struct async_struct *info,
info326drivers/char/serial.cinfo->event |= 1 << event;
info327drivers/char/serial.cset_bit(info->line, rs_event);
info331drivers/char/serial.cstatic inline void receive_chars(struct async_struct *info,
info343drivers/char/serial.cqueue = &info->tty->read_q;
info347drivers/char/serial.cch = serial_inp(info, UART_RX);
info354drivers/char/serial.cif (*status & info->read_status_mask) {
info355drivers/char/serial.cset_bit(head, &info->tty->readq_flags);
info358drivers/char/serial.crs_sched_event(info, RS_EVENT_BREAK);
info369drivers/char/serial.c} while ((*status = serial_inp(info, UART_LSR)) & UART_LSR_DR);
info372drivers/char/serial.c&info->tty->flags)) 
info373drivers/char/serial.crs_throttle(info->tty, TTY_THROTTLE_RQ_FULL);
info374drivers/char/serial.crs_sched_event(info, RS_EVENT_READ_PROCESS);
info380drivers/char/serial.cstatic inline void transmit_chars(struct async_struct *info, int *done_work)
info385drivers/char/serial.cqueue = &info->tty->write_q;
info388drivers/char/serial.cif (head==tail && !info->x_char) {
info389drivers/char/serial.cinfo->IER = UART_IER_MSI | UART_IER_RLSI | UART_IER_RDI;
info391drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info395drivers/char/serial.ccount = info->xmit_fifo_size;
info396drivers/char/serial.cif (info->x_char) {
info397drivers/char/serial.cserial_outp(info, UART_TX, info->x_char);
info398drivers/char/serial.cinfo->x_char = 0;
info402drivers/char/serial.cserial_outp(info, UART_TX, queue->buf[tail++]);
info407drivers/char/serial.crs_sched_event(info, RS_EVENT_WRITE_WAKEUP);
info408drivers/char/serial.cif (info->tty->write_data_cnt) {
info409drivers/char/serial.cset_bit(info->tty->line, &tty_check_write);
info419drivers/char/serial.cstatic inline int check_modem_status(struct async_struct *info)
info423drivers/char/serial.cstatus = serial_in(info, UART_MSR);
info425drivers/char/serial.cif ((status & UART_MSR_DDCD) && !C_CLOCAL(info->tty)) {
info427drivers/char/serial.cprintk("ttys%d CD now %s...", info->line,
info431drivers/char/serial.crs_sched_event(info, RS_EVENT_OPEN_WAKEUP);
info432drivers/char/serial.celse if (!((info->flags & ASYNC_CALLOUT_ACTIVE) &&
info433drivers/char/serial.c(info->flags & ASYNC_CALLOUT_NOHUP))) {
info437drivers/char/serial.crs_sched_event(info, RS_EVENT_HANGUP);
info440drivers/char/serial.cif (C_CRTSCTS(info->tty) && !(info->flags & ASYNC_CLOSING)) {
info441drivers/char/serial.cif (info->tty->hw_stopped) {
info446drivers/char/serial.cinfo->tty->hw_stopped = 0;
info447drivers/char/serial.crs_start(info->tty);
info455drivers/char/serial.cinfo->tty->hw_stopped = 1;
info456drivers/char/serial.crs_stop(info->tty);
info487drivers/char/serial.cstruct async_struct * info;
info493drivers/char/serial.cinfo = IRQ_ports[irq];
info497drivers/char/serial.cwhile (info) {
info498drivers/char/serial.cif (info->tty &&
info499drivers/char/serial.cinfo->tty->termios &&
info501drivers/char/serial.c!(serial_inp(info, UART_IIR) & UART_IIR_NO_INT))) {
info503drivers/char/serial.cstatus = serial_inp(info, UART_LSR);
info505drivers/char/serial.creceive_chars(info, &status);
info511drivers/char/serial.cwake_up_interruptible(&info->xmit_wait);
info512drivers/char/serial.cif (!info->tty->stopped &&
info513drivers/char/serial.c!info->tty->hw_stopped)
info514drivers/char/serial.ctransmit_chars(info, &done_work);
info516drivers/char/serial.cif (check_modem_status(info) &&
info525drivers/char/serial.cserial_outp(info, UART_IER, 0);
info526drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info529drivers/char/serial.cinfo = info->next_port;
info530drivers/char/serial.cif (!info && !done) {
info531drivers/char/serial.cinfo = IRQ_ports[irq];
info537drivers/char/serial.cif ((info = IRQ_ports[irq]) != NULL) {
info540drivers/char/serial.cserial_outp(info, UART_IER, 0);
info541drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info542drivers/char/serial.cinfo = info->next_port;
info543drivers/char/serial.c} while (info);
info564drivers/char/serial.cstatic inline void handle_rs_break(struct async_struct *info)
info566drivers/char/serial.cif (info->flags & ASYNC_SAK)
info567drivers/char/serial.cdo_SAK(info->tty);
info569drivers/char/serial.cif (!I_IGNBRK(info->tty) && I_BRKINT(info->tty)) {
info570drivers/char/serial.cflush_input(info->tty);
info571drivers/char/serial.cflush_output(info->tty);
info572drivers/char/serial.cif (info->tty->pgrp > 0)
info573drivers/char/serial.ckill_pg(info->tty->pgrp, SIGINT,1);
info589drivers/char/serial.cstruct async_struct  *info;
info591drivers/char/serial.cfor (i = 0, info = rs_table; i < NR_PORTS; i++,info++) {
info593drivers/char/serial.cif (!info->tty)  
info595drivers/char/serial.cif (clear_bit(RS_EVENT_READ_PROCESS, &info->event)) {
info596drivers/char/serial.cTTY_READ_FLUSH(info->tty);
info598drivers/char/serial.cif (clear_bit(RS_EVENT_WRITE_WAKEUP, &info->event)) {
info599drivers/char/serial.cwake_up_interruptible(&info->tty->write_q.proc_list);
info601drivers/char/serial.cif (clear_bit(RS_EVENT_HANGUP, &info->event)) {
info602drivers/char/serial.ctty_hangup(info->tty);
info603drivers/char/serial.cwake_up_interruptible(&info->open_wait);
info604drivers/char/serial.cinfo->flags &= ~(ASYNC_NORMAL_ACTIVE|
info607drivers/char/serial.cif (clear_bit(RS_EVENT_BREAK, &info->event))
info608drivers/char/serial.chandle_rs_break(info);
info609drivers/char/serial.cif (clear_bit(RS_EVENT_OPEN_WAKEUP, &info->event)) {
info610drivers/char/serial.cwake_up_interruptible(&info->open_wait);
info703drivers/char/serial.cstruct  async_struct  *info;
info706drivers/char/serial.cinfo = IRQ_ports[irq];
info707drivers/char/serial.cif (!info) {
info711drivers/char/serial.cwhile (info) {
info712drivers/char/serial.cif (info->timeout < timeout)
info713drivers/char/serial.ctimeout = info->timeout;
info714drivers/char/serial.cinfo = info->next_port;
info721drivers/char/serial.cstatic int startup(struct async_struct * info, int get_irq)
info728drivers/char/serial.cif (info->flags & ASYNC_INITIALIZED)
info731drivers/char/serial.cif (!info->port || !info->type) {
info732drivers/char/serial.cif (info->tty)
info733drivers/char/serial.cset_bit(TTY_IO_ERROR, &info->tty->flags);
info740drivers/char/serial.cprintk("starting up ttys%d (irq %d)...", info->line, info->irq);
info746drivers/char/serial.cif (get_irq && info->irq && !IRQ_ports[info->irq]) {
info751drivers/char/serial.cretval = irqaction(info->irq,&sa);
info762drivers/char/serial.cif (info->type == PORT_16550A) {
info763drivers/char/serial.cserial_outp(info, UART_FCR, (UART_FCR_CLEAR_RCVR |
info765drivers/char/serial.cinfo->xmit_fifo_size = 16;
info767drivers/char/serial.cinfo->xmit_fifo_size = 1;
info772drivers/char/serial.c(void)serial_inp(info, UART_LSR);
info773drivers/char/serial.c(void)serial_inp(info, UART_RX);
info774drivers/char/serial.c(void)serial_inp(info, UART_IIR);
info775drivers/char/serial.c(void)serial_inp(info, UART_MSR);
info780drivers/char/serial.cserial_outp(info, UART_LCR, UART_LCR_WLEN8);  /* reset DLAB */
info781drivers/char/serial.cif (info->flags & ASYNC_FOURPORT) 
info782drivers/char/serial.cserial_outp(info, UART_MCR, UART_MCR_DTR | UART_MCR_RTS);
info784drivers/char/serial.cserial_outp(info, UART_MCR,
info791drivers/char/serial.cinfo->IER = UART_IER_MSI | UART_IER_RLSI | UART_IER_RDI;
info792drivers/char/serial.cserial_outp(info, UART_IER, info->IER);  /* enable interrupts */
info794drivers/char/serial.cinfo->IER = (UART_IER_MSI | UART_IER_RLSI |
info796drivers/char/serial.cserial_outp(info, UART_IER, info->IER);  /* enable all intrs */
info798drivers/char/serial.cif (info->flags & ASYNC_FOURPORT) {
info800drivers/char/serial.cICP = (info->port & 0xFE0) | 0x01F;
info808drivers/char/serial.c(void)serial_inp(info, UART_LSR);
info809drivers/char/serial.c(void)serial_inp(info, UART_RX);
info810drivers/char/serial.c(void)serial_inp(info, UART_IIR);
info811drivers/char/serial.c(void)serial_inp(info, UART_MSR);
info813drivers/char/serial.cif (info->tty)
info814drivers/char/serial.cclear_bit(TTY_IO_ERROR, &info->tty->flags);
info818drivers/char/serial.cif (info->tty && info->tty->termios && I_INPCK(info->tty))
info819drivers/char/serial.cinfo->read_status_mask = (UART_LSR_OE | UART_LSR_BI |
info822drivers/char/serial.cinfo->read_status_mask = (UART_LSR_OE | UART_LSR_BI |
info828drivers/char/serial.cinfo->prev_port = 0;
info829drivers/char/serial.cinfo->next_port = IRQ_ports[info->irq];
info830drivers/char/serial.cif (info->next_port)
info831drivers/char/serial.cinfo->next_port->prev_port = info;
info832drivers/char/serial.cIRQ_ports[info->irq] = info;
info833drivers/char/serial.cfigure_IRQ_timeout(info->irq);
info838drivers/char/serial.cIRQ_active |= 1 << info->irq;
info844drivers/char/serial.cchange_speed(info->line);
info846drivers/char/serial.cinfo->flags |= ASYNC_INITIALIZED;
info855drivers/char/serial.cstatic void shutdown(struct async_struct * info, int do_free_irq)
info859drivers/char/serial.cif (!(info->flags & ASYNC_INITIALIZED))
info863drivers/char/serial.cprintk("Shutting down serial port %d (irq %d)....", info->line,
info864drivers/char/serial.cinfo->irq);
info872drivers/char/serial.cif (info->next_port)
info873drivers/char/serial.cinfo->next_port->prev_port = info->prev_port;
info874drivers/char/serial.cif (info->prev_port)
info875drivers/char/serial.cinfo->prev_port->next_port = info->next_port;
info877drivers/char/serial.cIRQ_ports[info->irq] = info->next_port;
info878drivers/char/serial.cfigure_IRQ_timeout(info->irq);
info883drivers/char/serial.cif (do_free_irq && info->irq && !IRQ_ports[info->irq])
info884drivers/char/serial.cfree_irq(info->irq);
info886drivers/char/serial.cinfo->IER = 0;
info887drivers/char/serial.cserial_outp(info, UART_IER, 0x00);  /* disable all intrs */
info888drivers/char/serial.cif (info->flags & ASYNC_FOURPORT) {
info890drivers/char/serial.c(void) inb((info->port & 0xFE0) | 0x01F);
info892drivers/char/serial.cif (info->tty && !(info->tty->termios->c_cflag & HUPCL))
info893drivers/char/serial.cserial_outp(info, UART_MCR, UART_MCR_DTR);
info896drivers/char/serial.cserial_outp(info, UART_MCR, 0x00);
info899drivers/char/serial.cserial_outp(info, UART_FCR, (UART_FCR_CLEAR_RCVR |
info901drivers/char/serial.c(void)serial_in(info, UART_RX);    /* read data port to reset things */
info903drivers/char/serial.cif (info->tty)
info904drivers/char/serial.cset_bit(TTY_IO_ERROR, &info->tty->flags);
info906drivers/char/serial.cinfo->flags &= ~ASYNC_INITIALIZED;
info916drivers/char/serial.cstruct async_struct * info;
info924drivers/char/serial.cinfo = rs_table + line;
info925drivers/char/serial.cif (!info->tty || !info->tty->termios)
info927drivers/char/serial.ccflag = info->tty->termios->c_cflag;
info928drivers/char/serial.cif (!(port = info->port))
info932drivers/char/serial.cif ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_HI)
info934drivers/char/serial.cif ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_VHI)
info936drivers/char/serial.cif ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_CUST)
info937drivers/char/serial.cquot = info->custom_divisor;
info940drivers/char/serial.cinfo->timeout = ((info->xmit_fifo_size*HZ*15*quot) /
info941drivers/char/serial.cinfo->baud_base) + 2;
info943drivers/char/serial.cquot = (2*info->baud_base / 269);
info944drivers/char/serial.cinfo->timeout = (info->xmit_fifo_size*HZ*30/269) + 2;
info946drivers/char/serial.cquot = info->baud_base / baud_table[i];
info947drivers/char/serial.cinfo->timeout = (info->xmit_fifo_size*HZ*15/baud_table[i]) + 2;
info950drivers/char/serial.cinfo->timeout = 0;
info953drivers/char/serial.cmcr = serial_in(info, UART_MCR);
info955drivers/char/serial.cserial_out(info, UART_MCR, mcr | UART_MCR_DTR);
info957drivers/char/serial.cserial_out(info, UART_MCR, mcr & ~UART_MCR_DTR);
info969drivers/char/serial.cif (info->type == PORT_16550A) {
info970drivers/char/serial.cif ((info->baud_base / quot) < 2400)
info978drivers/char/serial.cserial_outp(info, UART_LCR, cval | UART_LCR_DLAB);  /* set DLAB */
info979drivers/char/serial.cserial_outp(info, UART_DLL, quot & 0xff);  /* LS of divisor */
info980drivers/char/serial.cserial_outp(info, UART_DLM, quot >> 8);    /* MS of divisor */
info981drivers/char/serial.cserial_outp(info, UART_LCR, cval);    /* reset DLAB */
info982drivers/char/serial.cserial_outp(info, UART_FCR, fcr);   /* set fcr */
info999drivers/char/serial.cstatic inline void restart_port(struct async_struct *info)
info1004drivers/char/serial.cif (!info)
info1007drivers/char/serial.cif (serial_inp(info, UART_LSR) & UART_LSR_THRE) {
info1008drivers/char/serial.cif (info->x_char) {
info1009drivers/char/serial.cserial_outp(info, UART_TX, info->x_char);
info1010drivers/char/serial.cinfo->x_char = 0;
info1012drivers/char/serial.cqueue = &info->tty->write_q;
info1015drivers/char/serial.ccount = info->xmit_fifo_size;
info1019drivers/char/serial.cserial_outp(info, UART_TX, queue->buf[tail++]);
info1033drivers/char/serial.cstruct async_struct *info;
info1037drivers/char/serial.cinfo = rs_table + DEV_TO_SL(tty->line);
info1039drivers/char/serial.cif (!info || !info->tty || !(info->flags & ASYNC_INITIALIZED)) {
info1043drivers/char/serial.crestart_port(info);
info1044drivers/char/serial.cinfo->IER = (UART_IER_MSI | UART_IER_RLSI |
info1047drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info1063drivers/char/serial.cstruct async_struct *info;
info1074drivers/char/serial.cinfo = rs_table + DEV_TO_SL(tty->line);
info1076drivers/char/serial.cinfo->x_char = STOP_CHAR(tty);
info1078drivers/char/serial.cmcr = serial_inp(info, UART_MCR);
info1080drivers/char/serial.cserial_out(info, UART_MCR, mcr);
info1084drivers/char/serial.cinfo = rs_table + DEV_TO_SL(tty->line);
info1086drivers/char/serial.cif (info->x_char)
info1087drivers/char/serial.cinfo->x_char = 0;
info1089drivers/char/serial.cinfo->x_char = START_CHAR(tty);
info1091drivers/char/serial.cmcr = serial_in(info, UART_MCR);
info1093drivers/char/serial.cserial_out(info, UART_MCR, mcr);
info1106drivers/char/serial.cstatic int get_serial_info(struct async_struct * info,
info1114drivers/char/serial.ctmp.type = info->type;
info1115drivers/char/serial.ctmp.line = info->line;
info1116drivers/char/serial.ctmp.port = info->port;
info1117drivers/char/serial.ctmp.irq = info->irq;
info1118drivers/char/serial.ctmp.flags = info->flags;
info1119drivers/char/serial.ctmp.baud_base = info->baud_base;
info1120drivers/char/serial.ctmp.close_delay = info->close_delay;
info1121drivers/char/serial.ctmp.custom_divisor = info->custom_divisor;
info1122drivers/char/serial.ctmp.hub6 = info->hub6;
info1127drivers/char/serial.cstatic int set_serial_info(struct async_struct * info,
info1139drivers/char/serial.cold_info = *info;
info1141drivers/char/serial.cchange_irq = new_serial.irq != info->irq;
info1142drivers/char/serial.cchange_port = (new_serial.port != info->port) || (new_serial.hub6 != info->hub6);
info1146drivers/char/serial.c(new_serial.baud_base != info->baud_base) ||
info1147drivers/char/serial.c(new_serial.type != info->type) ||
info1148drivers/char/serial.c(new_serial.close_delay != info->close_delay) ||
info1150drivers/char/serial.c(info->flags & ~ASYNC_USR_MASK)))
info1152drivers/char/serial.cinfo->flags = ((info->flags & ~ASYNC_USR_MASK) |
info1154drivers/char/serial.cinfo->custom_divisor = new_serial.custom_divisor;
info1168drivers/char/serial.cif ((info != &rs_table[i]) &&
info1178drivers/char/serial.c(change_irq || !(info->flags & ASYNC_INITIALIZED))) {
info1190drivers/char/serial.cif ((change_port || change_irq) && (info->count > 1))
info1198drivers/char/serial.cinfo->baud_base = new_serial.baud_base;
info1199drivers/char/serial.cinfo->flags = ((info->flags & ~ASYNC_FLAGS) |
info1201drivers/char/serial.cinfo->custom_divisor = new_serial.custom_divisor;
info1202drivers/char/serial.cinfo->type = new_serial.type;
info1203drivers/char/serial.cinfo->close_delay = new_serial.close_delay;
info1210drivers/char/serial.cshutdown(info, change_irq);
info1211drivers/char/serial.cinfo->irq = new_serial.irq;
info1212drivers/char/serial.cinfo->port = new_serial.port;
info1213drivers/char/serial.cinfo->hub6 = new_serial.hub6;
info1217drivers/char/serial.cif (!info->port || !info->type)
info1219drivers/char/serial.cif (info->flags & ASYNC_INITIALIZED) {
info1221drivers/char/serial.c(info->flags & ASYNC_SPD_MASK)) ||
info1222drivers/char/serial.c(old_info.custom_divisor != info->custom_divisor))
info1223drivers/char/serial.cchange_speed(info->line);
info1225drivers/char/serial.c(void) startup(info, 0);
info1229drivers/char/serial.cstatic int get_modem_info(struct async_struct * info, unsigned int *value)
info1235drivers/char/serial.ccontrol = serial_in(info, UART_MCR);
info1236drivers/char/serial.cstatus = serial_in(info, UART_MSR);
info1248drivers/char/serial.cstatic int set_modem_info(struct async_struct * info, unsigned int cmd,
info1255drivers/char/serial.ccontrol = serial_in(info, UART_MCR);
info1280drivers/char/serial.cserial_out(info, UART_MCR, control);
info1285drivers/char/serial.cstatic int do_autoconfig(struct async_struct * info)
info1292drivers/char/serial.cif (info->count > 1)
info1295drivers/char/serial.cshutdown(info, 1);
info1298drivers/char/serial.cautoconfig(info);
info1301drivers/char/serial.cretval = startup(info, 1);
info1311drivers/char/serial.cstatic void send_break(  struct async_struct * info, int duration)
info1313drivers/char/serial.cif (!info->port)
info1318drivers/char/serial.cserial_out(info, UART_LCR, serial_inp(info, UART_LCR) | UART_LCR_SBC);
info1320drivers/char/serial.cserial_out(info, UART_LCR, serial_inp(info, UART_LCR) & ~UART_LCR_SBC);
info1372drivers/char/serial.cstruct async_struct * info;
info1377drivers/char/serial.cinfo = rs_table + line;
info1382drivers/char/serial.csend_break(info, HZ/4);  /* 1/4 second */
info1385drivers/char/serial.csend_break(info, arg ? arg*(HZ/10) : HZ/4);
info1405drivers/char/serial.creturn get_modem_info(info, (unsigned int *) arg);
info1409drivers/char/serial.creturn set_modem_info(info, cmd, (unsigned int *) arg);
info1415drivers/char/serial.creturn get_serial_info(info,
info1418drivers/char/serial.creturn set_serial_info(info,
info1421drivers/char/serial.creturn do_autoconfig(info);
info1447drivers/char/serial.cstruct async_struct *info;
info1452drivers/char/serial.cinfo = &rs_table[DEV_TO_SL(tty->line)];
info1464drivers/char/serial.cwake_up_interruptible(&info->open_wait);
info1467drivers/char/serial.cinfo->read_status_mask = (UART_LSR_OE | UART_LSR_BI |
info1470drivers/char/serial.cinfo->read_status_mask = (UART_LSR_OE | UART_LSR_BI |
info1486drivers/char/serial.cstruct async_struct * info;
info1495drivers/char/serial.cinfo = rs_table + line;
info1497drivers/char/serial.cprintk("rs_close ttys%d, count = %d\n", info->line, info->count);
info1499drivers/char/serial.cif ((tty->count == 1) && (info->count != 1)) {
info1508drivers/char/serial.c"info->count is %d\n", info->count);
info1509drivers/char/serial.cinfo->count = 1;
info1511drivers/char/serial.cif (--info->count < 0) {
info1513drivers/char/serial.cinfo->line, info->count);
info1514drivers/char/serial.cinfo->count = 0;
info1516drivers/char/serial.cif (info->count)
info1518drivers/char/serial.cinfo->flags |= ASYNC_CLOSING;
info1523drivers/char/serial.cif (info->flags & ASYNC_NORMAL_ACTIVE)
info1524drivers/char/serial.cinfo->normal_termios = *tty->termios;
info1525drivers/char/serial.cif (info->flags & ASYNC_CALLOUT_ACTIVE)
info1526drivers/char/serial.cinfo->callout_termios = *tty->termios;
info1529drivers/char/serial.cif (info->flags & ASYNC_INITIALIZED) {
info1540drivers/char/serial.cif (!(serial_inp(info, UART_LSR) & UART_LSR_THRE)) {
info1542drivers/char/serial.cinterruptible_sleep_on(&info->xmit_wait);
info1545drivers/char/serial.cshutdown(info, 1);
info1547drivers/char/serial.cinfo->event = 0;
info1548drivers/char/serial.cinfo->tty = 0;
info1549drivers/char/serial.cif (info->blocked_open) {
info1550drivers/char/serial.cif (info->close_delay) {
info1553drivers/char/serial.ccurrent->timeout = jiffies + info->close_delay;
info1557drivers/char/serial.cwake_up_interruptible(&info->open_wait);
info1559drivers/char/serial.cinfo->flags &= ~(ASYNC_NORMAL_ACTIVE|ASYNC_CALLOUT_ACTIVE|
info1561drivers/char/serial.cwake_up_interruptible(&info->close_wait);
info1569drivers/char/serial.cstruct async_struct * info;
info1575drivers/char/serial.cinfo = rs_table + line;
info1577drivers/char/serial.cshutdown(info, 1);
info1579drivers/char/serial.cinfo->event = 0;
info1580drivers/char/serial.cinfo->count = 0;
info1581drivers/char/serial.cinfo->flags &= ~(ASYNC_NORMAL_ACTIVE|ASYNC_CALLOUT_ACTIVE);
info1582drivers/char/serial.cinfo->tty = 0;
info1583drivers/char/serial.cwake_up_interruptible(&info->open_wait);
info1592drivers/char/serial.cstruct async_struct *info)
info1602drivers/char/serial.cif (info->flags & ASYNC_CLOSING) {
info1603drivers/char/serial.cinterruptible_sleep_on(&info->close_wait);
info1605drivers/char/serial.cif (info->flags & ASYNC_HUP_NOTIFY)
info1619drivers/char/serial.cif (info->flags & ASYNC_NORMAL_ACTIVE)
info1621drivers/char/serial.cif ((info->flags & ASYNC_CALLOUT_ACTIVE) &&
info1622drivers/char/serial.c(info->flags & ASYNC_SESSION_LOCKOUT) &&
info1623drivers/char/serial.c(info->session != current->session))
info1625drivers/char/serial.cif ((info->flags & ASYNC_CALLOUT_ACTIVE) &&
info1626drivers/char/serial.c(info->flags & ASYNC_PGRP_LOCKOUT) &&
info1627drivers/char/serial.c(info->pgrp != current->pgrp))
info1629drivers/char/serial.cinfo->flags |= ASYNC_CALLOUT_ACTIVE;
info1638drivers/char/serial.cif (info->flags & ASYNC_CALLOUT_ACTIVE)
info1640drivers/char/serial.cinfo->flags |= ASYNC_NORMAL_ACTIVE;
info1652drivers/char/serial.cadd_wait_queue(&info->open_wait, &wait);
info1655drivers/char/serial.cinfo->line, info->count);
info1657drivers/char/serial.cinfo->count--;
info1658drivers/char/serial.cinfo->blocked_open++;
info1661drivers/char/serial.cif (!(info->flags & ASYNC_CALLOUT_ACTIVE))
info1662drivers/char/serial.cserial_out(info, UART_MCR,
info1663drivers/char/serial.cserial_inp(info, UART_MCR) |
info1668drivers/char/serial.c!(info->flags & ASYNC_INITIALIZED)) {
info1670drivers/char/serial.cif (info->flags & ASYNC_HUP_NOTIFY)
info1679drivers/char/serial.cif (!(info->flags & ASYNC_CALLOUT_ACTIVE) &&
info1680drivers/char/serial.c!(info->flags & ASYNC_CLOSING) &&
info1681drivers/char/serial.c(do_clocal || (serial_in(info, UART_MSR) &
info1690drivers/char/serial.cinfo->line, info->count);
info1695drivers/char/serial.cremove_wait_queue(&info->open_wait, &wait);
info1697drivers/char/serial.cinfo->count++;
info1698drivers/char/serial.cinfo->blocked_open--;
info1701drivers/char/serial.cinfo->line, info->count);
info1705drivers/char/serial.cinfo->flags |= ASYNC_NORMAL_ACTIVE;
info1717drivers/char/serial.cstruct async_struct  *info;
info1723drivers/char/serial.cinfo = rs_table + line;
info1725drivers/char/serial.cprintk("rs_open ttys%d, count = %d\n", info->line, info->count);
info1727drivers/char/serial.cinfo->count++;
info1728drivers/char/serial.cinfo->tty = tty;
info1738drivers/char/serial.cif ((info->count == 1) && (info->flags & ASYNC_SPLIT_TERMIOS)) {
info1740drivers/char/serial.c*tty->termios = info->normal_termios;
info1742drivers/char/serial.c*tty->termios = info->callout_termios;
info1747drivers/char/serial.cretval = startup(info, 1);
info1751drivers/char/serial.cretval = block_til_ready(tty, filp, info);
info1760drivers/char/serial.cinfo->session = current->session;
info1761drivers/char/serial.cinfo->pgrp = current->pgrp;
info1764drivers/char/serial.cprintk("rs_open ttys%d successful...", info->line);
info1814drivers/char/serial.cstatic int get_auto_irq(struct async_struct *info)
info1817drivers/char/serial.cunsigned short ICP=0, port = info->port;
info1825drivers/char/serial.csave_IER = serial_inp(info, UART_IER);
info1826drivers/char/serial.csave_MCR = serial_inp(info, UART_MCR);
info1827drivers/char/serial.cif (info->flags & ASYNC_FOURPORT)  {
info1828drivers/char/serial.cserial_outp(info, UART_MCR, UART_MCR_DTR | UART_MCR_RTS);
info1829drivers/char/serial.cserial_outp(info, UART_IER, 0x0f);  /* enable all intrs */
info1835drivers/char/serial.cserial_outp(info, UART_MCR,
info1837drivers/char/serial.cserial_outp(info, UART_IER, 0x0f);  /* enable all intrs */
info1843drivers/char/serial.c(void)serial_inp(info, UART_LSR);
info1844drivers/char/serial.c(void)serial_inp(info, UART_RX);
info1845drivers/char/serial.c(void)serial_inp(info, UART_IIR);
info1846drivers/char/serial.c(void)serial_inp(info, UART_MSR);
info1857drivers/char/serial.cserial_outp(info, UART_IER, save_IER);
info1858drivers/char/serial.cserial_outp(info, UART_MCR, save_MCR);
info1859drivers/char/serial.cif (info->flags & ASYNC_FOURPORT)
info1869drivers/char/serial.cstatic int do_auto_irq(struct async_struct * info)
info1871drivers/char/serial.cunsigned     port = info->port;
info1887drivers/char/serial.cirq_try_1 = get_auto_irq(info);
info1889drivers/char/serial.cirq_try_2 = get_auto_irq(info);
info1908drivers/char/serial.cstatic void autoconfig(struct async_struct * info)
info1911drivers/char/serial.cunsigned port = info->port;
info1914drivers/char/serial.cinfo->type = PORT_UNKNOWN;
info1925drivers/char/serial.cscratch = serial_inp(info, UART_IER);
info1926drivers/char/serial.cserial_outp(info, UART_IER, 0);
info1927drivers/char/serial.cscratch2 = serial_inp(info, UART_IER);
info1928drivers/char/serial.cserial_outp(info, UART_IER, scratch);
info1943drivers/char/serial.cif (!(info->flags & ASYNC_SKIP_TEST)) {
info1944drivers/char/serial.cscratch = serial_inp(info, UART_MCR);
info1945drivers/char/serial.cserial_outp(info, UART_MCR, UART_MCR_LOOP | scratch);
info1946drivers/char/serial.cscratch2 = serial_inp(info, UART_MSR);
info1947drivers/char/serial.cserial_outp(info, UART_MCR, UART_MCR_LOOP | 0x0A);
info1948drivers/char/serial.cstatus1 = serial_inp(info, UART_MSR) & 0xF0;
info1949drivers/char/serial.cserial_outp(info, UART_MCR, scratch);
info1950drivers/char/serial.cserial_outp(info, UART_MSR, scratch2);
info1961drivers/char/serial.cif (info->flags & ASYNC_AUTO_IRQ)
info1962drivers/char/serial.cinfo->irq = do_auto_irq(info);
info1964drivers/char/serial.cserial_outp(info, UART_FCR, UART_FCR_ENABLE_FIFO);
info1965drivers/char/serial.cscratch = serial_in(info, UART_IIR) >> 6;
info1966drivers/char/serial.cinfo->xmit_fifo_size = 1;
info1969drivers/char/serial.cinfo->type = PORT_16450;
info1972drivers/char/serial.cinfo->type = PORT_UNKNOWN;
info1975drivers/char/serial.cinfo->type = PORT_16550;
info1978drivers/char/serial.cinfo->type = PORT_16550A;
info1979drivers/char/serial.cinfo->xmit_fifo_size = 16;
info1982drivers/char/serial.cif (info->type == PORT_16450) {
info1983drivers/char/serial.cscratch = serial_in(info, UART_SCR);
info1984drivers/char/serial.cserial_outp(info, UART_SCR, 0xa5);
info1985drivers/char/serial.cstatus1 = serial_in(info, UART_SCR);
info1986drivers/char/serial.cserial_outp(info, UART_SCR, 0x5a);
info1987drivers/char/serial.cstatus2 = serial_in(info, UART_SCR);
info1988drivers/char/serial.cserial_outp(info, UART_SCR, scratch);
info1991drivers/char/serial.cinfo->type = PORT_8250;
info1997drivers/char/serial.cserial_outp(info, UART_MCR, 0x00);
info1998drivers/char/serial.cserial_outp(info, UART_FCR, (UART_FCR_CLEAR_RCVR |
info2000drivers/char/serial.c(void)serial_in(info, UART_RX);
info2011drivers/char/serial.cstruct async_struct * info;
info2028drivers/char/serial.cfor (i = 0, info = rs_table; i < NR_PORTS; i++,info++) {
info2029drivers/char/serial.cinfo->line = i;
info2030drivers/char/serial.cinfo->tty = 0;
info2031drivers/char/serial.cinfo->type = PORT_UNKNOWN;
info2032drivers/char/serial.cinfo->custom_divisor = 0;
info2033drivers/char/serial.cinfo->close_delay = 50;
info2034drivers/char/serial.cinfo->x_char = 0;
info2035drivers/char/serial.cinfo->event = 0;
info2036drivers/char/serial.cinfo->count = 0;
info2037drivers/char/serial.cinfo->blocked_open = 0;
info2038drivers/char/serial.cmemset(&info->callout_termios, 0, sizeof(struct termios));
info2039drivers/char/serial.cmemset(&info->normal_termios, 0, sizeof(struct termios));
info2040drivers/char/serial.cinfo->open_wait = 0;
info2041drivers/char/serial.cinfo->xmit_wait = 0;
info2042drivers/char/serial.cinfo->close_wait = 0;
info2043drivers/char/serial.cinfo->next_port = 0;
info2044drivers/char/serial.cinfo->prev_port = 0;
info2045drivers/char/serial.cif (info->irq == 2)
info2046drivers/char/serial.cinfo->irq = 9;
info2047drivers/char/serial.cif (!(info->flags & ASYNC_BOOT_AUTOCONF))
info2049drivers/char/serial.cautoconfig(info);
info2050drivers/char/serial.cif (info->type == PORT_UNKNOWN)
info2052drivers/char/serial.cprintk("tty%02d%s at 0x%04x (irq = %d)", info->line, 
info2053drivers/char/serial.c(info->flags & ASYNC_FOURPORT) ? " FourPort" : "",
info2054drivers/char/serial.cinfo->port, info->irq);
info2055drivers/char/serial.cswitch (info->type) {
info82drivers/scsi/hosts.hconst char *(* info)(void);
info544drivers/scsi/scsi_debug.cint scsi_debug_biosparam(int size, int dev, int* info){
info545drivers/scsi/scsi_debug.cinfo[0] = 32;
info546drivers/scsi/scsi_debug.cinfo[1] = 64;
info547drivers/scsi/scsi_debug.cinfo[2] = (size + 2047) >> 11;
info548drivers/scsi/scsi_debug.cif (info[2] >= 1024) info[2] = 1024;
info36drivers/scsi/scsi_ioctl.cstring = host->hostt->info();
info572drivers/scsi/wd7000.cstatic void wd7000_append_info( char *info, const char *fmt, ... )
info581drivers/scsi/wd7000.cvsprintf(info, fmt, args);
info590drivers/scsi/wd7000.cstatic char info[80] = "Western Digital WD-7000, Firmware Revision ";
info593drivers/scsi/wd7000.cwd7000_append_info( info+strlen(info), "%d.%d.\n", rev_1, rev_2 );
info595drivers/scsi/wd7000.creturn info;
info82drivers/sound/dev_table.hstruct synth_info *info;
info99drivers/sound/dev_table.hint (*pmgr_interface) (int dev, struct patmgr_info *info);
info103drivers/sound/dev_table.hstruct midi_info info;
info121drivers/sound/dev_table.hstruct midi_info info;
info867drivers/sound/sequencer.cIOCTL_TO_USER ((char *) arg, 0, (char *) &(midi_devs[dev]->info), sizeof (inf));
info166drivers/sound/sound_switch.cif (!put_status(synth_devs[i]->info->name))return;
info177drivers/sound/sound_switch.cif (!put_status(midi_devs[i]->info.name))return;
info64fs/minix/dir.cstruct minix_sb_info * info;
info68fs/minix/dir.cinfo = &inode->i_sb->u.minix_sb;
info69fs/minix/dir.cif (filp->f_pos & (info->s_dirsize - 1))
info80fs/minix/dir.coffset += info->s_dirsize;
info81fs/minix/dir.cfilp->f_pos += info->s_dirsize;
info83fs/minix/dir.cfor (i = 0; i < info->s_namelen; i++)
info46fs/minix/namei.cstruct minix_sb_info * info)
info51fs/minix/namei.c*offset += info->s_dirsize;
info52fs/minix/namei.cif (!de->inode || len > info->s_namelen)
info57fs/minix/namei.creturn namecompare(len,info->s_namelen,name,de->name);
info73fs/minix/namei.cstruct minix_sb_info * info;
info78fs/minix/namei.cinfo = &dir->i_sb->u.minix_sb;
info79fs/minix/namei.cif (namelen > info->s_namelen) {
info83fs/minix/namei.cnamelen = info->s_namelen;
info97fs/minix/namei.cif (minix_match(namelen,name,bh,&offset,info))
info158fs/minix/namei.cstruct minix_sb_info * info;
info164fs/minix/namei.cinfo = &dir->i_sb->u.minix_sb;
info165fs/minix/namei.cif (namelen > info->s_namelen) {
info169fs/minix/namei.cnamelen = info->s_namelen;
info183fs/minix/namei.coffset += info->s_dirsize;
info190fs/minix/namei.cif (namecompare(namelen, info->s_namelen, name, de->name)) {
info196fs/minix/namei.cfor (i = 0; i < info->s_namelen ; i++)
info311fs/minix/namei.cstruct minix_sb_info * info;
info317fs/minix/namei.cinfo = &dir->i_sb->u.minix_sb;
info334fs/minix/namei.cinode->i_size = 2 * info->s_dirsize;
info346fs/minix/namei.cde = (struct minix_dir_entry *) (dir_block->b_data + info->s_dirsize);
info381fs/minix/namei.cstruct minix_sb_info * info;
info385fs/minix/namei.cinfo = &inode->i_sb->u.minix_sb;
info388fs/minix/namei.coffset = 2*info->s_dirsize;
info389fs/minix/namei.cif (inode->i_size & (info->s_dirsize-1))
info399fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + info->s_dirsize);
info411fs/minix/namei.coffset += info->s_dirsize;
info659fs/minix/namei.c(((struct minix_dir_entry *) ((buffer)+info->s_dirsize))->inode)
info677fs/minix/namei.cstruct minix_sb_info * info;
info680fs/minix/namei.cinfo = &old_dir->i_sb->u.minix_sb;
info105include/linux/elf.hint info;
info110include/linux/elf.hint info;
info136include/linux/sched.hstruct info  *info;
info17kernel/info.casmlinkage int sys_sysinfo(struct sysinfo *info)
info23kernel/info.cerror = verify_area(VERIFY_WRITE, info, sizeof(struct sysinfo));
info40kernel/info.cmemcpy_tofs(info, &val, sizeof(struct sysinfo));
info172kernel/sys.cstruct vm86_struct info;
info182kernel/sys.cmemcpy_fromfs(&info,v86,sizeof(info));
info186kernel/sys.cinfo.regs.__null_ds = 0;
info187kernel/sys.cinfo.regs.__null_es = 0;
info188kernel/sys.cinfo.regs.__null_fs = 0;
info189kernel/sys.cinfo.regs.__null_gs = 0;
info195kernel/sys.cinfo.regs.eflags &= 0x00000dd5;
info196kernel/sys.cinfo.regs.eflags |= ~0x00000dd5 & pt_regs->eflags;
info197kernel/sys.cinfo.regs.eflags |= VM_MASK;
info201kernel/sys.ccurrent->screen_bitmap = info.screen_bitmap;
info202kernel/sys.cif (info.flags & VM86_SCREEN_BITMAP)
info208kernel/sys.c:"g" ((long) &(info.regs)),"a" (info.regs.eax));