taglinefilesource code
info104arch/i386/kernel/vm86.cstruct vm86_struct info;
info114arch/i386/kernel/vm86.cmemcpy_fromfs(&info,v86,sizeof(info));
info118arch/i386/kernel/vm86.cinfo.regs.__null_ds = 0;
info119arch/i386/kernel/vm86.cinfo.regs.__null_es = 0;
info120arch/i386/kernel/vm86.cinfo.regs.__null_fs = 0;
info121arch/i386/kernel/vm86.cinfo.regs.__null_gs = 0;
info127arch/i386/kernel/vm86.cVEFLAGS = info.regs.eflags;
info128arch/i386/kernel/vm86.cinfo.regs.eflags &= SAFE_MASK;
info129arch/i386/kernel/vm86.cinfo.regs.eflags |= pt_regs->eflags & ~SAFE_MASK;
info130arch/i386/kernel/vm86.cinfo.regs.eflags |= VM_MASK;
info132arch/i386/kernel/vm86.cswitch (info.cpu_type) {
info155arch/i386/kernel/vm86.ccurrent->tss.screen_bitmap = info.screen_bitmap;
info156arch/i386/kernel/vm86.cif (info.flags & VM86_SCREEN_BITMAP)
info161arch/i386/kernel/vm86.c:"r" (&info.regs));
info679arch/i386/math-emu/fpu_entry.cvoid math_abort(struct info * info, unsigned int signal)
info686arch/i386/math-emu/fpu_entry.c__asm__("movl %0,%%esp ; ret": :"g" (((long) info)-4));
info55arch/i386/math-emu/fpu_proto.hextern void math_abort(struct info *info, unsigned int signal);
info21arch/i386/math-emu/fpu_system.h#define SETUP_DATA_AREA(arg)    FPU_info = (struct info *) &arg
info37arch/i386/math-emu/fpu_system.h#define FPU_info    (I387.soft.info)
info34arch/i386/math-emu/get_address.coffsetof(struct info,___eax),
info35arch/i386/math-emu/get_address.coffsetof(struct info,___ecx),
info36arch/i386/math-emu/get_address.coffsetof(struct info,___edx),
info37arch/i386/math-emu/get_address.coffsetof(struct info,___ebx),
info38arch/i386/math-emu/get_address.coffsetof(struct info,___esp),
info39arch/i386/math-emu/get_address.coffsetof(struct info,___ebp),
info40arch/i386/math-emu/get_address.coffsetof(struct info,___esi),
info41arch/i386/math-emu/get_address.coffsetof(struct info,___edi)
info47arch/i386/math-emu/get_address.coffsetof(struct info,___cs),
info48arch/i386/math-emu/get_address.coffsetof(struct info,___vm86_ds),
info49arch/i386/math-emu/get_address.coffsetof(struct info,___vm86_es),
info50arch/i386/math-emu/get_address.coffsetof(struct info,___vm86_fs),
info51arch/i386/math-emu/get_address.coffsetof(struct info,___vm86_gs),
info52arch/i386/math-emu/get_address.coffsetof(struct info,___ss),
info53arch/i386/math-emu/get_address.coffsetof(struct info,___vm86_ds)
info60arch/i386/math-emu/get_address.coffsetof(struct info,___cs),
info61arch/i386/math-emu/get_address.coffsetof(struct info,___ds),
info62arch/i386/math-emu/get_address.coffsetof(struct info,___es),
info63arch/i386/math-emu/get_address.coffsetof(struct info,___fs),
info64arch/i386/math-emu/get_address.coffsetof(struct info,___gs),
info65arch/i386/math-emu/get_address.coffsetof(struct info,___ss),
info66arch/i386/math-emu/get_address.coffsetof(struct info,___ds)
info71drivers/block/ide-cd.cbyte info[4];
info332drivers/block/ide-cd.cstruct cdrom_info *info = &cdrom_info[dev->hwif][dev->select.b.drive];
info343drivers/block/ide-cd.cif (info->sector_buffer == NULL)
info345drivers/block/ide-cd.cinfo->sector_buffer = (char *) kmalloc (SECTOR_BUFFER_SIZE, GFP_ATOMIC);
info348drivers/block/ide-cd.cif (info->sector_buffer == NULL)
info353drivers/block/ide-cd.cinfo->sector_buffered = sector;
info354drivers/block/ide-cd.cinfo->nsectors_buffered = sectors_to_buffer;
info357drivers/block/ide-cd.cdest = info->sector_buffer;
info537drivers/block/ide-cd.cstruct cdrom_info *info = &cdrom_info[dev->hwif][dev->select.b.drive];
info541drivers/block/ide-cd.cif (info->sector_buffer == NULL) return 0;
info546drivers/block/ide-cd.crq->sector >= info->sector_buffered &&
info547drivers/block/ide-cd.crq->sector < info->sector_buffered + info->nsectors_buffered)
info553drivers/block/ide-cd.cinfo->sector_buffer +
info554drivers/block/ide-cd.c(rq->sector - info->sector_buffered) * SECTOR_SIZE,
info394drivers/char/cyclades.cserial_paranoia_check(struct cyclades_port *info,
info405drivers/char/cyclades.cif (!info) {
info410drivers/char/cyclades.cif( (long)info < (long)(&cy_port[0])
info411drivers/char/cyclades.c|| (long)(&cy_port[NR_PORTS]) < (long)info ){
info416drivers/char/cyclades.cif (info->magic != CYCLADES_MAGIC) {
info490drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info496drivers/char/cyclades.cprintk("cy_stop ttyC%d\n", info->line); /* */
info499drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_stop"))
info502drivers/char/cyclades.ccinfo = &cy_card[info->card];
info503drivers/char/cyclades.cchannel = info->line - cinfo->first_line;
info507drivers/char/cyclades.c(cy_card[info->card].base_addr + cy_chip_offset[chip]);
info521drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info527drivers/char/cyclades.cprintk("cy_start ttyC%d\n", info->line); /* */
info530drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_start"))
info533drivers/char/cyclades.ccinfo = &cy_card[info->card];
info534drivers/char/cyclades.cchannel = info->line - cinfo->first_line;
info538drivers/char/cyclades.c(cy_card[info->card].base_addr + cy_chip_offset[chip]);
info556drivers/char/cyclades.ccy_sched_event(struct cyclades_port *info, int event)
info558drivers/char/cyclades.cinfo->event |= 1 << event; /* remember what kind of event and who */
info559drivers/char/cyclades.cqueue_task_irq_off(&info->tqueue, &tq_cyclades); /* it belongs to */
info587drivers/char/cyclades.cstruct cyclades_port *info;
info632drivers/char/cyclades.cinfo = &cy_port[i];
info633drivers/char/cyclades.cinfo->last_active = jiffies;
info638drivers/char/cyclades.cif(info->tty == 0){
info649drivers/char/cyclades.ctty = info->tty;
info653drivers/char/cyclades.cif(data & info->ignore_status_mask){
info658drivers/char/cyclades.cif (data & info->read_status_mask){
info664drivers/char/cyclades.cif (info->flags & ASYNC_SAK){
info713drivers/char/cyclades.c++info->mon.int_count;
info714drivers/char/cyclades.cinfo->mon.char_count += char_count;
info715drivers/char/cyclades.cif (char_count > info->mon.char_max)
info716drivers/char/cyclades.cinfo->mon.char_max = char_count;
info717drivers/char/cyclades.cinfo->mon.char_last = char_count;
info756drivers/char/cyclades.cinfo = &cy_port[i];
info757drivers/char/cyclades.cinfo->last_active = jiffies;
info758drivers/char/cyclades.cif(info->tty == 0){
info764drivers/char/cyclades.cchar_count = info->xmit_fifo_size;
info767drivers/char/cyclades.cif(info->x_char) { /* send special char */
info768drivers/char/cyclades.coutch = info->x_char;
info771drivers/char/cyclades.cinfo->x_char = 0;
info774drivers/char/cyclades.cif (info->x_break){
info787drivers/char/cyclades.cbase_addr[CyTDR] = info->x_break*200/HZ;
info791drivers/char/cyclades.cinfo->x_break = 0;
info795drivers/char/cyclades.cif (!info->xmit_cnt){
info799drivers/char/cyclades.cif (info->xmit_buf == 0){
info803drivers/char/cyclades.cif (info->tty->stopped || info->tty->hw_stopped){
info818drivers/char/cyclades.coutch = info->xmit_buf[info->xmit_tail];
info820drivers/char/cyclades.cinfo->xmit_cnt--;
info821drivers/char/cyclades.cinfo->xmit_tail = (info->xmit_tail + 1)
info826drivers/char/cyclades.cinfo->xmit_cnt--;
info827drivers/char/cyclades.cinfo->xmit_tail = (info->xmit_tail + 1)
info838drivers/char/cyclades.cif (info->xmit_cnt < WAKEUP_CHARS) {
info839drivers/char/cyclades.ccy_sched_event(info, Cy_EVENT_WRITE_WAKEUP);
info853drivers/char/cyclades.cinfo = &cy_port[channel + chip * 4 + cinfo->first_line];
info854drivers/char/cyclades.cinfo->last_active = jiffies;
info861drivers/char/cyclades.cif(info->tty == 0){ /* nowhere to put the data, ignore it */
info865drivers/char/cyclades.c&& (info->flags & ASYNC_CHECK_CD)){
info868drivers/char/cyclades.ccy_sched_event(info, Cy_EVENT_OPEN_WAKEUP);
info869drivers/char/cyclades.c}else if(!((info->flags & ASYNC_CALLOUT_ACTIVE)
info870drivers/char/cyclades.c&&(info->flags & ASYNC_CALLOUT_NOHUP))){
info872drivers/char/cyclades.ccy_sched_event(info, Cy_EVENT_HANGUP);
info876drivers/char/cyclades.c&& (info->flags & ASYNC_CTS_FLOW)){
info877drivers/char/cyclades.cif(info->tty->stopped){
info880drivers/char/cyclades.cinfo->tty->stopped = 0;
info882drivers/char/cyclades.ccy_sched_event(info, Cy_EVENT_WRITE_WAKEUP);
info887drivers/char/cyclades.cinfo->tty->stopped = 1;
info942drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *) private_;
info945drivers/char/cyclades.ctty = info->tty;
info949drivers/char/cyclades.cif (clear_bit(Cy_EVENT_HANGUP, &info->event)) {
info950drivers/char/cyclades.ctty_hangup(info->tty);
info951drivers/char/cyclades.cwake_up_interruptible(&info->open_wait);
info952drivers/char/cyclades.cinfo->flags &= ~(ASYNC_NORMAL_ACTIVE|
info955drivers/char/cyclades.cif (clear_bit(Cy_EVENT_OPEN_WAKEUP, &info->event)) {
info956drivers/char/cyclades.cwake_up_interruptible(&info->open_wait);
info958drivers/char/cyclades.cif (clear_bit(Cy_EVENT_WRITE_WAKEUP, &info->event)) {
info1138drivers/char/cyclades.cstartup(struct cyclades_port * info)
info1144drivers/char/cyclades.cif (info->flags & ASYNC_INITIALIZED){
info1148drivers/char/cyclades.cif (!info->type){
info1149drivers/char/cyclades.cif (info->tty){
info1150drivers/char/cyclades.cset_bit(TTY_IO_ERROR, &info->tty->flags);
info1154drivers/char/cyclades.cif (!info->xmit_buf){
info1155drivers/char/cyclades.cinfo->xmit_buf = (unsigned char *) get_free_page (GFP_KERNEL);
info1156drivers/char/cyclades.cif (!info->xmit_buf){
info1161drivers/char/cyclades.cconfig_setup(info);
info1163drivers/char/cyclades.ccard = info->card;
info1164drivers/char/cyclades.cchannel = (info->line) - (cy_card[card].first_line);
info1178drivers/char/cyclades.cbase_addr[CyRTPR] = (info->default_timeout
info1179drivers/char/cyclades.c? info->default_timeout
info1195drivers/char/cyclades.cinfo->flags |= ASYNC_INITIALIZED;
info1197drivers/char/cyclades.cif (info->tty){
info1198drivers/char/cyclades.cclear_bit(TTY_IO_ERROR, &info->tty->flags);
info1200drivers/char/cyclades.cinfo->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
info1211drivers/char/cyclades.cstart_xmit( struct cyclades_port *info )
info1217drivers/char/cyclades.ccard = info->card;
info1218drivers/char/cyclades.cchannel = (info->line) - (cy_card[card].first_line);
info1234drivers/char/cyclades.cshutdown(struct cyclades_port * info)
info1240drivers/char/cyclades.cif (!(info->flags & ASYNC_INITIALIZED)){
info1245drivers/char/cyclades.ccard = info->card;
info1246drivers/char/cyclades.cchannel = info->line - cy_card[card].first_line;
info1264drivers/char/cyclades.cif (info->xmit_buf){
info1265drivers/char/cyclades.cfree_page((unsigned long) info->xmit_buf);
info1266drivers/char/cyclades.cinfo->xmit_buf = 0;
info1270drivers/char/cyclades.cif (!info->tty || (info->tty->termios->c_cflag & HUPCL)) {
info1283drivers/char/cyclades.cif (info->tty){
info1284drivers/char/cyclades.cset_bit(TTY_IO_ERROR, &info->tty->flags);
info1286drivers/char/cyclades.cinfo->flags &= ~ASYNC_INITIALIZED;
info1299drivers/char/cyclades.cconfig_setup(struct cyclades_port * info)
info1307drivers/char/cyclades.cif (!info->tty || !info->tty->termios){
info1310drivers/char/cyclades.cif (info->line == -1){
info1313drivers/char/cyclades.ccflag = info->tty->termios->c_cflag;
info1336drivers/char/cyclades.cinfo->tty->termios->c_cflag &= ~CBAUDEX;
info1340drivers/char/cyclades.cif ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_HI)
info1342drivers/char/cyclades.cif ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_VHI)
info1345drivers/char/cyclades.cinfo->tbpr = baud_bpr[i]; /* Tx BPR */
info1346drivers/char/cyclades.cinfo->tco = baud_co[i]; /* Tx CO */
info1347drivers/char/cyclades.cinfo->rbpr = baud_bpr[i]; /* Rx BPR */
info1348drivers/char/cyclades.cinfo->rco = baud_co[i]; /* Rx CO */
info1350drivers/char/cyclades.cinfo->timeout = (info->xmit_fifo_size*HZ*30/269) + 2;
info1353drivers/char/cyclades.cinfo->timeout = (info->xmit_fifo_size*HZ*15/baud_table[i]) + 2;
info1356drivers/char/cyclades.cinfo->timeout = 0;
info1363drivers/char/cyclades.cinfo->cor5 = 0;
info1364drivers/char/cyclades.cinfo->cor4 = 0;
info1365drivers/char/cyclades.cinfo->cor3 = (info->default_threshold
info1366drivers/char/cyclades.c? info->default_threshold
info1368drivers/char/cyclades.cinfo->cor2 = CyETC;
info1371drivers/char/cyclades.cinfo->cor1 = Cy_5_BITS;
info1374drivers/char/cyclades.cinfo->cor1 = Cy_6_BITS;
info1377drivers/char/cyclades.cinfo->cor1 = Cy_7_BITS;
info1380drivers/char/cyclades.cinfo->cor1 = Cy_8_BITS;
info1384drivers/char/cyclades.cinfo->cor1 |= Cy_2_STOP;
info1388drivers/char/cyclades.cinfo->cor1 |= CyPARITY_O;
info1390drivers/char/cyclades.cinfo->cor1 |= CyPARITY_E;
info1393drivers/char/cyclades.cinfo->cor1 |= CyPARITY_NONE;
info1398drivers/char/cyclades.cinfo->flags |= ASYNC_CTS_FLOW;
info1399drivers/char/cyclades.cinfo->cor2 |= CyCtsAE;
info1401drivers/char/cyclades.cinfo->flags &= ~ASYNC_CTS_FLOW;
info1402drivers/char/cyclades.cinfo->cor2 &= ~CyCtsAE;
info1405drivers/char/cyclades.cinfo->flags &= ~ASYNC_CHECK_CD;
info1407drivers/char/cyclades.cinfo->flags |= ASYNC_CHECK_CD;
info1419drivers/char/cyclades.ccard = info->card;
info1420drivers/char/cyclades.cchannel = (info->line) - (cy_card[card].first_line);
info1431drivers/char/cyclades.cbase_addr[CyTCOR] = info->tco;
info1432drivers/char/cyclades.cbase_addr[CyTBPR] = info->tbpr;
info1433drivers/char/cyclades.cbase_addr[CyRCOR] = info->rco;
info1434drivers/char/cyclades.cbase_addr[CyRBPR] = info->rbpr;
info1438drivers/char/cyclades.cbase_addr[CySCHR1] = START_CHAR(info->tty);
info1439drivers/char/cyclades.cbase_addr[CySCHR2] = STOP_CHAR(info->tty);
info1440drivers/char/cyclades.cbase_addr[CyCOR1] = info->cor1;
info1441drivers/char/cyclades.cbase_addr[CyCOR2] = info->cor2;
info1442drivers/char/cyclades.cbase_addr[CyCOR3] = info->cor3;
info1443drivers/char/cyclades.cbase_addr[CyCOR4] = info->cor4;
info1444drivers/char/cyclades.cbase_addr[CyCOR5] = info->cor5;
info1450drivers/char/cyclades.cbase_addr[CyRTPR] = (info->default_timeout
info1451drivers/char/cyclades.c? info->default_timeout
info1454drivers/char/cyclades.cif (C_CLOCAL(info->tty)) {
info1482drivers/char/cyclades.cif (info->tty){
info1483drivers/char/cyclades.cclear_bit(TTY_IO_ERROR, &info->tty->flags);
info1494drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info1498drivers/char/cyclades.cprintk("cy_put_char ttyC%d\n", info->line);
info1501drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_put_char"))
info1504drivers/char/cyclades.cif (!tty || !info->xmit_buf)
info1508drivers/char/cyclades.cif (info->xmit_cnt >= PAGE_SIZE - 1) {
info1513drivers/char/cyclades.cinfo->xmit_buf[info->xmit_head++] = ch;
info1514drivers/char/cyclades.cinfo->xmit_head &= PAGE_SIZE - 1;
info1515drivers/char/cyclades.cinfo->xmit_cnt++;
info1523drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info1529drivers/char/cyclades.cprintk("cy_flush_chars ttyC%d\n", info->line); /* */
info1532drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_flush_chars"))
info1535drivers/char/cyclades.cif (info->xmit_cnt <= 0 || tty->stopped
info1536drivers/char/cyclades.c|| tty->hw_stopped || !info->xmit_buf)
info1539drivers/char/cyclades.ccard = info->card;
info1540drivers/char/cyclades.cchannel = info->line - cy_card[card].first_line;
info1563drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info1568drivers/char/cyclades.cprintk("cy_write ttyC%d\n", info->line); /* */
info1571drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_write")){
info1575drivers/char/cyclades.cif (!tty || !info->xmit_buf || !tmp_buf){
info1581drivers/char/cyclades.cc = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
info1582drivers/char/cyclades.cSERIAL_XMIT_SIZE - info->xmit_head));
info1591drivers/char/cyclades.cc = MIN(c, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
info1592drivers/char/cyclades.cSERIAL_XMIT_SIZE - info->xmit_head));
info1593drivers/char/cyclades.cmemcpy(info->xmit_buf + info->xmit_head, tmp_buf, c);
info1596drivers/char/cyclades.cmemcpy(info->xmit_buf + info->xmit_head, buf, c);
info1597drivers/char/cyclades.cinfo->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1);
info1598drivers/char/cyclades.cinfo->xmit_cnt += c;
info1606drivers/char/cyclades.cif (info->xmit_cnt
info1609drivers/char/cyclades.cstart_xmit(info);
info1618drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info1622drivers/char/cyclades.cprintk("cy_write_room ttyC%d\n", info->line); /* */
info1625drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_write_room"))
info1627drivers/char/cyclades.cret = PAGE_SIZE - info->xmit_cnt - 1;
info1637drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info1640drivers/char/cyclades.cprintk("cy_chars_in_buffer ttyC%d %d\n", info->line, info->xmit_cnt); /* */
info1643drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_chars_in_buffer"))
info1646drivers/char/cyclades.creturn info->xmit_cnt;
info1653drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info1657drivers/char/cyclades.cprintk("cy_flush_buffer ttyC%d\n", info->line); /* */
info1660drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_flush_buffer"))
info1663drivers/char/cyclades.cinfo->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
info1679drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info1689drivers/char/cyclades.cprintk("cy_throttle ttyC%d\n", info->line);
info1692drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_nthrottle")){
info1697drivers/char/cyclades.cinfo->x_char = STOP_CHAR(tty);
info1701drivers/char/cyclades.ccard = info->card;
info1702drivers/char/cyclades.cchannel = info->line - cy_card[card].first_line;
info1720drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info1730drivers/char/cyclades.cprintk("cy_unthrottle ttyC%d\n", info->line);
info1733drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_nthrottle")){
info1738drivers/char/cyclades.cinfo->x_char = START_CHAR(tty);
info1742drivers/char/cyclades.ccard = info->card;
info1743drivers/char/cyclades.cchannel = info->line - cy_card[card].first_line;
info1758drivers/char/cyclades.cget_serial_info(struct cyclades_port * info,
info1762drivers/char/cyclades.cstruct cyclades_card *cinfo = &cy_card[info->card];
info1768drivers/char/cyclades.ctmp.type = info->type;
info1769drivers/char/cyclades.ctmp.line = info->line;
info1770drivers/char/cyclades.ctmp.port = info->card * 0x100 + info->line - cinfo->first_line;
info1772drivers/char/cyclades.ctmp.flags = info->flags;
info1774drivers/char/cyclades.ctmp.close_delay = info->close_delay;
info1782drivers/char/cyclades.cset_serial_info(struct cyclades_port * info,
info1792drivers/char/cyclades.cold_info = *info;
info1795drivers/char/cyclades.cif ((new_serial.close_delay != info->close_delay) ||
info1797drivers/char/cyclades.c(info->flags & ASYNC_FLAGS & ~ASYNC_USR_MASK)))
info1799drivers/char/cyclades.cinfo->flags = ((info->flags & ~ASYNC_USR_MASK) |
info1810drivers/char/cyclades.cinfo->flags = ((info->flags & ~ASYNC_FLAGS) |
info1812drivers/char/cyclades.cinfo->close_delay = new_serial.close_delay;
info1816drivers/char/cyclades.cif (info->flags & ASYNC_INITIALIZED){
info1817drivers/char/cyclades.cconfig_setup(info);
info1820drivers/char/cyclades.creturn startup(info);
info1825drivers/char/cyclades.cget_modem_info(struct cyclades_port * info, unsigned int *value)
info1833drivers/char/cyclades.ccard = info->card;
info1834drivers/char/cyclades.cchannel = (info->line) - (cy_card[card].first_line);
info1856drivers/char/cyclades.cset_modem_info(struct cyclades_port * info, unsigned int cmd,
info1864drivers/char/cyclades.ccard = info->card;
info1865drivers/char/cyclades.cchannel = (info->line) - (cy_card[card].first_line);
info1951drivers/char/cyclades.csend_break( struct cyclades_port * info, int duration)
info1955drivers/char/cyclades.cinfo->x_break = duration;
info1956drivers/char/cyclades.cif (!info->xmit_cnt ) {
info1957drivers/char/cyclades.cstart_xmit(info);
info1962drivers/char/cyclades.cget_mon_info(struct cyclades_port * info, struct cyclades_monitor * mon)
info1965drivers/char/cyclades.cmemcpy_tofs(mon, &info->mon, sizeof(struct cyclades_monitor));
info1966drivers/char/cyclades.cinfo->mon.int_count  = 0;
info1967drivers/char/cyclades.cinfo->mon.char_count = 0;
info1968drivers/char/cyclades.cinfo->mon.char_max   = 0;
info1969drivers/char/cyclades.cinfo->mon.char_last  = 0;
info1974drivers/char/cyclades.cset_threshold(struct cyclades_port * info, unsigned long value)
info1979drivers/char/cyclades.ccard = info->card;
info1980drivers/char/cyclades.cchannel = info->line - cy_card[card].first_line;
info1986drivers/char/cyclades.cinfo->cor3 &= ~CyREC_FIFO;
info1987drivers/char/cyclades.cinfo->cor3 |= value & CyREC_FIFO;
info1988drivers/char/cyclades.cbase_addr[CyCOR3] = info->cor3;
info1994drivers/char/cyclades.cget_threshold(struct cyclades_port * info, unsigned long *value)
info2000drivers/char/cyclades.ccard = info->card;
info2001drivers/char/cyclades.cchannel = info->line - cy_card[card].first_line;
info2013drivers/char/cyclades.cset_default_threshold(struct cyclades_port * info, unsigned long value)
info2015drivers/char/cyclades.cinfo->default_threshold = value & 0x0f;
info2020drivers/char/cyclades.cget_default_threshold(struct cyclades_port * info, unsigned long *value)
info2022drivers/char/cyclades.cput_fs_long(info->default_threshold,value);
info2027drivers/char/cyclades.cset_timeout(struct cyclades_port * info, unsigned long value)
info2032drivers/char/cyclades.ccard = info->card;
info2033drivers/char/cyclades.cchannel = info->line - cy_card[card].first_line;
info2044drivers/char/cyclades.cget_timeout(struct cyclades_port * info, unsigned long *value)
info2050drivers/char/cyclades.ccard = info->card;
info2051drivers/char/cyclades.cchannel = info->line - cy_card[card].first_line;
info2063drivers/char/cyclades.cset_default_timeout(struct cyclades_port * info, unsigned long value)
info2065drivers/char/cyclades.cinfo->default_timeout = value & 0xff;
info2070drivers/char/cyclades.cget_default_timeout(struct cyclades_port * info, unsigned long *value)
info2072drivers/char/cyclades.cput_fs_long(info->default_timeout,value);
info2081drivers/char/cyclades.cstruct cyclades_port * info = (struct cyclades_port *)tty->driver_data;
info2085drivers/char/cyclades.cprintk("cy_ioctl ttyC%d, cmd = %x arg = %lx\n", info->line, cmd, arg); /* */
info2096drivers/char/cyclades.cret_val = get_mon_info(info, (struct cyclades_monitor *)arg);
info2105drivers/char/cyclades.cret_val = get_threshold(info, (unsigned long *)arg);
info2108drivers/char/cyclades.cret_val = set_threshold(info, (unsigned long)arg);
info2117drivers/char/cyclades.cret_val = get_default_threshold(info, (unsigned long *)arg);
info2120drivers/char/cyclades.cret_val = set_default_threshold(info, (unsigned long)arg);
info2129drivers/char/cyclades.cret_val = get_timeout(info, (unsigned long *)arg);
info2132drivers/char/cyclades.cret_val = set_timeout(info, (unsigned long)arg);
info2141drivers/char/cyclades.cret_val = get_default_timeout(info, (unsigned long *)arg);
info2144drivers/char/cyclades.cret_val = set_default_timeout(info, (unsigned long)arg);
info2152drivers/char/cyclades.csend_break(info, HZ/4); /* 1/4 second */
info2159drivers/char/cyclades.csend_break(info, arg ? arg*(HZ/10) : HZ/4);
info2164drivers/char/cyclades.cret_val = set_modem_info(info, cmd, (unsigned int *) arg);
info2191drivers/char/cyclades.cret_val = get_modem_info(info, (unsigned int *) arg);
info2200drivers/char/cyclades.cret_val = get_serial_info(info,
info2204drivers/char/cyclades.cret_val = set_serial_info(info,
info2224drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info2227drivers/char/cyclades.cprintk("cy_set_termios ttyC%d\n", info->line);
info2232drivers/char/cyclades.cconfig_setup(info);
info2242drivers/char/cyclades.cwake_up_interruptible(&info->open_wait);
info2252drivers/char/cyclades.cstruct cyclades_port * info = (struct cyclades_port *)tty->driver_data;
info2256drivers/char/cyclades.cprintk("cy_close ttyC%d\n", info->line);
info2259drivers/char/cyclades.cif (!info
info2260drivers/char/cyclades.c|| serial_paranoia_check(info, tty->device, "cy_close")){
info2264drivers/char/cyclades.cprintk("cy_close ttyC%d, count = %d\n", info->line, info->count);
info2267drivers/char/cyclades.cif ((tty->count == 1) && (info->count != 1)) {
info2276drivers/char/cyclades.c"info->count is %d\n", info->count);
info2277drivers/char/cyclades.cinfo->count = 1;
info2280drivers/char/cyclades.cprintk("cyc: %d: decrementing count to %d\n", __LINE__, info->count - 1);
info2282drivers/char/cyclades.cif (--info->count < 0) {
info2284drivers/char/cyclades.cinfo->line, info->count);
info2288drivers/char/cyclades.cinfo->count = 0;
info2290drivers/char/cyclades.cif (info->count)
info2292drivers/char/cyclades.cinfo->flags |= ASYNC_CLOSING;
info2297drivers/char/cyclades.cif (info->flags & ASYNC_NORMAL_ACTIVE)
info2298drivers/char/cyclades.cinfo->normal_termios = *tty->termios;
info2299drivers/char/cyclades.cif (info->flags & ASYNC_CALLOUT_ACTIVE)
info2300drivers/char/cyclades.cinfo->callout_termios = *tty->termios;
info2301drivers/char/cyclades.cif (info->flags & ASYNC_INITIALIZED)
info2303drivers/char/cyclades.cshutdown(info);
info2308drivers/char/cyclades.cinfo->event = 0;
info2309drivers/char/cyclades.cinfo->tty = 0;
info2318drivers/char/cyclades.cif (info->blocked_open) {
info2319drivers/char/cyclades.cif (info->close_delay) {
info2321drivers/char/cyclades.ccurrent->timeout = jiffies + info->close_delay;
info2324drivers/char/cyclades.cwake_up_interruptible(&info->open_wait);
info2326drivers/char/cyclades.cinfo->flags &= ~(ASYNC_NORMAL_ACTIVE|ASYNC_CALLOUT_ACTIVE|
info2328drivers/char/cyclades.cwake_up_interruptible(&info->close_wait);
info2343drivers/char/cyclades.cstruct cyclades_port * info = (struct cyclades_port *)tty->driver_data;
info2346drivers/char/cyclades.cprintk("cy_hangup ttyC%d\n", info->line); /* */
info2349drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_hangup"))
info2352drivers/char/cyclades.cshutdown(info);
info2354drivers/char/cyclades.cinfo->event = 0;
info2355drivers/char/cyclades.cinfo->count = 0;
info2359drivers/char/cyclades.cinfo->tty = 0;
info2361drivers/char/cyclades.cinfo->flags &= ~(ASYNC_NORMAL_ACTIVE|ASYNC_CALLOUT_ACTIVE);
info2362drivers/char/cyclades.cwake_up_interruptible(&info->open_wait);
info2375drivers/char/cyclades.cstruct cyclades_port *info)
info2388drivers/char/cyclades.cif (info->flags & ASYNC_CLOSING) {
info2389drivers/char/cyclades.cinterruptible_sleep_on(&info->close_wait);
info2390drivers/char/cyclades.cif (info->flags & ASYNC_HUP_NOTIFY){
info2402drivers/char/cyclades.cif (info->flags & ASYNC_NORMAL_ACTIVE){
info2405drivers/char/cyclades.cif ((info->flags & ASYNC_CALLOUT_ACTIVE) &&
info2406drivers/char/cyclades.c(info->flags & ASYNC_SESSION_LOCKOUT) &&
info2407drivers/char/cyclades.c(info->session != current->session)){
info2410drivers/char/cyclades.cif ((info->flags & ASYNC_CALLOUT_ACTIVE) &&
info2411drivers/char/cyclades.c(info->flags & ASYNC_PGRP_LOCKOUT) &&
info2412drivers/char/cyclades.c(info->pgrp != current->pgrp)){
info2415drivers/char/cyclades.cinfo->flags |= ASYNC_CALLOUT_ACTIVE;
info2424drivers/char/cyclades.cif (info->flags & ASYNC_CALLOUT_ACTIVE){
info2427drivers/char/cyclades.cinfo->flags |= ASYNC_NORMAL_ACTIVE;
info2439drivers/char/cyclades.cadd_wait_queue(&info->open_wait, &wait);
info2442drivers/char/cyclades.cinfo->line, info->count);/**/
info2444drivers/char/cyclades.cinfo->count--;
info2446drivers/char/cyclades.cprintk("cyc: %d: decrementing count to %d\n", __LINE__, info->count);
info2448drivers/char/cyclades.cinfo->blocked_open++;
info2450drivers/char/cyclades.ccinfo = &cy_card[info->card];
info2451drivers/char/cyclades.cchannel = info->line - cinfo->first_line;
info2458drivers/char/cyclades.cif (!(info->flags & ASYNC_CALLOUT_ACTIVE)){
info2471drivers/char/cyclades.c|| !(info->flags & ASYNC_INITIALIZED) ){
info2472drivers/char/cyclades.cif (info->flags & ASYNC_HUP_NOTIFY) {
info2482drivers/char/cyclades.cif (!(info->flags & ASYNC_CALLOUT_ACTIVE)
info2483drivers/char/cyclades.c&& !(info->flags & ASYNC_CLOSING)
info2496drivers/char/cyclades.cinfo->line, info->count);/**/
info2501drivers/char/cyclades.cremove_wait_queue(&info->open_wait, &wait);
info2503drivers/char/cyclades.cinfo->count++;
info2505drivers/char/cyclades.cprintk("cyc: %d: incrementing count to %d\n", __LINE__, info->count);
info2508drivers/char/cyclades.cinfo->blocked_open--;
info2511drivers/char/cyclades.cinfo->line, info->count);/**/
info2515drivers/char/cyclades.cinfo->flags |= ASYNC_NORMAL_ACTIVE;
info2526drivers/char/cyclades.cstruct cyclades_port  *info;
info2534drivers/char/cyclades.cinfo = &cy_port[line];
info2535drivers/char/cyclades.cif (info->line < 0){
info2539drivers/char/cyclades.cprintk("cy_open ttyC%d\n", info->line); /* */
info2541drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_open")){
info2545drivers/char/cyclades.cprintk("cy_open ttyC%d, count = %d\n", info->line, info->count);/**/
info2547drivers/char/cyclades.cinfo->count++;
info2549drivers/char/cyclades.cprintk("cyc: %d: incrementing count to %d\n", __LINE__, info->count);
info2551drivers/char/cyclades.ctty->driver_data = info;
info2552drivers/char/cyclades.cinfo->tty = tty;
info2561drivers/char/cyclades.cif ((info->count == 1) && (info->flags & ASYNC_SPLIT_TERMIOS)) {
info2563drivers/char/cyclades.c*tty->termios = info->normal_termios;
info2565drivers/char/cyclades.c*tty->termios = info->callout_termios;
info2570drivers/char/cyclades.cretval = startup(info);
info2575drivers/char/cyclades.cretval = block_til_ready(tty, filp, info);
info2584drivers/char/cyclades.cinfo->session = current->session;
info2585drivers/char/cyclades.cinfo->pgrp = current->pgrp;
info2684drivers/char/cyclades.cstruct cyclades_port *info;
info2753drivers/char/cyclades.cinfo = cy_port;
info2788drivers/char/cyclades.cinfo->magic = CYCLADES_MAGIC;
info2789drivers/char/cyclades.cinfo->type = PORT_CIRRUS;
info2790drivers/char/cyclades.cinfo->card = index;
info2791drivers/char/cyclades.cinfo->line = port_num;
info2792drivers/char/cyclades.cinfo->flags = STD_COM_FLAGS;
info2793drivers/char/cyclades.cinfo->tty = 0;
info2794drivers/char/cyclades.cinfo->xmit_fifo_size = 12;
info2795drivers/char/cyclades.cinfo->cor1 = CyPARITY_NONE|Cy_1_STOP|Cy_8_BITS;
info2796drivers/char/cyclades.cinfo->cor2 = CyETC;
info2797drivers/char/cyclades.cinfo->cor3 = 0x08; /* _very_ small receive threshold */
info2798drivers/char/cyclades.cinfo->cor4 = 0;
info2799drivers/char/cyclades.cinfo->cor5 = 0;
info2800drivers/char/cyclades.cinfo->tbpr = baud_bpr[13]; /* Tx BPR */
info2801drivers/char/cyclades.cinfo->tco = baud_co[13]; /* Tx CO */
info2802drivers/char/cyclades.cinfo->rbpr = baud_bpr[13]; /* Rx BPR */
info2803drivers/char/cyclades.cinfo->rco = baud_co[13]; /* Rx CO */
info2804drivers/char/cyclades.cinfo->close_delay = 0;
info2805drivers/char/cyclades.cinfo->x_char = 0;
info2806drivers/char/cyclades.cinfo->event = 0;
info2807drivers/char/cyclades.cinfo->count = 0;
info2811drivers/char/cyclades.cinfo->blocked_open = 0;
info2812drivers/char/cyclades.cinfo->default_threshold = 0;
info2813drivers/char/cyclades.cinfo->default_timeout = 0;
info2814drivers/char/cyclades.cinfo->tqueue.routine = do_softint;
info2815drivers/char/cyclades.cinfo->tqueue.data = info;
info2816drivers/char/cyclades.cinfo->callout_termios =cy_callout_driver.init_termios;
info2817drivers/char/cyclades.cinfo->normal_termios = cy_serial_driver.init_termios;
info2818drivers/char/cyclades.cinfo->open_wait = 0;
info2819drivers/char/cyclades.cinfo->close_wait = 0;
info2823drivers/char/cyclades.cinfo->read_status_mask = CyTIMEOUT| CySPECHAR| CyBREAK
info2827drivers/char/cyclades.cprintk("ttyC%1d ", info->line);
info2828drivers/char/cyclades.cport_num++;info++;
info2839drivers/char/cyclades.cinfo->line = -1;
info2840drivers/char/cyclades.cport_num++;info++;
info2852drivers/char/cyclades.cstruct cyclades_port * info;
info2855drivers/char/cyclades.cinfo = &cy_port[line_num];
info2856drivers/char/cyclades.ccard = info->card;
info2857drivers/char/cyclades.cchannel = (info->line) - (cy_card[card].first_line);
info2869drivers/char/cyclades.cinfo->card, info->line, info->flags);
info2871drivers/char/cyclades.c(long)info->tty, info->read_status_mask,
info2872drivers/char/cyclades.cinfo->timeout, info->xmit_fifo_size);
info2874drivers/char/cyclades.cinfo->cor1, info->cor2, info->cor3, info->cor4, info->cor5);
info2876drivers/char/cyclades.cinfo->tbpr, info->tco, info->rbpr, info->rco);
info2878drivers/char/cyclades.cinfo->close_delay, info->event, info->count);
info2880drivers/char/cyclades.cinfo->x_char, info->blocked_open);
info2882drivers/char/cyclades.cinfo->session, info->pgrp, (long)info->open_wait);
info92drivers/char/serial.cstatic void autoconfig(struct async_struct * info);
info93drivers/char/serial.cstatic void change_speed(struct async_struct *info);
info207drivers/char/serial.cstatic inline int serial_paranoia_check(struct async_struct *info,
info216drivers/char/serial.cif (!info) {
info220drivers/char/serial.cif (info->magic != SERIAL_MAGIC) {
info235drivers/char/serial.cstatic inline unsigned int serial_in(struct async_struct *info, int offset)
info238drivers/char/serial.cif (info->hub6) {
info239drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
info240drivers/char/serial.creturn inb(info->port+1);
info243drivers/char/serial.creturn inb(info->port + offset);
info246drivers/char/serial.cstatic inline unsigned int serial_inp(struct async_struct *info, int offset)
info249drivers/char/serial.cif (info->hub6) {
info250drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
info251drivers/char/serial.creturn inb_p(info->port+1);
info255drivers/char/serial.creturn inb(info->port + offset);
info257drivers/char/serial.creturn inb_p(info->port + offset);
info261drivers/char/serial.cstatic inline void serial_out(struct async_struct *info, int offset, int value)
info264drivers/char/serial.cif (info->hub6) {
info265drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
info266drivers/char/serial.coutb(value, info->port+1);
info269drivers/char/serial.coutb(value, info->port+offset);
info272drivers/char/serial.cstatic inline void serial_outp(struct async_struct *info, int offset,
info276drivers/char/serial.cif (info->hub6) {
info277drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
info278drivers/char/serial.coutb_p(value, info->port+1);
info282drivers/char/serial.coutb(value, info->port+offset);
info284drivers/char/serial.coutb_p(value, info->port+offset);
info298drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info301drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_stop"))
info305drivers/char/serial.cif (info->IER & UART_IER_THRI) {
info306drivers/char/serial.cinfo->IER &= ~UART_IER_THRI;
info307drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info314drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info317drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_start"))
info321drivers/char/serial.cif (info->xmit_cnt && info->xmit_buf && !(info->IER & UART_IER_THRI)) {
info322drivers/char/serial.cinfo->IER |= UART_IER_THRI;
info323drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info364drivers/char/serial.cstatic _INLINE_ void rs_sched_event(struct async_struct *info,
info367drivers/char/serial.cinfo->event |= 1 << event;
info368drivers/char/serial.cqueue_task_irq_off(&info->tqueue, &tq_serial);
info372drivers/char/serial.cstatic _INLINE_ void receive_chars(struct async_struct *info,
info375drivers/char/serial.cstruct tty_struct *tty = info->tty;
info380drivers/char/serial.cch = serial_inp(info, UART_RX);
info381drivers/char/serial.cif (*status & info->ignore_status_mask) {
info392drivers/char/serial.cif (info->flags & ASYNC_SAK)
info404drivers/char/serial.c*status = serial_inp(info, UART_LSR) & info->read_status_mask;
info412drivers/char/serial.cstatic _INLINE_ void transmit_chars(struct async_struct *info, int *intr_done)
info416drivers/char/serial.cif (info->x_char) {
info417drivers/char/serial.cserial_outp(info, UART_TX, info->x_char);
info418drivers/char/serial.cinfo->x_char = 0;
info423drivers/char/serial.cif ((info->xmit_cnt <= 0) || info->tty->stopped ||
info424drivers/char/serial.cinfo->tty->hw_stopped) {
info425drivers/char/serial.cinfo->IER &= ~UART_IER_THRI;
info426drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info430drivers/char/serial.ccount = info->xmit_fifo_size;
info432drivers/char/serial.cserial_out(info, UART_TX, info->xmit_buf[info->xmit_tail++]);
info433drivers/char/serial.cinfo->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1);
info434drivers/char/serial.cif (--info->xmit_cnt <= 0)
info438drivers/char/serial.cif (info->xmit_cnt < WAKEUP_CHARS)
info439drivers/char/serial.crs_sched_event(info, RS_EVENT_WRITE_WAKEUP);
info447drivers/char/serial.cif (info->xmit_cnt <= 0) {
info448drivers/char/serial.cinfo->IER &= ~UART_IER_THRI;
info449drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info453drivers/char/serial.cstatic _INLINE_ void check_modem_status(struct async_struct *info)
info457drivers/char/serial.cstatus = serial_in(info, UART_MSR);
info459drivers/char/serial.cif ((info->flags & ASYNC_CHECK_CD) && (status & UART_MSR_DDCD)) {
info461drivers/char/serial.cprintk("ttys%d CD now %s...", info->line,
info465drivers/char/serial.cwake_up_interruptible(&info->open_wait);
info466drivers/char/serial.celse if (!((info->flags & ASYNC_CALLOUT_ACTIVE) &&
info467drivers/char/serial.c(info->flags & ASYNC_CALLOUT_NOHUP))) {
info471drivers/char/serial.crs_sched_event(info, RS_EVENT_HANGUP);
info474drivers/char/serial.cif (info->flags & ASYNC_CTS_FLOW) {
info475drivers/char/serial.cif (info->tty->hw_stopped) {
info480drivers/char/serial.cinfo->tty->hw_stopped = 0;
info481drivers/char/serial.cinfo->IER |= UART_IER_THRI;
info482drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info483drivers/char/serial.crs_sched_event(info, RS_EVENT_WRITE_WAKEUP);
info491drivers/char/serial.cinfo->tty->hw_stopped = 1;
info492drivers/char/serial.cinfo->IER &= ~UART_IER_THRI;
info493drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info505drivers/char/serial.cstruct async_struct * info;
info515drivers/char/serial.cinfo = IRQ_ports[irq];
info516drivers/char/serial.cif (!info)
info524drivers/char/serial.cif (!info->tty ||
info525drivers/char/serial.c(serial_in(info, UART_IIR) & UART_IIR_NO_INT)) {
info527drivers/char/serial.cend_mark = info;
info532drivers/char/serial.cinfo->last_active = jiffies;
info534drivers/char/serial.cstatus = serial_inp(info, UART_LSR) & info->read_status_mask;
info539drivers/char/serial.creceive_chars(info, &status);
info540drivers/char/serial.ccheck_modem_status(info);
info542drivers/char/serial.ctransmit_chars(info, 0);
info545drivers/char/serial.cinfo = info->next_port;
info546drivers/char/serial.cif (!info) {
info547drivers/char/serial.cinfo = IRQ_ports[irq];
info556drivers/char/serial.c} while (end_mark != info);
info559drivers/char/serial.cinfo->irq, first_multi, inb(multi->port_monitor));
info573drivers/char/serial.cstruct async_struct * info;
info580drivers/char/serial.cinfo = IRQ_ports[irq];
info581drivers/char/serial.cif (!info || !info->tty)
info589drivers/char/serial.cstatus = serial_inp(info, UART_LSR) & info->read_status_mask;
info594drivers/char/serial.creceive_chars(info, &status);
info595drivers/char/serial.ccheck_modem_status(info);
info597drivers/char/serial.ctransmit_chars(info, 0);
info604drivers/char/serial.c} while (!(serial_in(info, UART_IIR) & UART_IIR_NO_INT));
info605drivers/char/serial.cinfo->last_active = jiffies;
info608drivers/char/serial.cinfo->irq, first_multi, inb(multi->port_monitor));
info620drivers/char/serial.cstruct async_struct * info;
info629drivers/char/serial.cinfo = IRQ_ports[irq];
info630drivers/char/serial.cif (!info)
info642drivers/char/serial.cif (!info->tty ||
info643drivers/char/serial.c(serial_in(info, UART_IIR) & UART_IIR_NO_INT))
info646drivers/char/serial.cinfo->last_active = jiffies;
info648drivers/char/serial.cstatus = serial_inp(info, UART_LSR) & info->read_status_mask;
info653drivers/char/serial.creceive_chars(info, &status);
info654drivers/char/serial.ccheck_modem_status(info);
info656drivers/char/serial.ctransmit_chars(info, 0);
info659drivers/char/serial.cinfo = info->next_port;
info660drivers/char/serial.cif (info)
info663drivers/char/serial.cinfo = IRQ_ports[irq];
info672drivers/char/serial.cinfo->irq, first_multi,
info718drivers/char/serial.cstruct async_struct  *info = (struct async_struct *) private_;
info721drivers/char/serial.ctty = info->tty;
info725drivers/char/serial.cif (clear_bit(RS_EVENT_HANGUP, &info->event)) {
info727drivers/char/serial.cwake_up_interruptible(&info->open_wait);
info728drivers/char/serial.cinfo->flags &= ~(ASYNC_NORMAL_ACTIVE|
info731drivers/char/serial.cif (clear_bit(RS_EVENT_WRITE_WAKEUP, &info->event)) {
info749drivers/char/serial.cstruct async_struct *info;
info754drivers/char/serial.cinfo = IRQ_ports[i];
info755drivers/char/serial.cif (!info)
info758drivers/char/serial.cif (info->next_port) {
info760drivers/char/serial.cserial_out(info, UART_IER, 0);
info761drivers/char/serial.cinfo->IER |= UART_IER_THRI;
info762drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info763drivers/char/serial.cinfo = info->next_port;
info764drivers/char/serial.c} while (info);
info835drivers/char/serial.cstruct  async_struct  *info;
info838drivers/char/serial.cinfo = IRQ_ports[irq];
info839drivers/char/serial.cif (!info) {
info843drivers/char/serial.cwhile (info) {
info844drivers/char/serial.cif (info->timeout < timeout)
info845drivers/char/serial.ctimeout = info->timeout;
info846drivers/char/serial.cinfo = info->next_port;
info853drivers/char/serial.cstatic int startup(struct async_struct * info)
info860drivers/char/serial.cif (info->flags & ASYNC_INITIALIZED)
info863drivers/char/serial.cif (!info->port || !info->type) {
info864drivers/char/serial.cif (info->tty)
info865drivers/char/serial.cset_bit(TTY_IO_ERROR, &info->tty->flags);
info869drivers/char/serial.cif (!info->xmit_buf) {
info870drivers/char/serial.cinfo->xmit_buf = (unsigned char *) get_free_page(GFP_KERNEL);
info871drivers/char/serial.cif (!info->xmit_buf)
info878drivers/char/serial.cprintk("starting up ttys%d (irq %d)...", info->line, info->irq);
info885drivers/char/serial.cif (info->type == PORT_16650) {
info886drivers/char/serial.cserial_outp(info, UART_FCR, (UART_FCR_CLEAR_RCVR |
info888drivers/char/serial.cinfo->xmit_fifo_size = 1; /* disabled for now */
info889drivers/char/serial.c} else if (info->type == PORT_16550A) {
info890drivers/char/serial.cserial_outp(info, UART_FCR, (UART_FCR_CLEAR_RCVR |
info892drivers/char/serial.cinfo->xmit_fifo_size = 16;
info894drivers/char/serial.cinfo->xmit_fifo_size = 1;
info901drivers/char/serial.cif (serial_inp(info, UART_LSR) == 0xff) {
info904drivers/char/serial.cif (info->tty)
info905drivers/char/serial.cset_bit(TTY_IO_ERROR, &info->tty->flags);
info914drivers/char/serial.cif (info->irq && (!IRQ_ports[info->irq] ||
info915drivers/char/serial.c!IRQ_ports[info->irq]->next_port)) {
info916drivers/char/serial.cif (IRQ_ports[info->irq]) {
info917drivers/char/serial.cfree_irq(info->irq);
info918drivers/char/serial.cif (rs_multiport[info->irq].port1)
info925drivers/char/serial.cretval = request_irq(info->irq, handler, SA_INTERRUPT, "serial");
info929drivers/char/serial.cif (info->tty)
info931drivers/char/serial.c&info->tty->flags);
info942drivers/char/serial.c(void) serial_inp(info, UART_RX);
info943drivers/char/serial.c(void) serial_inp(info, UART_IIR);
info944drivers/char/serial.c(void) serial_inp(info, UART_MSR);
info949drivers/char/serial.cserial_outp(info, UART_LCR, UART_LCR_WLEN8);  /* reset DLAB */
info950drivers/char/serial.cif (info->flags & ASYNC_FOURPORT) {
info951drivers/char/serial.cinfo->MCR = UART_MCR_DTR | UART_MCR_RTS;
info952drivers/char/serial.cinfo->MCR_noint = UART_MCR_DTR | UART_MCR_OUT1;
info954drivers/char/serial.cinfo->MCR = UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2;
info955drivers/char/serial.cinfo->MCR_noint = UART_MCR_DTR | UART_MCR_RTS;
info958drivers/char/serial.cinfo->MCR |= UART_MCR_OUT1 | UART_MCR_OUT2;
info959drivers/char/serial.cinfo->MCR_noint |= UART_MCR_OUT1 | UART_MCR_OUT2;
info961drivers/char/serial.cif (info->irq == 0)
info962drivers/char/serial.cinfo->MCR = info->MCR_noint;
info963drivers/char/serial.cserial_outp(info, UART_MCR, info->MCR);
info968drivers/char/serial.cinfo->IER = UART_IER_MSI | UART_IER_RLSI | UART_IER_RDI;
info969drivers/char/serial.cserial_outp(info, UART_IER, info->IER);  /* enable interrupts */
info971drivers/char/serial.cif (info->flags & ASYNC_FOURPORT) {
info973drivers/char/serial.cICP = (info->port & 0xFE0) | 0x01F;
info981drivers/char/serial.c(void)serial_inp(info, UART_LSR);
info982drivers/char/serial.c(void)serial_inp(info, UART_RX);
info983drivers/char/serial.c(void)serial_inp(info, UART_IIR);
info984drivers/char/serial.c(void)serial_inp(info, UART_MSR);
info986drivers/char/serial.cif (info->tty)
info987drivers/char/serial.cclear_bit(TTY_IO_ERROR, &info->tty->flags);
info988drivers/char/serial.cinfo->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
info993drivers/char/serial.cinfo->prev_port = 0;
info994drivers/char/serial.cinfo->next_port = IRQ_ports[info->irq];
info995drivers/char/serial.cif (info->next_port)
info996drivers/char/serial.cinfo->next_port->prev_port = info;
info997drivers/char/serial.cIRQ_ports[info->irq] = info;
info998drivers/char/serial.cfigure_IRQ_timeout(info->irq);
info1009drivers/char/serial.cchange_speed(info);
info1011drivers/char/serial.cinfo->flags |= ASYNC_INITIALIZED;
info1020drivers/char/serial.cstatic void shutdown(struct async_struct * info)
info1025drivers/char/serial.cif (!(info->flags & ASYNC_INITIALIZED))
info1029drivers/char/serial.cprintk("Shutting down serial port %d (irq %d)....", info->line,
info1030drivers/char/serial.cinfo->irq);
info1038drivers/char/serial.cif (info->next_port)
info1039drivers/char/serial.cinfo->next_port->prev_port = info->prev_port;
info1040drivers/char/serial.cif (info->prev_port)
info1041drivers/char/serial.cinfo->prev_port->next_port = info->next_port;
info1043drivers/char/serial.cIRQ_ports[info->irq] = info->next_port;
info1044drivers/char/serial.cfigure_IRQ_timeout(info->irq);
info1049drivers/char/serial.cif (info->irq && (!IRQ_ports[info->irq] ||
info1050drivers/char/serial.c!IRQ_ports[info->irq]->next_port)) {
info1051drivers/char/serial.cif (IRQ_ports[info->irq]) {
info1052drivers/char/serial.cfree_irq(info->irq);
info1053drivers/char/serial.cretval = request_irq(info->irq, rs_interrupt_single, SA_INTERRUPT, "serial");
info1059drivers/char/serial.cfree_irq(info->irq);
info1062drivers/char/serial.cif (info->xmit_buf) {
info1063drivers/char/serial.cfree_page((unsigned long) info->xmit_buf);
info1064drivers/char/serial.cinfo->xmit_buf = 0;
info1067drivers/char/serial.cinfo->IER = 0;
info1068drivers/char/serial.cserial_outp(info, UART_IER, 0x00);  /* disable all intrs */
info1069drivers/char/serial.cif (info->flags & ASYNC_FOURPORT) {
info1071drivers/char/serial.c(void) inb((info->port & 0xFE0) | 0x01F);
info1074drivers/char/serial.cif (!info->tty || (info->tty->termios->c_cflag & HUPCL)) {
info1075drivers/char/serial.cinfo->MCR &= ~(UART_MCR_DTR|UART_MCR_RTS);
info1076drivers/char/serial.cinfo->MCR_noint &= ~(UART_MCR_DTR|UART_MCR_RTS);
info1078drivers/char/serial.cserial_outp(info, UART_MCR, info->MCR_noint);
info1081drivers/char/serial.cserial_outp(info, UART_FCR, (UART_FCR_CLEAR_RCVR |
info1083drivers/char/serial.c(void)serial_in(info, UART_RX);    /* read data port to reset things */
info1085drivers/char/serial.cif (info->tty)
info1086drivers/char/serial.cset_bit(TTY_IO_ERROR, &info->tty->flags);
info1088drivers/char/serial.cinfo->flags &= ~ASYNC_INITIALIZED;
info1096drivers/char/serial.cstatic void change_speed(struct async_struct *info)
info1103drivers/char/serial.cif (!info->tty || !info->tty->termios)
info1105drivers/char/serial.ccflag = info->tty->termios->c_cflag;
info1106drivers/char/serial.cif (!(port = info->port))
info1112drivers/char/serial.cinfo->tty->termios->c_cflag &= ~CBAUDEX;
info1117drivers/char/serial.cif ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_HI)
info1119drivers/char/serial.cif ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_VHI)
info1121drivers/char/serial.cif ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_CUST)
info1122drivers/char/serial.cquot = info->custom_divisor;
info1125drivers/char/serial.cinfo->timeout = ((info->xmit_fifo_size*HZ*15*quot) /
info1126drivers/char/serial.cinfo->baud_base) + 2;
info1128drivers/char/serial.cquot = (2*info->baud_base / 269);
info1129drivers/char/serial.cinfo->timeout = (info->xmit_fifo_size*HZ*30/269) + 2;
info1131drivers/char/serial.cquot = info->baud_base / baud_table[i];
info1132drivers/char/serial.cinfo->timeout = (info->xmit_fifo_size*HZ*15/baud_table[i]) + 2;
info1135drivers/char/serial.cinfo->timeout = 0;
info1138drivers/char/serial.cinfo->MCR |= UART_MCR_DTR;
info1139drivers/char/serial.cinfo->MCR_noint |= UART_MCR_DTR;
info1141drivers/char/serial.cserial_out(info, UART_MCR, info->MCR);
info1144drivers/char/serial.cinfo->MCR &= ~UART_MCR_DTR;
info1145drivers/char/serial.cinfo->MCR_noint &= ~UART_MCR_DTR;
info1147drivers/char/serial.cserial_out(info, UART_MCR, info->MCR);
info1158drivers/char/serial.cif (info->type == PORT_16550A) {
info1159drivers/char/serial.cif ((info->baud_base / quot) < 2400)
info1163drivers/char/serial.c} else if (info->type == PORT_16650) {
info1179drivers/char/serial.cinfo->IER &= ~UART_IER_MSI;
info1181drivers/char/serial.cinfo->flags |= ASYNC_CTS_FLOW;
info1182drivers/char/serial.cinfo->IER |= UART_IER_MSI;
info1184drivers/char/serial.cinfo->flags &= ~ASYNC_CTS_FLOW;
info1186drivers/char/serial.cinfo->flags &= ~ASYNC_CHECK_CD;
info1188drivers/char/serial.cinfo->flags |= ASYNC_CHECK_CD;
info1189drivers/char/serial.cinfo->IER |= UART_IER_MSI;
info1191drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info1196drivers/char/serial.cinfo->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR;
info1197drivers/char/serial.cif (I_INPCK(info->tty))
info1198drivers/char/serial.cinfo->read_status_mask |= UART_LSR_FE | UART_LSR_PE;
info1199drivers/char/serial.cif (I_BRKINT(info->tty) || I_PARMRK(info->tty))
info1200drivers/char/serial.cinfo->read_status_mask |= UART_LSR_BI;
info1202drivers/char/serial.cinfo->ignore_status_mask = 0;
info1203drivers/char/serial.cif (I_IGNPAR(info->tty)) {
info1204drivers/char/serial.cinfo->ignore_status_mask |= UART_LSR_PE | UART_LSR_FE;
info1205drivers/char/serial.cinfo->read_status_mask |= UART_LSR_PE | UART_LSR_FE;
info1207drivers/char/serial.cif (I_IGNBRK(info->tty)) {
info1208drivers/char/serial.cinfo->ignore_status_mask |= UART_LSR_BI;
info1209drivers/char/serial.cinfo->read_status_mask |= UART_LSR_BI;
info1214drivers/char/serial.cif (I_IGNPAR(info->tty)) {
info1215drivers/char/serial.cinfo->ignore_status_mask |= UART_LSR_OE;
info1216drivers/char/serial.cinfo->read_status_mask |= UART_LSR_OE;
info1221drivers/char/serial.cserial_outp(info, UART_LCR, cval | UART_LCR_DLAB);  /* set DLAB */
info1222drivers/char/serial.cserial_outp(info, UART_DLL, quot & 0xff);  /* LS of divisor */
info1223drivers/char/serial.cserial_outp(info, UART_DLM, quot >> 8);    /* MS of divisor */
info1224drivers/char/serial.cserial_outp(info, UART_LCR, cval);    /* reset DLAB */
info1225drivers/char/serial.cserial_outp(info, UART_FCR, fcr);   /* set fcr */
info1231drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1234drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_put_char"))
info1237drivers/char/serial.cif (!tty || !info->xmit_buf)
info1241drivers/char/serial.cif (info->xmit_cnt >= SERIAL_XMIT_SIZE - 1) {
info1246drivers/char/serial.cinfo->xmit_buf[info->xmit_head++] = ch;
info1247drivers/char/serial.cinfo->xmit_head &= SERIAL_XMIT_SIZE-1;
info1248drivers/char/serial.cinfo->xmit_cnt++;
info1254drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1257drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_flush_chars"))
info1260drivers/char/serial.cif (info->xmit_cnt <= 0 || tty->stopped || tty->hw_stopped ||
info1261drivers/char/serial.c!info->xmit_buf)
info1265drivers/char/serial.cinfo->IER |= UART_IER_THRI;
info1266drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info1274drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1277drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_write"))
info1280drivers/char/serial.cif (!tty || !info->xmit_buf || !tmp_buf)
info1286drivers/char/serial.cc = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
info1287drivers/char/serial.cSERIAL_XMIT_SIZE - info->xmit_head));
info1294drivers/char/serial.cc = MIN(c, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
info1295drivers/char/serial.cSERIAL_XMIT_SIZE - info->xmit_head));
info1296drivers/char/serial.cmemcpy(info->xmit_buf + info->xmit_head, tmp_buf, c);
info1299drivers/char/serial.cmemcpy(info->xmit_buf + info->xmit_head, buf, c);
info1300drivers/char/serial.cinfo->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1);
info1301drivers/char/serial.cinfo->xmit_cnt += c;
info1307drivers/char/serial.cif (info->xmit_cnt && !tty->stopped && !tty->hw_stopped &&
info1308drivers/char/serial.c!(info->IER & UART_IER_THRI)) {
info1309drivers/char/serial.cinfo->IER |= UART_IER_THRI;
info1310drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info1318drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1321drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_write_room"))
info1323drivers/char/serial.cret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1;
info1331drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1333drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_chars_in_buffer"))
info1335drivers/char/serial.creturn info->xmit_cnt;
info1340drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1342drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_flush_buffer"))
info1345drivers/char/serial.cinfo->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
info1363drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1371drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_throttle"))
info1375drivers/char/serial.cinfo->x_char = STOP_CHAR(tty);
info1377drivers/char/serial.cinfo->MCR &= ~UART_MCR_RTS;
info1378drivers/char/serial.cinfo->MCR_noint &= ~UART_MCR_RTS;
info1380drivers/char/serial.cserial_out(info, UART_MCR, info->MCR);
info1386drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1394drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_unthrottle"))
info1398drivers/char/serial.cif (info->x_char)
info1399drivers/char/serial.cinfo->x_char = 0;
info1401drivers/char/serial.cinfo->x_char = START_CHAR(tty);
info1403drivers/char/serial.cinfo->MCR |= UART_MCR_RTS;
info1404drivers/char/serial.cinfo->MCR_noint |= UART_MCR_RTS;
info1406drivers/char/serial.cserial_out(info, UART_MCR, info->MCR);
info1416drivers/char/serial.cstatic int get_serial_info(struct async_struct * info,
info1424drivers/char/serial.ctmp.type = info->type;
info1425drivers/char/serial.ctmp.line = info->line;
info1426drivers/char/serial.ctmp.port = info->port;
info1427drivers/char/serial.ctmp.irq = info->irq;
info1428drivers/char/serial.ctmp.flags = info->flags;
info1429drivers/char/serial.ctmp.baud_base = info->baud_base;
info1430drivers/char/serial.ctmp.close_delay = info->close_delay;
info1431drivers/char/serial.ctmp.closing_wait = info->closing_wait;
info1432drivers/char/serial.ctmp.custom_divisor = info->custom_divisor;
info1433drivers/char/serial.ctmp.hub6 = info->hub6;
info1438drivers/char/serial.cstatic int set_serial_info(struct async_struct * info,
info1449drivers/char/serial.cold_info = *info;
info1451drivers/char/serial.cchange_irq = new_serial.irq != info->irq;
info1452drivers/char/serial.cchange_port = (new_serial.port != info->port) || (new_serial.hub6 != info->hub6);
info1456drivers/char/serial.c(new_serial.baud_base != info->baud_base) ||
info1457drivers/char/serial.c(new_serial.type != info->type) ||
info1458drivers/char/serial.c(new_serial.close_delay != info->close_delay) ||
info1460drivers/char/serial.c(info->flags & ~ASYNC_USR_MASK)))
info1462drivers/char/serial.cinfo->flags = ((info->flags & ~ASYNC_USR_MASK) |
info1464drivers/char/serial.cinfo->custom_divisor = new_serial.custom_divisor;
info1479drivers/char/serial.cif ((info != &rs_table[i]) &&
info1485drivers/char/serial.cif ((change_port || change_irq) && (info->count > 1))
info1493drivers/char/serial.cinfo->baud_base = new_serial.baud_base;
info1494drivers/char/serial.cinfo->flags = ((info->flags & ~ASYNC_FLAGS) |
info1496drivers/char/serial.cinfo->custom_divisor = new_serial.custom_divisor;
info1497drivers/char/serial.cinfo->type = new_serial.type;
info1498drivers/char/serial.cinfo->close_delay = new_serial.close_delay;
info1499drivers/char/serial.cinfo->closing_wait = new_serial.closing_wait;
info1501drivers/char/serial.crelease_region(info->port,8);
info1507drivers/char/serial.cshutdown(info);
info1508drivers/char/serial.cinfo->irq = new_serial.irq;
info1509drivers/char/serial.cinfo->port = new_serial.port;
info1510drivers/char/serial.cinfo->hub6 = new_serial.hub6;
info1512drivers/char/serial.cif(info->type != PORT_UNKNOWN)
info1513drivers/char/serial.crequest_region(info->port,8,"serial(set)");
info1517drivers/char/serial.cif (!info->port || !info->type)
info1519drivers/char/serial.cif (info->flags & ASYNC_INITIALIZED) {
info1521drivers/char/serial.c(info->flags & ASYNC_SPD_MASK)) ||
info1522drivers/char/serial.c(old_info.custom_divisor != info->custom_divisor))
info1523drivers/char/serial.cchange_speed(info);
info1525drivers/char/serial.cretval = startup(info);
info1540drivers/char/serial.cstatic int get_lsr_info(struct async_struct * info, unsigned int *value)
info1546drivers/char/serial.cstatus = serial_in(info, UART_LSR);
info1554drivers/char/serial.cstatic int get_modem_info(struct async_struct * info, unsigned int *value)
info1559drivers/char/serial.ccontrol = info->MCR;
info1561drivers/char/serial.cstatus = serial_in(info, UART_MSR);
info1573drivers/char/serial.cstatic int set_modem_info(struct async_struct * info, unsigned int cmd,
info1586drivers/char/serial.cinfo->MCR |= UART_MCR_RTS;
info1587drivers/char/serial.cinfo->MCR_noint |= UART_MCR_RTS;
info1590drivers/char/serial.cinfo->MCR |= UART_MCR_DTR;
info1591drivers/char/serial.cinfo->MCR_noint |= UART_MCR_DTR;
info1596drivers/char/serial.cinfo->MCR &= ~UART_MCR_RTS;
info1597drivers/char/serial.cinfo->MCR_noint &= ~UART_MCR_RTS;
info1600drivers/char/serial.cinfo->MCR &= ~UART_MCR_DTR;
info1601drivers/char/serial.cinfo->MCR_noint &= ~UART_MCR_DTR;
info1605drivers/char/serial.cinfo->MCR = ((info->MCR & ~(UART_MCR_RTS | UART_MCR_DTR))
info1608drivers/char/serial.cinfo->MCR_noint = ((info->MCR_noint
info1617drivers/char/serial.cserial_out(info, UART_MCR, info->MCR);
info1622drivers/char/serial.cstatic int do_autoconfig(struct async_struct * info)
info1629drivers/char/serial.cif (info->count > 1)
info1632drivers/char/serial.cshutdown(info);
info1635drivers/char/serial.cautoconfig(info);
info1638drivers/char/serial.cretval = startup(info);
info1648drivers/char/serial.cstatic void send_break(  struct async_struct * info, int duration)
info1650drivers/char/serial.cif (!info->port)
info1655drivers/char/serial.cserial_out(info, UART_LCR, serial_inp(info, UART_LCR) | UART_LCR_SBC);
info1657drivers/char/serial.cserial_out(info, UART_LCR, serial_inp(info, UART_LCR) & ~UART_LCR_SBC);
info1705drivers/char/serial.cstatic int get_multiport_struct(struct async_struct * info,
info1711drivers/char/serial.cmulti = &rs_multiport[info->irq];
info1731drivers/char/serial.cret.irq = info->irq;
info1738drivers/char/serial.cstatic int set_multiport_struct(struct async_struct * info,
info1754drivers/char/serial.cif (new_multi.irq != info->irq || info->irq == 0 ||
info1755drivers/char/serial.c!IRQ_ports[info->irq])
info1758drivers/char/serial.cmulti = &rs_multiport[info->irq];
info1781drivers/char/serial.cif (IRQ_ports[info->irq]->next_port &&
info1783drivers/char/serial.cfree_irq(info->irq);
info1789drivers/char/serial.cretval = request_irq(info->irq, handler, SA_INTERRUPT,
info1804drivers/char/serial.cstruct async_struct * info = (struct async_struct *)tty->driver_data;
info1807drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_ioctl"))
info1824drivers/char/serial.csend_break(info, HZ/4);  /* 1/4 second */
info1831drivers/char/serial.csend_break(info, arg ? arg*(HZ/10) : HZ/4);
info1851drivers/char/serial.creturn get_modem_info(info, (unsigned int *) arg);
info1855drivers/char/serial.creturn set_modem_info(info, cmd, (unsigned int *) arg);
info1861drivers/char/serial.creturn get_serial_info(info,
info1864drivers/char/serial.creturn set_serial_info(info,
info1867drivers/char/serial.creturn do_autoconfig(info);
info1883drivers/char/serial.creturn get_lsr_info(info, (unsigned int *) arg);
info1899drivers/char/serial.cinfo, sizeof(struct async_struct));
info1907drivers/char/serial.creturn get_multiport_struct(info,
info1910drivers/char/serial.creturn set_multiport_struct(info,
info1920drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1925drivers/char/serial.cchange_speed(info);
info1942drivers/char/serial.cwake_up_interruptible(&info->open_wait);
info1958drivers/char/serial.cstruct async_struct * info = (struct async_struct *)tty->driver_data;
info1962drivers/char/serial.cif (!info || serial_paranoia_check(info, tty->device, "rs_close"))
info1973drivers/char/serial.cprintk("rs_close ttys%d, count = %d\n", info->line, info->count);
info1975drivers/char/serial.cif ((tty->count == 1) && (info->count != 1)) {
info1984drivers/char/serial.c"info->count is %d\n", info->count);
info1985drivers/char/serial.cinfo->count = 1;
info1987drivers/char/serial.cif (--info->count < 0) {
info1989drivers/char/serial.cinfo->line, info->count);
info1990drivers/char/serial.cinfo->count = 0;
info1992drivers/char/serial.cif (info->count) {
info1996drivers/char/serial.cinfo->flags |= ASYNC_CLOSING;
info2001drivers/char/serial.cif (info->flags & ASYNC_NORMAL_ACTIVE)
info2002drivers/char/serial.cinfo->normal_termios = *tty->termios;
info2003drivers/char/serial.cif (info->flags & ASYNC_CALLOUT_ACTIVE)
info2004drivers/char/serial.cinfo->callout_termios = *tty->termios;
info2010drivers/char/serial.cif (info->closing_wait != ASYNC_CLOSING_WAIT_NONE)
info2011drivers/char/serial.ctty_wait_until_sent(tty, info->closing_wait);
info2018drivers/char/serial.cinfo->IER &= ~UART_IER_RLSI;
info2019drivers/char/serial.cinfo->read_status_mask &= ~UART_LSR_DR;
info2020drivers/char/serial.cif (info->flags & ASYNC_INITIALIZED) {
info2021drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info2028drivers/char/serial.cwhile (!(serial_inp(info, UART_LSR) & UART_LSR_TEMT)) {
info2030drivers/char/serial.ccurrent->timeout = jiffies + info->timeout;
info2036drivers/char/serial.cshutdown(info);
info2042drivers/char/serial.cinfo->event = 0;
info2043drivers/char/serial.cinfo->tty = 0;
info2052drivers/char/serial.cif (info->blocked_open) {
info2053drivers/char/serial.cif (info->close_delay) {
info2055drivers/char/serial.ccurrent->timeout = jiffies + info->close_delay;
info2058drivers/char/serial.cwake_up_interruptible(&info->open_wait);
info2060drivers/char/serial.cinfo->flags &= ~(ASYNC_NORMAL_ACTIVE|ASYNC_CALLOUT_ACTIVE|
info2062drivers/char/serial.cwake_up_interruptible(&info->close_wait);
info2071drivers/char/serial.cstruct async_struct * info = (struct async_struct *)tty->driver_data;
info2073drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_hangup"))
info2076drivers/char/serial.cshutdown(info);
info2077drivers/char/serial.cinfo->event = 0;
info2078drivers/char/serial.cinfo->count = 0;
info2079drivers/char/serial.cinfo->flags &= ~(ASYNC_NORMAL_ACTIVE|ASYNC_CALLOUT_ACTIVE);
info2080drivers/char/serial.cinfo->tty = 0;
info2081drivers/char/serial.cwake_up_interruptible(&info->open_wait);
info2090drivers/char/serial.cstruct async_struct *info)
info2100drivers/char/serial.cif (info->flags & ASYNC_CLOSING) {
info2101drivers/char/serial.cinterruptible_sleep_on(&info->close_wait);
info2103drivers/char/serial.cif (info->flags & ASYNC_HUP_NOTIFY)
info2117drivers/char/serial.cif (info->flags & ASYNC_NORMAL_ACTIVE)
info2119drivers/char/serial.cif ((info->flags & ASYNC_CALLOUT_ACTIVE) &&
info2120drivers/char/serial.c(info->flags & ASYNC_SESSION_LOCKOUT) &&
info2121drivers/char/serial.c(info->session != current->session))
info2123drivers/char/serial.cif ((info->flags & ASYNC_CALLOUT_ACTIVE) &&
info2124drivers/char/serial.c(info->flags & ASYNC_PGRP_LOCKOUT) &&
info2125drivers/char/serial.c(info->pgrp != current->pgrp))
info2127drivers/char/serial.cinfo->flags |= ASYNC_CALLOUT_ACTIVE;
info2137drivers/char/serial.cif (info->flags & ASYNC_CALLOUT_ACTIVE)
info2139drivers/char/serial.cinfo->flags |= ASYNC_NORMAL_ACTIVE;
info2143drivers/char/serial.cif (info->flags & ASYNC_CALLOUT_ACTIVE) {
info2144drivers/char/serial.cif (info->normal_termios.c_cflag & CLOCAL)
info2159drivers/char/serial.cadd_wait_queue(&info->open_wait, &wait);
info2162drivers/char/serial.cinfo->line, info->count);
info2164drivers/char/serial.cinfo->count--;
info2165drivers/char/serial.cinfo->blocked_open++;
info2168drivers/char/serial.cif (!(info->flags & ASYNC_CALLOUT_ACTIVE))
info2169drivers/char/serial.cserial_out(info, UART_MCR,
info2170drivers/char/serial.cserial_inp(info, UART_MCR) |
info2175drivers/char/serial.c!(info->flags & ASYNC_INITIALIZED)) {
info2177drivers/char/serial.cif (info->flags & ASYNC_HUP_NOTIFY)
info2186drivers/char/serial.cif (!(info->flags & ASYNC_CALLOUT_ACTIVE) &&
info2187drivers/char/serial.c!(info->flags & ASYNC_CLOSING) &&
info2188drivers/char/serial.c(do_clocal || (serial_in(info, UART_MSR) &
info2197drivers/char/serial.cinfo->line, info->count);
info2202drivers/char/serial.cremove_wait_queue(&info->open_wait, &wait);
info2204drivers/char/serial.cinfo->count++;
info2205drivers/char/serial.cinfo->blocked_open--;
info2208drivers/char/serial.cinfo->line, info->count);
info2212drivers/char/serial.cinfo->flags |= ASYNC_NORMAL_ACTIVE;
info2224drivers/char/serial.cstruct async_struct  *info;
info2230drivers/char/serial.cinfo = rs_table + line;
info2231drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_open"))
info2235drivers/char/serial.cprintk("rs_open %s%d, count = %d\n", tty->driver.name, info->line,
info2236drivers/char/serial.cinfo->count);
info2238drivers/char/serial.cinfo->count++;
info2239drivers/char/serial.ctty->driver_data = info;
info2240drivers/char/serial.cinfo->tty = tty;
info2251drivers/char/serial.cretval = startup(info);
info2255drivers/char/serial.cretval = block_til_ready(tty, filp, info);
info2264drivers/char/serial.cif ((info->count == 1) && (info->flags & ASYNC_SPLIT_TERMIOS)) {
info2266drivers/char/serial.c*tty->termios = info->normal_termios;
info2268drivers/char/serial.c*tty->termios = info->callout_termios;
info2269drivers/char/serial.cchange_speed(info);
info2272drivers/char/serial.cinfo->session = current->session;
info2273drivers/char/serial.cinfo->pgrp = current->pgrp;
info2276drivers/char/serial.cprintk("rs_open ttys%d successful...", info->line);
info2314drivers/char/serial.cstatic int get_auto_irq(struct async_struct *info)
info2317drivers/char/serial.cunsigned short ICP=0, port = info->port;
info2325drivers/char/serial.csave_IER = serial_inp(info, UART_IER);
info2326drivers/char/serial.csave_MCR = serial_inp(info, UART_MCR);
info2327drivers/char/serial.cif (info->flags & ASYNC_FOURPORT)  {
info2328drivers/char/serial.cserial_outp(info, UART_MCR, UART_MCR_DTR | UART_MCR_RTS);
info2329drivers/char/serial.cserial_outp(info, UART_IER, 0x0f);  /* enable all intrs */
info2335drivers/char/serial.cserial_outp(info, UART_MCR,
info2337drivers/char/serial.cserial_outp(info, UART_IER, 0x0f);  /* enable all intrs */
info2343drivers/char/serial.c(void)serial_inp(info, UART_LSR);
info2344drivers/char/serial.c(void)serial_inp(info, UART_RX);
info2345drivers/char/serial.c(void)serial_inp(info, UART_IIR);
info2346drivers/char/serial.c(void)serial_inp(info, UART_MSR);
info2357drivers/char/serial.cserial_outp(info, UART_IER, save_IER);
info2358drivers/char/serial.cserial_outp(info, UART_MCR, save_MCR);
info2359drivers/char/serial.cif (info->flags & ASYNC_FOURPORT)
info2369drivers/char/serial.cstatic int do_auto_irq(struct async_struct * info)
info2371drivers/char/serial.cunsigned     port = info->port;
info2387drivers/char/serial.cirq_try_1 = get_auto_irq(info);
info2389drivers/char/serial.cirq_try_2 = get_auto_irq(info);
info2408drivers/char/serial.cstatic void autoconfig(struct async_struct * info)
info2411drivers/char/serial.cunsigned port = info->port;
info2414drivers/char/serial.cinfo->type = PORT_UNKNOWN;
info2430drivers/char/serial.cscratch = serial_inp(info, UART_IER);
info2431drivers/char/serial.cserial_outp(info, UART_IER, 0);
info2433drivers/char/serial.cscratch2 = serial_inp(info, UART_IER);
info2434drivers/char/serial.cserial_outp(info, UART_IER, scratch);
info2449drivers/char/serial.cif (!(info->flags & ASYNC_SKIP_TEST)) {
info2450drivers/char/serial.cscratch = serial_inp(info, UART_MCR);
info2451drivers/char/serial.cserial_outp(info, UART_MCR, UART_MCR_LOOP | scratch);
info2452drivers/char/serial.cscratch2 = serial_inp(info, UART_MSR);
info2453drivers/char/serial.cserial_outp(info, UART_MCR, UART_MCR_LOOP | 0x0A);
info2454drivers/char/serial.cstatus1 = serial_inp(info, UART_MSR) & 0xF0;
info2455drivers/char/serial.cserial_outp(info, UART_MCR, scratch);
info2456drivers/char/serial.cserial_outp(info, UART_MSR, scratch2);
info2467drivers/char/serial.cif (info->flags & ASYNC_AUTO_IRQ)
info2468drivers/char/serial.cinfo->irq = do_auto_irq(info);
info2470drivers/char/serial.cscratch2 = serial_in(info, UART_LCR);
info2471drivers/char/serial.cserial_outp(info, UART_LCR, scratch2 | UART_LCR_DLAB);
info2472drivers/char/serial.cserial_outp(info, UART_EFR, 0);  /* EFR is the same as FCR */
info2473drivers/char/serial.cserial_outp(info, UART_LCR, scratch2);
info2474drivers/char/serial.cserial_outp(info, UART_FCR, UART_FCR_ENABLE_FIFO);
info2475drivers/char/serial.cscratch = serial_in(info, UART_IIR) >> 6;
info2476drivers/char/serial.cinfo->xmit_fifo_size = 1;
info2479drivers/char/serial.cinfo->type = PORT_16450;
info2482drivers/char/serial.cinfo->type = PORT_UNKNOWN;
info2485drivers/char/serial.cinfo->type = PORT_16550;
info2488drivers/char/serial.cserial_outp(info, UART_LCR, scratch2 | UART_LCR_DLAB);
info2489drivers/char/serial.cif (serial_in(info, UART_EFR) == 0) {
info2490drivers/char/serial.cinfo->type = PORT_16650;
info2491drivers/char/serial.cinfo->xmit_fifo_size = 32;
info2493drivers/char/serial.cinfo->type = PORT_16550A;
info2494drivers/char/serial.cinfo->xmit_fifo_size = 16;
info2496drivers/char/serial.cserial_outp(info, UART_LCR, scratch2);
info2499drivers/char/serial.cif (info->type == PORT_16450) {
info2500drivers/char/serial.cscratch = serial_in(info, UART_SCR);
info2501drivers/char/serial.cserial_outp(info, UART_SCR, 0xa5);
info2502drivers/char/serial.cstatus1 = serial_in(info, UART_SCR);
info2503drivers/char/serial.cserial_outp(info, UART_SCR, 0x5a);
info2504drivers/char/serial.cstatus2 = serial_in(info, UART_SCR);
info2505drivers/char/serial.cserial_outp(info, UART_SCR, scratch);
info2508drivers/char/serial.cinfo->type = PORT_8250;
info2510drivers/char/serial.crequest_region(info->port,8,"serial(auto)");
info2520drivers/char/serial.cserial_outp(info, UART_MCR, 0x0c);
info2522drivers/char/serial.cserial_outp(info, UART_MCR, 0x00);
info2524drivers/char/serial.cserial_outp(info, UART_FCR, (UART_FCR_CLEAR_RCVR |
info2526drivers/char/serial.c(void)serial_in(info, UART_RX);
info2537drivers/char/serial.cstruct async_struct * info;
info2604drivers/char/serial.cfor (i = 0, info = rs_table; i < NR_PORTS; i++,info++) {
info2605drivers/char/serial.cinfo->magic = SERIAL_MAGIC;
info2606drivers/char/serial.cinfo->line = i;
info2607drivers/char/serial.cinfo->tty = 0;
info2608drivers/char/serial.cinfo->type = PORT_UNKNOWN;
info2609drivers/char/serial.cinfo->custom_divisor = 0;
info2610drivers/char/serial.cinfo->close_delay = 50;
info2611drivers/char/serial.cinfo->closing_wait = 3000;
info2612drivers/char/serial.cinfo->x_char = 0;
info2613drivers/char/serial.cinfo->event = 0;
info2614drivers/char/serial.cinfo->count = 0;
info2615drivers/char/serial.cinfo->blocked_open = 0;
info2616drivers/char/serial.cinfo->tqueue.routine = do_softint;
info2617drivers/char/serial.cinfo->tqueue.data = info;
info2618drivers/char/serial.cinfo->callout_termios =callout_driver.init_termios;
info2619drivers/char/serial.cinfo->normal_termios = serial_driver.init_termios;
info2620drivers/char/serial.cinfo->open_wait = 0;
info2621drivers/char/serial.cinfo->close_wait = 0;
info2622drivers/char/serial.cinfo->next_port = 0;
info2623drivers/char/serial.cinfo->prev_port = 0;
info2624drivers/char/serial.cif (info->irq == 2)
info2625drivers/char/serial.cinfo->irq = 9;
info2626drivers/char/serial.cif (!(info->flags & ASYNC_BOOT_AUTOCONF))
info2628drivers/char/serial.cautoconfig(info);
info2629drivers/char/serial.cif (info->type == PORT_UNKNOWN)
info2631drivers/char/serial.cprintk("tty%02d%s at 0x%04x (irq = %d)", info->line, 
info2632drivers/char/serial.c(info->flags & ASYNC_FOURPORT) ? " FourPort" : "",
info2633drivers/char/serial.cinfo->port, info->irq);
info2634drivers/char/serial.cswitch (info->type) {
info2666drivers/char/serial.cstruct async_struct *info;
info2684drivers/char/serial.cinfo = &rs_table[i];
info2691drivers/char/serial.cinfo->irq = req->irq;
info2692drivers/char/serial.cinfo->port = req->port;
info2693drivers/char/serial.cautoconfig(info);
info2694drivers/char/serial.cif (info->type == PORT_UNKNOWN) {
info2699drivers/char/serial.cprintk("tty%02d at 0x%04x (irq = %d)", info->line, 
info2700drivers/char/serial.cinfo->port, info->irq);
info2701drivers/char/serial.cswitch (info->type) {
info2714drivers/char/serial.creturn info->line;
info2720drivers/char/serial.cstruct async_struct *info = &rs_table[line];
info2724drivers/char/serial.cif (info->tty)
info2725drivers/char/serial.ctty_hangup(info->tty);
info2726drivers/char/serial.cinfo->type = PORT_UNKNOWN;
info2727drivers/char/serial.cprintk("tty%02d unloaded\n", info->line);
info106drivers/net/3c505dta.hstruct Info    info;
info362drivers/scsi/eata.cstruct eata_info info;
info381drivers/scsi/eata.cif (read_pio(*port_base, (ushort *)&info, (ushort *)&info.ipad[0])) 
info385drivers/scsi/eata.cif (info.sign != EATA_SIGNATURE) return FALSE;
info387drivers/scsi/eata.cif (ntohl(info.data_len) < EATA_2_0A_SIZE) {
info389drivers/scsi/eata.cname, ntohl(info.data_len));
info392drivers/scsi/eata.celse if (ntohl(info.data_len) == EATA_2_0A_SIZE)
info394drivers/scsi/eata.celse if (ntohl(info.data_len) == EATA_2_0B_SIZE)
info399drivers/scsi/eata.cif (protocol_rev != 'A' && info.max_chan > 0)
info402drivers/scsi/eata.cirq = info.irq;
info406drivers/scsi/eata.cif (!info.haaval || info.ata || info.drqvld) {
info408drivers/scsi/eata.cname, info.haaval, info.ata, info.drqvld);
info417drivers/scsi/eata.cif (!info.haaval || info.ata || !info.drqvld) {
info419drivers/scsi/eata.cname, info.haaval, info.ata, info.drqvld);
info424drivers/scsi/eata.cdma_channel = dma_channel_table[3 - info.drqx];
info427drivers/scsi/eata.cif (!info.dmasup)
info430drivers/scsi/eata.cif (subversion == ESA && !info.irq_tr)
info434drivers/scsi/eata.cif (info.second)
info485drivers/scsi/eata.csh[j]->sg_tablesize = (ushort) ntohs(info.scatt_size);
info486drivers/scsi/eata.csh[j]->this_id = (ushort) info.host_addr[3];
info487drivers/scsi/eata.csh[j]->can_queue = (ushort) ntohs(info.queue_size);
info532drivers/scsi/eata.c" max_chan %u.\n", name, protocol_rev, info.isaena, 
info533drivers/scsi/eata.cinfo.forcaddr, info.max_id, info.max_chan);
info536drivers/scsi/eata.cname, info.version, info.sync, ntohl(info.data_len), 
info537drivers/scsi/eata.cntohl(info.cp_len), ntohl(info.sp_len));
info336drivers/scsi/hosts.cif(shpnt->hostt->info)
info337drivers/scsi/hosts.cname = shpnt->hostt->info(shpnt);
info94drivers/scsi/hosts.hconst char *(* info)(struct Scsi_Host *);
info2190drivers/scsi/scsi.cif(tpnt->info)
info2191drivers/scsi/scsi.cname = tpnt->info(shpnt);
info551drivers/scsi/scsi_debug.cint scsi_debug_biosparam(Disk * disk, int dev, int* info){
info553drivers/scsi/scsi_debug.cinfo[0] = 32;
info554drivers/scsi/scsi_debug.cinfo[1] = 64;
info555drivers/scsi/scsi_debug.cinfo[2] = (size + 2047) >> 11;
info556drivers/scsi/scsi_debug.cif (info[2] >= 1024) info[2] = 1024;
info37drivers/scsi/scsi_ioctl.cif(host->hostt->info)
info38drivers/scsi/scsi_ioctl.cstring = host->hostt->info(host);
info143drivers/sound/dev_table.hstruct synth_info *info;
info162drivers/sound/dev_table.hint (*pmgr_interface) (int dev, struct patmgr_info *info);
info171drivers/sound/dev_table.hstruct midi_info info;
info189drivers/sound/dev_table.hstruct sound_timer_info info;
info113drivers/sound/midi_synth.cIOCTL_TO_USER ((char *) arg, 0, synth_devs[dev]->info,
info1086drivers/sound/mpu401.cstrcpy (mpu401_midi_operations[num_midis].info.name,
info1091drivers/sound/mpu401.cmpu401_synth_operations[devc->devno].info =
info1537drivers/sound/sequencer.cIOCTL_TO_USER ((char *) arg, 0, (char *) &(midi_devs[dev]->info), sizeof (inf));
info211drivers/sound/sound_switch.cif (!put_status (synth_devs[i]->info->name))
info226drivers/sound/sound_switch.cif (!put_status (midi_devs[i]->info.name))
info241drivers/sound/sound_switch.cif (!put_status (sound_timer_devs[i]->info.name))
info72fs/minix/dir.cstruct minix_sb_info * info;
info76fs/minix/dir.cinfo = &inode->i_sb->u.minix_sb;
info77fs/minix/dir.cif (filp->f_pos & (info->s_dirsize - 1))
info89fs/minix/dir.coffset += info->s_dirsize;
info90fs/minix/dir.cfilp->f_pos += info->s_dirsize;
info94fs/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)) {
info197fs/minix/namei.cfor (i = 0; i < info->s_namelen ; i++)
info313fs/minix/namei.cstruct minix_sb_info * info;
info319fs/minix/namei.cinfo = &dir->i_sb->u.minix_sb;
info336fs/minix/namei.cinode->i_size = 2 * info->s_dirsize;
info348fs/minix/namei.cde = (struct minix_dir_entry *) (dir_block->b_data + info->s_dirsize);
info383fs/minix/namei.cstruct minix_sb_info * info;
info387fs/minix/namei.cinfo = &inode->i_sb->u.minix_sb;
info390fs/minix/namei.coffset = 2*info->s_dirsize;
info391fs/minix/namei.cif (inode->i_size & (info->s_dirsize-1))
info401fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + info->s_dirsize);
info413fs/minix/namei.coffset += info->s_dirsize;
info664fs/minix/namei.c(((struct minix_dir_entry *) ((buffer)+info->s_dirsize))->inode)
info682fs/minix/namei.cstruct minix_sb_info * info;
info685fs/minix/namei.cinfo = &old_dir->i_sb->u.minix_sb;
info154fs/umsdos/dir.cstruct umsdos_info info;
info157fs/umsdos/dir.cumsdos_parse (entry.name,entry.name_len,&info);
info158fs/umsdos/dir.cinfo.f_pos = cur_f_pos;
info160fs/umsdos/dir.cumsdos_manglename (&info);
info161fs/umsdos/dir.clret = umsdos_real_lookup (dir,info.fake.fname
info162fs/umsdos/dir.c,info.fake.len,&inode);
info164fs/umsdos/dir.c,info.fake.fname,lret,entry.flags));
info213fs/umsdos/dir.cret = umsdos_writeentry (dir,emd_dir,&info,1);
info560fs/umsdos/dir.cstruct umsdos_info info;
info561fs/umsdos/dir.cret = umsdos_parse (name,len,&info);
info562fs/umsdos/dir.cif (ret == 0) ret = umsdos_findentry (dir,&info,0);
info563fs/umsdos/dir.cPRINTK (("lookup %s pos %d ret %d len %d ",info.fake.fname,info.f_pos,ret
info564fs/umsdos/dir.c,info.fake.len));
info576fs/umsdos/dir.cret = umsdos_real_lookup (dir,info.fake.fname,info.fake.len,result);
info580fs/umsdos/dir.c,info.fake.fname);
info581fs/umsdos/dir.cumsdos_delentry (dir,&info,S_ISDIR(info.entry.mode));
info583fs/umsdos/dir.cumsdos_lookup_patch (dir,inode,&info.entry,info.f_pos);
info585fs/umsdos/dir.c,info.entry.flags));
info586fs/umsdos/dir.cif (info.entry.flags & UMSDOS_HLINK){
info179fs/umsdos/emd.cstruct umsdos_info *info,
info184fs/umsdos/emd.cstruct umsdos_dirent *entry = &info->entry;
info206fs/umsdos/emd.cfilp.f_pos = info->f_pos;
info208fs/umsdos/emd.cret = umsdos_emd_dir_write(emd_dir,&filp,(char*)entry,info->recsize);
info281fs/umsdos/emd.cstruct umsdos_info *info,    /* Hold name and name_len */
info294fs/umsdos/emd.cstruct umsdos_dirent *entry = &info->entry;
info295fs/umsdos/emd.cint recsize = info->recsize;
info319fs/umsdos/emd.cinfo->f_pos = empty.posok;
info326fs/umsdos/emd.cinfo->f_pos = file_pos;
info349fs/umsdos/emd.cinfo->f_pos = empty.posok;
info357fs/umsdos/emd.cinfo->f_pos = file_pos;
info367fs/umsdos/emd.cumsdos_manglename(info);
info381fs/umsdos/emd.cstruct umsdos_info *info)
info384fs/umsdos/emd.cint ret = umsdos_find (dir,info,&emd_dir);
info388fs/umsdos/emd.cret = umsdos_writeentry(dir,emd_dir,info,0);
info400fs/umsdos/emd.cstruct umsdos_info *info)
info404fs/umsdos/emd.cumsdos_parse ("..LINK",6,info);
info405fs/umsdos/emd.cinfo->entry.name_len = 0;
info406fs/umsdos/emd.cret = umsdos_find (dir,info,&emd_dir);
info414fs/umsdos/emd.cinfo->entry.name_len = sprintf (info->entry.name,"..LINK%ld"
info415fs/umsdos/emd.c,info->f_pos);
info428fs/umsdos/emd.cstruct umsdos_info *info,
info432fs/umsdos/emd.cint ret = umsdos_find (dir,info,&emd_dir);
info434fs/umsdos/emd.cif (info->entry.name_len != 0){
info435fs/umsdos/emd.cif ((isdir != 0) != (S_ISDIR(info->entry.mode) != 0)){
info436fs/umsdos/emd.cif (S_ISDIR(info->entry.mode)){
info442fs/umsdos/emd.cret = umsdos_writeentry(dir,emd_dir,info,1);
info490fs/umsdos/emd.cstruct umsdos_info *info,
info496fs/umsdos/emd.cint ret = umsdos_find (dir,info,&emd_dir);
info499fs/umsdos/emd.cif (S_ISDIR(info->entry.mode)){
info109fs/umsdos/ioctl.cstruct umsdos_info info;
info111fs/umsdos/ioctl.cumsdos_parse (entry.name,entry.name_len,&info);
info112fs/umsdos/ioctl.cinfo.f_pos = f_pos;
info113fs/umsdos/ioctl.cumsdos_manglename(&info);
info117fs/umsdos/ioctl.c,info.fake.fname,info.fake.len+1);
info159fs/umsdos/ioctl.cstruct umsdos_info info;
info162fs/umsdos/ioctl.cmemcpy (&info.entry,&data.umsdos_dirent
info165fs/umsdos/ioctl.c,data.umsdos_dirent.name_len,&info);
info166fs/umsdos/ioctl.cret = umsdos_newentry (dir,&info);
info191fs/umsdos/ioctl.cstruct umsdos_info info;
info194fs/umsdos/ioctl.cmemcpy (&info.entry,&data.umsdos_dirent
info197fs/umsdos/ioctl.c,data.umsdos_dirent.name_len,&info);
info198fs/umsdos/ioctl.cret = umsdos_delentry (dir,&info
info27fs/umsdos/mangle.cvoid umsdos_manglename (struct umsdos_info *info)
info29fs/umsdos/mangle.cif (info->msdos_reject){
info77fs/umsdos/mangle.cchar *pt = info->fake.fname + info->fake.len;
info91fs/umsdos/mangle.cu.entry_num = info->f_pos / UMSDOS_REC_SIZE;
info102fs/umsdos/mangle.cinfo->fake.len += 4;
info103fs/umsdos/mangle.cinfo->msdos_reject = 0;    /* Avoid mangling twice */
info140fs/umsdos/mangle.cstruct umsdos_info *info)
info287fs/umsdos/mangle.cchar *pt = info->fake.fname;
info293fs/umsdos/mangle.cmemcpy (info->fake.fname,fname,msdos_len);
info296fs/umsdos/mangle.cinfo->msdos_reject = 1;
info305fs/umsdos/mangle.cstrncpy (info->fake.fname,fname,len);
info306fs/umsdos/mangle.cinfo->msdos_reject = 0;
info359fs/umsdos/mangle.cif (memcmp(info->fake.fname,tbdev[i],base_len)==0){
info360fs/umsdos/mangle.cmemcpy (basen,info->fake.fname,base_len);
info366fs/umsdos/mangle.cinfo->fake.fname[0] = '-';
info367fs/umsdos/mangle.cstrcpy (info->fake.fname+1,basen);  /* GLU  C'est sur on a un 0 a la fin */
info369fs/umsdos/mangle.cinfo->msdos_reject = 1;
info374fs/umsdos/mangle.cinfo->fake.fname[msdos_len] = '\0';  /* Help doing printk */
info376fs/umsdos/mangle.cinfo->fake.len = msdos_len;
info378fs/umsdos/mangle.cmemcpy (info->entry.name,fname,len);
info379fs/umsdos/mangle.cinfo->entry.name_len = len;
info385fs/umsdos/mangle.cinfo->recsize = umsdos_evalrecsize (len);
info457fs/umsdos/mangle.cstruct umsdos_info info;
info458fs/umsdos/mangle.cint ok = umsdos_parse (pttb->fname,strlen(pttb->fname),&info);
info459fs/umsdos/mangle.cif (strcmp(info.fake.fname,pttb->msname)!=0){
info461fs/umsdos/mangle.cprintf ("%s <> %s\n",info.fake.fname,pttb->msname);
info462fs/umsdos/mangle.c}else if (info.msdos_reject != pttb->msdos_reject){
info464fs/umsdos/mangle.cprintf ("%d <> %d\n",info.msdos_reject,pttb->msdos_reject);
info216fs/umsdos/namei.cstruct umsdos_info info;
info217fs/umsdos/namei.cret = umsdos_parse (name,len,&info);
info220fs/umsdos/namei.cinfo.entry.mode = mode;
info221fs/umsdos/namei.cinfo.entry.rdev = rdev;
info222fs/umsdos/namei.cinfo.entry.flags = flags;
info223fs/umsdos/namei.cinfo.entry.uid = current->fsuid;
info224fs/umsdos/namei.cinfo.entry.gid = (dir->i_mode & S_ISGID)
info226fs/umsdos/namei.cinfo.entry.ctime = info.entry.atime = info.entry.mtime
info228fs/umsdos/namei.cinfo.entry.nlink = 1;
info230fs/umsdos/namei.cret = umsdos_newentry (dir,&info);
info233fs/umsdos/namei.cret = msdos_create (dir,info.fake.fname,info.fake.len
info237fs/umsdos/namei.cumsdos_lookup_patch (dir,inode,&info.entry,info.f_pos);
info240fs/umsdos/namei.c,info.fake.fname,current->pid,info.f_pos));
info267fs/umsdos/namei.c,info.fake.fname,-ret,current->pid,info.f_pos);
info269fs/umsdos/namei.cumsdos_delentry (dir,&info,0);
info272fs/umsdos/namei.c,info.fake.fname,ret,info.f_pos));
info596fs/umsdos/namei.cstruct umsdos_info info;
info597fs/umsdos/namei.cret = umsdos_newhidden (olddir,&info);
info603fs/umsdos/namei.c,olddir,info.entry.name,info.entry.name_len
info689fs/umsdos/namei.cstruct umsdos_info info;
info690fs/umsdos/namei.cret = umsdos_parse (name,len,&info);
info693fs/umsdos/namei.cinfo.entry.mode = mode | S_IFDIR;
info694fs/umsdos/namei.cinfo.entry.rdev = 0;
info695fs/umsdos/namei.cinfo.entry.uid = current->fsuid;
info696fs/umsdos/namei.cinfo.entry.gid = (dir->i_mode & S_ISGID)
info698fs/umsdos/namei.cinfo.entry.ctime = info.entry.atime = info.entry.mtime
info700fs/umsdos/namei.cinfo.entry.flags = 0;
info702fs/umsdos/namei.cinfo.entry.nlink = 1;
info703fs/umsdos/namei.cret = umsdos_newentry (dir,&info);
info707fs/umsdos/namei.cret = msdos_mkdir (dir,info.fake.fname,info.fake.len,mode);
info709fs/umsdos/namei.cumsdos_delentry (dir,&info,1);
info722fs/umsdos/namei.cret = umsdos_real_lookup (dir,info.fake.fname
info723fs/umsdos/namei.c,info.fake.len,&subdir);
info897fs/umsdos/namei.cstruct umsdos_info info;
info899fs/umsdos/namei.cumsdos_parse (name,len,&info);
info902fs/umsdos/namei.cumsdos_findentry (dir,&info,2);
info903fs/umsdos/namei.cret = msdos_rmdir (dir,info.fake.fname
info904fs/umsdos/namei.c,info.fake.len);
info906fs/umsdos/namei.cret = umsdos_delentry (dir,&info,1);
info938fs/umsdos/namei.cstruct umsdos_info info;
info939fs/umsdos/namei.cret = umsdos_parse (name,len,&info);
info942fs/umsdos/namei.cret = umsdos_findentry(dir,&info,1);
info944fs/umsdos/namei.cPRINTK (("UMSDOS_unlink %s ",info.fake.fname));
info947fs/umsdos/namei.ccurrent->fsuid == info.entry.uid ||
info949fs/umsdos/namei.cif (info.entry.flags & UMSDOS_HLINK){
info988fs/umsdos/namei.cret = umsdos_delentry (dir,&info,0);
info990fs/umsdos/namei.cPRINTK (("Avant msdos_unlink %s ",info.fake.fname));
info992fs/umsdos/namei.cret = msdos_unlink_umsdos (dir,info.fake.fname
info993fs/umsdos/namei.c,info.fake.len);
info994fs/umsdos/namei.cPRINTK (("msdos_unlink %s %o ret %d ",info.fake.fname
info995fs/umsdos/namei.c,info.entry.mode,ret));
info71include/asm-i386/processor.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));
info99net/inet/icmp.cvoid icmp_send(struct sk_buff *skb_in, int type, int code, unsigned long info, struct device *dev)
info255net/inet/icmp.cicmph->un.gateway = info;  /* This might not be meant for 
info29net/inet/icmp.hunsigned long info, struct device *dev);