taglinefilesource code
port12include/asm/io.hextern void inline outb(char value, unsigned short port)
port15include/asm/io.h::"a" ((char) value),"d" ((unsigned short) port));
port18include/asm/io.hextern void inline outb_p(char value, unsigned short port)
port27include/asm/io.h::"a" ((char) value),"d" ((unsigned short) port));
port30include/asm/io.hextern unsigned char inline inb(unsigned short port)
port34include/asm/io.h:"=a" (_v):"d" ((unsigned short) port));
port38include/asm/io.hextern unsigned char inline inb_p(unsigned short port)
port48include/asm/io.h:"=a" (_v):"d" ((unsigned short) port));
port74include/linux/tty.hunsigned short port;
port73include/sys/kd.hunsigned short port;
port78kernel/blk_drv/floppy.c#define immoutb_p(val,port) \
port79kernel/blk_drv/floppy.c__asm__("outb %0,%1\n\tjmp 1f\n1:\tjmp 1f\n1:"::"a" ((char) (val)),"i" (port))
port80kernel/blk_drv/hd.c#define port_read(port,buf,nr) \
port81kernel/blk_drv/hd.c__asm__("cld;rep;insw"::"d" (port),"D" (buf),"c" (nr):"cx","di")
port83kernel/blk_drv/hd.c#define port_write(port,buf,nr) \
port84kernel/blk_drv/hd.c__asm__("cld;rep;outsw"::"d" (port),"S" (buf),"c" (nr):"cx","si")
port133kernel/blk_drv/hd.cunsigned short port;
port147kernel/blk_drv/hd.cport=HD_DATA;
port148kernel/blk_drv/hd.coutb_p(hd_info[drive].wpcom>>2,++port);
port149kernel/blk_drv/hd.coutb_p(nsect,++port);
port150kernel/blk_drv/hd.coutb_p(sect,++port);
port151kernel/blk_drv/hd.coutb_p(cyl,++port);
port152kernel/blk_drv/hd.coutb_p(cyl>>8,++port);
port153kernel/blk_drv/hd.coutb_p(0xA0|(drive<<4)|head,++port);
port154kernel/blk_drv/hd.coutb_p(cmd,++port);
port67kernel/blk_drv/scsi/7000fasst.c#define WAIT(port, mask, allof, noneof)          \
port71kernel/blk_drv/scsi/7000fasst.cWAITbits = inb(port) & (mask);          \
port45kernel/blk_drv/scsi/aha1542.c#define WAIT(port, mask, allof, noneof)          \
port49kernel/blk_drv/scsi/aha1542.cWAITbits = inb(port) & (mask);          \
port200kernel/blk_drv/scsi/fdomain.cstatic unsigned short inline inw( unsigned short port )
port205kernel/blk_drv/scsi/fdomain.c:"=a" (_v):"d" ((unsigned short) port));
port209kernel/blk_drv/scsi/fdomain.cstatic void inline outw( unsigned short value, unsigned short port )
port213kernel/blk_drv/scsi/fdomain.c"d" ((unsigned short) port));
port217kernel/blk_drv/scsi/fdomain.c#define inw( port ) \
port220kernel/blk_drv/scsi/fdomain.c: "=a" (_v) : "d" ((unsigned short) port)); \
port226kernel/blk_drv/scsi/fdomain.c"d" ((unsigned short) port))
port232kernel/blk_drv/scsi/fdomain.c#define insw( buf, count, port ) \
port234kernel/blk_drv/scsi/fdomain.c( "cld;rep;insw"::"d" (port),"D" (buf),"c" (count):"cx","di" )
port236kernel/blk_drv/scsi/fdomain.c#define outsw( buf, count, port) \
port238kernel/blk_drv/scsi/fdomain.c("cld;rep;outsw"::"d" (port),"S" (buf),"c" (count):"cx","si")
port255kernel/blk_drv/scsi/fdomain.cstatic int fdomain_is_valid_port( int port )
port261kernel/blk_drv/scsi/fdomain.cinb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) );
port270kernel/blk_drv/scsi/fdomain.cif (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */
port271kernel/blk_drv/scsi/fdomain.cif (inb( port + LSB_ID_Code ) != 0x27) return 0;
port272kernel/blk_drv/scsi/fdomain.cif (inb( port + MSB_ID_Code ) != 0x61) return 0;
port274kernel/blk_drv/scsi/fdomain.cif (inb( port + MSB_ID_Code ) != 0x60) return 0;
port284kernel/blk_drv/scsi/fdomain.coptions = inb( port + Option_Select );
port60kernel/blk_drv/scsi/ultrastor.h#define LCL_DOORBELL_MASK(port) ((port) + 0x0)
port61kernel/blk_drv/scsi/ultrastor.h#define LCL_DOORBELL_INTR(port) ((port) + 0x1)
port62kernel/blk_drv/scsi/ultrastor.h#define SYS_DOORBELL_MASK(port) ((port) + 0x2)
port63kernel/blk_drv/scsi/ultrastor.h#define SYS_DOORBELL_INTR(port) ((port) + 0x3)
port64kernel/blk_drv/scsi/ultrastor.h#define PRODUCT_ID(port) ((port) + 0x4)
port65kernel/blk_drv/scsi/ultrastor.h#define CONFIG(port) ((port) + 0x6)
port66kernel/blk_drv/scsi/ultrastor.h#define OGM_DATA_PTR(port) ((port) + 0x8)
port67kernel/blk_drv/scsi/ultrastor.h#define ICM_DATA_PTR(port) ((port) + 0xC)
port37kernel/chr_drv/serial.cunsigned short port;
port43kernel/chr_drv/serial.cif (!(port = info->port))
port45kernel/chr_drv/serial.cport += 3;
port48kernel/chr_drv/serial.coutb_p(inb_p(port) | 0x40,port);
port50kernel/chr_drv/serial.coutb_p(inb_p(port) & 0xbf,port);
port64kernel/chr_drv/serial.cunsigned short port = info->port;
port72kernel/chr_drv/serial.cwhile (inb_p(info->port+5) & 0x20) {
port78kernel/chr_drv/serial.coutb(c,port);
port91kernel/chr_drv/serial.cunsigned short port = info->port;
port98kernel/chr_drv/serial.cqueue->buf[head] = inb(port);
port103kernel/chr_drv/serial.c} while (inb(port+5) & 1);
port110kernel/chr_drv/serial.cunsigned char status = inb(info->port+5);
port117kernel/chr_drv/serial.cunsigned char status = inb(info->port+6);
port142kernel/chr_drv/serial.cif (!info || !info->tty || !info->port)
port145kernel/chr_drv/serial.cident = inb(info->port+2) & 7;
port161kernel/chr_drv/serial.cif (!info->tty || !info->port)
port242kernel/chr_drv/serial.cunsigned short port = info->port;
port244kernel/chr_drv/serial.cif (inb(port+5) == 0xff) {
port249kernel/chr_drv/serial.cscratch = inb(port+7);
port250kernel/chr_drv/serial.coutb_p(0xa5, port+7);
port251kernel/chr_drv/serial.cstatus1 = inb(port+7);
port252kernel/chr_drv/serial.coutb_p(0x5a, port+7);
port253kernel/chr_drv/serial.cstatus2 = inb(port+7);
port255kernel/chr_drv/serial.coutb_p(scratch, port+7);
port256kernel/chr_drv/serial.coutb_p(0x01, port+2);
port257kernel/chr_drv/serial.cscratch = inb(port+2) >> 6;
port267kernel/chr_drv/serial.coutb_p(0x00, port+2);
port271kernel/chr_drv/serial.coutb_p(0xc7, port+2);
port276kernel/chr_drv/serial.coutb_p(0x80,port+3);  /* set DLAB of line control reg */
port277kernel/chr_drv/serial.coutb_p(0x30,port);  /* LS of divisor (48 -> 2400 bps) */
port278kernel/chr_drv/serial.coutb_p(0x00,port+1);  /* MS of divisor */
port279kernel/chr_drv/serial.coutb_p(0x03,port+3);  /* reset DLAB */
port280kernel/chr_drv/serial.coutb_p(0x00,port+4);  /* reset DTR,RTS, OUT_2 */
port281kernel/chr_drv/serial.coutb_p(0x00,port+1);  /* disable all intrs */
port282kernel/chr_drv/serial.c(void)inb(port);  /* read data port to reset things (?) */
port293kernel/chr_drv/serial.cif (!info->port)
port295kernel/chr_drv/serial.coutb(0x00,info->port+4);  /* reset DTR, RTS, */
port302kernel/chr_drv/serial.cstatic void startup(unsigned short port)
port306kernel/chr_drv/serial.coutb_p(0x03,port+3);  /* reset DLAB */
port307kernel/chr_drv/serial.coutb_p(0x0b,port+4);  /* set DTR,RTS, OUT_2 */
port308kernel/chr_drv/serial.coutb_p(0x0f,port+1);  /* enable all intrs */
port309kernel/chr_drv/serial.cinb_p(port+2);
port310kernel/chr_drv/serial.cinb_p(port+6);
port311kernel/chr_drv/serial.cinb_p(port+2);
port312kernel/chr_drv/serial.cinb_p(port+5);
port314kernel/chr_drv/serial.cinb_p(port+0);
port315kernel/chr_drv/serial.cif (!(inb_p(port+5) & 1))
port318kernel/chr_drv/serial.cinb_p(port+2);
port319kernel/chr_drv/serial.cinb_p(port+5);
port325kernel/chr_drv/serial.cunsigned short port,quot;
port337kernel/chr_drv/serial.cif (!(port = info->port))
port341kernel/chr_drv/serial.coutb(0x00,port+4);
port342kernel/chr_drv/serial.celse if (!inb(port+4))
port343kernel/chr_drv/serial.cstartup(port);
port352kernel/chr_drv/serial.coutb_p(cval | 0x80,port+3);  /* set DLAB */
port353kernel/chr_drv/serial.coutb_p(quot & 0xff,port);  /* LS of divisor */
port354kernel/chr_drv/serial.coutb_p(quot >> 8,port+1);  /* MS of divisor */
port355kernel/chr_drv/serial.coutb(cval,port+3);    /* reset DLAB */
port371kernel/chr_drv/serial.cunsigned short port;
port381kernel/chr_drv/serial.cif (!(port = info->port))
port388kernel/chr_drv/serial.cstartup(port);
port418kernel/chr_drv/serial.cif (!(new_port = tmp.port))
port419kernel/chr_drv/serial.cnew_port = info->port;
port437kernel/chr_drv/serial.cif (new_port != info->port) {
port438kernel/chr_drv/serial.coutb(0x00,info->port+4);  /* reset DTR, RTS, */
port439kernel/chr_drv/serial.cinfo->port = new_port;
port475kernel/chr_drv/serial.cprintk("serial port at 0x%04x (irq = %d)",info->port,info->irq);