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)
info847drivers/block/ide-cd.cstruct cdrom_info *info = &drive->cdrom_info;
info852drivers/block/ide-cd.cinfo->nsectors_buffered);
info859drivers/block/ide-cd.cif (info->sector_buffer == NULL)
info861drivers/block/ide-cd.cinfo->sector_buffer = (char *) kmalloc (SECTOR_BUFFER_SIZE, GFP_ATOMIC);
info864drivers/block/ide-cd.cif (info->sector_buffer == NULL)
info869drivers/block/ide-cd.cif (info->nsectors_buffered == 0)
info870drivers/block/ide-cd.cinfo->sector_buffered = sector;
info873drivers/block/ide-cd.cdest = info->sector_buffer + info->nsectors_buffered * SECTOR_SIZE;
info879drivers/block/ide-cd.c++info->nsectors_buffered;
info1054drivers/block/ide-cd.cstruct cdrom_info *info = &drive->cdrom_info;
info1058drivers/block/ide-cd.cif (info->sector_buffer == NULL) return 0;
info1063drivers/block/ide-cd.crq->sector >= info->sector_buffered &&
info1064drivers/block/ide-cd.crq->sector < info->sector_buffered + info->nsectors_buffered)
info1070drivers/block/ide-cd.cinfo->sector_buffer +
info1071drivers/block/ide-cd.c(rq->sector - info->sector_buffered) * SECTOR_SIZE,
info160drivers/block/ide.hbyte info[4];
info1597drivers/cdrom/mcdx.cmcdx_requesttocdata(struct s_drive_stuff *stuffp, struct s_diskinfo *info, int tries)
info1602drivers/cdrom/mcdx.cinfo->n_first = bcd2uint(buf[1]);
info1603drivers/cdrom/mcdx.cinfo->n_last = bcd2uint(buf[2]);
info1604drivers/cdrom/mcdx.cinfo->msf_leadout.minute = buf[3];
info1605drivers/cdrom/mcdx.cinfo->msf_leadout.second = buf[4];
info1606drivers/cdrom/mcdx.cinfo->msf_leadout.frame = buf[5];
info1607drivers/cdrom/mcdx.cinfo->msf_first.minute = buf[6];
info1608drivers/cdrom/mcdx.cinfo->msf_first.second = buf[7];
info1609drivers/cdrom/mcdx.cinfo->msf_first.frame = buf[8];
info502drivers/cdrom/sjcd.cstruct sjcd_hw_disk_info info;
info529drivers/cdrom/sjcd.cif( sjcd_load_response( &info, sizeof( info ) ) != 0 ){
info533drivers/cdrom/sjcd.csjcd_first_track_no = bcd2bin( info.un.track_no );
info558drivers/cdrom/sjcd.cif( sjcd_load_response( &info, sizeof( info ) ) != 0 ){
info562drivers/cdrom/sjcd.csjcd_last_track_no = bcd2bin( info.un.track_no );
info616drivers/cdrom/sjcd.cif( sjcd_load_response( &info, sizeof( info ) ) != 0 ){
info620drivers/cdrom/sjcd.csjcd_disk_length.min = info.un.track_msf.min;
info621drivers/cdrom/sjcd.csjcd_disk_length.sec = info.un.track_msf.sec;
info622drivers/cdrom/sjcd.csjcd_disk_length.frame = info.un.track_msf.frame;
info414drivers/char/cyclades.cserial_paranoia_check(struct cyclades_port *info,
info425drivers/char/cyclades.cif (!info) {
info430drivers/char/cyclades.cif( (long)info < (long)(&cy_port[0])
info431drivers/char/cyclades.c|| (long)(&cy_port[NR_PORTS]) < (long)info ){
info436drivers/char/cyclades.cif (info->magic != CYCLADES_MAGIC) {
info510drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info516drivers/char/cyclades.cprintk("cy_stop ttyC%d\n", info->line); /* */
info519drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_stop"))
info522drivers/char/cyclades.ccinfo = &cy_card[info->card];
info524drivers/char/cyclades.cchannel = info->line - cinfo->first_line;
info528drivers/char/cyclades.c(cy_card[info->card].base_addr + (cy_chip_offset[chip]<<index));
info542drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info548drivers/char/cyclades.cprintk("cy_start ttyC%d\n", info->line); /* */
info551drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_start"))
info554drivers/char/cyclades.ccinfo = &cy_card[info->card];
info556drivers/char/cyclades.cchannel = info->line - cinfo->first_line;
info560drivers/char/cyclades.c(cy_card[info->card].base_addr + (cy_chip_offset[chip]<<index));
info578drivers/char/cyclades.ccy_sched_event(struct cyclades_port *info, int event)
info580drivers/char/cyclades.cinfo->event |= 1 << event; /* remember what kind of event and who */
info581drivers/char/cyclades.cqueue_task_irq_off(&info->tqueue, &tq_cyclades); /* it belongs to */
info627drivers/char/cyclades.cstruct cyclades_port *info;
info673drivers/char/cyclades.cinfo = &cy_port[i];
info674drivers/char/cyclades.cinfo->last_active = jiffies;
info679drivers/char/cyclades.cif(info->tty == 0){
info690drivers/char/cyclades.ctty = info->tty;
info694drivers/char/cyclades.cif(data & info->ignore_status_mask){
info699drivers/char/cyclades.cif (data & info->read_status_mask){
info705drivers/char/cyclades.cif (info->flags & ASYNC_SAK){
info754drivers/char/cyclades.c++info->mon.int_count;
info755drivers/char/cyclades.cinfo->mon.char_count += char_count;
info756drivers/char/cyclades.cif (char_count > info->mon.char_max)
info757drivers/char/cyclades.cinfo->mon.char_max = char_count;
info758drivers/char/cyclades.cinfo->mon.char_last = char_count;
info797drivers/char/cyclades.cinfo = &cy_port[i];
info798drivers/char/cyclades.cinfo->last_active = jiffies;
info799drivers/char/cyclades.cif(info->tty == 0){
info805drivers/char/cyclades.cchar_count = info->xmit_fifo_size;
info808drivers/char/cyclades.cif(info->x_char) { /* send special char */
info809drivers/char/cyclades.coutch = info->x_char;
info812drivers/char/cyclades.cinfo->x_char = 0;
info815drivers/char/cyclades.cif (info->x_break){
info828drivers/char/cyclades.cbase_addr[CyTDR<<index] = info->x_break*200/HZ;
info832drivers/char/cyclades.cinfo->x_break = 0;
info836drivers/char/cyclades.cif (!info->xmit_cnt){
info840drivers/char/cyclades.cif (info->xmit_buf == 0){
info844drivers/char/cyclades.cif (info->tty->stopped || info->tty->hw_stopped){
info859drivers/char/cyclades.coutch = info->xmit_buf[info->xmit_tail];
info861drivers/char/cyclades.cinfo->xmit_cnt--;
info862drivers/char/cyclades.cinfo->xmit_tail = (info->xmit_tail + 1)
info867drivers/char/cyclades.cinfo->xmit_cnt--;
info868drivers/char/cyclades.cinfo->xmit_tail = (info->xmit_tail + 1)
info879drivers/char/cyclades.cif (info->xmit_cnt < WAKEUP_CHARS) {
info880drivers/char/cyclades.ccy_sched_event(info, Cy_EVENT_WRITE_WAKEUP);
info894drivers/char/cyclades.cinfo = &cy_port[channel + chip * 4 + cinfo->first_line];
info895drivers/char/cyclades.cinfo->last_active = jiffies;
info902drivers/char/cyclades.cif(info->tty == 0){ /* nowhere to put the data, ignore it */
info906drivers/char/cyclades.c&& (info->flags & ASYNC_CHECK_CD)){
info909drivers/char/cyclades.ccy_sched_event(info, Cy_EVENT_OPEN_WAKEUP);
info910drivers/char/cyclades.c}else if(!((info->flags & ASYNC_CALLOUT_ACTIVE)
info911drivers/char/cyclades.c&&(info->flags & ASYNC_CALLOUT_NOHUP))){
info913drivers/char/cyclades.ccy_sched_event(info, Cy_EVENT_HANGUP);
info917drivers/char/cyclades.c&& (info->flags & ASYNC_CTS_FLOW)){
info918drivers/char/cyclades.cif(info->tty->stopped){
info921drivers/char/cyclades.cinfo->tty->stopped = 0;
info923drivers/char/cyclades.ccy_sched_event(info, Cy_EVENT_WRITE_WAKEUP);
info928drivers/char/cyclades.cinfo->tty->stopped = 1;
info982drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *) private_;
info985drivers/char/cyclades.ctty = info->tty;
info989drivers/char/cyclades.cif (clear_bit(Cy_EVENT_HANGUP, &info->event)) {
info990drivers/char/cyclades.ctty_hangup(info->tty);
info991drivers/char/cyclades.cwake_up_interruptible(&info->open_wait);
info992drivers/char/cyclades.cinfo->flags &= ~(ASYNC_NORMAL_ACTIVE|
info995drivers/char/cyclades.cif (clear_bit(Cy_EVENT_OPEN_WAKEUP, &info->event)) {
info996drivers/char/cyclades.cwake_up_interruptible(&info->open_wait);
info998drivers/char/cyclades.cif (clear_bit(Cy_EVENT_WRITE_WAKEUP, &info->event)) {
info1160drivers/char/cyclades.cstartup(struct cyclades_port * info)
info1166drivers/char/cyclades.cif (info->flags & ASYNC_INITIALIZED){
info1170drivers/char/cyclades.cif (!info->type){
info1171drivers/char/cyclades.cif (info->tty){
info1172drivers/char/cyclades.cset_bit(TTY_IO_ERROR, &info->tty->flags);
info1176drivers/char/cyclades.cif (!info->xmit_buf){
info1177drivers/char/cyclades.cinfo->xmit_buf = (unsigned char *) get_free_page (GFP_KERNEL);
info1178drivers/char/cyclades.cif (!info->xmit_buf){
info1183drivers/char/cyclades.cconfig_setup(info);
info1185drivers/char/cyclades.ccard = info->card;
info1186drivers/char/cyclades.cchannel = (info->line) - (cy_card[card].first_line);
info1201drivers/char/cyclades.cbase_addr[CyRTPR<<index] = (info->default_timeout
info1202drivers/char/cyclades.c? info->default_timeout
info1218drivers/char/cyclades.cinfo->flags |= ASYNC_INITIALIZED;
info1220drivers/char/cyclades.cif (info->tty){
info1221drivers/char/cyclades.cclear_bit(TTY_IO_ERROR, &info->tty->flags);
info1223drivers/char/cyclades.cinfo->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
info1234drivers/char/cyclades.cstart_xmit( struct cyclades_port *info )
info1240drivers/char/cyclades.ccard = info->card;
info1241drivers/char/cyclades.cchannel = (info->line) - (cy_card[card].first_line);
info1259drivers/char/cyclades.cshutdown(struct cyclades_port * info)
info1265drivers/char/cyclades.cif (!(info->flags & ASYNC_INITIALIZED)){
info1270drivers/char/cyclades.ccard = info->card;
info1271drivers/char/cyclades.cchannel = info->line - cy_card[card].first_line;
info1290drivers/char/cyclades.cif (info->xmit_buf){
info1291drivers/char/cyclades.cfree_page((unsigned long) info->xmit_buf);
info1292drivers/char/cyclades.cinfo->xmit_buf = 0;
info1296drivers/char/cyclades.cif (!info->tty || (info->tty->termios->c_cflag & HUPCL)) {
info1308drivers/char/cyclades.cif (info->tty){
info1309drivers/char/cyclades.cset_bit(TTY_IO_ERROR, &info->tty->flags);
info1311drivers/char/cyclades.cinfo->flags &= ~ASYNC_INITIALIZED;
info1324drivers/char/cyclades.cconfig_setup(struct cyclades_port * info)
info1332drivers/char/cyclades.cif (!info->tty || !info->tty->termios){
info1335drivers/char/cyclades.cif (info->line == -1){
info1338drivers/char/cyclades.ccflag = info->tty->termios->c_cflag;
info1361drivers/char/cyclades.cinfo->tty->termios->c_cflag &= ~CBAUDEX;
info1365drivers/char/cyclades.cif ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_HI)
info1367drivers/char/cyclades.cif ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_VHI)
info1370drivers/char/cyclades.cinfo->tbpr = baud_bpr[i]; /* Tx BPR */
info1371drivers/char/cyclades.cinfo->tco = baud_co[i]; /* Tx CO */
info1372drivers/char/cyclades.cinfo->rbpr = baud_bpr[i]; /* Rx BPR */
info1373drivers/char/cyclades.cinfo->rco = baud_co[i]; /* Rx CO */
info1375drivers/char/cyclades.cinfo->timeout = (info->xmit_fifo_size*HZ*30/269) + 2;
info1378drivers/char/cyclades.cinfo->timeout = (info->xmit_fifo_size*HZ*15/baud_table[i]) + 2;
info1381drivers/char/cyclades.cinfo->timeout = 0;
info1388drivers/char/cyclades.cinfo->cor5 = 0;
info1389drivers/char/cyclades.cinfo->cor4 = 0;
info1390drivers/char/cyclades.cinfo->cor3 = (info->default_threshold
info1391drivers/char/cyclades.c? info->default_threshold
info1393drivers/char/cyclades.cinfo->cor2 = CyETC;
info1396drivers/char/cyclades.cinfo->cor1 = Cy_5_BITS;
info1399drivers/char/cyclades.cinfo->cor1 = Cy_6_BITS;
info1402drivers/char/cyclades.cinfo->cor1 = Cy_7_BITS;
info1405drivers/char/cyclades.cinfo->cor1 = Cy_8_BITS;
info1409drivers/char/cyclades.cinfo->cor1 |= Cy_2_STOP;
info1413drivers/char/cyclades.cinfo->cor1 |= CyPARITY_O;
info1415drivers/char/cyclades.cinfo->cor1 |= CyPARITY_E;
info1418drivers/char/cyclades.cinfo->cor1 |= CyPARITY_NONE;
info1423drivers/char/cyclades.cinfo->flags |= ASYNC_CTS_FLOW;
info1424drivers/char/cyclades.cinfo->cor2 |= CyCtsAE;
info1426drivers/char/cyclades.cinfo->flags &= ~ASYNC_CTS_FLOW;
info1427drivers/char/cyclades.cinfo->cor2 &= ~CyCtsAE;
info1430drivers/char/cyclades.cinfo->flags &= ~ASYNC_CHECK_CD;
info1432drivers/char/cyclades.cinfo->flags |= ASYNC_CHECK_CD;
info1444drivers/char/cyclades.ccard = info->card;
info1445drivers/char/cyclades.cchannel = (info->line) - (cy_card[card].first_line);
info1457drivers/char/cyclades.cbase_addr[CyTCOR<<index] = info->tco;
info1458drivers/char/cyclades.cbase_addr[CyTBPR<<index] = info->tbpr;
info1459drivers/char/cyclades.cbase_addr[CyRCOR<<index] = info->rco;
info1460drivers/char/cyclades.cbase_addr[CyRBPR<<index] = info->rbpr;
info1464drivers/char/cyclades.cbase_addr[CySCHR1<<index] = START_CHAR(info->tty);
info1465drivers/char/cyclades.cbase_addr[CySCHR2<<index] = STOP_CHAR(info->tty);
info1466drivers/char/cyclades.cbase_addr[CyCOR1<<index] = info->cor1;
info1467drivers/char/cyclades.cbase_addr[CyCOR2<<index] = info->cor2;
info1468drivers/char/cyclades.cbase_addr[CyCOR3<<index] = info->cor3;
info1469drivers/char/cyclades.cbase_addr[CyCOR4<<index] = info->cor4;
info1470drivers/char/cyclades.cbase_addr[CyCOR5<<index] = info->cor5;
info1476drivers/char/cyclades.cbase_addr[CyRTPR<<index] = (info->default_timeout
info1477drivers/char/cyclades.c? info->default_timeout
info1480drivers/char/cyclades.cif (C_CLOCAL(info->tty)) {
info1508drivers/char/cyclades.cif (info->tty){
info1509drivers/char/cyclades.cclear_bit(TTY_IO_ERROR, &info->tty->flags);
info1520drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info1524drivers/char/cyclades.cprintk("cy_put_char ttyC%d\n", info->line);
info1527drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_put_char"))
info1530drivers/char/cyclades.cif (!tty || !info->xmit_buf)
info1534drivers/char/cyclades.cif (info->xmit_cnt >= PAGE_SIZE - 1) {
info1539drivers/char/cyclades.cinfo->xmit_buf[info->xmit_head++] = ch;
info1540drivers/char/cyclades.cinfo->xmit_head &= PAGE_SIZE - 1;
info1541drivers/char/cyclades.cinfo->xmit_cnt++;
info1549drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info1555drivers/char/cyclades.cprintk("cy_flush_chars ttyC%d\n", info->line); /* */
info1558drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_flush_chars"))
info1561drivers/char/cyclades.cif (info->xmit_cnt <= 0 || tty->stopped
info1562drivers/char/cyclades.c|| tty->hw_stopped || !info->xmit_buf)
info1565drivers/char/cyclades.ccard = info->card;
info1566drivers/char/cyclades.cchannel = info->line - cy_card[card].first_line;
info1590drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info1595drivers/char/cyclades.cprintk("cy_write ttyC%d\n", info->line); /* */
info1598drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_write")){
info1602drivers/char/cyclades.cif (!tty || !info->xmit_buf || !tmp_buf){
info1608drivers/char/cyclades.cc = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
info1609drivers/char/cyclades.cSERIAL_XMIT_SIZE - info->xmit_head));
info1618drivers/char/cyclades.cc = MIN(c, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
info1619drivers/char/cyclades.cSERIAL_XMIT_SIZE - info->xmit_head));
info1620drivers/char/cyclades.cmemcpy(info->xmit_buf + info->xmit_head, tmp_buf, c);
info1623drivers/char/cyclades.cmemcpy(info->xmit_buf + info->xmit_head, buf, c);
info1624drivers/char/cyclades.cinfo->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1);
info1625drivers/char/cyclades.cinfo->xmit_cnt += c;
info1633drivers/char/cyclades.cif (info->xmit_cnt
info1636drivers/char/cyclades.cstart_xmit(info);
info1645drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info1649drivers/char/cyclades.cprintk("cy_write_room ttyC%d\n", info->line); /* */
info1652drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_write_room"))
info1654drivers/char/cyclades.cret = PAGE_SIZE - info->xmit_cnt - 1;
info1664drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info1667drivers/char/cyclades.cprintk("cy_chars_in_buffer ttyC%d %d\n", info->line, info->xmit_cnt); /* */
info1670drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_chars_in_buffer"))
info1673drivers/char/cyclades.creturn info->xmit_cnt;
info1680drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info1684drivers/char/cyclades.cprintk("cy_flush_buffer ttyC%d\n", info->line); /* */
info1687drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_flush_buffer"))
info1690drivers/char/cyclades.cinfo->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
info1706drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info1716drivers/char/cyclades.cprintk("cy_throttle ttyC%d\n", info->line);
info1719drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_nthrottle")){
info1724drivers/char/cyclades.cinfo->x_char = STOP_CHAR(tty);
info1728drivers/char/cyclades.ccard = info->card;
info1729drivers/char/cyclades.cchannel = info->line - cy_card[card].first_line;
info1748drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info1758drivers/char/cyclades.cprintk("cy_unthrottle ttyC%d\n", info->line);
info1761drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_nthrottle")){
info1766drivers/char/cyclades.cinfo->x_char = START_CHAR(tty);
info1770drivers/char/cyclades.ccard = info->card;
info1771drivers/char/cyclades.cchannel = info->line - cy_card[card].first_line;
info1787drivers/char/cyclades.cget_serial_info(struct cyclades_port * info,
info1791drivers/char/cyclades.cstruct cyclades_card *cinfo = &cy_card[info->card];
info1797drivers/char/cyclades.ctmp.type = info->type;
info1798drivers/char/cyclades.ctmp.line = info->line;
info1799drivers/char/cyclades.ctmp.port = info->card * 0x100 + info->line - cinfo->first_line;
info1801drivers/char/cyclades.ctmp.flags = info->flags;
info1803drivers/char/cyclades.ctmp.close_delay = info->close_delay;
info1811drivers/char/cyclades.cset_serial_info(struct cyclades_port * info,
info1821drivers/char/cyclades.cold_info = *info;
info1824drivers/char/cyclades.cif ((new_serial.close_delay != info->close_delay) ||
info1826drivers/char/cyclades.c(info->flags & ASYNC_FLAGS & ~ASYNC_USR_MASK)))
info1828drivers/char/cyclades.cinfo->flags = ((info->flags & ~ASYNC_USR_MASK) |
info1839drivers/char/cyclades.cinfo->flags = ((info->flags & ~ASYNC_FLAGS) |
info1841drivers/char/cyclades.cinfo->close_delay = new_serial.close_delay;
info1845drivers/char/cyclades.cif (info->flags & ASYNC_INITIALIZED){
info1846drivers/char/cyclades.cconfig_setup(info);
info1849drivers/char/cyclades.creturn startup(info);
info1854drivers/char/cyclades.cget_modem_info(struct cyclades_port * info, unsigned int *value)
info1862drivers/char/cyclades.ccard = info->card;
info1863drivers/char/cyclades.cchannel = (info->line) - (cy_card[card].first_line);
info1887drivers/char/cyclades.cset_modem_info(struct cyclades_port * info, unsigned int cmd,
info1895drivers/char/cyclades.ccard = info->card;
info1896drivers/char/cyclades.cchannel = (info->line) - (cy_card[card].first_line);
info1983drivers/char/cyclades.csend_break( struct cyclades_port * info, int duration)
info1987drivers/char/cyclades.cinfo->x_break = duration;
info1988drivers/char/cyclades.cif (!info->xmit_cnt ) {
info1989drivers/char/cyclades.cstart_xmit(info);
info1994drivers/char/cyclades.cget_mon_info(struct cyclades_port * info, struct cyclades_monitor * mon)
info1997drivers/char/cyclades.cmemcpy_tofs(mon, &info->mon, sizeof(struct cyclades_monitor));
info1998drivers/char/cyclades.cinfo->mon.int_count  = 0;
info1999drivers/char/cyclades.cinfo->mon.char_count = 0;
info2000drivers/char/cyclades.cinfo->mon.char_max   = 0;
info2001drivers/char/cyclades.cinfo->mon.char_last  = 0;
info2006drivers/char/cyclades.cset_threshold(struct cyclades_port * info, unsigned long value)
info2011drivers/char/cyclades.ccard = info->card;
info2012drivers/char/cyclades.cchannel = info->line - cy_card[card].first_line;
info2019drivers/char/cyclades.cinfo->cor3 &= ~CyREC_FIFO;
info2020drivers/char/cyclades.cinfo->cor3 |= value & CyREC_FIFO;
info2021drivers/char/cyclades.cbase_addr[CyCOR3<<index] = info->cor3;
info2027drivers/char/cyclades.cget_threshold(struct cyclades_port * info, unsigned long *value)
info2033drivers/char/cyclades.ccard = info->card;
info2034drivers/char/cyclades.cchannel = info->line - cy_card[card].first_line;
info2047drivers/char/cyclades.cset_default_threshold(struct cyclades_port * info, unsigned long value)
info2049drivers/char/cyclades.cinfo->default_threshold = value & 0x0f;
info2054drivers/char/cyclades.cget_default_threshold(struct cyclades_port * info, unsigned long *value)
info2056drivers/char/cyclades.cput_fs_long(info->default_threshold,value);
info2061drivers/char/cyclades.cset_timeout(struct cyclades_port * info, unsigned long value)
info2066drivers/char/cyclades.ccard = info->card;
info2067drivers/char/cyclades.cchannel = info->line - cy_card[card].first_line;
info2079drivers/char/cyclades.cget_timeout(struct cyclades_port * info, unsigned long *value)
info2085drivers/char/cyclades.ccard = info->card;
info2086drivers/char/cyclades.cchannel = info->line - cy_card[card].first_line;
info2099drivers/char/cyclades.cset_default_timeout(struct cyclades_port * info, unsigned long value)
info2101drivers/char/cyclades.cinfo->default_timeout = value & 0xff;
info2106drivers/char/cyclades.cget_default_timeout(struct cyclades_port * info, unsigned long *value)
info2108drivers/char/cyclades.cput_fs_long(info->default_timeout,value);
info2117drivers/char/cyclades.cstruct cyclades_port * info = (struct cyclades_port *)tty->driver_data;
info2121drivers/char/cyclades.cprintk("cy_ioctl ttyC%d, cmd = %x arg = %lx\n", info->line, cmd, arg); /* */
info2132drivers/char/cyclades.cret_val = get_mon_info(info, (struct cyclades_monitor *)arg);
info2141drivers/char/cyclades.cret_val = get_threshold(info, (unsigned long *)arg);
info2144drivers/char/cyclades.cret_val = set_threshold(info, (unsigned long)arg);
info2153drivers/char/cyclades.cret_val = get_default_threshold(info, (unsigned long *)arg);
info2156drivers/char/cyclades.cret_val = set_default_threshold(info, (unsigned long)arg);
info2165drivers/char/cyclades.cret_val = get_timeout(info, (unsigned long *)arg);
info2168drivers/char/cyclades.cret_val = set_timeout(info, (unsigned long)arg);
info2177drivers/char/cyclades.cret_val = get_default_timeout(info, (unsigned long *)arg);
info2180drivers/char/cyclades.cret_val = set_default_timeout(info, (unsigned long)arg);
info2188drivers/char/cyclades.csend_break(info, HZ/4); /* 1/4 second */
info2195drivers/char/cyclades.csend_break(info, arg ? arg*(HZ/10) : HZ/4);
info2200drivers/char/cyclades.cret_val = set_modem_info(info, cmd, (unsigned int *) arg);
info2227drivers/char/cyclades.cret_val = get_modem_info(info, (unsigned int *) arg);
info2236drivers/char/cyclades.cret_val = get_serial_info(info,
info2240drivers/char/cyclades.cret_val = set_serial_info(info,
info2260drivers/char/cyclades.cstruct cyclades_port *info = (struct cyclades_port *)tty->driver_data;
info2263drivers/char/cyclades.cprintk("cy_set_termios ttyC%d\n", info->line);
info2268drivers/char/cyclades.cconfig_setup(info);
info2278drivers/char/cyclades.cwake_up_interruptible(&info->open_wait);
info2288drivers/char/cyclades.cstruct cyclades_port * info = (struct cyclades_port *)tty->driver_data;
info2292drivers/char/cyclades.cprintk("cy_close ttyC%d\n", info->line);
info2295drivers/char/cyclades.cif (!info
info2296drivers/char/cyclades.c|| serial_paranoia_check(info, tty->device, "cy_close")){
info2300drivers/char/cyclades.cprintk("cy_close ttyC%d, count = %d\n", info->line, info->count);
info2303drivers/char/cyclades.cif ((tty->count == 1) && (info->count != 1)) {
info2312drivers/char/cyclades.c"info->count is %d\n", info->count);
info2313drivers/char/cyclades.cinfo->count = 1;
info2316drivers/char/cyclades.cprintk("cyc: %d: decrementing count to %d\n", __LINE__, info->count - 1);
info2318drivers/char/cyclades.cif (--info->count < 0) {
info2322drivers/char/cyclades.cinfo->count = 0;
info2324drivers/char/cyclades.cif (info->count)
info2326drivers/char/cyclades.cinfo->flags |= ASYNC_CLOSING;
info2331drivers/char/cyclades.cif (info->flags & ASYNC_NORMAL_ACTIVE)
info2332drivers/char/cyclades.cinfo->normal_termios = *tty->termios;
info2333drivers/char/cyclades.cif (info->flags & ASYNC_CALLOUT_ACTIVE)
info2334drivers/char/cyclades.cinfo->callout_termios = *tty->termios;
info2335drivers/char/cyclades.cif (info->flags & ASYNC_INITIALIZED)
info2337drivers/char/cyclades.cshutdown(info);
info2342drivers/char/cyclades.cinfo->event = 0;
info2343drivers/char/cyclades.cinfo->tty = 0;
info2352drivers/char/cyclades.cif (info->blocked_open) {
info2353drivers/char/cyclades.cif (info->close_delay) {
info2355drivers/char/cyclades.ccurrent->timeout = jiffies + info->close_delay;
info2358drivers/char/cyclades.cwake_up_interruptible(&info->open_wait);
info2360drivers/char/cyclades.cinfo->flags &= ~(ASYNC_NORMAL_ACTIVE|ASYNC_CALLOUT_ACTIVE|
info2362drivers/char/cyclades.cwake_up_interruptible(&info->close_wait);
info2377drivers/char/cyclades.cstruct cyclades_port * info = (struct cyclades_port *)tty->driver_data;
info2380drivers/char/cyclades.cprintk("cy_hangup ttyC%d\n", info->line); /* */
info2383drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_hangup"))
info2386drivers/char/cyclades.cshutdown(info);
info2388drivers/char/cyclades.cinfo->event = 0;
info2389drivers/char/cyclades.cinfo->count = 0;
info2393drivers/char/cyclades.cinfo->tty = 0;
info2395drivers/char/cyclades.cinfo->flags &= ~(ASYNC_NORMAL_ACTIVE|ASYNC_CALLOUT_ACTIVE);
info2396drivers/char/cyclades.cwake_up_interruptible(&info->open_wait);
info2409drivers/char/cyclades.cstruct cyclades_port *info)
info2422drivers/char/cyclades.cif (info->flags & ASYNC_CLOSING) {
info2423drivers/char/cyclades.cinterruptible_sleep_on(&info->close_wait);
info2424drivers/char/cyclades.cif (info->flags & ASYNC_HUP_NOTIFY){
info2436drivers/char/cyclades.cif (info->flags & ASYNC_NORMAL_ACTIVE){
info2439drivers/char/cyclades.cif ((info->flags & ASYNC_CALLOUT_ACTIVE) &&
info2440drivers/char/cyclades.c(info->flags & ASYNC_SESSION_LOCKOUT) &&
info2441drivers/char/cyclades.c(info->session != current->session)){
info2444drivers/char/cyclades.cif ((info->flags & ASYNC_CALLOUT_ACTIVE) &&
info2445drivers/char/cyclades.c(info->flags & ASYNC_PGRP_LOCKOUT) &&
info2446drivers/char/cyclades.c(info->pgrp != current->pgrp)){
info2449drivers/char/cyclades.cinfo->flags |= ASYNC_CALLOUT_ACTIVE;
info2458drivers/char/cyclades.cif (info->flags & ASYNC_CALLOUT_ACTIVE){
info2461drivers/char/cyclades.cinfo->flags |= ASYNC_NORMAL_ACTIVE;
info2473drivers/char/cyclades.cadd_wait_queue(&info->open_wait, &wait);
info2476drivers/char/cyclades.cinfo->line, info->count);/**/
info2478drivers/char/cyclades.cinfo->count--;
info2480drivers/char/cyclades.cprintk("cyc: %d: decrementing count to %d\n", __LINE__, info->count);
info2482drivers/char/cyclades.cinfo->blocked_open++;
info2484drivers/char/cyclades.ccinfo = &cy_card[info->card];
info2485drivers/char/cyclades.cchannel = info->line - cinfo->first_line;
info2493drivers/char/cyclades.cif (!(info->flags & ASYNC_CALLOUT_ACTIVE)){
info2506drivers/char/cyclades.c|| !(info->flags & ASYNC_INITIALIZED) ){
info2507drivers/char/cyclades.cif (info->flags & ASYNC_HUP_NOTIFY) {
info2517drivers/char/cyclades.cif (!(info->flags & ASYNC_CALLOUT_ACTIVE)
info2518drivers/char/cyclades.c&& !(info->flags & ASYNC_CLOSING)
info2531drivers/char/cyclades.cinfo->line, info->count);/**/
info2536drivers/char/cyclades.cremove_wait_queue(&info->open_wait, &wait);
info2538drivers/char/cyclades.cinfo->count++;
info2540drivers/char/cyclades.cprintk("cyc: %d: incrementing count to %d\n", __LINE__, info->count);
info2543drivers/char/cyclades.cinfo->blocked_open--;
info2546drivers/char/cyclades.cinfo->line, info->count);/**/
info2550drivers/char/cyclades.cinfo->flags |= ASYNC_NORMAL_ACTIVE;
info2561drivers/char/cyclades.cstruct cyclades_port  *info;
info2569drivers/char/cyclades.cinfo = &cy_port[line];
info2570drivers/char/cyclades.cif (info->line < 0){
info2574drivers/char/cyclades.cprintk("cy_open ttyC%d\n", info->line); /* */
info2576drivers/char/cyclades.cif (serial_paranoia_check(info, tty->device, "cy_open")){
info2580drivers/char/cyclades.cprintk("cy_open ttyC%d, count = %d\n", info->line, info->count);/**/
info2582drivers/char/cyclades.cinfo->count++;
info2584drivers/char/cyclades.cprintk("cyc: %d: incrementing count to %d\n", __LINE__, info->count);
info2586drivers/char/cyclades.ctty->driver_data = info;
info2587drivers/char/cyclades.cinfo->tty = tty;
info2596drivers/char/cyclades.cif ((info->count == 1) && (info->flags & ASYNC_SPLIT_TERMIOS)) {
info2598drivers/char/cyclades.c*tty->termios = info->normal_termios;
info2600drivers/char/cyclades.c*tty->termios = info->callout_termios;
info2605drivers/char/cyclades.cretval = startup(info);
info2610drivers/char/cyclades.cretval = block_til_ready(tty, filp, info);
info2619drivers/char/cyclades.cinfo->session = current->session;
info2620drivers/char/cyclades.cinfo->pgrp = current->pgrp;
info2735drivers/char/cyclades.cstruct cyclades_port  *info;
info2836drivers/char/cyclades.cinfo = &cy_port[port];
info2837drivers/char/cyclades.cinfo->magic = CYCLADES_MAGIC;
info2838drivers/char/cyclades.cinfo->type = PORT_CIRRUS;
info2839drivers/char/cyclades.cinfo->card = board;
info2840drivers/char/cyclades.cinfo->line = port;
info2841drivers/char/cyclades.cinfo->flags = STD_COM_FLAGS;
info2842drivers/char/cyclades.cinfo->tty = 0;
info2843drivers/char/cyclades.cinfo->xmit_fifo_size = 12;
info2844drivers/char/cyclades.cinfo->cor1 = CyPARITY_NONE|Cy_1_STOP|Cy_8_BITS;
info2845drivers/char/cyclades.cinfo->cor2 = CyETC;
info2846drivers/char/cyclades.cinfo->cor3 = 0x08; /* _very_ small receive threshold */
info2847drivers/char/cyclades.cinfo->cor4 = 0;
info2848drivers/char/cyclades.cinfo->cor5 = 0;
info2849drivers/char/cyclades.cinfo->tbpr = baud_bpr[13]; /* Tx BPR */
info2850drivers/char/cyclades.cinfo->tco = baud_co[13]; /* Tx CO */
info2851drivers/char/cyclades.cinfo->rbpr = baud_bpr[13]; /* Rx BPR */
info2852drivers/char/cyclades.cinfo->rco = baud_co[13]; /* Rx CO */
info2853drivers/char/cyclades.cinfo->close_delay = 0;
info2854drivers/char/cyclades.cinfo->x_char = 0;
info2855drivers/char/cyclades.cinfo->event = 0;
info2856drivers/char/cyclades.cinfo->count = 0;
info2860drivers/char/cyclades.cinfo->blocked_open = 0;
info2861drivers/char/cyclades.cinfo->default_threshold = 0;
info2862drivers/char/cyclades.cinfo->default_timeout = 0;
info2863drivers/char/cyclades.cinfo->tqueue.routine = do_softint;
info2864drivers/char/cyclades.cinfo->tqueue.data = info;
info2865drivers/char/cyclades.cinfo->callout_termios =cy_callout_driver.init_termios;
info2866drivers/char/cyclades.cinfo->normal_termios = cy_serial_driver.init_termios;
info2867drivers/char/cyclades.cinfo->open_wait = 0;
info2868drivers/char/cyclades.cinfo->close_wait = 0;
info2871drivers/char/cyclades.cinfo->read_status_mask = CyTIMEOUT| CySPECHAR| CyBREAK
info3067drivers/char/cyclades.cstruct cyclades_port * info;
info3070drivers/char/cyclades.cinfo = &cy_port[line_num];
info3071drivers/char/cyclades.ccard = info->card;
info3073drivers/char/cyclades.cchannel = (info->line) - (cy_card[card].first_line);
info3085drivers/char/cyclades.cinfo->card, info->line, info->flags);
info3087drivers/char/cyclades.c(long)info->tty, info->read_status_mask,
info3088drivers/char/cyclades.cinfo->timeout, info->xmit_fifo_size);
info3090drivers/char/cyclades.cinfo->cor1, info->cor2, info->cor3, info->cor4, info->cor5);
info3092drivers/char/cyclades.cinfo->tbpr, info->tco, info->rbpr, info->rco);
info3094drivers/char/cyclades.cinfo->close_delay, info->event, info->count);
info3096drivers/char/cyclades.cinfo->x_char, info->blocked_open);
info3098drivers/char/cyclades.cinfo->session, info->pgrp, (long)info->open_wait);
info91drivers/char/serial.cstatic void autoconfig(struct async_struct * info);
info92drivers/char/serial.cstatic void change_speed(struct async_struct *info);
info206drivers/char/serial.cstatic inline int serial_paranoia_check(struct async_struct *info,
info215drivers/char/serial.cif (!info) {
info219drivers/char/serial.cif (info->magic != SERIAL_MAGIC) {
info234drivers/char/serial.cstatic inline unsigned int serial_in(struct async_struct *info, int offset)
info237drivers/char/serial.cif (info->hub6) {
info238drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
info239drivers/char/serial.creturn inb(info->port+1);
info242drivers/char/serial.creturn inb(info->port + offset);
info245drivers/char/serial.cstatic inline unsigned int serial_inp(struct async_struct *info, int offset)
info248drivers/char/serial.cif (info->hub6) {
info249drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
info250drivers/char/serial.creturn inb_p(info->port+1);
info254drivers/char/serial.creturn inb(info->port + offset);
info256drivers/char/serial.creturn inb_p(info->port + offset);
info260drivers/char/serial.cstatic inline void serial_out(struct async_struct *info, int offset, int value)
info263drivers/char/serial.cif (info->hub6) {
info264drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
info265drivers/char/serial.coutb(value, info->port+1);
info268drivers/char/serial.coutb(value, info->port+offset);
info271drivers/char/serial.cstatic inline void serial_outp(struct async_struct *info, int offset,
info275drivers/char/serial.cif (info->hub6) {
info276drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
info277drivers/char/serial.coutb_p(value, info->port+1);
info281drivers/char/serial.coutb(value, info->port+offset);
info283drivers/char/serial.coutb_p(value, info->port+offset);
info297drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info300drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_stop"))
info304drivers/char/serial.cif (info->IER & UART_IER_THRI) {
info305drivers/char/serial.cinfo->IER &= ~UART_IER_THRI;
info306drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info313drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info316drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_start"))
info320drivers/char/serial.cif (info->xmit_cnt && info->xmit_buf && !(info->IER & UART_IER_THRI)) {
info321drivers/char/serial.cinfo->IER |= UART_IER_THRI;
info322drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info363drivers/char/serial.cstatic _INLINE_ void rs_sched_event(struct async_struct *info,
info366drivers/char/serial.cinfo->event |= 1 << event;
info367drivers/char/serial.cqueue_task_irq_off(&info->tqueue, &tq_serial);
info371drivers/char/serial.cstatic _INLINE_ void receive_chars(struct async_struct *info,
info374drivers/char/serial.cstruct tty_struct *tty = info->tty;
info379drivers/char/serial.cch = serial_inp(info, UART_RX);
info380drivers/char/serial.cif (*status & info->ignore_status_mask) {
info391drivers/char/serial.cif (info->flags & ASYNC_SAK)
info403drivers/char/serial.c*status = serial_inp(info, UART_LSR) & info->read_status_mask;
info411drivers/char/serial.cstatic _INLINE_ void transmit_chars(struct async_struct *info, int *intr_done)
info415drivers/char/serial.cif (info->x_char) {
info416drivers/char/serial.cserial_outp(info, UART_TX, info->x_char);
info417drivers/char/serial.cinfo->x_char = 0;
info422drivers/char/serial.cif ((info->xmit_cnt <= 0) || info->tty->stopped ||
info423drivers/char/serial.cinfo->tty->hw_stopped) {
info424drivers/char/serial.cinfo->IER &= ~UART_IER_THRI;
info425drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info429drivers/char/serial.ccount = info->xmit_fifo_size;
info431drivers/char/serial.cserial_out(info, UART_TX, info->xmit_buf[info->xmit_tail++]);
info432drivers/char/serial.cinfo->xmit_tail = info->xmit_tail & (SERIAL_XMIT_SIZE-1);
info433drivers/char/serial.cif (--info->xmit_cnt <= 0)
info437drivers/char/serial.cif (info->xmit_cnt < WAKEUP_CHARS)
info438drivers/char/serial.crs_sched_event(info, RS_EVENT_WRITE_WAKEUP);
info446drivers/char/serial.cif (info->xmit_cnt <= 0) {
info447drivers/char/serial.cinfo->IER &= ~UART_IER_THRI;
info448drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info452drivers/char/serial.cstatic _INLINE_ void check_modem_status(struct async_struct *info)
info456drivers/char/serial.cstatus = serial_in(info, UART_MSR);
info458drivers/char/serial.cif ((info->flags & ASYNC_CHECK_CD) && (status & UART_MSR_DDCD)) {
info460drivers/char/serial.cprintk("ttys%d CD now %s...", info->line,
info464drivers/char/serial.cwake_up_interruptible(&info->open_wait);
info465drivers/char/serial.celse if (!((info->flags & ASYNC_CALLOUT_ACTIVE) &&
info466drivers/char/serial.c(info->flags & ASYNC_CALLOUT_NOHUP))) {
info470drivers/char/serial.cqueue_task_irq_off(&info->tqueue_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_WRITE_WAKEUP, &info->event)) {
info744drivers/char/serial.cstruct async_struct  *info = (struct async_struct *) private_;
info747drivers/char/serial.ctty = info->tty;
info765drivers/char/serial.cstruct async_struct *info;
info770drivers/char/serial.cinfo = IRQ_ports[i];
info771drivers/char/serial.cif (!info)
info774drivers/char/serial.cif (info->next_port) {
info776drivers/char/serial.cserial_out(info, UART_IER, 0);
info777drivers/char/serial.cinfo->IER |= UART_IER_THRI;
info778drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info779drivers/char/serial.cinfo = info->next_port;
info780drivers/char/serial.c} while (info);
info851drivers/char/serial.cstruct  async_struct  *info;
info854drivers/char/serial.cinfo = IRQ_ports[irq];
info855drivers/char/serial.cif (!info) {
info859drivers/char/serial.cwhile (info) {
info860drivers/char/serial.cif (info->timeout < timeout)
info861drivers/char/serial.ctimeout = info->timeout;
info862drivers/char/serial.cinfo = info->next_port;
info869drivers/char/serial.cstatic int startup(struct async_struct * info)
info876drivers/char/serial.cif (info->flags & ASYNC_INITIALIZED)
info879drivers/char/serial.cif (!info->port || !info->type) {
info880drivers/char/serial.cif (info->tty)
info881drivers/char/serial.cset_bit(TTY_IO_ERROR, &info->tty->flags);
info885drivers/char/serial.cif (!info->xmit_buf) {
info886drivers/char/serial.cinfo->xmit_buf = (unsigned char *) get_free_page(GFP_KERNEL);
info887drivers/char/serial.cif (!info->xmit_buf)
info894drivers/char/serial.cprintk("starting up ttys%d (irq %d)...", info->line, info->irq);
info901drivers/char/serial.cif (info->type == PORT_16650) {
info902drivers/char/serial.cserial_outp(info, UART_FCR, (UART_FCR_CLEAR_RCVR |
info904drivers/char/serial.cinfo->xmit_fifo_size = 1; /* disabled for now */
info905drivers/char/serial.c} else if (info->type == PORT_16550A) {
info906drivers/char/serial.cserial_outp(info, UART_FCR, (UART_FCR_CLEAR_RCVR |
info908drivers/char/serial.cinfo->xmit_fifo_size = 16;
info910drivers/char/serial.cinfo->xmit_fifo_size = 1;
info917drivers/char/serial.cif (serial_inp(info, UART_LSR) == 0xff) {
info920drivers/char/serial.cif (info->tty)
info921drivers/char/serial.cset_bit(TTY_IO_ERROR, &info->tty->flags);
info930drivers/char/serial.cif (info->irq && (!IRQ_ports[info->irq] ||
info931drivers/char/serial.c!IRQ_ports[info->irq]->next_port)) {
info932drivers/char/serial.cif (IRQ_ports[info->irq]) {
info933drivers/char/serial.cfree_irq(info->irq);
info934drivers/char/serial.cif (rs_multiport[info->irq].port1)
info941drivers/char/serial.cretval = request_irq(info->irq, handler, SA_INTERRUPT, "serial");
info945drivers/char/serial.cif (info->tty)
info947drivers/char/serial.c&info->tty->flags);
info958drivers/char/serial.c(void) serial_inp(info, UART_RX);
info959drivers/char/serial.c(void) serial_inp(info, UART_IIR);
info960drivers/char/serial.c(void) serial_inp(info, UART_MSR);
info965drivers/char/serial.cserial_outp(info, UART_LCR, UART_LCR_WLEN8);  /* reset DLAB */
info966drivers/char/serial.cif (info->flags & ASYNC_FOURPORT) {
info967drivers/char/serial.cinfo->MCR = UART_MCR_DTR | UART_MCR_RTS;
info968drivers/char/serial.cinfo->MCR_noint = UART_MCR_DTR | UART_MCR_OUT1;
info970drivers/char/serial.cinfo->MCR = UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2;
info971drivers/char/serial.cinfo->MCR_noint = UART_MCR_DTR | UART_MCR_RTS;
info974drivers/char/serial.cinfo->MCR |= UART_MCR_OUT1 | UART_MCR_OUT2;
info975drivers/char/serial.cinfo->MCR_noint |= UART_MCR_OUT1 | UART_MCR_OUT2;
info977drivers/char/serial.cif (info->irq == 0)
info978drivers/char/serial.cinfo->MCR = info->MCR_noint;
info979drivers/char/serial.cserial_outp(info, UART_MCR, info->MCR);
info984drivers/char/serial.cinfo->IER = UART_IER_MSI | UART_IER_RLSI | UART_IER_RDI;
info985drivers/char/serial.cserial_outp(info, UART_IER, info->IER);  /* enable interrupts */
info987drivers/char/serial.cif (info->flags & ASYNC_FOURPORT) {
info989drivers/char/serial.cICP = (info->port & 0xFE0) | 0x01F;
info997drivers/char/serial.c(void)serial_inp(info, UART_LSR);
info998drivers/char/serial.c(void)serial_inp(info, UART_RX);
info999drivers/char/serial.c(void)serial_inp(info, UART_IIR);
info1000drivers/char/serial.c(void)serial_inp(info, UART_MSR);
info1002drivers/char/serial.cif (info->tty)
info1003drivers/char/serial.cclear_bit(TTY_IO_ERROR, &info->tty->flags);
info1004drivers/char/serial.cinfo->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
info1009drivers/char/serial.cinfo->prev_port = 0;
info1010drivers/char/serial.cinfo->next_port = IRQ_ports[info->irq];
info1011drivers/char/serial.cif (info->next_port)
info1012drivers/char/serial.cinfo->next_port->prev_port = info;
info1013drivers/char/serial.cIRQ_ports[info->irq] = info;
info1014drivers/char/serial.cfigure_IRQ_timeout(info->irq);
info1025drivers/char/serial.cchange_speed(info);
info1027drivers/char/serial.cinfo->flags |= ASYNC_INITIALIZED;
info1036drivers/char/serial.cstatic void shutdown(struct async_struct * info)
info1041drivers/char/serial.cif (!(info->flags & ASYNC_INITIALIZED))
info1045drivers/char/serial.cprintk("Shutting down serial port %d (irq %d)....", info->line,
info1046drivers/char/serial.cinfo->irq);
info1054drivers/char/serial.cif (info->next_port)
info1055drivers/char/serial.cinfo->next_port->prev_port = info->prev_port;
info1056drivers/char/serial.cif (info->prev_port)
info1057drivers/char/serial.cinfo->prev_port->next_port = info->next_port;
info1059drivers/char/serial.cIRQ_ports[info->irq] = info->next_port;
info1060drivers/char/serial.cfigure_IRQ_timeout(info->irq);
info1065drivers/char/serial.cif (info->irq && (!IRQ_ports[info->irq] ||
info1066drivers/char/serial.c!IRQ_ports[info->irq]->next_port)) {
info1067drivers/char/serial.cif (IRQ_ports[info->irq]) {
info1068drivers/char/serial.cfree_irq(info->irq);
info1069drivers/char/serial.cretval = request_irq(info->irq, rs_interrupt_single, SA_INTERRUPT, "serial");
info1075drivers/char/serial.cfree_irq(info->irq);
info1078drivers/char/serial.cif (info->xmit_buf) {
info1079drivers/char/serial.cfree_page((unsigned long) info->xmit_buf);
info1080drivers/char/serial.cinfo->xmit_buf = 0;
info1083drivers/char/serial.cinfo->IER = 0;
info1084drivers/char/serial.cserial_outp(info, UART_IER, 0x00);  /* disable all intrs */
info1085drivers/char/serial.cif (info->flags & ASYNC_FOURPORT) {
info1087drivers/char/serial.c(void) inb((info->port & 0xFE0) | 0x01F);
info1090drivers/char/serial.cif (!info->tty || (info->tty->termios->c_cflag & HUPCL)) {
info1091drivers/char/serial.cinfo->MCR &= ~(UART_MCR_DTR|UART_MCR_RTS);
info1092drivers/char/serial.cinfo->MCR_noint &= ~(UART_MCR_DTR|UART_MCR_RTS);
info1094drivers/char/serial.cserial_outp(info, UART_MCR, info->MCR_noint);
info1097drivers/char/serial.cserial_outp(info, UART_FCR, (UART_FCR_CLEAR_RCVR |
info1099drivers/char/serial.c(void)serial_in(info, UART_RX);    /* read data port to reset things */
info1101drivers/char/serial.cif (info->tty)
info1102drivers/char/serial.cset_bit(TTY_IO_ERROR, &info->tty->flags);
info1104drivers/char/serial.cinfo->flags &= ~ASYNC_INITIALIZED;
info1112drivers/char/serial.cstatic void change_speed(struct async_struct *info)
info1119drivers/char/serial.cif (!info->tty || !info->tty->termios)
info1121drivers/char/serial.ccflag = info->tty->termios->c_cflag;
info1122drivers/char/serial.cif (!(port = info->port))
info1128drivers/char/serial.cinfo->tty->termios->c_cflag &= ~CBAUDEX;
info1133drivers/char/serial.cif ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_HI)
info1135drivers/char/serial.cif ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_VHI)
info1137drivers/char/serial.cif ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_CUST)
info1138drivers/char/serial.cquot = info->custom_divisor;
info1141drivers/char/serial.cinfo->timeout = ((info->xmit_fifo_size*HZ*15*quot) /
info1142drivers/char/serial.cinfo->baud_base) + 2;
info1144drivers/char/serial.cquot = (2*info->baud_base / 269);
info1145drivers/char/serial.cinfo->timeout = (info->xmit_fifo_size*HZ*30/269) + 2;
info1147drivers/char/serial.cquot = info->baud_base / baud_table[i];
info1148drivers/char/serial.cinfo->timeout = (info->xmit_fifo_size*HZ*15/baud_table[i]) + 2;
info1151drivers/char/serial.cinfo->timeout = 0;
info1154drivers/char/serial.cinfo->MCR |= UART_MCR_DTR;
info1155drivers/char/serial.cinfo->MCR_noint |= UART_MCR_DTR;
info1157drivers/char/serial.cserial_out(info, UART_MCR, info->MCR);
info1160drivers/char/serial.cinfo->MCR &= ~UART_MCR_DTR;
info1161drivers/char/serial.cinfo->MCR_noint &= ~UART_MCR_DTR;
info1163drivers/char/serial.cserial_out(info, UART_MCR, info->MCR);
info1182drivers/char/serial.cif (info->type == PORT_16550A) {
info1183drivers/char/serial.cif ((info->baud_base / quot) < 2400)
info1187drivers/char/serial.c} else if (info->type == PORT_16650) {
info1203drivers/char/serial.cinfo->IER &= ~UART_IER_MSI;
info1205drivers/char/serial.cinfo->flags |= ASYNC_CTS_FLOW;
info1206drivers/char/serial.cinfo->IER |= UART_IER_MSI;
info1208drivers/char/serial.cinfo->flags &= ~ASYNC_CTS_FLOW;
info1210drivers/char/serial.cinfo->flags &= ~ASYNC_CHECK_CD;
info1212drivers/char/serial.cinfo->flags |= ASYNC_CHECK_CD;
info1213drivers/char/serial.cinfo->IER |= UART_IER_MSI;
info1215drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info1220drivers/char/serial.cinfo->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR;
info1221drivers/char/serial.cif (I_INPCK(info->tty))
info1222drivers/char/serial.cinfo->read_status_mask |= UART_LSR_FE | UART_LSR_PE;
info1223drivers/char/serial.cif (I_BRKINT(info->tty) || I_PARMRK(info->tty))
info1224drivers/char/serial.cinfo->read_status_mask |= UART_LSR_BI;
info1226drivers/char/serial.cinfo->ignore_status_mask = 0;
info1227drivers/char/serial.cif (I_IGNPAR(info->tty)) {
info1228drivers/char/serial.cinfo->ignore_status_mask |= UART_LSR_PE | UART_LSR_FE;
info1229drivers/char/serial.cinfo->read_status_mask |= UART_LSR_PE | UART_LSR_FE;
info1231drivers/char/serial.cif (I_IGNBRK(info->tty)) {
info1232drivers/char/serial.cinfo->ignore_status_mask |= UART_LSR_BI;
info1233drivers/char/serial.cinfo->read_status_mask |= UART_LSR_BI;
info1238drivers/char/serial.cif (I_IGNPAR(info->tty)) {
info1239drivers/char/serial.cinfo->ignore_status_mask |= UART_LSR_OE;
info1240drivers/char/serial.cinfo->read_status_mask |= UART_LSR_OE;
info1245drivers/char/serial.cserial_outp(info, UART_LCR, cval | UART_LCR_DLAB);  /* set DLAB */
info1246drivers/char/serial.cserial_outp(info, UART_DLL, quot & 0xff);  /* LS of divisor */
info1247drivers/char/serial.cserial_outp(info, UART_DLM, quot >> 8);    /* MS of divisor */
info1248drivers/char/serial.cserial_outp(info, UART_LCR, cval);    /* reset DLAB */
info1249drivers/char/serial.cserial_outp(info, UART_FCR, fcr);   /* set fcr */
info1255drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1258drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_put_char"))
info1261drivers/char/serial.cif (!tty || !info->xmit_buf)
info1265drivers/char/serial.cif (info->xmit_cnt >= SERIAL_XMIT_SIZE - 1) {
info1270drivers/char/serial.cinfo->xmit_buf[info->xmit_head++] = ch;
info1271drivers/char/serial.cinfo->xmit_head &= SERIAL_XMIT_SIZE-1;
info1272drivers/char/serial.cinfo->xmit_cnt++;
info1278drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1281drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_flush_chars"))
info1284drivers/char/serial.cif (info->xmit_cnt <= 0 || tty->stopped || tty->hw_stopped ||
info1285drivers/char/serial.c!info->xmit_buf)
info1289drivers/char/serial.cinfo->IER |= UART_IER_THRI;
info1290drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info1298drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1301drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_write"))
info1304drivers/char/serial.cif (!tty || !info->xmit_buf || !tmp_buf)
info1310drivers/char/serial.cc = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
info1311drivers/char/serial.cSERIAL_XMIT_SIZE - info->xmit_head));
info1318drivers/char/serial.cc = MIN(c, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
info1319drivers/char/serial.cSERIAL_XMIT_SIZE - info->xmit_head));
info1320drivers/char/serial.cmemcpy(info->xmit_buf + info->xmit_head, tmp_buf, c);
info1323drivers/char/serial.cmemcpy(info->xmit_buf + info->xmit_head, buf, c);
info1324drivers/char/serial.cinfo->xmit_head = (info->xmit_head + c) & (SERIAL_XMIT_SIZE-1);
info1325drivers/char/serial.cinfo->xmit_cnt += c;
info1331drivers/char/serial.cif (info->xmit_cnt && !tty->stopped && !tty->hw_stopped &&
info1332drivers/char/serial.c!(info->IER & UART_IER_THRI)) {
info1333drivers/char/serial.cinfo->IER |= UART_IER_THRI;
info1334drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info1342drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1345drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_write_room"))
info1347drivers/char/serial.cret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1;
info1355drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1357drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_chars_in_buffer"))
info1359drivers/char/serial.creturn info->xmit_cnt;
info1364drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1366drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_flush_buffer"))
info1369drivers/char/serial.cinfo->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
info1387drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1395drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_throttle"))
info1399drivers/char/serial.cinfo->x_char = STOP_CHAR(tty);
info1401drivers/char/serial.cinfo->MCR &= ~UART_MCR_RTS;
info1402drivers/char/serial.cinfo->MCR_noint &= ~UART_MCR_RTS;
info1404drivers/char/serial.cserial_out(info, UART_MCR, info->MCR);
info1410drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1418drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_unthrottle"))
info1422drivers/char/serial.cif (info->x_char)
info1423drivers/char/serial.cinfo->x_char = 0;
info1425drivers/char/serial.cinfo->x_char = START_CHAR(tty);
info1427drivers/char/serial.cinfo->MCR |= UART_MCR_RTS;
info1428drivers/char/serial.cinfo->MCR_noint |= UART_MCR_RTS;
info1430drivers/char/serial.cserial_out(info, UART_MCR, info->MCR);
info1440drivers/char/serial.cstatic int get_serial_info(struct async_struct * info,
info1448drivers/char/serial.ctmp.type = info->type;
info1449drivers/char/serial.ctmp.line = info->line;
info1450drivers/char/serial.ctmp.port = info->port;
info1451drivers/char/serial.ctmp.irq = info->irq;
info1452drivers/char/serial.ctmp.flags = info->flags;
info1453drivers/char/serial.ctmp.baud_base = info->baud_base;
info1454drivers/char/serial.ctmp.close_delay = info->close_delay;
info1455drivers/char/serial.ctmp.closing_wait = info->closing_wait;
info1456drivers/char/serial.ctmp.custom_divisor = info->custom_divisor;
info1457drivers/char/serial.ctmp.hub6 = info->hub6;
info1462drivers/char/serial.cstatic int set_serial_info(struct async_struct * info,
info1473drivers/char/serial.cold_info = *info;
info1475drivers/char/serial.cchange_irq = new_serial.irq != info->irq;
info1476drivers/char/serial.cchange_port = (new_serial.port != info->port) || (new_serial.hub6 != info->hub6);
info1480drivers/char/serial.c(new_serial.baud_base != info->baud_base) ||
info1481drivers/char/serial.c(new_serial.type != info->type) ||
info1482drivers/char/serial.c(new_serial.close_delay != info->close_delay) ||
info1484drivers/char/serial.c(info->flags & ~ASYNC_USR_MASK)))
info1486drivers/char/serial.cinfo->flags = ((info->flags & ~ASYNC_USR_MASK) |
info1488drivers/char/serial.cinfo->custom_divisor = new_serial.custom_divisor;
info1503drivers/char/serial.cif ((info != &rs_table[i]) &&
info1509drivers/char/serial.cif ((change_port || change_irq) && (info->count > 1))
info1517drivers/char/serial.cinfo->baud_base = new_serial.baud_base;
info1518drivers/char/serial.cinfo->flags = ((info->flags & ~ASYNC_FLAGS) |
info1520drivers/char/serial.cinfo->custom_divisor = new_serial.custom_divisor;
info1521drivers/char/serial.cinfo->type = new_serial.type;
info1522drivers/char/serial.cinfo->close_delay = new_serial.close_delay * HZ/100;
info1523drivers/char/serial.cinfo->closing_wait = new_serial.closing_wait * HZ/100;
info1525drivers/char/serial.crelease_region(info->port,8);
info1531drivers/char/serial.cshutdown(info);
info1532drivers/char/serial.cinfo->irq = new_serial.irq;
info1533drivers/char/serial.cinfo->port = new_serial.port;
info1534drivers/char/serial.cinfo->hub6 = new_serial.hub6;
info1536drivers/char/serial.cif(info->type != PORT_UNKNOWN)
info1537drivers/char/serial.crequest_region(info->port,8,"serial(set)");
info1541drivers/char/serial.cif (!info->port || !info->type)
info1543drivers/char/serial.cif (info->flags & ASYNC_INITIALIZED) {
info1545drivers/char/serial.c(info->flags & ASYNC_SPD_MASK)) ||
info1546drivers/char/serial.c(old_info.custom_divisor != info->custom_divisor))
info1547drivers/char/serial.cchange_speed(info);
info1549drivers/char/serial.cretval = startup(info);
info1564drivers/char/serial.cstatic int get_lsr_info(struct async_struct * info, unsigned int *value)
info1570drivers/char/serial.cstatus = serial_in(info, UART_LSR);
info1578drivers/char/serial.cstatic int get_modem_info(struct async_struct * info, unsigned int *value)
info1583drivers/char/serial.ccontrol = info->MCR;
info1585drivers/char/serial.cstatus = serial_in(info, UART_MSR);
info1597drivers/char/serial.cstatic int set_modem_info(struct async_struct * info, unsigned int cmd,
info1610drivers/char/serial.cinfo->MCR |= UART_MCR_RTS;
info1611drivers/char/serial.cinfo->MCR_noint |= UART_MCR_RTS;
info1614drivers/char/serial.cinfo->MCR |= UART_MCR_DTR;
info1615drivers/char/serial.cinfo->MCR_noint |= UART_MCR_DTR;
info1620drivers/char/serial.cinfo->MCR &= ~UART_MCR_RTS;
info1621drivers/char/serial.cinfo->MCR_noint &= ~UART_MCR_RTS;
info1624drivers/char/serial.cinfo->MCR &= ~UART_MCR_DTR;
info1625drivers/char/serial.cinfo->MCR_noint &= ~UART_MCR_DTR;
info1629drivers/char/serial.cinfo->MCR = ((info->MCR & ~(UART_MCR_RTS | UART_MCR_DTR))
info1632drivers/char/serial.cinfo->MCR_noint = ((info->MCR_noint
info1641drivers/char/serial.cserial_out(info, UART_MCR, info->MCR);
info1646drivers/char/serial.cstatic int do_autoconfig(struct async_struct * info)
info1653drivers/char/serial.cif (info->count > 1)
info1656drivers/char/serial.cshutdown(info);
info1659drivers/char/serial.cautoconfig(info);
info1662drivers/char/serial.cretval = startup(info);
info1672drivers/char/serial.cstatic void send_break(  struct async_struct * info, int duration)
info1674drivers/char/serial.cif (!info->port)
info1679drivers/char/serial.cserial_out(info, UART_LCR, serial_inp(info, UART_LCR) | UART_LCR_SBC);
info1681drivers/char/serial.cserial_out(info, UART_LCR, serial_inp(info, UART_LCR) & ~UART_LCR_SBC);
info1729drivers/char/serial.cstatic int get_multiport_struct(struct async_struct * info,
info1735drivers/char/serial.cmulti = &rs_multiport[info->irq];
info1755drivers/char/serial.cret.irq = info->irq;
info1762drivers/char/serial.cstatic int set_multiport_struct(struct async_struct * info,
info1778drivers/char/serial.cif (new_multi.irq != info->irq || info->irq == 0 ||
info1779drivers/char/serial.c!IRQ_ports[info->irq])
info1782drivers/char/serial.cmulti = &rs_multiport[info->irq];
info1821drivers/char/serial.cif (IRQ_ports[info->irq]->next_port &&
info1823drivers/char/serial.cfree_irq(info->irq);
info1829drivers/char/serial.cretval = request_irq(info->irq, handler, SA_INTERRUPT,
info1844drivers/char/serial.cstruct async_struct * info = (struct async_struct *)tty->driver_data;
info1847drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_ioctl"))
info1864drivers/char/serial.csend_break(info, HZ/4);  /* 1/4 second */
info1871drivers/char/serial.csend_break(info, arg ? arg*(HZ/10) : HZ/4);
info1891drivers/char/serial.creturn get_modem_info(info, (unsigned int *) arg);
info1895drivers/char/serial.creturn set_modem_info(info, cmd, (unsigned int *) arg);
info1901drivers/char/serial.creturn get_serial_info(info,
info1904drivers/char/serial.creturn set_serial_info(info,
info1907drivers/char/serial.creturn do_autoconfig(info);
info1923drivers/char/serial.creturn get_lsr_info(info, (unsigned int *) arg);
info1939drivers/char/serial.cinfo, sizeof(struct async_struct));
info1947drivers/char/serial.creturn get_multiport_struct(info,
info1950drivers/char/serial.creturn set_multiport_struct(info,
info1960drivers/char/serial.cstruct async_struct *info = (struct async_struct *)tty->driver_data;
info1965drivers/char/serial.cchange_speed(info);
info1982drivers/char/serial.cwake_up_interruptible(&info->open_wait);
info1998drivers/char/serial.cstruct async_struct * info = (struct async_struct *)tty->driver_data;
info2002drivers/char/serial.cif (!info || serial_paranoia_check(info, tty->device, "rs_close"))
info2013drivers/char/serial.cprintk("rs_close ttys%d, count = %d\n", info->line, info->count);
info2015drivers/char/serial.cif ((tty->count == 1) && (info->count != 1)) {
info2024drivers/char/serial.c"info->count is %d\n", info->count);
info2025drivers/char/serial.cinfo->count = 1;
info2027drivers/char/serial.cif (--info->count < 0) {
info2029drivers/char/serial.cinfo->line, info->count);
info2030drivers/char/serial.cinfo->count = 0;
info2032drivers/char/serial.cif (info->count) {
info2036drivers/char/serial.cinfo->flags |= ASYNC_CLOSING;
info2041drivers/char/serial.cif (info->flags & ASYNC_NORMAL_ACTIVE)
info2042drivers/char/serial.cinfo->normal_termios = *tty->termios;
info2043drivers/char/serial.cif (info->flags & ASYNC_CALLOUT_ACTIVE)
info2044drivers/char/serial.cinfo->callout_termios = *tty->termios;
info2050drivers/char/serial.cif (info->closing_wait != ASYNC_CLOSING_WAIT_NONE)
info2051drivers/char/serial.ctty_wait_until_sent(tty, info->closing_wait);
info2058drivers/char/serial.cinfo->IER &= ~UART_IER_RLSI;
info2059drivers/char/serial.cinfo->read_status_mask &= ~UART_LSR_DR;
info2060drivers/char/serial.cif (info->flags & ASYNC_INITIALIZED) {
info2061drivers/char/serial.cserial_out(info, UART_IER, info->IER);
info2068drivers/char/serial.cwhile (!(serial_inp(info, UART_LSR) & UART_LSR_TEMT)) {
info2070drivers/char/serial.ccurrent->timeout = jiffies + info->timeout;
info2076drivers/char/serial.cshutdown(info);
info2082drivers/char/serial.cinfo->event = 0;
info2083drivers/char/serial.cinfo->tty = 0;
info2092drivers/char/serial.cif (info->blocked_open) {
info2093drivers/char/serial.cif (info->close_delay) {
info2095drivers/char/serial.ccurrent->timeout = jiffies + info->close_delay;
info2098drivers/char/serial.cwake_up_interruptible(&info->open_wait);
info2100drivers/char/serial.cinfo->flags &= ~(ASYNC_NORMAL_ACTIVE|ASYNC_CALLOUT_ACTIVE|
info2102drivers/char/serial.cwake_up_interruptible(&info->close_wait);
info2111drivers/char/serial.cstruct async_struct * info = (struct async_struct *)tty->driver_data;
info2113drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_hangup"))
info2117drivers/char/serial.cshutdown(info);
info2118drivers/char/serial.cinfo->event = 0;
info2119drivers/char/serial.cinfo->count = 0;
info2120drivers/char/serial.cinfo->flags &= ~(ASYNC_NORMAL_ACTIVE|ASYNC_CALLOUT_ACTIVE);
info2121drivers/char/serial.cinfo->tty = 0;
info2122drivers/char/serial.cwake_up_interruptible(&info->open_wait);
info2131drivers/char/serial.cstruct async_struct *info)
info2141drivers/char/serial.cif (info->flags & ASYNC_CLOSING) {
info2142drivers/char/serial.cinterruptible_sleep_on(&info->close_wait);
info2144drivers/char/serial.cif (info->flags & ASYNC_HUP_NOTIFY)
info2158drivers/char/serial.cif (info->flags & ASYNC_NORMAL_ACTIVE)
info2160drivers/char/serial.cif ((info->flags & ASYNC_CALLOUT_ACTIVE) &&
info2161drivers/char/serial.c(info->flags & ASYNC_SESSION_LOCKOUT) &&
info2162drivers/char/serial.c(info->session != current->session))
info2164drivers/char/serial.cif ((info->flags & ASYNC_CALLOUT_ACTIVE) &&
info2165drivers/char/serial.c(info->flags & ASYNC_PGRP_LOCKOUT) &&
info2166drivers/char/serial.c(info->pgrp != current->pgrp))
info2168drivers/char/serial.cinfo->flags |= ASYNC_CALLOUT_ACTIVE;
info2178drivers/char/serial.cif (info->flags & ASYNC_CALLOUT_ACTIVE)
info2180drivers/char/serial.cinfo->flags |= ASYNC_NORMAL_ACTIVE;
info2184drivers/char/serial.cif (info->flags & ASYNC_CALLOUT_ACTIVE) {
info2185drivers/char/serial.cif (info->normal_termios.c_cflag & CLOCAL)
info2200drivers/char/serial.cadd_wait_queue(&info->open_wait, &wait);
info2203drivers/char/serial.cinfo->line, info->count);
info2205drivers/char/serial.cinfo->count--;
info2206drivers/char/serial.cinfo->blocked_open++;
info2209drivers/char/serial.cif (!(info->flags & ASYNC_CALLOUT_ACTIVE))
info2210drivers/char/serial.cserial_out(info, UART_MCR,
info2211drivers/char/serial.cserial_inp(info, UART_MCR) |
info2216drivers/char/serial.c!(info->flags & ASYNC_INITIALIZED)) {
info2218drivers/char/serial.cif (info->flags & ASYNC_HUP_NOTIFY)
info2227drivers/char/serial.cif (!(info->flags & ASYNC_CALLOUT_ACTIVE) &&
info2228drivers/char/serial.c!(info->flags & ASYNC_CLOSING) &&
info2229drivers/char/serial.c(do_clocal || (serial_in(info, UART_MSR) &
info2238drivers/char/serial.cinfo->line, info->count);
info2243drivers/char/serial.cremove_wait_queue(&info->open_wait, &wait);
info2245drivers/char/serial.cinfo->count++;
info2246drivers/char/serial.cinfo->blocked_open--;
info2249drivers/char/serial.cinfo->line, info->count);
info2253drivers/char/serial.cinfo->flags |= ASYNC_NORMAL_ACTIVE;
info2265drivers/char/serial.cstruct async_struct  *info;
info2271drivers/char/serial.cinfo = rs_table + line;
info2272drivers/char/serial.cif (serial_paranoia_check(info, tty->device, "rs_open"))
info2276drivers/char/serial.cprintk("rs_open %s%d, count = %d\n", tty->driver.name, info->line,
info2277drivers/char/serial.cinfo->count);
info2279drivers/char/serial.cinfo->count++;
info2280drivers/char/serial.ctty->driver_data = info;
info2281drivers/char/serial.cinfo->tty = tty;
info2292drivers/char/serial.cretval = startup(info);
info2296drivers/char/serial.cretval = block_til_ready(tty, filp, info);
info2305drivers/char/serial.cif ((info->count == 1) && (info->flags & ASYNC_SPLIT_TERMIOS)) {
info2307drivers/char/serial.c*tty->termios = info->normal_termios;
info2309drivers/char/serial.c*tty->termios = info->callout_termios;
info2310drivers/char/serial.cchange_speed(info);
info2313drivers/char/serial.cinfo->session = current->session;
info2314drivers/char/serial.cinfo->pgrp = current->pgrp;
info2317drivers/char/serial.cprintk("rs_open ttys%d successful...", info->line);
info2355drivers/char/serial.cstatic int get_auto_irq(struct async_struct *info)
info2358drivers/char/serial.cunsigned short ICP=0, port = info->port;
info2366drivers/char/serial.csave_IER = serial_inp(info, UART_IER);
info2367drivers/char/serial.csave_MCR = serial_inp(info, UART_MCR);
info2368drivers/char/serial.cif (info->flags & ASYNC_FOURPORT)  {
info2369drivers/char/serial.cserial_outp(info, UART_MCR, UART_MCR_DTR | UART_MCR_RTS);
info2370drivers/char/serial.cserial_outp(info, UART_IER, 0x0f);  /* enable all intrs */
info2376drivers/char/serial.cserial_outp(info, UART_MCR,
info2378drivers/char/serial.cserial_outp(info, UART_IER, 0x0f);  /* enable all intrs */
info2384drivers/char/serial.c(void)serial_inp(info, UART_LSR);
info2385drivers/char/serial.c(void)serial_inp(info, UART_RX);
info2386drivers/char/serial.c(void)serial_inp(info, UART_IIR);
info2387drivers/char/serial.c(void)serial_inp(info, UART_MSR);
info2398drivers/char/serial.cserial_outp(info, UART_IER, save_IER);
info2399drivers/char/serial.cserial_outp(info, UART_MCR, save_MCR);
info2400drivers/char/serial.cif (info->flags & ASYNC_FOURPORT)
info2410drivers/char/serial.cstatic int do_auto_irq(struct async_struct * info)
info2412drivers/char/serial.cunsigned     port = info->port;
info2428drivers/char/serial.cirq_try_1 = get_auto_irq(info);
info2430drivers/char/serial.cirq_try_2 = get_auto_irq(info);
info2449drivers/char/serial.cstatic void autoconfig(struct async_struct * info)
info2452drivers/char/serial.cunsigned port = info->port;
info2455drivers/char/serial.cinfo->type = PORT_UNKNOWN;
info2471drivers/char/serial.cscratch = serial_inp(info, UART_IER);
info2472drivers/char/serial.cserial_outp(info, UART_IER, 0);
info2474drivers/char/serial.cscratch2 = serial_inp(info, UART_IER);
info2475drivers/char/serial.cserial_outp(info, UART_IER, scratch);
info2490drivers/char/serial.cif (!(info->flags & ASYNC_SKIP_TEST)) {
info2491drivers/char/serial.cscratch = serial_inp(info, UART_MCR);
info2492drivers/char/serial.cserial_outp(info, UART_MCR, UART_MCR_LOOP | scratch);
info2493drivers/char/serial.cscratch2 = serial_inp(info, UART_MSR);
info2494drivers/char/serial.cserial_outp(info, UART_MCR, UART_MCR_LOOP | 0x0A);
info2495drivers/char/serial.cstatus1 = serial_inp(info, UART_MSR) & 0xF0;
info2496drivers/char/serial.cserial_outp(info, UART_MCR, scratch);
info2497drivers/char/serial.cserial_outp(info, UART_MSR, scratch2);
info2508drivers/char/serial.cif (info->flags & ASYNC_AUTO_IRQ)
info2509drivers/char/serial.cinfo->irq = do_auto_irq(info);
info2511drivers/char/serial.cscratch2 = serial_in(info, UART_LCR);
info2512drivers/char/serial.cserial_outp(info, UART_LCR, scratch2 | UART_LCR_DLAB);
info2513drivers/char/serial.cserial_outp(info, UART_EFR, 0);  /* EFR is the same as FCR */
info2514drivers/char/serial.cserial_outp(info, UART_LCR, scratch2);
info2515drivers/char/serial.cserial_outp(info, UART_FCR, UART_FCR_ENABLE_FIFO);
info2516drivers/char/serial.cscratch = serial_in(info, UART_IIR) >> 6;
info2517drivers/char/serial.cinfo->xmit_fifo_size = 1;
info2520drivers/char/serial.cinfo->type = PORT_16450;
info2523drivers/char/serial.cinfo->type = PORT_UNKNOWN;
info2526drivers/char/serial.cinfo->type = PORT_16550;
info2529drivers/char/serial.cserial_outp(info, UART_LCR, scratch2 | UART_LCR_DLAB);
info2530drivers/char/serial.cif (serial_in(info, UART_EFR) == 0) {
info2531drivers/char/serial.cinfo->type = PORT_16650;
info2532drivers/char/serial.cinfo->xmit_fifo_size = 32;
info2534drivers/char/serial.cinfo->type = PORT_16550A;
info2535drivers/char/serial.cinfo->xmit_fifo_size = 16;
info2537drivers/char/serial.cserial_outp(info, UART_LCR, scratch2);
info2540drivers/char/serial.cif (info->type == PORT_16450) {
info2541drivers/char/serial.cscratch = serial_in(info, UART_SCR);
info2542drivers/char/serial.cserial_outp(info, UART_SCR, 0xa5);
info2543drivers/char/serial.cstatus1 = serial_in(info, UART_SCR);
info2544drivers/char/serial.cserial_outp(info, UART_SCR, 0x5a);
info2545drivers/char/serial.cstatus2 = serial_in(info, UART_SCR);
info2546drivers/char/serial.cserial_outp(info, UART_SCR, scratch);
info2549drivers/char/serial.cinfo->type = PORT_8250;
info2551drivers/char/serial.crequest_region(info->port,8,"serial(auto)");
info2561drivers/char/serial.cserial_outp(info, UART_MCR, 0x0c);
info2563drivers/char/serial.cserial_outp(info, UART_MCR, 0x00);
info2565drivers/char/serial.cserial_outp(info, UART_FCR, (UART_FCR_CLEAR_RCVR |
info2567drivers/char/serial.c(void)serial_in(info, UART_RX);
info2578drivers/char/serial.cstruct async_struct * info;
info2645drivers/char/serial.cfor (i = 0, info = rs_table; i < NR_PORTS; i++,info++) {
info2646drivers/char/serial.cinfo->magic = SERIAL_MAGIC;
info2647drivers/char/serial.cinfo->line = i;
info2648drivers/char/serial.cinfo->tty = 0;
info2649drivers/char/serial.cinfo->type = PORT_UNKNOWN;
info2650drivers/char/serial.cinfo->custom_divisor = 0;
info2651drivers/char/serial.cinfo->close_delay = 5*HZ/10;
info2652drivers/char/serial.cinfo->closing_wait = 30*HZ;
info2653drivers/char/serial.cinfo->x_char = 0;
info2654drivers/char/serial.cinfo->event = 0;
info2655drivers/char/serial.cinfo->count = 0;
info2656drivers/char/serial.cinfo->blocked_open = 0;
info2657drivers/char/serial.cinfo->tqueue.routine = do_softint;
info2658drivers/char/serial.cinfo->tqueue.data = info;
info2659drivers/char/serial.cinfo->tqueue_hangup.routine = do_serial_hangup;
info2660drivers/char/serial.cinfo->tqueue_hangup.data = info;
info2661drivers/char/serial.cinfo->callout_termios =callout_driver.init_termios;
info2662drivers/char/serial.cinfo->normal_termios = serial_driver.init_termios;
info2663drivers/char/serial.cinfo->open_wait = 0;
info2664drivers/char/serial.cinfo->close_wait = 0;
info2665drivers/char/serial.cinfo->next_port = 0;
info2666drivers/char/serial.cinfo->prev_port = 0;
info2667drivers/char/serial.cif (info->irq == 2)
info2668drivers/char/serial.cinfo->irq = 9;
info2669drivers/char/serial.cif (!(info->flags & ASYNC_BOOT_AUTOCONF))
info2671drivers/char/serial.cautoconfig(info);
info2672drivers/char/serial.cif (info->type == PORT_UNKNOWN)
info2674drivers/char/serial.cprintk("tty%02d%s at 0x%04x (irq = %d)", info->line, 
info2675drivers/char/serial.c(info->flags & ASYNC_FOURPORT) ? " FourPort" : "",
info2676drivers/char/serial.cinfo->port, info->irq);
info2677drivers/char/serial.cswitch (info->type) {
info2709drivers/char/serial.cstruct async_struct *info;
info2727drivers/char/serial.cinfo = &rs_table[i];
info2734drivers/char/serial.cinfo->irq = req->irq;
info2735drivers/char/serial.cinfo->port = req->port;
info2736drivers/char/serial.cautoconfig(info);
info2737drivers/char/serial.cif (info->type == PORT_UNKNOWN) {
info2742drivers/char/serial.cprintk("tty%02d at 0x%04x (irq = %d)", info->line, 
info2743drivers/char/serial.cinfo->port, info->irq);
info2744drivers/char/serial.cswitch (info->type) {
info2757drivers/char/serial.creturn info->line;
info2763drivers/char/serial.cstruct async_struct *info = &rs_table[line];
info2767drivers/char/serial.cif (info->tty)
info2768drivers/char/serial.ctty_hangup(info->tty);
info2769drivers/char/serial.cinfo->type = PORT_UNKNOWN;
info2770drivers/char/serial.cprintk("tty%02d unloaded\n", info->line);
info232drivers/net/3c505.hstruct Info    info;
info324drivers/net/de4x5.cchar info[100];
info437drivers/pci/pci.cstruct pci_dev_info *info;
info439drivers/pci/pci.cinfo =   pci_lookup_dev(vendor, device);
info440drivers/pci/pci.creturn info ? info->name : "Unknown device";
info681drivers/pci/pci.cstruct pci_dev_info *info;
info726drivers/pci/pci.cinfo = pci_lookup_dev(dev->vendor, dev->device);
info727drivers/pci/pci.cif (!info) {
info732drivers/pci/pci.cif (info->bridge_type != 0xff) {
info734drivers/pci/pci.cinfo->bridge_type, 1);
info372drivers/scsi/eata.cstruct eata_info info;
info391drivers/scsi/eata.cif (read_pio(*port_base, (ushort *)&info, (ushort *)&info.ipad[0])) 
info395drivers/scsi/eata.cif (info.sign != EATA_SIGNATURE) return FALSE;
info397drivers/scsi/eata.cif (ntohl(info.data_len) < EATA_2_0A_SIZE) {
info399drivers/scsi/eata.cname, ntohl(info.data_len));
info402drivers/scsi/eata.celse if (ntohl(info.data_len) == EATA_2_0A_SIZE)
info404drivers/scsi/eata.celse if (ntohl(info.data_len) == EATA_2_0B_SIZE)
info409drivers/scsi/eata.cif (protocol_rev != 'A' && info.max_chan > 0)
info412drivers/scsi/eata.cirq = info.irq;
info416drivers/scsi/eata.cif (!info.haaval || info.ata || info.drqvld) {
info418drivers/scsi/eata.cname, info.haaval, info.ata, info.drqvld);
info427drivers/scsi/eata.cif (!info.haaval || info.ata || !info.drqvld) {
info429drivers/scsi/eata.cname, info.haaval, info.ata, info.drqvld);
info434drivers/scsi/eata.cdma_channel = dma_channel_table[3 - info.drqx];
info437drivers/scsi/eata.cif (!info.dmasup)
info440drivers/scsi/eata.cif (subversion == ESA && !info.irq_tr)
info444drivers/scsi/eata.cif (info.second)
info495drivers/scsi/eata.csh[j]->sg_tablesize = (ushort) ntohs(info.scatt_size);
info496drivers/scsi/eata.csh[j]->this_id = (ushort) info.host_addr[3];
info497drivers/scsi/eata.csh[j]->can_queue = (ushort) ntohs(info.queue_size);
info542drivers/scsi/eata.c" max_chan %u.\n", name, protocol_rev, info.isaena, 
info543drivers/scsi/eata.cinfo.forcaddr, info.max_id, info.max_chan);
info546drivers/scsi/eata.cname, info.version, info.sync, ntohl(info.data_len), 
info547drivers/scsi/eata.cntohl(info.cp_len), ntohl(info.sp_len));
info1095drivers/scsi/fdomain.cconst char *info = fdomain_16x0_info( NULL );
info1103drivers/scsi/fdomain.cstrcpy( buffer, info );
info380drivers/scsi/hosts.cif(shpnt->hostt->info)
info381drivers/scsi/hosts.cname = shpnt->hostt->info(shpnt);
info108drivers/scsi/hosts.hconst char *(* info)(struct Scsi_Host *);
info2641drivers/scsi/scsi.cif(tpnt->info)
info2642drivers/scsi/scsi.cname = tpnt->info(shpnt);
info591drivers/scsi/scsi_debug.cint scsi_debug_biosparam(Disk * disk, kdev_t dev, int* info){
info593drivers/scsi/scsi_debug.cinfo[0] = 32;
info594drivers/scsi/scsi_debug.cinfo[1] = 64;
info595drivers/scsi/scsi_debug.cinfo[2] = (size + 2047) >> 11;
info596drivers/scsi/scsi_debug.cif (info[2] >= 1024) info[2] = 1024;
info54drivers/scsi/scsi_ioctl.cif(host->hostt->info)
info55drivers/scsi/scsi_ioctl.cstring = host->hostt->info(host);
info399drivers/sound/audio.caudio_buf_info  info;
info401drivers/sound/audio.cint             err = DMAbuf_ioctl (dev, cmd, (ioctl_arg) & info, 1);
info406drivers/sound/audio.cmemcpy_tofs ((&((char *) arg)[0]), (char *) &info, sizeof (info));
info415drivers/sound/audio.caudio_buf_info  info;
info417drivers/sound/audio.cint             err = DMAbuf_ioctl (dev, cmd, (ioctl_arg) & info, 1);
info423drivers/sound/audio.cinfo.bytes += wr_buff_size[dev] - wr_buff_ptr[dev];
info425drivers/sound/audio.cmemcpy_tofs ((&((char *) arg)[0]), (char *) &info, sizeof (info));
info436drivers/sound/audio.cint             info = 1;  /* Revision level of this ioctl() */
info439drivers/sound/audio.cinfo |= DSP_CAP_DUPLEX;
info442drivers/sound/audio.cinfo |= DSP_CAP_COPROC;
info445drivers/sound/audio.cinfo |= DSP_CAP_BATCH;
info448drivers/sound/audio.cinfo |= DSP_CAP_TRIGGER;
info450drivers/sound/audio.cmemcpy_tofs ((&((char *) arg)[0]), (char *) &info, sizeof (info));
info178drivers/sound/dev_table.hstruct synth_info *info;
info197drivers/sound/dev_table.hint (*pmgr_interface) (int dev, struct patmgr_info *info);
info221drivers/sound/dev_table.hstruct midi_info info;
info248drivers/sound/dev_table.hstruct sound_timer_info info;
info490drivers/sound/dev_table.hextern int soud_map_buffer (int dev, struct dma_buffparms *dmap, buffmem_desc *info);
info759drivers/sound/dmabuf.caudio_buf_info *info = (audio_buf_info *) arg;
info770drivers/sound/dmabuf.cinfo->fragstotal = dmap->nbufs;
info773drivers/sound/dmabuf.cinfo->fragments = dmap->qlen;
info777drivers/sound/dmabuf.cinfo->fragments = 0;
info780drivers/sound/dmabuf.cinfo->fragments = dmap->nbufs - dmap->qlen;
info785drivers/sound/dmabuf.cif (tmp & info->fragments)
info789drivers/sound/dmabuf.cinfo->fragments -= tmp;
info794drivers/sound/dmabuf.cif (info->fragments < 0)
info795drivers/sound/dmabuf.cinfo->fragments = 0;
info796drivers/sound/dmabuf.celse if (info->fragments > dmap->nbufs)
info797drivers/sound/dmabuf.cinfo->fragments = dmap->nbufs;
info799drivers/sound/dmabuf.cinfo->fragsize = dmap->fragment_size;
info800drivers/sound/dmabuf.cinfo->bytes = info->fragments * dmap->fragment_size;
info803drivers/sound/dmabuf.cinfo->bytes -= dmap->counts[dmap->qhead];
info858drivers/sound/dmabuf.ccount_info      info;
info863drivers/sound/dmabuf.cinfo.bytes = audio_devs[dev]->dmap_in->byte_counter;
info864drivers/sound/dmabuf.cinfo.ptr = get_buffer_pointer (dev, audio_devs[dev]->dmachan2, audio_devs[dev]->dmap_in);
info865drivers/sound/dmabuf.cinfo.blocks = audio_devs[dev]->dmap_in->qlen;
info866drivers/sound/dmabuf.cinfo.bytes += info.ptr;
info867drivers/sound/dmabuf.cmemcpy_tofs ((&((char *) arg)[0]), (char *) &info, sizeof (info));
info878drivers/sound/dmabuf.ccount_info      info;
info883drivers/sound/dmabuf.cinfo.bytes = audio_devs[dev]->dmap_out->byte_counter;
info884drivers/sound/dmabuf.cinfo.ptr = get_buffer_pointer (dev, audio_devs[dev]->dmachan1, audio_devs[dev]->dmap_out);
info885drivers/sound/dmabuf.cinfo.blocks = audio_devs[dev]->dmap_out->qlen;
info886drivers/sound/dmabuf.cinfo.bytes += info.ptr;
info887drivers/sound/dmabuf.cmemcpy_tofs ((&((char *) arg)[0]), (char *) &info, sizeof (info));
info2504drivers/sound/gus_wave.cstruct channel_info *info =
info2507drivers/sound/gus_wave.cguswave_set_instr (dev, voice, info->pgm_num);
info2510drivers/sound/gus_wave.cinfo->controllers[CTL_EXPRESSION];  /* Just msb */
info2512drivers/sound/gus_wave.c(info->controllers[CTL_MAIN_VOLUME] * 100) / 128;
info2514drivers/sound/gus_wave.c(info->controllers[CTL_PAN] * 2) - 128;
info2515drivers/sound/gus_wave.cvoices[voice].bender = info->bender_value;
info287drivers/sound/midi_synth.cmemcpy_tofs ((&((char *) arg)[0]), synth_devs[dev]->info, sizeof (struct synth_info));
info1152drivers/sound/mpu401.cstrcpy (mpu401_midi_operations[num_midis].info.name,
info1156drivers/sound/mpu401.cmpu401_synth_operations[devc->devno]->info =
info1137drivers/sound/opl3.cstruct channel_info *info =
info1141drivers/sound/opl3.cinfo->pgm_num);
info1143drivers/sound/opl3.cdevc->voc[voice].bender = info->bender_value;
info1145drivers/sound/opl3.cinfo->controllers[CTL_MAIN_VOLUME];
info1216drivers/sound/opl3.copl3_operations.info = &devc->fm_info;
info1806drivers/sound/sequencer.cmemcpy_tofs ((&((char *) arg)[0]), (char *) &(midi_devs[dev]->info), sizeof (inf));
info243drivers/sound/sound_switch.cif (!put_status (synth_devs[i]->info->name))
info263drivers/sound/sound_switch.cif (!put_status (midi_devs[i]->info.name))
info279drivers/sound/sound_switch.cif (!put_status (sound_timer_devs[i]->info.name))
info349drivers/sound/sound_timer.cstrcpy (sound_timer.info.name, name);
info724drivers/sound/soundcard.csoud_map_buffer (int dev, struct dma_buffparms *dmap, buffmem_desc * info)
info68fs/minix/dir.cstruct minix_sb_info * info;
info72fs/minix/dir.cinfo = &inode->i_sb->u.minix_sb;
info73fs/minix/dir.cif (filp->f_pos & (info->s_dirsize - 1))
info85fs/minix/dir.cint size = strnlen(de->name, info->s_namelen);
info91fs/minix/dir.coffset += info->s_dirsize;
info92fs/minix/dir.cfilp->f_pos += info->s_dirsize;
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;
info666fs/minix/namei.c(((struct minix_dir_entry *) ((buffer)+info->s_dirsize))->inode)
info684fs/minix/namei.cstruct minix_sb_info * info;
info687fs/minix/namei.cinfo = &old_dir->i_sb->u.minix_sb;
info194fs/umsdos/dir.cstruct umsdos_info info;
info197fs/umsdos/dir.cumsdos_parse (entry.name,entry.name_len,&info);
info198fs/umsdos/dir.cinfo.f_pos = cur_f_pos;
info199fs/umsdos/dir.cumsdos_manglename (&info);
info200fs/umsdos/dir.clret = umsdos_real_lookup (dir,info.fake.fname
info201fs/umsdos/dir.c,info.fake.len,&inode);
info203fs/umsdos/dir.c,info.fake.fname,lret,entry.flags));
info239fs/umsdos/dir.cret = umsdos_writeentry (dir,emd_dir,&info,1);
info678fs/umsdos/dir.cstruct umsdos_info info;
info679fs/umsdos/dir.cret = umsdos_parse (name,len,&info);
info680fs/umsdos/dir.cif (ret == 0) ret = umsdos_findentry (dir,&info,0);
info681fs/umsdos/dir.cPRINTK (("lookup %s pos %lu ret %d len %d ",info.fake.fname,info.f_pos,ret
info682fs/umsdos/dir.c,info.fake.len));
info694fs/umsdos/dir.cret = umsdos_real_lookup (dir,info.fake.fname,info.fake.len,result);
info698fs/umsdos/dir.c,info.fake.fname);
info699fs/umsdos/dir.cumsdos_delentry (dir,&info,S_ISDIR(info.entry.mode));
info701fs/umsdos/dir.cumsdos_lookup_patch (dir,inode,&info.entry,info.f_pos);
info703fs/umsdos/dir.c,info.entry.flags));
info704fs/umsdos/dir.cif (info.entry.flags & UMSDOS_HLINK){
info167fs/umsdos/emd.cstruct umsdos_info *info,
info172fs/umsdos/emd.cstruct umsdos_dirent *entry = &info->entry;
info194fs/umsdos/emd.cfilp.f_pos = info->f_pos;
info196fs/umsdos/emd.cret = umsdos_emd_dir_write(emd_dir,&filp,(char*)entry,info->recsize);
info269fs/umsdos/emd.cstruct umsdos_info *info,    /* Hold name and name_len */
info282fs/umsdos/emd.cstruct umsdos_dirent *entry = &info->entry;
info283fs/umsdos/emd.cint recsize = info->recsize;
info307fs/umsdos/emd.cinfo->f_pos = empty.posok;
info314fs/umsdos/emd.cinfo->f_pos = file_pos;
info337fs/umsdos/emd.cinfo->f_pos = empty.posok;
info345fs/umsdos/emd.cinfo->f_pos = file_pos;
info355fs/umsdos/emd.cumsdos_manglename(info);
info369fs/umsdos/emd.cstruct umsdos_info *info)
info372fs/umsdos/emd.cint ret = umsdos_find (dir,info,&emd_dir);
info376fs/umsdos/emd.cret = umsdos_writeentry(dir,emd_dir,info,0);
info388fs/umsdos/emd.cstruct umsdos_info *info)
info392fs/umsdos/emd.cumsdos_parse ("..LINK",6,info);
info393fs/umsdos/emd.cinfo->entry.name_len = 0;
info394fs/umsdos/emd.cret = umsdos_find (dir,info,&emd_dir);
info402fs/umsdos/emd.cinfo->entry.name_len = sprintf (info->entry.name,"..LINK%ld"
info403fs/umsdos/emd.c,info->f_pos);
info416fs/umsdos/emd.cstruct umsdos_info *info,
info420fs/umsdos/emd.cint ret = umsdos_find (dir,info,&emd_dir);
info422fs/umsdos/emd.cif (info->entry.name_len != 0){
info423fs/umsdos/emd.cif ((isdir != 0) != (S_ISDIR(info->entry.mode) != 0)){
info424fs/umsdos/emd.cif (S_ISDIR(info->entry.mode)){
info430fs/umsdos/emd.cret = umsdos_writeentry(dir,emd_dir,info,1);
info478fs/umsdos/emd.cstruct umsdos_info *info,
info484fs/umsdos/emd.cint ret = umsdos_find (dir,info,&emd_dir);
info487fs/umsdos/emd.cif (S_ISDIR(info->entry.mode)){
info151fs/umsdos/ioctl.cstruct umsdos_info info;
info153fs/umsdos/ioctl.cumsdos_parse (entry.name,entry.name_len,&info);
info154fs/umsdos/ioctl.cinfo.f_pos = f_pos;
info155fs/umsdos/ioctl.cumsdos_manglename(&info);
info159fs/umsdos/ioctl.c,info.fake.fname,info.fake.len+1);
info201fs/umsdos/ioctl.cstruct umsdos_info info;
info204fs/umsdos/ioctl.cmemcpy (&info.entry,&data.umsdos_dirent
info207fs/umsdos/ioctl.c,data.umsdos_dirent.name_len,&info);
info208fs/umsdos/ioctl.cret = umsdos_newentry (dir,&info);
info233fs/umsdos/ioctl.cstruct umsdos_info info;
info236fs/umsdos/ioctl.cmemcpy (&info.entry,&data.umsdos_dirent
info239fs/umsdos/ioctl.c,data.umsdos_dirent.name_len,&info);
info240fs/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);
info215fs/umsdos/namei.cstruct umsdos_info info;
info216fs/umsdos/namei.cret = umsdos_parse (name,len,&info);
info219fs/umsdos/namei.cinfo.entry.mode = mode;
info220fs/umsdos/namei.cinfo.entry.rdev = rdev;
info221fs/umsdos/namei.cinfo.entry.flags = flags;
info222fs/umsdos/namei.cinfo.entry.uid = current->fsuid;
info223fs/umsdos/namei.cinfo.entry.gid = (dir->i_mode & S_ISGID)
info225fs/umsdos/namei.cinfo.entry.ctime = info.entry.atime = info.entry.mtime
info227fs/umsdos/namei.cinfo.entry.nlink = 1;
info229fs/umsdos/namei.cret = umsdos_newentry (dir,&info);
info232fs/umsdos/namei.cret = msdos_create (dir,info.fake.fname,info.fake.len
info236fs/umsdos/namei.cumsdos_lookup_patch (dir,inode,&info.entry,info.f_pos);
info239fs/umsdos/namei.c,info.fake.fname,current->pid,info.f_pos));
info266fs/umsdos/namei.c,info.fake.fname,-ret,current->pid,info.f_pos);
info268fs/umsdos/namei.cumsdos_delentry (dir,&info,0);
info271fs/umsdos/namei.c,info.fake.fname,ret,info.f_pos));
info595fs/umsdos/namei.cstruct umsdos_info info;
info596fs/umsdos/namei.cret = umsdos_newhidden (olddir,&info);
info602fs/umsdos/namei.c,olddir,info.entry.name,info.entry.name_len
info688fs/umsdos/namei.cstruct umsdos_info info;
info689fs/umsdos/namei.cret = umsdos_parse (name,len,&info);
info692fs/umsdos/namei.cinfo.entry.mode = mode | S_IFDIR;
info693fs/umsdos/namei.cinfo.entry.rdev = 0;
info694fs/umsdos/namei.cinfo.entry.uid = current->fsuid;
info695fs/umsdos/namei.cinfo.entry.gid = (dir->i_mode & S_ISGID)
info697fs/umsdos/namei.cinfo.entry.ctime = info.entry.atime = info.entry.mtime
info699fs/umsdos/namei.cinfo.entry.flags = 0;
info701fs/umsdos/namei.cinfo.entry.nlink = 1;
info702fs/umsdos/namei.cret = umsdos_newentry (dir,&info);
info706fs/umsdos/namei.cret = msdos_mkdir (dir,info.fake.fname,info.fake.len,mode);
info708fs/umsdos/namei.cumsdos_delentry (dir,&info,1);
info721fs/umsdos/namei.cret = umsdos_real_lookup (dir,info.fake.fname
info722fs/umsdos/namei.c,info.fake.len,&subdir);
info896fs/umsdos/namei.cstruct umsdos_info info;
info898fs/umsdos/namei.cumsdos_parse (name,len,&info);
info901fs/umsdos/namei.cumsdos_findentry (dir,&info,2);
info902fs/umsdos/namei.cret = msdos_rmdir (dir,info.fake.fname
info903fs/umsdos/namei.c,info.fake.len);
info905fs/umsdos/namei.cret = umsdos_delentry (dir,&info,1);
info937fs/umsdos/namei.cstruct umsdos_info info;
info938fs/umsdos/namei.cret = umsdos_parse (name,len,&info);
info941fs/umsdos/namei.cret = umsdos_findentry(dir,&info,1);
info943fs/umsdos/namei.cPRINTK (("UMSDOS_unlink %s ",info.fake.fname));
info946fs/umsdos/namei.ccurrent->fsuid == info.entry.uid ||
info948fs/umsdos/namei.cif (info.entry.flags & UMSDOS_HLINK){
info987fs/umsdos/namei.cret = umsdos_delentry (dir,&info,0);
info989fs/umsdos/namei.cPRINTK (("Avant msdos_unlink %s ",info.fake.fname));
info991fs/umsdos/namei.cret = msdos_unlink_umsdos (dir,info.fake.fname
info992fs/umsdos/namei.c,info.fake.len);
info993fs/umsdos/namei.cPRINTK (("msdos_unlink %s %o ret %d ",info.fake.fname
info994fs/umsdos/namei.c,info.entry.mode,ret));
info25include/asm-alpha/a.out.h__u64 info;    /* after that it looks quite normal.. */
info62include/asm-alpha/a.out.h#define  a_info    ah.info
info65include/asm-i386/processor.hstruct info  *info;
info27include/net/icmp.hunsigned long info, struct device *dev);
info17kernel/info.casmlinkage int sys_sysinfo(struct sysinfo *info)
info22kernel/info.cerror = verify_area(VERIFY_WRITE, info, sizeof(struct sysinfo));
info38kernel/info.cmemcpy_tofs(info, &val, sizeof(struct sysinfo));
info252net/ipv4/icmp.cvoid icmp_send(struct sk_buff *skb_in, int type, int code, unsigned long info, struct device *dev)
info321net/ipv4/icmp.cicmp_param.icmph.un.gateway = info;