taglinefilesource code
port185drivers/block/hd.cunsigned short port;
port201drivers/block/hd.cport=HD_DATA;
port202drivers/block/hd.coutb_p(hd_info[drive].wpcom>>2,++port);
port203drivers/block/hd.coutb_p(nsect,++port);
port204drivers/block/hd.coutb_p(sect,++port);
port205drivers/block/hd.coutb_p(cyl,++port);
port206drivers/block/hd.coutb_p(cyl>>8,++port);
port207drivers/block/hd.coutb_p(0xA0|(drive<<4)|head,++port);
port208drivers/block/hd.coutb_p(cmd,++port);
port385drivers/block/xd.cstatic inline u_char xd_waitport (u_short port,u_char flags,u_char mask,u_long timeout)
port389drivers/block/xd.cwhile (((inb(port) & mask) != flags) && (jiffies < expiry))
port144drivers/char/serial.c#define C_P(card,port) (((card)<<6|(port)<<3) + 1)
port216drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
port217drivers/char/serial.creturn inb(info->port+1);
port219drivers/char/serial.creturn inb(info->port + offset);
port225drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
port226drivers/char/serial.creturn inb_p(info->port+1);
port228drivers/char/serial.creturn inb_p(info->port + offset);
port234drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
port235drivers/char/serial.coutb(value, info->port+1);
port237drivers/char/serial.coutb(value, info->port+offset);
port244drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
port245drivers/char/serial.coutb_p(value, info->port+1);
port247drivers/char/serial.coutb_p(value, info->port+offset);
port726drivers/char/serial.cif (!info->port || !info->type) {
port795drivers/char/serial.cICP = (info->port & 0xFE0) | 0x01F;
port885drivers/char/serial.c(void) inb((info->port & 0xFE0) | 0x01F);
port912drivers/char/serial.cunsigned short port;
port923drivers/char/serial.cif (!(port = info->port))
port1109drivers/char/serial.ctmp.port = info->port;
port1135drivers/char/serial.cchange_port = (new_serial.port != info->port) || (new_serial.hub6 != info->hub6);
port1154drivers/char/serial.cif ((new_serial.irq > 15) || (new_serial.port > 0xffff) ||
port1162drivers/char/serial.c(rs_table[i].port == new_serial.port) && rs_table[i].type)
port1170drivers/char/serial.cif (new_serial.port && new_serial.type && new_serial.irq &&
port1205drivers/char/serial.cinfo->port = new_serial.port;
port1210drivers/char/serial.cif (!info->port || !info->type)
port1306drivers/char/serial.cif (!info->port)
port1776drivers/char/serial.cunsigned short ICP=0, port = info->port;
port1789drivers/char/serial.cICP = (port & 0xFE0) | 0x01F;
port1830drivers/char/serial.cunsigned     port = info->port;
port1836drivers/char/serial.cif (!port)
port1870drivers/char/serial.cunsigned port = info->port;
port1875drivers/char/serial.cif (!port)
port2013drivers/char/serial.cinfo->port, info->irq);
port282drivers/net/3c507.cint *port, ports[] = {0x300, 0x320, 0x340, 0x280, 0};
port301drivers/net/3c507.cfor (port = &ports[0]; *port; port++) {
port302drivers/net/3c507.cshort ioaddr = *port;
port307drivers/net/3c507.c&& el16_probe1(dev, *port) == 0)
port318drivers/net/3c507.c&& el16_probe1(dev, *port) == 0)
port136drivers/net/at1700.cshort *port, base_addr = dev->base_addr;
port143drivers/net/at1700.cfor (port = &ports[0]; *port; port++) {
port144drivers/net/at1700.cint ioaddr = *port;
port162drivers/net/atp.cint *port, ports[] = {0x378, 0x278, 0x3bc, 0};
port170drivers/net/atp.cfor (port = ports; *port; port++) {
port171drivers/net/atp.cint ioaddr = *port;
port84drivers/net/atp.hextern inline unsigned char inbyte(unsigned short port)
port87drivers/net/atp.h__asm__ __volatile__ ("inb %w1,%b0" :"=a" (_v):"d" (port));
port93drivers/net/atp.hextern inline unsigned char read_nibble(short port, unsigned char offset)
port96drivers/net/atp.houtb(EOC+offset, port + PAR_DATA);
port97drivers/net/atp.houtb(RdAddr+offset, port + PAR_DATA);
port98drivers/net/atp.hinbyte(port + PAR_STATUS);    /* Settling time delay */
port99drivers/net/atp.hretval = inbyte(port + PAR_STATUS);
port100drivers/net/atp.houtb(EOC+offset, port + PAR_DATA);
port158drivers/net/atp.hwrite_reg(short port, unsigned char reg, unsigned char value)
port161drivers/net/atp.houtb(EOC | reg, port + PAR_DATA);
port163drivers/net/atp.houtb(outval, port + PAR_DATA);
port164drivers/net/atp.houtb(outval, port + PAR_DATA);  /* Double write for PS/2. */
port168drivers/net/atp.houtb(outval, port + PAR_DATA);
port170drivers/net/atp.houtb(outval, port + PAR_DATA);
port171drivers/net/atp.houtb(outval, port + PAR_DATA);
port173drivers/net/atp.houtb(EOC | outval, port + PAR_DATA);
port177drivers/net/atp.hwrite_reg_high(short port, unsigned char reg, unsigned char value)
port181drivers/net/atp.houtb(outval, port + PAR_DATA);
port183drivers/net/atp.houtb(outval, port + PAR_DATA);
port184drivers/net/atp.houtb(outval, port + PAR_DATA);  /* Double write for PS/2. */
port187drivers/net/atp.houtb(outval, port + PAR_DATA);
port189drivers/net/atp.houtb(outval, port + PAR_DATA);
port190drivers/net/atp.houtb(outval, port + PAR_DATA);
port192drivers/net/atp.houtb(EOC | HNib | outval, port + PAR_DATA);
port197drivers/net/atp.hwrite_reg_byte(short port, unsigned char reg, unsigned char value)
port200drivers/net/atp.houtb(EOC | reg, port + PAR_DATA);   /* Reset the address register. */
port202drivers/net/atp.houtb(outval, port + PAR_DATA);
port203drivers/net/atp.houtb(outval, port + PAR_DATA);  /* Double write for PS/2. */
port205drivers/net/atp.houtb((outval & 0xf0) | (value & 0x0f), port + PAR_DATA);
port206drivers/net/atp.houtb(value & 0x0f, port + PAR_DATA);
port208drivers/net/atp.houtb(value, port + PAR_DATA);
port209drivers/net/atp.houtb(0x10 | value, port + PAR_DATA);
port210drivers/net/atp.houtb(0x10 | value, port + PAR_DATA);
port212drivers/net/atp.houtb(EOC  | value, port + PAR_DATA);   /* Reset the address register. */
port314drivers/net/eexpress.cint *port, ports[] = {0x300, 0x270, 0x320, 0x340, 0};
port322drivers/net/eexpress.cfor (port = &ports[0]; *port; port++) {
port323drivers/net/eexpress.cshort id_addr = *port + ID_PORT;
port336drivers/net/eexpress.c&& eexp_probe1(dev, *port) == 0)
port69drivers/net/hp.cint *port, ports[] = {0x300, 0x320, 0x340, 0x280, 0x2C0, 0x200, 0x240, 0};
port77drivers/net/hp.cfor (port = &ports[0]; *port; port++) {
port78drivers/net/hp.cif (check_region(*port, HP_IO_EXTENT))
port80drivers/net/hp.cif (hpprobe1(dev, *port) == 0) {
port224drivers/net/lance.cint *port, ports[] = {0x300, 0x320, 0x340, 0x360, 0};
port226drivers/net/lance.cfor (port = &ports[0]; *port; port++) {
port227drivers/net/lance.cint ioaddr = *port;
port75drivers/net/ne.cint *port, ports[] = {0x300, 0x280, 0x320, 0x340, 0x360, 0};
port83drivers/net/ne.cfor (port = &ports[0]; *port; port++) {
port85drivers/net/ne.cif (check_region(*port, 32))
port88drivers/net/ne.cif (inb_p(*port) != 0xff && neprobe1(*port, dev, 0)) {
port89drivers/net/ne.cdev->base_addr = *port;
port133drivers/net/skeleton.cint *port, ports[] = {0x300, 0x280, 0};
port141drivers/net/skeleton.cfor (port = &ports[0]; *port; port++) {
port142drivers/net/skeleton.cint ioaddr = *port;
port62drivers/net/smc-ultra.cint *port, ports[] = {0x200, 0x220, 0x240, 0x280, 0x300, 0x340, 0x380, 0};
port70drivers/net/smc-ultra.cfor (port = &ports[0]; *port; port++) {
port71drivers/net/smc-ultra.cif (check_region(*port, 32))
port73drivers/net/smc-ultra.cif ((inb(*port + 7) & 0xF0) == 0x20  /* Check chip ID nibble. */
port74drivers/net/smc-ultra.c&& ultraprobe1(*port, dev) == 0)
port71drivers/net/wd.cint *port, ports[] = {0x300, 0x280, 0x380, 0x240, 0};
port79drivers/net/wd.cfor (port = &ports[0]; *port; port++) {
port80drivers/net/wd.cif (check_region(*port, 32))
port82drivers/net/wd.cif (inb(*port + 8) != 0xff
port83drivers/net/wd.c&& inb(*port + 9) != 0xff /* Extra check to avoid soundcard. */
port84drivers/net/wd.c&& wdprobe1(*port, dev))
port288drivers/scsi/aha152x.hunsigned short port;
port300drivers/scsi/aha152x.h#define cf_port    port
port81drivers/scsi/aha1542.c#define WAIT(port, mask, allof, noneof)          \
port85drivers/scsi/aha1542.cWAITbits = inb(port) & (mask);          \
port362drivers/scsi/fdomain.cstatic int fdomain_is_valid_port( int port )
port368drivers/scsi/fdomain.cinb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) );
port377drivers/scsi/fdomain.cif (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */
port378drivers/scsi/fdomain.cif (inb( port + LSB_ID_Code ) != 0x27) return 0;
port379drivers/scsi/fdomain.cif (inb( port + MSB_ID_Code ) != 0x61) return 0;
port382drivers/scsi/fdomain.cif (inb( port + MSB_ID_Code ) != 0x60) return 0;
port392drivers/scsi/fdomain.coptions = inb( port + Configuration1 );
port75drivers/scsi/g_NCR5380.cint port;
port103drivers/scsi/g_NCR5380.coverrides[commandline_current].port = ints[1];
port131drivers/scsi/g_NCR5380.cif (!(overrides[current_override].port))
port135drivers/scsi/g_NCR5380.cinstance->io_port = overrides[current_override].port;
port66drivers/scsi/g_NCR5380.hint port
port69drivers/scsi/g_NCR5380.hregister int port
port72drivers/scsi/g_NCR5380.hport = (instance)->io_port
port74drivers/scsi/g_NCR5380.h#define NCR5380_read(reg) (inb(port + (reg)))
port75drivers/scsi/g_NCR5380.h#define NCR5380_write(reg, value) (outb((value), (port + (reg))))
port162drivers/scsi/pas16.cvoid  enable_board( int  board_num,  unsigned short port )
port165drivers/scsi/pas16.coutb( port >> 2, MASTER_ADDRESS_PTR );
port217drivers/scsi/pas16.cunsigned short  port = bases[ board_num ].io_port;
port226drivers/scsi/pas16.cenable_board( board_num, port );
port229drivers/scsi/pas16.cboard_rev = inb( port + PCB_CONFIG );
port236drivers/scsi/pas16.coutb( tmp, port + PCB_CONFIG );
port237drivers/scsi/pas16.ctmp = inb( port + PCB_CONFIG );
port238drivers/scsi/pas16.coutb( board_rev, port + PCB_CONFIG );
port243drivers/scsi/pas16.cif( ( inb( port + OPERATION_MODE_1 ) & 0x03 ) != 0x03 ) 
port191drivers/scsi/ultrastor.c#define U14F_PRODUCT_ID(port) ((port) + 0x4)
port192drivers/scsi/ultrastor.c#define CONFIG(port) ((port) + 0x6)
port195drivers/scsi/ultrastor.c#define LCL_DOORBELL_MASK(port) ((port) + 0x0)
port196drivers/scsi/ultrastor.c#define LCL_DOORBELL_INTR(port) ((port) + 0x1)
port197drivers/scsi/ultrastor.c#define SYS_DOORBELL_MASK(port) ((port) + 0x2)
port198drivers/scsi/ultrastor.c#define SYS_DOORBELL_INTR(port) ((port) + 0x3)
port101drivers/scsi/wd7000.c#define WAIT(port, mask, allof, noneof)          \
port105drivers/scsi/wd7000.cWAITbits = inb(port) & (mask);          \
port52drivers/sound/sb_mixer.csb_setmixer (unsigned int port, unsigned int value)
port57drivers/sound/sb_mixer.cOUTB ((unsigned char)(port & 0xff), MIXER_ADDR);  /* Select register */
port65drivers/sound/sb_mixer.csb_getmixer (unsigned int port)
port71drivers/sound/sb_mixer.cOUTB ((unsigned char)(port & 0xff), MIXER_ADDR);  /* Select register */
port134drivers/sound/sound_calls.hvoid sb_setmixer (unsigned int port, unsigned int value);
port135drivers/sound/sound_calls.hint sb_getmixer (unsigned int port);
port32include/asm/io.hextern inline void __out##s(unsigned x value, unsigned short port) {
port38include/asm/io.h__OUT1(s,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); } \
port39include/asm/io.h__OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "i" (port)); } \
port40include/asm/io.h__OUT1(s##_p,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); SLOW_DOWN_IO; } \
port41include/asm/io.h__OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "i" (port)); SLOW_DOWN_IO; }
port44include/asm/io.hextern inline unsigned int __in##s(unsigned short port) { unsigned int _v;
port50include/asm/io.h__IN1(s) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); return _v; } \
port51include/asm/io.h__IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); return _v; } \
port52include/asm/io.h__IN1(s##_p) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); SLOW_DOWN_IO; return _v; } \
port53include/asm/io.h__IN1(s##c_p) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); SLOW_DOWN_IO; return _v; }
port56include/asm/io.hextern inline void ins##s(unsigned short port, void * addr, unsigned long count) \
port58include/asm/io.h: "=D" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); }
port61include/asm/io.hextern inline void outs##s(unsigned short port, void * addr, unsigned long count) \
port63include/asm/io.h: "=S" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); }
port86include/asm/io.h#define outb(val,port) \
port87include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port88include/asm/io.h__outbc((val),(port)) : \
port89include/asm/io.h__outb((val),(port)))
port91include/asm/io.h#define inb(port) \
port92include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port93include/asm/io.h__inbc(port) : \
port94include/asm/io.h__inb(port))
port96include/asm/io.h#define outb_p(val,port) \
port97include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port98include/asm/io.h__outbc_p((val),(port)) : \
port99include/asm/io.h__outb_p((val),(port)))
port101include/asm/io.h#define inb_p(port) \
port102include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port103include/asm/io.h__inbc_p(port) : \
port104include/asm/io.h__inb_p(port))
port106include/asm/io.h#define outw(val,port) \
port107include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port108include/asm/io.h__outwc((val),(port)) : \
port109include/asm/io.h__outw((val),(port)))
port111include/asm/io.h#define inw(port) \
port112include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port113include/asm/io.h__inwc(port) : \
port114include/asm/io.h__inw(port))
port116include/asm/io.h#define outw_p(val,port) \
port117include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port118include/asm/io.h__outwc_p((val),(port)) : \
port119include/asm/io.h__outw_p((val),(port)))
port121include/asm/io.h#define inw_p(port) \
port122include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port123include/asm/io.h__inwc_p(port) : \
port124include/asm/io.h__inw_p(port))
port126include/asm/io.h#define outl(val,port) \
port127include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port128include/asm/io.h__outlc((val),(port)) : \
port129include/asm/io.h__outl((val),(port)))
port131include/asm/io.h#define inl(port) \
port132include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port133include/asm/io.h__inlc(port) : \
port134include/asm/io.h__inl(port))
port136include/asm/io.h#define outl_p(val,port) \
port137include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port138include/asm/io.h__outlc_p((val),(port)) : \
port139include/asm/io.h__outl_p((val),(port)))
port141include/asm/io.h#define inl_p(port) \
port142include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port143include/asm/io.h__inlc_p(port) : \
port144include/asm/io.h__inl_p(port))
port73include/linux/kd.hunsigned short port;
port70include/linux/mcd.h#define READ_DATA(port, buf, nr) \
port71include/linux/mcd.hinsb(port, buf, nr)
port23include/linux/serial.hint      port;
port75include/linux/tty.hint  port;
port124include/linux/xd.hstatic inline u_char xd_waitport (u_short port,u_char flags,u_char mask,u_long timeout);