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);
port433drivers/block/xd.cstatic inline u_char xd_waitport (u_short port,u_char flags,u_char mask,u_long timeout)
port437drivers/block/xd.cwhile (((inb(port) & mask) != flags) && (jiffies < expiry))
port142drivers/char/serial.c#define C_P(card,port) (((card)<<6|(port)<<3) + 1)
port214drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
port215drivers/char/serial.creturn inb(info->port+1);
port217drivers/char/serial.creturn inb(info->port + offset);
port223drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
port224drivers/char/serial.creturn inb_p(info->port+1);
port226drivers/char/serial.creturn inb_p(info->port + offset);
port232drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
port233drivers/char/serial.coutb(value, info->port+1);
port235drivers/char/serial.coutb(value, info->port+offset);
port242drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
port243drivers/char/serial.coutb_p(value, info->port+1);
port245drivers/char/serial.coutb_p(value, info->port+offset);
port731drivers/char/serial.cif (!info->port || !info->type) {
port800drivers/char/serial.cICP = (info->port & 0xFE0) | 0x01F;
port890drivers/char/serial.c(void) inb((info->port & 0xFE0) | 0x01F);
port917drivers/char/serial.cunsigned short port;
port928drivers/char/serial.cif (!(port = info->port))
port1116drivers/char/serial.ctmp.port = info->port;
port1142drivers/char/serial.cchange_port = (new_serial.port != info->port) || (new_serial.hub6 != info->hub6);
port1161drivers/char/serial.cif ((new_serial.irq > 15) || (new_serial.port > 0xffff) ||
port1169drivers/char/serial.c(rs_table[i].port == new_serial.port) && rs_table[i].type)
port1177drivers/char/serial.cif (new_serial.port && new_serial.type && new_serial.irq &&
port1212drivers/char/serial.cinfo->port = new_serial.port;
port1217drivers/char/serial.cif (!info->port || !info->type)
port1313drivers/char/serial.cif (!info->port)
port1817drivers/char/serial.cunsigned short ICP=0, port = info->port;
port1830drivers/char/serial.cICP = (port & 0xFE0) | 0x01F;
port1871drivers/char/serial.cunsigned     port = info->port;
port1877drivers/char/serial.cif (!port)
port1911drivers/char/serial.cunsigned port = info->port;
port1916drivers/char/serial.cif (!port)
port2054drivers/char/serial.cinfo->port, info->irq);
port292drivers/net/3c507.cint *port, ports[] = {0x300, 0x320, 0x340, 0x280, 0};
port311drivers/net/3c507.cfor (port = &ports[0]; *port; port++) {
port312drivers/net/3c507.cshort ioaddr = *port;
port317drivers/net/3c507.c&& el16_probe1(dev, *port) == 0)
port328drivers/net/3c507.c&& el16_probe1(dev, *port) == 0)
port131drivers/net/at1700.cshort *port, base_addr = dev->base_addr;
port138drivers/net/at1700.cfor (port = &ports[0]; *port; port++) {
port139drivers/net/at1700.cint ioaddr = *port;
port158drivers/net/atp.cint *port, ports[] = {0x378, 0x278, 0x3bc, 0};
port166drivers/net/atp.cfor (port = ports; *port; port++) {
port167drivers/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. */
port320drivers/net/depca.cint *port, ports[] = DEPCA_IO_PORTS;
port335drivers/net/depca.cfor (status = -ENODEV, port = &ports[0]; 
port336drivers/net/depca.c*port && (num_depcas < MAX_NUM_DEPCAS); port++) {
port337drivers/net/depca.cint ioaddr = *port;
port308drivers/net/eexpress.cint *port, ports[] = {0x300, 0x270, 0x320, 0x340, 0};
port316drivers/net/eexpress.cfor (port = &ports[0]; *port; port++) {
port317drivers/net/eexpress.cshort id_addr = *port + ID_PORT;
port331drivers/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) {
port218drivers/net/lance.cint *port, ports[] = {0x300, 0x320, 0x340, 0x360, 0};
port220drivers/net/lance.cfor (port = &ports[0]; *port; port++) {
port221drivers/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;
port125drivers/net/skeleton.cint *port, ports[] = {0x300, 0x280, 0};
port133drivers/net/skeleton.cfor (port = &ports[0]; *port; port++) {
port134drivers/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))
port290drivers/scsi/aha152x.hunsigned short port;
port302drivers/scsi/aha152x.h#define cf_port    port
port81drivers/scsi/aha1542.c#define WAIT(port, mask, allof, noneof)          \
port85drivers/scsi/aha1542.cWAITbits = inb(port) & (mask);          \
port394drivers/scsi/fdomain.cstatic int fdomain_is_valid_port( int port )
port400drivers/scsi/fdomain.cinb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) );
port409drivers/scsi/fdomain.cif (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */
port410drivers/scsi/fdomain.cif (inb( port + LSB_ID_Code ) != 0x27) return 0;
port411drivers/scsi/fdomain.cif (inb( port + MSB_ID_Code ) != 0x61) return 0;
port414drivers/scsi/fdomain.cif (inb( port + MSB_ID_Code ) != 0x60) return 0;
port424drivers/scsi/fdomain.coutb( 0x80, port + IO_Control );
port425drivers/scsi/fdomain.cif (inb( port + Configuration2 ) & 0x80 == 0x80) {
port426drivers/scsi/fdomain.coutb( 0x00, port + IO_Control );
port427drivers/scsi/fdomain.cif (inb( port + Configuration2 ) & 0x80 == 0x00) {
port438drivers/scsi/fdomain.cif (inb( port + Configuration2 ) & 0x02) {
port452drivers/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);
port45include/asm/io.hextern inline void __out##s(unsigned x value, unsigned short port) {
port51include/asm/io.h__OUT1(s,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); } \
port52include/asm/io.h__OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "i" (port)); } \
port53include/asm/io.h__OUT1(s##_p,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); SLOW_DOWN_IO; } \
port54include/asm/io.h__OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "i" (port)); SLOW_DOWN_IO; }
port57include/asm/io.hextern inline unsigned int __in##s(unsigned short port) { unsigned int _v;
port63include/asm/io.h__IN1(s) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); return _v; } \
port64include/asm/io.h__IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); return _v; } \
port65include/asm/io.h__IN1(s##_p) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); SLOW_DOWN_IO; return _v; } \
port66include/asm/io.h__IN1(s##c_p) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); SLOW_DOWN_IO; return _v; }
port69include/asm/io.hextern inline void ins##s(unsigned short port, void * addr, unsigned long count) \
port71include/asm/io.h: "=D" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); }
port74include/asm/io.hextern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \
port76include/asm/io.h: "=S" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); }
port99include/asm/io.h#define outb(val,port) \
port100include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port101include/asm/io.h__outbc((val),(port)) : \
port102include/asm/io.h__outb((val),(port)))
port104include/asm/io.h#define inb(port) \
port105include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port106include/asm/io.h__inbc(port) : \
port107include/asm/io.h__inb(port))
port109include/asm/io.h#define outb_p(val,port) \
port110include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port111include/asm/io.h__outbc_p((val),(port)) : \
port112include/asm/io.h__outb_p((val),(port)))
port114include/asm/io.h#define inb_p(port) \
port115include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port116include/asm/io.h__inbc_p(port) : \
port117include/asm/io.h__inb_p(port))
port119include/asm/io.h#define outw(val,port) \
port120include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port121include/asm/io.h__outwc((val),(port)) : \
port122include/asm/io.h__outw((val),(port)))
port124include/asm/io.h#define inw(port) \
port125include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port126include/asm/io.h__inwc(port) : \
port127include/asm/io.h__inw(port))
port129include/asm/io.h#define outw_p(val,port) \
port130include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port131include/asm/io.h__outwc_p((val),(port)) : \
port132include/asm/io.h__outw_p((val),(port)))
port134include/asm/io.h#define inw_p(port) \
port135include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port136include/asm/io.h__inwc_p(port) : \
port137include/asm/io.h__inw_p(port))
port139include/asm/io.h#define outl(val,port) \
port140include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port141include/asm/io.h__outlc((val),(port)) : \
port142include/asm/io.h__outl((val),(port)))
port144include/asm/io.h#define inl(port) \
port145include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port146include/asm/io.h__inlc(port) : \
port147include/asm/io.h__inl(port))
port149include/asm/io.h#define outl_p(val,port) \
port150include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port151include/asm/io.h__outlc_p((val),(port)) : \
port152include/asm/io.h__outl_p((val),(port)))
port154include/asm/io.h#define inl_p(port) \
port155include/asm/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port156include/asm/io.h__inlc_p(port) : \
port157include/asm/io.h__inl_p(port))
port73include/linux/kd.hunsigned short port;
port71include/linux/mcd.h#define READ_DATA(port, buf, nr) \
port72include/linux/mcd.hinsb(port, buf, nr)
port424include/linux/sbpcd.h#define READ_DATA(port, buf, nr) insb(port, buf, nr)
port23include/linux/serial.hint      port;
port74include/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);
port98net/inet/ipx.cstatic ipx_socket *ipx_find_socket(int port)
port104net/inet/ipx.cif(s->ipx_source_addr.sock==port)