taglinefilesource code
port107arch/alpha/lib/io.cvoid insb (unsigned long port, void *dst, unsigned long count)
port113arch/alpha/lib/io.c*(unsigned char *) dst = inb(port);
port120arch/alpha/lib/io.cw = inb(port);
port121arch/alpha/lib/io.cw |= inb(port) << 8;
port122arch/alpha/lib/io.cw |= inb(port) << 16;
port123arch/alpha/lib/io.cw |= inb(port) << 24;
port130arch/alpha/lib/io.c*(unsigned char *) dst = inb(port);
port144arch/alpha/lib/io.cvoid insw (unsigned long port, void *dst, unsigned long count)
port153arch/alpha/lib/io.c*(unsigned short* ) dst = inw(port);
port160arch/alpha/lib/io.cw = inw(port);
port161arch/alpha/lib/io.cw |= inw(port) << 16;
port167arch/alpha/lib/io.c*(unsigned short*) dst = inw(port);
port180arch/alpha/lib/io.cvoid insl (unsigned long port, void *dst, unsigned long count)
port188arch/alpha/lib/io.c*(unsigned int *) dst = inl(port);
port200arch/alpha/lib/io.cvoid outsb(unsigned long port, void * src, unsigned long count)
port204arch/alpha/lib/io.coutb(*(char *)src, port);
port216arch/alpha/lib/io.cvoid outsw (unsigned long port, void *src, unsigned long count)
port222arch/alpha/lib/io.coutw(*(unsigned short*)src, port);
port232arch/alpha/lib/io.coutw(w >>  0, port);
port233arch/alpha/lib/io.coutw(w >> 16, port);
port237arch/alpha/lib/io.coutw(*(unsigned short *) src, port);
port249arch/alpha/lib/io.cvoid outsl (unsigned long port, void *src, unsigned long count)
port257arch/alpha/lib/io.coutl(*(unsigned int *) src, port);
port226drivers/block/hd.cunsigned short port;
port240drivers/block/hd.cport=HD_DATA;
port241drivers/block/hd.coutb_p(hd_info[drive].wpcom>>2,++port);
port242drivers/block/hd.coutb_p(nsect,++port);
port243drivers/block/hd.coutb_p(sect,++port);
port244drivers/block/hd.coutb_p(cyl,++port);
port245drivers/block/hd.coutb_p(cyl>>8,++port);
port246drivers/block/hd.coutb_p(0xA0|(drive<<4)|head,++port);
port247drivers/block/hd.coutb_p(cmd,++port);
port208drivers/block/mcdx.cstatic char *port(int*);
port974drivers/block/mcdx.cstuffp->wreg_data = stuffp->rreg_data = port(mcdx_drive_map[drive]);
port3294drivers/block/sbpcd.cstatic int check_card(int port)
port3304drivers/block/sbpcd.csave_port0=inb(port+0);
port3305drivers/block/sbpcd.csave_port3=inb(port+3);
port3309drivers/block/sbpcd.cOUT(port+3,j) ; /* enable drive #j */
port3310drivers/block/sbpcd.cOUT(port+0,CMD0_PATH_CHECK);
port3311drivers/block/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
port3317drivers/block/sbpcd.cif (inb(port+1)&s_not_result_ready) continue;
port3318drivers/block/sbpcd.cresponse[k]=inb(port+0);
port3326drivers/block/sbpcd.cOUT(port+0,CMD0_PATH_CHECK);
port3327drivers/block/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
port3333drivers/block/sbpcd.cif (inb(port+1)&s_not_result_ready) continue;
port3334drivers/block/sbpcd.cresponse[k]=inb(port+0);
port3349drivers/block/sbpcd.cOUT(port+3,j) ; /* enable drive #j */
port3350drivers/block/sbpcd.cOUT(port+0,CMD2_READ_VER);
port3351drivers/block/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
port3357drivers/block/sbpcd.cif (inb(port+1)&s_not_result_ready) continue;
port3358drivers/block/sbpcd.cresponse[k]=inb(port+0);
port3367drivers/block/sbpcd.cOUT(port+0,CMD2_READ_VER);
port3368drivers/block/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
port3374drivers/block/sbpcd.cif (inb(port+1)&s_not_result_ready) continue;
port3375drivers/block/sbpcd.cresponse[k]=inb(port+0);
port3388drivers/block/sbpcd.cOUT(port+0,save_port0);
port3389drivers/block/sbpcd.cOUT(port+3,save_port3);
port435drivers/block/xd.cstatic inline u_char xd_waitport (u_short port,u_char flags,u_char mask,u_long timeout)
port439drivers/block/xd.cwhile (((inb(port) & mask) != flags) && (jiffies < expiry))
port1773drivers/char/cyclades.ctmp.port = info->card * 0x100 + info->line - cinfo->first_line;
port163drivers/char/scc.cInReg(register io_port port, register unsigned char reg)
port167drivers/char/scc.cOutb(port, reg);
port169drivers/char/scc.cr=Inb(port);
port173drivers/char/scc.cOutb(port, reg);
port174drivers/char/scc.creturn Inb(port);
port179drivers/char/scc.cOutReg(register io_port port, register unsigned char reg, register unsigned char val)
port182drivers/char/scc.cOutb(port, reg); udelay(5);
port183drivers/char/scc.cOutb(port, val); udelay(5);
port185drivers/char/scc.cOutb(port, reg);
port186drivers/char/scc.cOutb(port, val);
port127drivers/char/serial.c#define C_P(card,port) (((card)<<6|(port)<<3) + 1)
port239drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
port240drivers/char/serial.creturn inb(info->port+1);
port243drivers/char/serial.creturn inb(info->port + offset);
port250drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
port251drivers/char/serial.creturn inb_p(info->port+1);
port255drivers/char/serial.creturn inb(info->port + offset);
port257drivers/char/serial.creturn inb_p(info->port + offset);
port265drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
port266drivers/char/serial.coutb(value, info->port+1);
port269drivers/char/serial.coutb(value, info->port+offset);
port277drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
port278drivers/char/serial.coutb_p(value, info->port+1);
port282drivers/char/serial.coutb(value, info->port+offset);
port284drivers/char/serial.coutb_p(value, info->port+offset);
port880drivers/char/serial.cif (!info->port || !info->type) {
port990drivers/char/serial.cICP = (info->port & 0xFE0) | 0x01F;
port1088drivers/char/serial.c(void) inb((info->port & 0xFE0) | 0x01F);
port1115drivers/char/serial.cunsigned short port;
port1123drivers/char/serial.cif (!(port = info->port))
port1451drivers/char/serial.ctmp.port = info->port;
port1477drivers/char/serial.cchange_port = (new_serial.port != info->port) || (new_serial.hub6 != info->hub6);
port1496drivers/char/serial.cif ((new_serial.irq > 15) || (new_serial.port > 0xffff) ||
port1505drivers/char/serial.c(rs_table[i].port == new_serial.port) &&
port1526drivers/char/serial.crelease_region(info->port,8);
port1534drivers/char/serial.cinfo->port = new_serial.port;
port1538drivers/char/serial.crequest_region(info->port,8,"serial(set)");
port1542drivers/char/serial.cif (!info->port || !info->type)
port1675drivers/char/serial.cif (!info->port)
port2343drivers/char/serial.cunsigned short ICP=0, port = info->port;
port2356drivers/char/serial.cICP = (port & 0xFE0) | 0x01F;
port2397drivers/char/serial.cunsigned     port = info->port;
port2403drivers/char/serial.cif (!port)
port2437drivers/char/serial.cunsigned port = info->port;
port2442drivers/char/serial.cif (!port)
port2536drivers/char/serial.crequest_region(info->port,8,"serial(auto)");
port2661drivers/char/serial.cinfo->port, info->irq);
port2699drivers/char/serial.cif (rs_table[i].port == req->port)
port2716drivers/char/serial.c"device already open\n", i, req->port, req->irq);
port2720drivers/char/serial.cinfo->port = req->port;
port2728drivers/char/serial.cinfo->port, info->irq);
port493drivers/net/arcnet.cint *port, ports[] = {/* first the suggested values! */
port539drivers/net/arcnet.celse for (port = &ports[0]; *port; port++)
port541drivers/net/arcnet.cint ioaddr = *port;
port155drivers/net/atp.cint *port, ports[] = {0x378, 0x278, 0x3bc, 0};
port163drivers/net/atp.cfor (port = ports; *port; port++) {
port164drivers/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. */
port67drivers/net/e2100.cextern inline void mem_on(short port, volatile char *mem_base,
port73drivers/net/e2100.cinb(port + E21_MEM_ENABLE);
port74drivers/net/e2100.coutb(E21_MEM_ON, port + E21_MEM_ENABLE + E21_MEM_ON);
port77drivers/net/e2100.cextern inline void mem_off(short port)
port79drivers/net/e2100.cinb(port + E21_MEM_ENABLE);
port80drivers/net/e2100.coutb(0x00, port + E21_MEM_ENABLE);
port113drivers/net/e2100.cint *port;
port121drivers/net/e2100.cfor (port = e21_probe_list; *port; port++) {
port122drivers/net/e2100.cif (check_region(*port, E21_IO_EXTENT))
port124drivers/net/e2100.cif (e21_probe1(dev, *port) == 0)
port315drivers/net/eexpress.cint *port, ports[] = {0x300, 0x270, 0x320, 0x340, 0};
port323drivers/net/eexpress.cfor (port = &ports[0]; *port; port++) {
port324drivers/net/eexpress.cshort id_addr = *port + ID_PORT;
port338drivers/net/eexpress.c&& eexp_probe1(dev, *port) == 0)
port277drivers/net/lance.cint *port;
port321drivers/net/lance.cfor (port = lance_portlist; *port; port++) {
port322drivers/net/lance.cint ioaddr = *port;
port260drivers/net/net_init.cif (map->port != (u_char)(-1))
port261drivers/net/net_init.cdev->if_port = map->port;
port321drivers/net/ni52.cint *port, ports[] = {0x300, 0x280, 0x360 , 0x320 , 0x340, 0};
port331drivers/net/ni52.cfor (port = ports; *port; port++) {
port332drivers/net/ni52.cint ioaddr = *port;
port180drivers/net/ni65.cint *port, ports[] = {0x300,0x320,0x340,0x360, 0};
port188drivers/net/ni65.cfor (port = ports; *port; port++) 
port190drivers/net/ni65.cint ioaddr = *port;
port312drivers/net/pi2.cint port;
port319drivers/net/pi2.cport = lp->cardbase + TMR1;
port323drivers/net/pi2.cport = lp->cardbase + TMR2;
port331drivers/net/pi2.coutb_p((t1 << 1) & 0xFF, port);
port332drivers/net/pi2.coutb_p((t1 >> 7) & 0xFF, port);
port1211drivers/net/pi2.cint *port;
port1220drivers/net/pi2.cfor (port = &ports[0]; *port && !card_type; port++) {
port1221drivers/net/pi2.cioaddr = *port;
port217drivers/net/sk_g16.c#define SK_PORT         (board->port)  /* Control, Status register  */
port419drivers/net/sk_g16.cunsigned volatile char  port; /* Statusregister and Controlregister */
port555drivers/net/sk_g16.cint *port, ports[] = SK_IO_PORTS;  /* SK_G16 supported ports */
port582drivers/net/sk_g16.cfor (port = &ports[0]; *port; port++) 
port584drivers/net/sk_g16.cioaddr = *port;           /* we need ioaddr for accessing POS regs */
port297drivers/scsi/aha152x.hunsigned short port;
port309drivers/scsi/aha152x.h#define cf_port    port
port119drivers/scsi/aha1542.c#define WAIT(port, mask, allof, noneof)          \
port123drivers/scsi/aha1542.cWAITbits = inb(port) & (mask);          \
port132drivers/scsi/aha1542.c#define WAITd(port, mask, allof, noneof, timeout)      \
port136drivers/scsi/aha1542.cWAITbits = inb(port) & (mask);          \
port202drivers/scsi/buslogic.c#define WAIT(port, allof, noneof) \
port203drivers/scsi/buslogic.cCHECK(wait(port, allof, noneof, WAITNEXTTIMEOUT, FALSE))
port204drivers/scsi/buslogic.c#define WAIT_WHILE(port, mask) WAIT(port, 0, mask)
port205drivers/scsi/buslogic.c#define WAIT_UNTIL(port, mask) WAIT(port, mask, 0)
port206drivers/scsi/buslogic.c#define WAIT_FAST(port, allof, noneof) \
port207drivers/scsi/buslogic.cCHECK(wait(port, allof, noneof, 100, TRUE))
port208drivers/scsi/buslogic.c#define WAIT_WHILE_FAST(port, mask) WAIT_FAST(port, 0, mask)
port209drivers/scsi/buslogic.c#define WAIT_UNTIL_FAST(port, mask) WAIT_FAST(port, mask, 0)
port216drivers/scsi/buslogic.cstatic __inline__ int wait(unsigned short port,
port223drivers/scsi/buslogic.cbits = inb(port);
port462drivers/scsi/fdomain.cstatic int fdomain_is_valid_port( int port )
port466drivers/scsi/fdomain.cinb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) );
port475drivers/scsi/fdomain.cif (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */
port476drivers/scsi/fdomain.cif (inb( port + LSB_ID_Code ) != 0x27) return 0;
port477drivers/scsi/fdomain.cif (inb( port + MSB_ID_Code ) != 0x61) return 0;
port480drivers/scsi/fdomain.cif (inb( port + MSB_ID_Code ) != 0x60) return 0;
port490drivers/scsi/fdomain.coutb( 0x80, port + IO_Control );
port491drivers/scsi/fdomain.cif ((inb( port + Configuration2 ) & 0x80) == 0x80) {
port492drivers/scsi/fdomain.coutb( 0x00, port + IO_Control );
port493drivers/scsi/fdomain.cif ((inb( port + Configuration2 ) & 0x80) == 0x00) {
port504drivers/scsi/fdomain.cif (inb( port + Configuration2 ) & 0x02) {
port72drivers/scsi/g_NCR5380.cint port;
port100drivers/scsi/g_NCR5380.coverrides[commandline_current].port = ints[1];
port125drivers/scsi/g_NCR5380.cif (!(overrides[current_override].port))
port129drivers/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))))
port88drivers/scsi/in2000.cinline static unsigned short inw( unsigned short port )
port93drivers/scsi/in2000.c:"=a" (_v):"d" ((unsigned short) port));
port99drivers/scsi/in2000.cinline static void outw( unsigned short value, unsigned short port )
port104drivers/scsi/in2000.c"d" ((unsigned short) port));
port110drivers/scsi/in2000.c#define port_read(port,buf,nr) \
port111drivers/scsi/in2000.c__asm__("cld;rep;insw": :"d" (port),"D" (buf),"c" (nr):"cx","di")
port113drivers/scsi/in2000.c#define port_write(port,buf,nr) \
port114drivers/scsi/in2000.c__asm__("cld;rep;outsw": :"d" (port),"S" (buf),"c" (nr):"cx","si")
port189drivers/scsi/pas16.cvoid  enable_board( int  board_num,  unsigned short port )
port192drivers/scsi/pas16.coutb( port >> 2, MASTER_ADDRESS_PTR );
port524drivers/scsi/qlogic.cvoid  qlogic_preset(int port, int irq)
port526drivers/scsi/qlogic.cqbase=port;
port206drivers/scsi/ultrastor.c#define U14F_PRODUCT_ID(port) ((port) + 0x4)
port207drivers/scsi/ultrastor.c#define CONFIG(port) ((port) + 0x6)
port210drivers/scsi/ultrastor.c#define LCL_DOORBELL_MASK(port) ((port) + 0x0)
port211drivers/scsi/ultrastor.c#define LCL_DOORBELL_INTR(port) ((port) + 0x1)
port212drivers/scsi/ultrastor.c#define SYS_DOORBELL_MASK(port) ((port) + 0x2)
port213drivers/scsi/ultrastor.c#define SYS_DOORBELL_INTR(port) ((port) + 0x3)
port551drivers/scsi/wd7000.c#define WAIT(port, mask, allof, noneof)          \
port555drivers/scsi/wd7000.cWAITbits = inb(port) & (mask);          \
port366drivers/sound/aedsp16.cWaitForDataAvail (int port)
port373drivers/sound/aedsp16.cret = INB (port + DSP_DATAVAIL);
port387drivers/sound/aedsp16.cReadData (int port)
port389drivers/sound/aedsp16.cif (WaitForDataAvail (port))
port391drivers/sound/aedsp16.creturn INB (port + DSP_READ);
port395drivers/sound/aedsp16.cCheckDSPOkay (int port)
port397drivers/sound/aedsp16.creturn ((ReadData (port) == 0xaa) ? 0 : -1);
port401drivers/sound/aedsp16.cResetBoard (int port)
port406drivers/sound/aedsp16.cOUTB (1, (port + DSP_RESET));
port408drivers/sound/aedsp16.cOUTB (0, (port + DSP_RESET));
port411drivers/sound/aedsp16.creturn CheckDSPOkay (port);
port415drivers/sound/aedsp16.cWriteDSPCommand (int port, int cmd)
port422drivers/sound/aedsp16.cret = INB (port + DSP_STATUS);
port428drivers/sound/aedsp16.cOUTB (cmd, port + DSP_COMMAND);
port439drivers/sound/aedsp16.cInitMSS (int port)
port444drivers/sound/aedsp16.cif (WriteDSPCommand (port, CMD6))
port456drivers/sound/aedsp16.cSetUpBoard (int port)
port471drivers/sound/aedsp16.cwhile (WaitForDataAvail (port) && loop--);
port474drivers/sound/aedsp16.cif (CheckDSPOkay (port))
port480drivers/sound/aedsp16.cif (ReadData (port) == -1)
port508drivers/sound/aedsp16.cGetCardVersion (int port)
port516drivers/sound/aedsp16.cif ((ret = ReadData (port)) == -1)
port530drivers/sound/aedsp16.cGetCardName (int port)
port537drivers/sound/aedsp16.cif ((ret = ReadData (port)) == -1)
port103drivers/sound/mad16.cmad_read (int port)
port122drivers/sound/mad16.ctmp = INB (port);
port129drivers/sound/mad16.cmad_write (int port, int value)
port147drivers/sound/mad16.cOUTB ((unsigned char) (value & 0xff), port);
port57drivers/sound/sb_mixer.csb_setmixer (unsigned int port, unsigned int value)
port62drivers/sound/sb_mixer.cOUTB ((unsigned char) (port & 0xff), MIXER_ADDR);  /*
port72drivers/sound/sb_mixer.csb_getmixer (unsigned int port)
port78drivers/sound/sb_mixer.cOUTB ((unsigned char) (port & 0xff), MIXER_ADDR);  /*
port139drivers/sound/sound_calls.hvoid sb_setmixer (unsigned int port, unsigned int value);
port140drivers/sound/sound_calls.hint sb_getmixer (unsigned int port);
port64include/asm-alpha/io.hextern unsigned int _inb (unsigned long port);
port65include/asm-alpha/io.hextern unsigned int _inw (unsigned long port);
port66include/asm-alpha/io.hextern unsigned int _inl (unsigned long port);
port67include/asm-alpha/io.hextern void _outb (unsigned char b,unsigned long port);
port68include/asm-alpha/io.hextern void _outw (unsigned short w,unsigned long port);
port69include/asm-alpha/io.hextern void _outl (unsigned int l,unsigned long port);
port105include/asm-alpha/io.hextern void insb (unsigned long port, void *src, unsigned long count);
port106include/asm-alpha/io.hextern void insw (unsigned long port, void *src, unsigned long count);
port107include/asm-alpha/io.hextern void insl (unsigned long port, void *src, unsigned long count);
port108include/asm-alpha/io.hextern void outsb (unsigned long port, void *dst, unsigned long count);
port109include/asm-alpha/io.hextern void outsw (unsigned long port, void *dst, unsigned long count);
port110include/asm-alpha/io.hextern void outsl (unsigned long port, void *dst, unsigned long count);
port270include/asm-alpha/jensen.h#define inb(port) \
port271include/asm-alpha/jensen.h(__builtin_constant_p((port))?__inb(port):(inb)(port))
port273include/asm-alpha/jensen.h#define outb(x, port) \
port274include/asm-alpha/jensen.h(__builtin_constant_p((port))?__outb((x),(port)):(outb)((x),(port)))
port298include/asm-alpha/lca.h#define inb(port) \
port299include/asm-alpha/lca.h(__builtin_constant_p((port))?__inb(port):(inb)(port))
port301include/asm-alpha/lca.h#define outb(x, port) \
port302include/asm-alpha/lca.h(__builtin_constant_p((port))?__outb((x),(port)):(outb)((x),(port)))
port85include/asm-i386/io.hextern inline void __out##s(unsigned x value, unsigned short port) {
port91include/asm-i386/io.h__OUT1(s,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); } \
port92include/asm-i386/io.h__OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "i" (port)); } \
port93include/asm-i386/io.h__OUT1(s##_p,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); SLOW_DOWN_IO; } \
port94include/asm-i386/io.h__OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "i" (port)); SLOW_DOWN_IO; }
port97include/asm-i386/io.hextern inline unsigned int __in##s(unsigned short port) { unsigned int _v;
port103include/asm-i386/io.h__IN1(s) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); return _v; } \
port104include/asm-i386/io.h__IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); return _v; } \
port105include/asm-i386/io.h__IN1(s##_p) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); SLOW_DOWN_IO; return _v; } \
port106include/asm-i386/io.h__IN1(s##c_p) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); SLOW_DOWN_IO; return _v; }
port109include/asm-i386/io.hextern inline void ins##s(unsigned short port, void * addr, unsigned long count) \
port111include/asm-i386/io.h: "=D" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); }
port114include/asm-i386/io.hextern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \
port116include/asm-i386/io.h: "=S" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); }
port139include/asm-i386/io.h#define outb(val,port) \
port140include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port141include/asm-i386/io.h__outbc((val),(port)) : \
port142include/asm-i386/io.h__outb((val),(port)))
port144include/asm-i386/io.h#define inb(port) \
port145include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port146include/asm-i386/io.h__inbc(port) : \
port147include/asm-i386/io.h__inb(port))
port149include/asm-i386/io.h#define outb_p(val,port) \
port150include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port151include/asm-i386/io.h__outbc_p((val),(port)) : \
port152include/asm-i386/io.h__outb_p((val),(port)))
port154include/asm-i386/io.h#define inb_p(port) \
port155include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port156include/asm-i386/io.h__inbc_p(port) : \
port157include/asm-i386/io.h__inb_p(port))
port159include/asm-i386/io.h#define outw(val,port) \
port160include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port161include/asm-i386/io.h__outwc((val),(port)) : \
port162include/asm-i386/io.h__outw((val),(port)))
port164include/asm-i386/io.h#define inw(port) \
port165include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port166include/asm-i386/io.h__inwc(port) : \
port167include/asm-i386/io.h__inw(port))
port169include/asm-i386/io.h#define outw_p(val,port) \
port170include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port171include/asm-i386/io.h__outwc_p((val),(port)) : \
port172include/asm-i386/io.h__outw_p((val),(port)))
port174include/asm-i386/io.h#define inw_p(port) \
port175include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port176include/asm-i386/io.h__inwc_p(port) : \
port177include/asm-i386/io.h__inw_p(port))
port179include/asm-i386/io.h#define outl(val,port) \
port180include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port181include/asm-i386/io.h__outlc((val),(port)) : \
port182include/asm-i386/io.h__outl((val),(port)))
port184include/asm-i386/io.h#define inl(port) \
port185include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port186include/asm-i386/io.h__inlc(port) : \
port187include/asm-i386/io.h__inl(port))
port189include/asm-i386/io.h#define outl_p(val,port) \
port190include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port191include/asm-i386/io.h__outlc_p((val),(port)) : \
port192include/asm-i386/io.h__outl_p((val),(port)))
port194include/asm-i386/io.h#define inl_p(port) \
port195include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port196include/asm-i386/io.h__inlc_p(port) : \
port197include/asm-i386/io.h__inl_p(port))
port54include/asm-mips/io.hextern inline void __out##s(unsigned int value, unsigned int port) {
port60include/asm-mips/io.h__OUT1(s) __OUT2(m) : : "r" (value), "i" (0), "r" (PORT_BASE+port)); } \
port61include/asm-mips/io.h__OUT1(s##c) __OUT2(m) : : "r" (value), "i" (port), "r" (PORT_BASE)); } \
port62include/asm-mips/io.h__OUT1(s##_p) __OUT2(m) : : "r" (value), "i" (0), "r" (PORT_BASE+port)); \
port64include/asm-mips/io.h__OUT1(s##c_p) __OUT2(m) : : "r" (value), "i" (port), "r" (PORT_BASE)); \
port68include/asm-mips/io.hextern inline unsigned int __in##s(unsigned int port) { unsigned int _v;
port74include/asm-mips/io.h__IN1(s) __IN2(m) STR(FILL_LDS) : "=r" (_v) : "i" (0), "r" (PORT_BASE+port)); return _v; } \
port75include/asm-mips/io.h__IN1(s##c) __IN2(m) STR(FILL_LDS) : "=r" (_v) : "i" (port), "r" (PORT_BASE)); return _v; } \
port76include/asm-mips/io.h__IN1(s##_p) __IN2(m) : "=r" (_v) : "i" (0), "r" (PORT_BASE+port)); SLOW_DOWN_IO; return _v; } \
port77include/asm-mips/io.h__IN1(s##c_p) __IN2(m) : "=r" (_v) : "i" (port), "r" (PORT_BASE)); SLOW_DOWN_IO; return _v; }
port80include/asm-mips/io.hextern inline void __ins##s(unsigned int port, void * addr, unsigned long count) {
port97include/asm-mips/io.h: "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \
port101include/asm-mips/io.h: "0" (addr), "1" (count), "i" (port), "r" (PORT_BASE), "I" (i) \
port105include/asm-mips/io.hextern inline void __outs##s(unsigned int port, const void * addr, unsigned long count) {
port122include/asm-mips/io.h: "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \
port126include/asm-mips/io.h: "0" (addr), "1" (count), "i" (port), "r" (PORT_BASE), "I" (i) \
port150include/asm-mips/io.h#define outb(val,port) \
port151include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port152include/asm-mips/io.h__outbc((val),(port)) : \
port153include/asm-mips/io.h__outb((val),(port)))
port155include/asm-mips/io.h#define inb(port) \
port156include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port157include/asm-mips/io.h__inbc(port) : \
port158include/asm-mips/io.h__inb(port))
port160include/asm-mips/io.h#define outb_p(val,port) \
port161include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port162include/asm-mips/io.h__outbc_p((val),(port)) : \
port163include/asm-mips/io.h__outb_p((val),(port)))
port165include/asm-mips/io.h#define inb_p(port) \
port166include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port167include/asm-mips/io.h__inbc_p(port) : \
port168include/asm-mips/io.h__inb_p(port))
port170include/asm-mips/io.h#define outw(val,port) \
port171include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port172include/asm-mips/io.h__outwc((val),(port)) : \
port173include/asm-mips/io.h__outw((val),(port)))
port175include/asm-mips/io.h#define inw(port) \
port176include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port177include/asm-mips/io.h__inwc(port) : \
port178include/asm-mips/io.h__inw(port))
port180include/asm-mips/io.h#define outw_p(val,port) \
port181include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port182include/asm-mips/io.h__outwc_p((val),(port)) : \
port183include/asm-mips/io.h__outw_p((val),(port)))
port185include/asm-mips/io.h#define inw_p(port) \
port186include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port187include/asm-mips/io.h__inwc_p(port) : \
port188include/asm-mips/io.h__inw_p(port))
port190include/asm-mips/io.h#define outl(val,port) \
port191include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port192include/asm-mips/io.h__outlc((val),(port)) : \
port193include/asm-mips/io.h__outl((val),(port)))
port195include/asm-mips/io.h#define inl(port) \
port196include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port197include/asm-mips/io.h__inlc(port) : \
port198include/asm-mips/io.h__inl(port))
port200include/asm-mips/io.h#define outl_p(val,port) \
port201include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port202include/asm-mips/io.h__outlc_p((val),(port)) : \
port203include/asm-mips/io.h__outl_p((val),(port)))
port205include/asm-mips/io.h#define inl_p(port) \
port206include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port207include/asm-mips/io.h__inlc_p(port) : \
port208include/asm-mips/io.h__inl_p(port))
port211include/asm-mips/io.h#define outsb(port,addr,count) \
port212include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port213include/asm-mips/io.h__outsbc((port),(addr),(count)) : \
port214include/asm-mips/io.h__outsb ((port),(addr),(count)))
port216include/asm-mips/io.h#define insb(port,addr,count) \
port217include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port218include/asm-mips/io.h__insbc((port),(addr),(count)) : \
port219include/asm-mips/io.h__insb((port),(addr),(count)))
port221include/asm-mips/io.h#define outsw(port,addr,count) \
port222include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port223include/asm-mips/io.h__outswc((port),(addr),(count)) : \
port224include/asm-mips/io.h__outsw ((port),(addr),(count)))
port226include/asm-mips/io.h#define insw(port,addr,count) \
port227include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port228include/asm-mips/io.h__inswc((port),(addr),(count)) : \
port229include/asm-mips/io.h__insw((port),(addr),(count)))
port231include/asm-mips/io.h#define outsl(port,addr,count) \
port232include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port233include/asm-mips/io.h__outslc((port),(addr),(count)) : \
port234include/asm-mips/io.h__outsl ((port),(addr),(count)))
port236include/asm-mips/io.h#define insl(port,addr,count) \
port237include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port238include/asm-mips/io.h__inslc((port),(addr),(count)) : \
port239include/asm-mips/io.h__insl((port),(addr),(count)))
port74include/linux/gscd.h#define READ_DATA(port, buf, nr) insb(port, buf, nr)
port82include/linux/if.hunsigned char port;
port71include/linux/mcd.h#define READ_DATA(port, buf, nr) \
port72include/linux/mcd.hinsb(port, buf, nr)
port119include/linux/scc.h#define Inb(port)  inb_p(port)
port120include/linux/scc.h#define Outb(port, val)  outb_p(val, port)
port122include/linux/scc.h#define Inb(port)  inb(port)
port123include/linux/scc.h#define Outb(port, val)  outb(val, port)
port16include/linux/serial.hint  port;
port113include/linux/serial.hint      port;
port79include/linux/sjcd.h#define S_READ_DATA( port, buf, nr )      insb( port, buf, nr )
port387include/linux/tpqic02.h# define QIC02_TAPE_PORT  (qic02_tape_dynconf.port)
port639include/linux/tpqic02.hunsigned short  port;  /* IO port base address */
port124include/linux/xd.hstatic inline u_char xd_waitport (u_short port,u_char flags,u_char mask,u_long timeout);
port1168net/core/dev.cifr.ifr_map.port=dev->if_port;
port140net/ipv4/ip_fw.cextern inline int port_match(unsigned short *portptr,int nports,unsigned short port,int range_flag)
port146net/ipv4/ip_fw.cif ( portptr[0] <= port && port <= portptr[1] ) 
port155net/ipv4/ip_fw.cif ( *portptr++ == port ) 
port526net/ipv4/ip_fw.cunsigned short port;
port568net/ipv4/ip_fw.cport = (p5<<8) | p6;
port569net/ipv4/ip_fw.cprintk("PORT %lX:%X detected\n",from,port);
port579net/ipv4/ip_fw.cms->sport    = htons(port);  /* derived from PORT cmd */
port589net/ipv4/ip_fw.cport = ntohs(ms->mport);
port592net/ipv4/ip_fw.cport>>8&255,port&255);
port245net/ipx/af_ipx.cipxitf_find_socket(ipx_interface *intrfc, unsigned short port)
port250net/ipx/af_ipx.c(s != NULL) && (s->ipx_port != port);