taglinefilesource code
port93arch/alpha/lib/io.cvoid insb (unsigned long port, void *dst, unsigned long count)
port99arch/alpha/lib/io.c*(unsigned char *) dst = inb(port);
port106arch/alpha/lib/io.cw = inb(port);
port107arch/alpha/lib/io.cw |= inb(port) << 8;
port108arch/alpha/lib/io.cw |= inb(port) << 16;
port109arch/alpha/lib/io.cw |= inb(port) << 24;
port116arch/alpha/lib/io.c*(unsigned char *) dst = inb(port);
port129arch/alpha/lib/io.cvoid insw (unsigned long port, void *dst, unsigned long count)
port138arch/alpha/lib/io.c*(unsigned short* ) dst = inw(port);
port145arch/alpha/lib/io.cw = inw(port);
port146arch/alpha/lib/io.cw |= inw(port) << 16;
port152arch/alpha/lib/io.c*(unsigned short*) dst = inw(port);
port164arch/alpha/lib/io.cvoid insl (unsigned long port, void *dst, unsigned long count)
port172arch/alpha/lib/io.c*(unsigned int *) dst = inl(port);
port183arch/alpha/lib/io.cvoid outsb(unsigned long port, const void * src, unsigned long count)
port187arch/alpha/lib/io.coutb(*(char *)src, port);
port198arch/alpha/lib/io.cvoid outsw (unsigned long port, const void *src, unsigned long count)
port204arch/alpha/lib/io.coutw(*(unsigned short*)src, port);
port214arch/alpha/lib/io.coutw(w >>  0, port);
port215arch/alpha/lib/io.coutw(w >> 16, port);
port219arch/alpha/lib/io.coutw(*(unsigned short *) src, port);
port230arch/alpha/lib/io.cvoid outsl (unsigned long port, const void *src, unsigned long count)
port238arch/alpha/lib/io.coutl(*(unsigned int *) src, port);
port17arch/mips/kernel/jazz-c.cunsigned char jazz_fd_inb(unsigned int port)
port21arch/mips/kernel/jazz-c.cc = *(volatile unsigned char *) port;
port27arch/mips/kernel/jazz-c.cvoid jazz_fd_outb(unsigned char value, unsigned int port)
port29arch/mips/kernel/jazz-c.c*(volatile unsigned char *) port = value;
port40arch/mips/kernel/setup.cunsigned char jazz_fd_inb(unsigned int port);
port41arch/mips/kernel/setup.cvoid jazz_fd_outb(unsigned char value, unsigned int port);
port94arch/mips/kernel/setup.cvoid isa_outb(unsigned char value, unsigned int port);
port95arch/mips/kernel/setup.cunsigned char isa_inb(unsigned int port);
port104arch/mips/kernel/setup.cvoid isa_outb(unsigned char value, unsigned int port);
port105arch/mips/kernel/setup.cunsigned char isa_inb(unsigned int port);
port114arch/mips/kernel/setup.cvoid isa_outb(unsigned char value, unsigned int port);
port115arch/mips/kernel/setup.cunsigned char isa_inb(unsigned int port);
port127arch/mips/kernel/setup.cunsigned char jazz_fd_inb(unsigned int port);
port128arch/mips/kernel/setup.cvoid jazz_fd_outb(unsigned char value, unsigned int port);
port21arch/mips/kernel/tyne-c.cunsigned char deskstation_tyne_fd_inb(unsigned int port)
port23arch/mips/kernel/tyne-c.creturn inb_p(port);
port26arch/mips/kernel/tyne-c.cvoid deskstation_tyne_fd_outb(unsigned char value, unsigned int port)
port28arch/mips/kernel/tyne-c.coutb_p(value, port);
port10arch/ppc/kernel/port_io.cinb(int port)
port12arch/ppc/kernel/port_io.creturn (*((unsigned  char *)(_IO_BASE+port)));
port16arch/ppc/kernel/port_io.cinw(int port)
port18arch/ppc/kernel/port_io.creturn (_LE_to_BE_short(*((unsigned short *)(_IO_BASE+port))));
port22arch/ppc/kernel/port_io.cinl(int port)
port24arch/ppc/kernel/port_io.creturn (_LE_to_BE_long(*((unsigned  long *)(_IO_BASE+port))));
port27arch/ppc/kernel/port_io.cvoid insl(int port, long *ptr, int len)
port29arch/ppc/kernel/port_io.cunsigned long *io_ptr = (unsigned long *)(_IO_BASE+port);
port36arch/ppc/kernel/port_io.cunsigned char  inb_p(int port) {return (inb(port)); }
port37arch/ppc/kernel/port_io.cunsigned short inw_p(int port) {return (inw(port)); }
port38arch/ppc/kernel/port_io.cunsigned long  inl_p(int port) {return (inl(port)); }
port41arch/ppc/kernel/port_io.coutb(unsigned char val,int port)
port43arch/ppc/kernel/port_io.c*((unsigned  char *)(_IO_BASE+port)) = (val);
port48arch/ppc/kernel/port_io.coutw(unsigned short val,int port)
port50arch/ppc/kernel/port_io.c*((unsigned  short *)(_IO_BASE+port)) = _LE_to_BE_short(val);
port55arch/ppc/kernel/port_io.coutl(unsigned long val,int port)
port57arch/ppc/kernel/port_io.c*((unsigned  long *)(_IO_BASE+port)) = _LE_to_BE_long(val);
port61arch/ppc/kernel/port_io.cvoid outsl(int port, long *ptr, int len)
port63arch/ppc/kernel/port_io.cunsigned long *io_ptr = (unsigned long *)(_IO_BASE+port);
port70arch/ppc/kernel/port_io.cunsigned char  outb_p(unsigned char val,int port) { return (outb(val,port)); }
port71arch/ppc/kernel/port_io.cunsigned short outw_p(unsigned short val,int port) { return (outw(val,port)); }
port72arch/ppc/kernel/port_io.cunsigned long  outl_p(unsigned long val,int port) { return (outl(val,port)); }
port283arch/ppc/kernel/raw_printf.cif (port == CRT_PORT)
port288arch/ppc/kernel/raw_printf.cif (port)
port319arch/ppc/kernel/raw_printf.cport = CRT_PORT;
port322arch/ppc/kernel/raw_printf.cport =(int) NS16550_init(0);
port326arch/ppc/kernel/raw_printf.cif (port == CRT_PORT)
port330arch/ppc/kernel/raw_printf.cif (port)
port452arch/ppc/kernel/raw_printf.cISA_io[port] = c;
port456arch/ppc/kernel/raw_printf.cinb(int port)
port469drivers/block/cmd640.cint port = (if_num == 0) ? CNTRL : ARTTIM23;
port473drivers/block/cmd640.cb = get_cmd640_reg(port);
port478drivers/block/cmd640.cput_cmd640_reg(port, b);
port224drivers/block/hd.cunsigned short port;
port238drivers/block/hd.cport=HD_DATA;
port239drivers/block/hd.coutb_p(hd_info[drive].wpcom>>2,++port);
port240drivers/block/hd.coutb_p(nsect,++port);
port241drivers/block/hd.coutb_p(sect,++port);
port242drivers/block/hd.coutb_p(cyl,++port);
port243drivers/block/hd.coutb_p(cyl>>8,++port);
port244drivers/block/hd.coutb_p(0xA0|(drive<<4)|head,++port);
port245drivers/block/hd.coutb_p(cmd,++port);
port367drivers/block/ide.cstatic inline void do_vlb_sync (unsigned short port) {
port368drivers/block/ide.c(void) inb (port);
port369drivers/block/ide.c(void) inb (port);
port370drivers/block/ide.c(void) inb (port);
port69drivers/block/umc8672.cstatic void out_umc (char port,char wert)
port71drivers/block/umc8672.coutb_p (port,0x108);
port75drivers/block/umc8672.cstatic byte in_umc (char port)
port77drivers/block/umc8672.coutb_p (port,0x108);
port445drivers/block/xd.cstatic inline u_char xd_waitport (u_short port,u_char flags,u_char mask,u_long timeout)
port449drivers/block/xd.cwhile (((inb(port) & mask) != flags) && (jiffies < expiry))
port210drivers/cdrom/mcdx.cstatic char *port(int*);
port1135drivers/cdrom/mcdx.cstuffp->wreg_data = stuffp->rreg_data = port(mcdx_drive_map[drive]);
port3331drivers/cdrom/sbpcd.cstatic int check_card(int port)
port3341drivers/cdrom/sbpcd.csave_port0=inb(port+0);
port3342drivers/cdrom/sbpcd.csave_port3=inb(port+3);
port3346drivers/cdrom/sbpcd.cOUT(port+3,j) ; /* enable drive #j */
port3347drivers/cdrom/sbpcd.cOUT(port+0,CMD0_PATH_CHECK);
port3348drivers/cdrom/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
port3354drivers/cdrom/sbpcd.cif (inb(port+1)&s_not_result_ready) continue;
port3355drivers/cdrom/sbpcd.cresponse[k]=inb(port+0);
port3363drivers/cdrom/sbpcd.cOUT(port+0,CMD0_PATH_CHECK);
port3364drivers/cdrom/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
port3370drivers/cdrom/sbpcd.cif (inb(port+1)&s_not_result_ready) continue;
port3371drivers/cdrom/sbpcd.cresponse[k]=inb(port+0);
port3386drivers/cdrom/sbpcd.cOUT(port+3,j) ; /* enable drive #j */
port3387drivers/cdrom/sbpcd.cOUT(port+0,CMD2_READ_VER);
port3388drivers/cdrom/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
port3394drivers/cdrom/sbpcd.cif (inb(port+1)&s_not_result_ready) continue;
port3395drivers/cdrom/sbpcd.cresponse[k]=inb(port+0);
port3404drivers/cdrom/sbpcd.cOUT(port+0,CMD2_READ_VER);
port3405drivers/cdrom/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
port3411drivers/cdrom/sbpcd.cif (inb(port+1)&s_not_result_ready) continue;
port3412drivers/cdrom/sbpcd.cresponse[k]=inb(port+0);
port3425drivers/cdrom/sbpcd.cOUT(port+0,save_port0);
port3426drivers/cdrom/sbpcd.cOUT(port+3,save_port3);
port1829drivers/char/cyclades.ctmp.port = info->card * 0x100 + info->line - cinfo->first_line;
port2773drivers/char/cyclades.cint      board,port,i;
port2866drivers/char/cyclades.cfor (port = cinfo->first_line ;
port2867drivers/char/cyclades.cport < cinfo->first_line + 4*cinfo->num_chips ;
port2868drivers/char/cyclades.cport++)
port2870drivers/char/cyclades.cinfo = &cy_port[port];
port2874drivers/char/cyclades.cinfo->line = port;
port1800drivers/char/istallion.csio.port = brdp->iobase;
port279drivers/char/scc.cInReg(register io_port port, register unsigned char reg)
port283drivers/char/scc.cOutb(port, reg);
port285drivers/char/scc.cr=Inb(port);
port289drivers/char/scc.cOutb(port, reg);
port290drivers/char/scc.creturn Inb(port);
port295drivers/char/scc.cOutReg(register io_port port, register unsigned char reg, register unsigned char val)
port298drivers/char/scc.cOutb(port, reg); udelay(SCC_LDELAY);
port299drivers/char/scc.cOutb(port, val); udelay(SCC_LDELAY);
port301drivers/char/scc.cOutb(port, reg);
port302drivers/char/scc.cOutb(port, val);
port130drivers/char/serial.c#define C_P(card,port) (((card)<<6|(port)<<3) + 1)
port242drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
port243drivers/char/serial.creturn inb(info->port+1);
port246drivers/char/serial.creturn inb(info->port + offset);
port253drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
port254drivers/char/serial.creturn inb_p(info->port+1);
port258drivers/char/serial.creturn inb(info->port + offset);
port260drivers/char/serial.creturn inb_p(info->port + offset);
port268drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
port269drivers/char/serial.coutb(value, info->port+1);
port272drivers/char/serial.coutb(value, info->port+offset);
port280drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
port281drivers/char/serial.coutb_p(value, info->port+1);
port285drivers/char/serial.coutb(value, info->port+offset);
port287drivers/char/serial.coutb_p(value, info->port+offset);
port907drivers/char/serial.cif (!info->port || !info->type) {
port1016drivers/char/serial.cICP = (info->port & 0xFE0) | 0x01F;
port1115drivers/char/serial.c(void) inb((info->port & 0xFE0) | 0x01F);
port1142drivers/char/serial.cunsigned short port;
port1150drivers/char/serial.cif (!(port = info->port))
port1480drivers/char/serial.ctmp.port = info->port;
port1506drivers/char/serial.cchange_port = (new_serial.port != info->port) || (new_serial.hub6 != info->hub6);
port1525drivers/char/serial.cif ((new_serial.irq > 15) || (new_serial.port > 0xffff) ||
port1534drivers/char/serial.c(rs_table[i].port == new_serial.port) &&
port1555drivers/char/serial.crelease_region(info->port,8);
port1563drivers/char/serial.cinfo->port = new_serial.port;
port1567drivers/char/serial.crequest_region(info->port,8,"serial(set)");
port1571drivers/char/serial.cif (!info->port || !info->type)
port1704drivers/char/serial.cif (!info->port)
port2450drivers/char/serial.cunsigned short ICP=0, port = info->port;
port2463drivers/char/serial.cICP = (port & 0xFE0) | 0x01F;
port2504drivers/char/serial.cunsigned     port = info->port;
port2510drivers/char/serial.cif (!port)
port2544drivers/char/serial.cunsigned port = info->port;
port2549drivers/char/serial.cif (!port)
port2643drivers/char/serial.crequest_region(info->port,8,"serial(auto)");
port2770drivers/char/serial.cinfo->port, info->irq);
port2808drivers/char/serial.cif (rs_table[i].port == req->port)
port2825drivers/char/serial.c"device already open\n", i, req->port, req->irq);
port2829drivers/char/serial.cinfo->port = req->port;
port2838drivers/char/serial.cinfo->port, info->irq);
port1109drivers/char/stallion.csio.port = portp->ioaddr;
port157drivers/isdn/icn/icn.cstatic inline void icn_shiftout(unsigned short port,
port167drivers/isdn/icn/icn.cOUTB_P((u_char) ((val >> s) & 1) ? 0xff : 0, port);
port778drivers/isdn/icn/icn.cif (check_region(dev->port, ICN_PORTLEN)) {
port779drivers/isdn/icn/icn.cprintk(KERN_WARNING "icn: ports 0x%03x-0x%03x in use.\n", dev->port,
port780drivers/isdn/icn/icn.cdev->port + ICN_PORTLEN);
port784drivers/isdn/icn/icn.crequest_region(dev->port, ICN_PORTLEN, regname);
port1089drivers/isdn/icn/icn.cif (dev->port != (unsigned short) a) {
port1101drivers/isdn/icn/icn.crelease_region(dev->port, ICN_PORTLEN);
port1102drivers/isdn/icn/icn.cdev->port = (unsigned short) a;
port1105drivers/isdn/icn/icn.cdev2->port = (unsigned short) a;
port1109drivers/isdn/icn/icn.cprintk(KERN_INFO "icn: port set to 0x%03x\n", dev->port);
port1115drivers/isdn/icn/icn.creturn (int) dev->port;
port1383drivers/isdn/icn/icn.cdev->port = portbase;
port1457drivers/isdn/icn/icn.crev, dev->port, (uint) dev->shmem, dev->interface.id);
port1489drivers/isdn/icn/icn.crelease_region(dev->port, ICN_PORTLEN);
port112drivers/isdn/icn/icn.h#define ICN_CFG    (dev->port)
port113drivers/isdn/icn/icn.h#define ICN_MAPRAM (dev->port+1)
port114drivers/isdn/icn/icn.h#define ICN_RUN    (dev->port+2)
port115drivers/isdn/icn/icn.h#define ICN_BANK   (dev->port+3)
port187drivers/isdn/icn/icn.hunsigned short port;  /* Base-port-adress                 */
port600drivers/net/arcnet.cstatic int arcnet_found(struct device *dev,int port,int airq,u_long shmem);
port739drivers/net/arcnet.cint *port;
port794drivers/net/arcnet.cfor (port = &ports[0]; port-ports<numports; port++)
port803drivers/net/arcnet.cBUGMSG2(D_INIT,"%Xh ",*port);
port805drivers/net/arcnet.cioaddr=*port;
port807drivers/net/arcnet.cif (check_region(*port, ARCNET_TOTAL_SIZE))
port812drivers/net/arcnet.c*port=ports[numports-1];
port814drivers/net/arcnet.cport--;
port823drivers/net/arcnet.c*port=ports[numports-1];
port825drivers/net/arcnet.cport--;
port850drivers/net/arcnet.cfor (port = &ports[0]; port-ports<numports; port++)
port859drivers/net/arcnet.cBUGMSG2(D_INIT,"%Xh ",*port);
port953drivers/net/arcnet.cfor (port = &ports[0]; port-ports<numports; port++)
port962drivers/net/arcnet.cBUGMSG2(D_INIT,"%Xh ",*port);
port964drivers/net/arcnet.cioaddr=*port;
port973drivers/net/arcnet.c*port=ports[numports-1];
port975drivers/net/arcnet.cport--;
port987drivers/net/arcnet.c*port=ports[numports-1];
port989drivers/net/arcnet.cport--;
port1013drivers/net/arcnet.c*port=ports[numports-1];
port1015drivers/net/arcnet.cport--;
port1060drivers/net/arcnet.cretval=arcnet_found(dev,*port,airq,*shmem);
port1082drivers/net/arcnet.c*port=ports[numports-1];
port1084drivers/net/arcnet.cport--;
port1101drivers/net/arcnet.cint arcnet_found(struct device *dev,int port,int airq, u_long shmem)
port1107drivers/net/arcnet.crequest_region(port,ARCNET_TOTAL_SIZE,"arcnet");
port1108drivers/net/arcnet.cdev->base_addr=port;
port1114drivers/net/arcnet.crelease_region(port,ARCNET_TOTAL_SIZE);
port1144drivers/net/arcnet.crelease_region(port,ARCNET_TOTAL_SIZE);
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. */
port71drivers/net/e2100.cextern inline void mem_on(short port, volatile char *mem_base,
port77drivers/net/e2100.cinb(port + E21_MEM_ENABLE);
port78drivers/net/e2100.coutb(E21_MEM_ON, port + E21_MEM_ENABLE + E21_MEM_ON);
port81drivers/net/e2100.cextern inline void mem_off(short port)
port83drivers/net/e2100.cinb(port + E21_MEM_ENABLE);
port84drivers/net/e2100.coutb(0x00, port + E21_MEM_ENABLE);
port120drivers/net/e2100.cint *port;
port128drivers/net/e2100.cfor (port = e21_probe_list; *port; port++) {
port129drivers/net/e2100.cif (check_region(*port, E21_IO_EXTENT))
port131drivers/net/e2100.cif (e21_probe1(dev, *port) == 0)
port254drivers/net/eexpress.cunsigned short *port,ports[] = { 0x0300,0x0270,0x0320,0x0340,0 };
port262drivers/net/eexpress.cfor ( port=&ports[0] ; *port ; port++ ) 
port269drivers/net/eexpress.ct = inb(*port + ID_PORT);
port272drivers/net/eexpress.cif (sum==0xbaba && !eexp_hw_probe(dev,*port)) 
port272drivers/net/lance.cint *port;
port316drivers/net/lance.cfor (port = lance_portlist; *port; port++) {
port317drivers/net/lance.cint ioaddr = *port;
port235drivers/net/net_init.cif (map->port != (u_char)(-1))
port236drivers/net/net_init.cdev->if_port = map->port;
port361drivers/net/ni52.cint *port;
port376drivers/net/ni52.cfor (port = ports; *port; port++) {
port377drivers/net/ni52.cint ioaddr = *port;
port186drivers/net/ni65.cint *port;
port198drivers/net/ni65.cfor (port = ports; *port; port++) 
port200drivers/net/ni65.cint ioaddr = *port;
port311drivers/net/pi2.cint port;
port318drivers/net/pi2.cport = lp->cardbase + TMR1;
port322drivers/net/pi2.cport = lp->cardbase + TMR2;
port330drivers/net/pi2.coutb_p((t1 << 1) & 0xFF, port);
port331drivers/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;
port518drivers/net/pt.cint *port;
port527drivers/net/pt.cfor (port = &ports[0]; *port && !card_type; port++) {
port528drivers/net/pt.cioaddr = *port;
port216drivers/net/sk_g16.c#define SK_PORT         (board->port)  /* Control, Status register  */
port418drivers/net/sk_g16.cunsigned volatile char  port; /* Statusregister and Controlregister */
port552drivers/net/sk_g16.cint *port, ports[] = SK_IO_PORTS;  /* SK_G16 supported ports */
port579drivers/net/sk_g16.cfor (port = &ports[0]; *port; port++) 
port581drivers/net/sk_g16.cioaddr = *port;           /* we need ioaddr for accessing POS regs */
port576drivers/scsi/advansys.c#define inp(port)          inb(port)
port577drivers/scsi/advansys.c#define inpw(port)         inw(port)
port578drivers/scsi/advansys.c#define outp(port, byte)    outb((byte), (port))
port579drivers/scsi/advansys.c#define outpw(port, word)   outw((word), (port))
port1699drivers/scsi/advansys.c#define AscGetVarFreeQHead( port )       AscReadLramWord( port, ASCV_FREE_Q_HEAD_W )
port1700drivers/scsi/advansys.c#define AscGetVarDoneQTail( port )       AscReadLramWord( port, ASCV_DONE_Q_TAIL_W )
port1701drivers/scsi/advansys.c#define AscPutVarFreeQHead( port, val )  AscWriteLramWord( port, ASCV_FREE_Q_HEAD_W, val )
port1702drivers/scsi/advansys.c#define AscPutVarDoneQTail( port, val )  AscWriteLramWord( port, ASCV_DONE_Q_TAIL_W, val )
port1704drivers/scsi/advansys.c#define AscGetRiscVarFreeQHead( port )        AscReadLramByte( port, ASCV_NEXTRDY_B )
port1705drivers/scsi/advansys.c#define AscGetRiscVarDoneQTail( port )        AscReadLramByte( port, ASCV_DONENEXT_B )
port1706drivers/scsi/advansys.c#define AscPutRiscVarFreeQHead( port, val )   AscWriteLramByte( port, ASCV_NEXTRDY_B, val )
port1707drivers/scsi/advansys.c#define AscPutRiscVarDoneQTail( port, val )   AscWriteLramByte( port, ASCV_DONENEXT_B, val )
port1709drivers/scsi/advansys.c#define AscGetChipIFC( port )               inp( (port)+IOP_REG_IFC )
port1710drivers/scsi/advansys.c#define AscPutChipIFC( port, data )         outp( (port)+IOP_REG_IFC, data )
port1712drivers/scsi/advansys.c#define AscGetChipLramAddr( port )          ( ushort )inpw( ( PortAddr )((port)+IOP_RAM_ADDR) )
port1713drivers/scsi/advansys.c#define AscSetChipLramAddr( port, addr )    outpw( ( PortAddr )( (port)+IOP_RAM_ADDR ), addr )
port1714drivers/scsi/advansys.c#define AscPutChipLramData( port, data )    outpw( (port)+IOP_RAM_DATA, data )
port1715drivers/scsi/advansys.c#define AscGetChipLramData( port )          inpw( (port)+IOP_RAM_DATA )
port1717drivers/scsi/advansys.c#define AscWriteChipSyn( port, data )       outp( (port)+IOP_SYN_OFFSET, data )
port1718drivers/scsi/advansys.c#define AscReadChipSyn( port )              inp( (port)+IOP_SYN_OFFSET )
port1720drivers/scsi/advansys.c#define AscWriteChipIH( port, data )        outpw( (port)+IOP_REG_IH, data )
port1721drivers/scsi/advansys.c#define AscReadChipIH( port )               inpw( (port)+IOP_REG_IH )
port1723drivers/scsi/advansys.c#define AscWriteChipScsiID( port, data )    outp( (port)+IOP_REG_ID, data )
port1724drivers/scsi/advansys.c#define AscReadChipScsiID( port )           inp( (port)+IOP_REG_ID )
port1726drivers/scsi/advansys.c#define AscGetChipDmaSpeed( port )         ( uchar )inp( (port)+IOP_DMA_SPEED )
port1727drivers/scsi/advansys.c#define AscSetChipDmaSpeed( port, data )   outp( (port)+IOP_DMA_SPEED, data )
port1728drivers/scsi/advansys.c#define AscGetChipQP( port )               ( uchar )inp( (port)+IOP_REG_QP )
port1729drivers/scsi/advansys.c#define AscSetPCAddr( port, data )         outpw( (port)+IOP_REG_PC, data )
port1730drivers/scsi/advansys.c#define AscGetPCAddr( port )               inpw( (port)+IOP_REG_PC )
port1731drivers/scsi/advansys.c#define AscGetChipVerNo( port )            ( uchar )inp( (port)+IOP_VERSION )
port1733drivers/scsi/advansys.c#define AscGetChipEEPCmd( port )           ( uchar )inp( (port)+IOP_EEP_CMD )
port1734drivers/scsi/advansys.c#define AscSetChipEEPCmd( port, data )     outp( (port)+IOP_EEP_CMD, data )
port1735drivers/scsi/advansys.c#define AscGetChipEEPData( port )          inpw( (port)+IOP_EEP_DATA )
port1736drivers/scsi/advansys.c#define AscSetChipEEPData( port, data )    outpw( (port)+IOP_EEP_DATA, data )
port1738drivers/scsi/advansys.c#define AscGetChipControl( port )          ( uchar )inp( (port)+IOP_CTRL )
port1739drivers/scsi/advansys.c#define AscSetChipControl( port, cc_val )  outp( (port)+IOP_CTRL, cc_val )
port1741drivers/scsi/advansys.c#define AscGetChipStatus( port )           ( ASC_CS_TYPE )inpw( (port)+IOP_STATUS )
port1742drivers/scsi/advansys.c#define AscSetChipStatus( port, cs_val )   outpw( (port)+IOP_STATUS, cs_val )
port1744drivers/scsi/advansys.c#define AscGetChipCfgLsw( port )           ( ushort )inpw( (port)+IOP_CONFIG_LOW )
port1745drivers/scsi/advansys.c#define AscGetChipCfgMsw( port )           ( ushort )inpw( (port)+IOP_CONFIG_HIGH )
port1746drivers/scsi/advansys.c#define AscSetChipCfgLsw( port, data )     outpw( (port)+IOP_CONFIG_LOW, data )
port1747drivers/scsi/advansys.c#define AscSetChipCfgMsw( port, data )     outpw( (port)+IOP_CONFIG_HIGH, data )
port1749drivers/scsi/advansys.c#define AscIsIntPending( port )           ( AscGetChipStatus( port ) & CSW_INT_PENDING )
port1750drivers/scsi/advansys.c#define AscGetChipScsiID( port )          ( ( AscGetChipCfgLsw( port ) >> 8 ) & ASC_MAX_TID )
port4636drivers/scsi/advansys.cDvcOutPortDWords(PortAddr port, ulong *pdw, int dwords)
port4645drivers/scsi/advansys.coutpw(port, *pw);
port306drivers/scsi/aha152x.hunsigned short port;
port318drivers/scsi/aha152x.h#define cf_port    port
port124drivers/scsi/aha1542.c#define WAIT(port, mask, allof, noneof)          \
port128drivers/scsi/aha1542.cWAITbits = inb(port) & (mask);          \
port137drivers/scsi/aha1542.c#define WAITd(port, mask, allof, noneof, timeout)      \
port141drivers/scsi/aha1542.cWAITbits = inb(port) & (mask);          \
port509drivers/scsi/fdomain.cstatic int fdomain_is_valid_port( int port )
port513drivers/scsi/fdomain.cinb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) );
port522drivers/scsi/fdomain.cif (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */
port523drivers/scsi/fdomain.cif (inb( port + LSB_ID_Code ) != 0x27) return 0;
port524drivers/scsi/fdomain.cif (inb( port + MSB_ID_Code ) != 0x61) return 0;
port527drivers/scsi/fdomain.cif (inb( port + MSB_ID_Code ) != 0x60) return 0;
port537drivers/scsi/fdomain.coutb( 0x80, port + IO_Control );
port538drivers/scsi/fdomain.cif ((inb( port + Configuration2 ) & 0x80) == 0x80) {
port539drivers/scsi/fdomain.coutb( 0x00, port + IO_Control );
port540drivers/scsi/fdomain.cif ((inb( port + Configuration2 ) & 0x80) == 0x00) {
port551drivers/scsi/fdomain.cif (inb( port + Configuration2 ) & 0x02) {
port90drivers/scsi/g_NCR5380.h#define NCR5380_map_config port
port94drivers/scsi/g_NCR5380.h#define NCR5380_map_name port
port94drivers/scsi/in2000.cinline static unsigned short inw( unsigned short port )
port99drivers/scsi/in2000.c:"=a" (_v):"d" ((unsigned short) port));
port105drivers/scsi/in2000.cinline static void outw( unsigned short value, unsigned short port )
port110drivers/scsi/in2000.c"d" ((unsigned short) port));
port116drivers/scsi/in2000.c#define port_read(port,buf,nr) \
port117drivers/scsi/in2000.c__asm__("cld;rep;insw": :"d" (port),"D" (buf),"c" (nr):"cx","di")
port119drivers/scsi/in2000.c#define port_write(port,buf,nr) \
port120drivers/scsi/in2000.c__asm__("cld;rep;outsw": :"d" (port),"S" (buf),"c" (nr):"cx","si")
port195drivers/scsi/pas16.cvoid  enable_board( int  board_num,  unsigned short port )
port198drivers/scsi/pas16.coutb( port >> 2, MASTER_ADDRESS_PTR );
port527drivers/scsi/qlogic.cvoid  qlogic_preset(int port, int irq)
port529drivers/scsi/qlogic.cqbase=port;
port212drivers/scsi/ultrastor.c#define U14F_PRODUCT_ID(port) ((port) + 0x4)
port213drivers/scsi/ultrastor.c#define CONFIG(port) ((port) + 0x6)
port216drivers/scsi/ultrastor.c#define LCL_DOORBELL_MASK(port) ((port) + 0x0)
port217drivers/scsi/ultrastor.c#define LCL_DOORBELL_INTR(port) ((port) + 0x1)
port218drivers/scsi/ultrastor.c#define SYS_DOORBELL_MASK(port) ((port) + 0x2)
port219drivers/scsi/ultrastor.c#define SYS_DOORBELL_INTR(port) ((port) + 0x3)
port558drivers/scsi/wd7000.c#define WAIT(port, mask, allof, noneof)          \
port562drivers/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)
port113drivers/sound/mad16.cmad_read (int port)
port133drivers/sound/mad16.ctmp = inb (port);
port140drivers/sound/mad16.cmad_write (int port, int value)
port159drivers/sound/mad16.coutb ((unsigned char) (value & 0xff), port);
port63drivers/sound/sb_mixer.csb_setmixer (unsigned int port, unsigned int value)
port69drivers/sound/sb_mixer.coutb ((unsigned char) (port & 0xff), MIXER_ADDR);  /*
port79drivers/sound/sb_mixer.csb_getmixer (unsigned int port)
port86drivers/sound/sb_mixer.coutb ((unsigned char) (port & 0xff), MIXER_ADDR);  /*
port127drivers/sound/sound_calls.hvoid sb_setmixer (unsigned int port, unsigned int value);
port128drivers/sound/sound_calls.hint sb_getmixer (unsigned int port);
port752fs/nfs/nfsroot.cshort port = STARTPORT;
port758fs/nfs/nfsroot.csin->sin_port = htons(port++);
port759fs/nfs/nfsroot.cif (port > ENDPORT) {
port760fs/nfs/nfsroot.cport = STARTPORT;
port772fs/nfs/nfsroot.cprintk(KERN_NOTICE "NFS: Binding to listening port %d\n", port);
port883fs/nfs/nfsroot.cint port;
port886fs/nfs/nfsroot.cif ((port = root_nfs_get_port(NFS_NFS_PROGRAM, NFS_NFS_VERSION)) < 0) {
port888fs/nfs/nfsroot.cport = NFS_NFS_PORT;
port890fs/nfs/nfsroot.cnfs_port = port;
port892fs/nfs/nfsroot.cprintk(KERN_NOTICE "NFS: Portmapper on server returned %d as nfsd port\n", port);
port895fs/nfs/nfsroot.cif ((port = root_nfs_get_port(NFS_MOUNT_PROGRAM, NFS_MOUNT_VERSION)) < 0) {
port897fs/nfs/nfsroot.cport = NFS_MOUNT_PORT;
port899fs/nfs/nfsroot.cserver.sin_port = htons(port);
port901fs/nfs/nfsroot.cprintk(KERN_NOTICE "NFS: Portmapper on server returned %d as mountd port\n", port);
port340include/asm-alpha/alcor.h#define inb(port) \
port341include/asm-alpha/alcor.h(__builtin_constant_p((port))?__inb(port):_inb(port))
port343include/asm-alpha/alcor.h#define outb(x, port) \
port344include/asm-alpha/alcor.h(__builtin_constant_p((port))?__outb((x),(port)):_outb((x),(port)))
port317include/asm-alpha/apecs.h#define inb(port) \
port318include/asm-alpha/apecs.h(__builtin_constant_p((port))?__inb(port):_inb(port))
port320include/asm-alpha/apecs.h#define outb(x, port) \
port321include/asm-alpha/apecs.h(__builtin_constant_p((port))?__outb((x),(port)):_outb((x),(port)))
port13include/asm-alpha/floppy.h#define fd_inb(port)      inb_p(port)
port14include/asm-alpha/floppy.h#define fd_outb(port,value)    outb_p(port,value)
port91include/asm-alpha/io.hextern unsigned int  _inb (unsigned long port);
port92include/asm-alpha/io.hextern unsigned int  _inw (unsigned long port);
port93include/asm-alpha/io.hextern unsigned int  _inl (unsigned long port);
port94include/asm-alpha/io.hextern void    _outb (unsigned char b,unsigned long port);
port95include/asm-alpha/io.hextern void    _outw (unsigned short w,unsigned long port);
port96include/asm-alpha/io.hextern void    _outl (unsigned int l,unsigned long port);
port200include/asm-alpha/io.hextern void insb (unsigned long port, void *dst, unsigned long count);
port201include/asm-alpha/io.hextern void insw (unsigned long port, void *dst, unsigned long count);
port202include/asm-alpha/io.hextern void insl (unsigned long port, void *dst, unsigned long count);
port203include/asm-alpha/io.hextern void outsb (unsigned long port, const void *src, unsigned long count);
port204include/asm-alpha/io.hextern void outsw (unsigned long port, const void *src, unsigned long count);
port205include/asm-alpha/io.hextern void outsl (unsigned long port, const void *src, unsigned long count);
port256include/asm-alpha/jensen.h#define inb(port) \
port257include/asm-alpha/jensen.h(__builtin_constant_p((port))?__inb(port):_inb(port))
port259include/asm-alpha/jensen.h#define outb(x, port) \
port260include/asm-alpha/jensen.h(__builtin_constant_p((port))?__outb((x),(port)):_outb((x),(port)))
port299include/asm-alpha/lca.h#define inb(port) \
port300include/asm-alpha/lca.h(__builtin_constant_p((port))?__inb(port):_inb(port))
port302include/asm-alpha/lca.h#define outb(x, port) \
port303include/asm-alpha/lca.h(__builtin_constant_p((port))?__outb((x),(port)):_outb((x),(port)))
port13include/asm-i386/floppy.h#define fd_inb(port)      inb_p(port)
port14include/asm-i386/floppy.h#define fd_outb(port,value)    outb_p(port,value)
port91include/asm-i386/io.hextern inline void __out##s(unsigned x value, unsigned short port) {
port97include/asm-i386/io.h__OUT1(s,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); } \
port98include/asm-i386/io.h__OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); } \
port99include/asm-i386/io.h__OUT1(s##_p,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); SLOW_DOWN_IO; } \
port100include/asm-i386/io.h__OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); SLOW_DOWN_IO; }
port103include/asm-i386/io.hextern inline RETURN_TYPE __in##s(unsigned short port) { RETURN_TYPE _v;
port109include/asm-i386/io.h__IN1(s) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); return _v; } \
port110include/asm-i386/io.h__IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); return _v; } \
port111include/asm-i386/io.h__IN1(s##_p) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); SLOW_DOWN_IO; return _v; } \
port112include/asm-i386/io.h__IN1(s##c_p) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); SLOW_DOWN_IO; return _v; }
port115include/asm-i386/io.hextern inline void ins##s(unsigned short port, void * addr, unsigned long count) \
port117include/asm-i386/io.h: "=D" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); }
port120include/asm-i386/io.hextern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \
port122include/asm-i386/io.h: "=S" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); }
port153include/asm-i386/io.h#define outb(val,port) \
port154include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port155include/asm-i386/io.h__outbc((val),(port)) : \
port156include/asm-i386/io.h__outb((val),(port)))
port158include/asm-i386/io.h#define inb(port) \
port159include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port160include/asm-i386/io.h__inbc(port) : \
port161include/asm-i386/io.h__inb(port))
port163include/asm-i386/io.h#define outb_p(val,port) \
port164include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port165include/asm-i386/io.h__outbc_p((val),(port)) : \
port166include/asm-i386/io.h__outb_p((val),(port)))
port168include/asm-i386/io.h#define inb_p(port) \
port169include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port170include/asm-i386/io.h__inbc_p(port) : \
port171include/asm-i386/io.h__inb_p(port))
port173include/asm-i386/io.h#define outw(val,port) \
port174include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port175include/asm-i386/io.h__outwc((val),(port)) : \
port176include/asm-i386/io.h__outw((val),(port)))
port178include/asm-i386/io.h#define inw(port) \
port179include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port180include/asm-i386/io.h__inwc(port) : \
port181include/asm-i386/io.h__inw(port))
port183include/asm-i386/io.h#define outw_p(val,port) \
port184include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port185include/asm-i386/io.h__outwc_p((val),(port)) : \
port186include/asm-i386/io.h__outw_p((val),(port)))
port188include/asm-i386/io.h#define inw_p(port) \
port189include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port190include/asm-i386/io.h__inwc_p(port) : \
port191include/asm-i386/io.h__inw_p(port))
port193include/asm-i386/io.h#define outl(val,port) \
port194include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port195include/asm-i386/io.h__outlc((val),(port)) : \
port196include/asm-i386/io.h__outl((val),(port)))
port198include/asm-i386/io.h#define inl(port) \
port199include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port200include/asm-i386/io.h__inlc(port) : \
port201include/asm-i386/io.h__inl(port))
port203include/asm-i386/io.h#define outl_p(val,port) \
port204include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port205include/asm-i386/io.h__outlc_p((val),(port)) : \
port206include/asm-i386/io.h__outl_p((val),(port)))
port208include/asm-i386/io.h#define inl_p(port) \
port209include/asm-i386/io.h((__builtin_constant_p((port)) && (port) < 256) ? \
port210include/asm-i386/io.h__inlc_p(port) : \
port211include/asm-i386/io.h__inl_p(port))
port19include/asm-mips/floppy.h#define fd_inb(port)      feature->fd_inb(port)
port20include/asm-mips/floppy.h#define fd_outb(value,port)    feature->fd_outb(value,port)
port99include/asm-mips/io.hextern inline void __out##s(unsigned int value, unsigned int port) {
port105include/asm-mips/io.h__OUT1(s) __OUT2(m) : : "r" (value), "i" (0), "r" (PORT_BASE+port)); } \
port106include/asm-mips/io.h__OUT1(s##c) __OUT2(m) : : "r" (value), "ir" (port), "r" (PORT_BASE)); } \
port107include/asm-mips/io.h__OUT1(s##_p) __OUT2(m) : : "r" (value), "i" (0), "r" (PORT_BASE+port)); \
port109include/asm-mips/io.h__OUT1(s##c_p) __OUT2(m) : : "r" (value), "ir" (port), "r" (PORT_BASE)); \
port113include/asm-mips/io.hextern __inline__ t __in##s(unsigned int port) { t _v;
port122include/asm-mips/io.h__IN1(t,s) __IN2(m) : "=r" (_v) : "i" (0), "r" (PORT_BASE+port)); return _v; } \
port123include/asm-mips/io.h__IN1(t,s##c) __IN2(m) : "=r" (_v) : "ir" (port), "r" (PORT_BASE)); return _v; } \
port124include/asm-mips/io.h__IN1(t,s##_p) __IN2(m) : "=r" (_v) : "i" (0), "r" (PORT_BASE+port)); SLOW_DOWN_IO; return _v; } \
port125include/asm-mips/io.h__IN1(t,s##c_p) __IN2(m) : "=r" (_v) : "ir" (port), "r" (PORT_BASE)); SLOW_DOWN_IO; return _v; }
port128include/asm-mips/io.hextern inline void __ins##s(unsigned int port, void * addr, unsigned long count) {
port145include/asm-mips/io.h: "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \
port149include/asm-mips/io.h: "0" (addr), "1" (count), "ir" (port), "r" (PORT_BASE), "I" (i) \
port153include/asm-mips/io.hextern inline void __outs##s(unsigned int port, const void * addr, unsigned long count) {
port170include/asm-mips/io.h: "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \
port174include/asm-mips/io.h: "0" (addr), "1" (count), "ir" (port), "r" (PORT_BASE), "I" (i) \
port198include/asm-mips/io.h#define outb(val,port) \
port199include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port200include/asm-mips/io.h__outbc((val),(port)) : \
port201include/asm-mips/io.h__outb((val),(port)))
port203include/asm-mips/io.h#define inb(port) \
port204include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port205include/asm-mips/io.h__inbc(port) : \
port206include/asm-mips/io.h__inb(port))
port208include/asm-mips/io.h#define outb_p(val,port) \
port209include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port210include/asm-mips/io.h__outbc_p((val),(port)) : \
port211include/asm-mips/io.h__outb_p((val),(port)))
port213include/asm-mips/io.h#define inb_p(port) \
port214include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port215include/asm-mips/io.h__inbc_p(port) : \
port216include/asm-mips/io.h__inb_p(port))
port218include/asm-mips/io.h#define outw(val,port) \
port219include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port220include/asm-mips/io.h__outwc((val),(port)) : \
port221include/asm-mips/io.h__outw((val),(port)))
port223include/asm-mips/io.h#define inw(port) \
port224include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port225include/asm-mips/io.h__inwc(port) : \
port226include/asm-mips/io.h__inw(port))
port228include/asm-mips/io.h#define outw_p(val,port) \
port229include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port230include/asm-mips/io.h__outwc_p((val),(port)) : \
port231include/asm-mips/io.h__outw_p((val),(port)))
port233include/asm-mips/io.h#define inw_p(port) \
port234include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port235include/asm-mips/io.h__inwc_p(port) : \
port236include/asm-mips/io.h__inw_p(port))
port238include/asm-mips/io.h#define outl(val,port) \
port239include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port240include/asm-mips/io.h__outlc((val),(port)) : \
port241include/asm-mips/io.h__outl((val),(port)))
port243include/asm-mips/io.h#define inl(port) \
port244include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port245include/asm-mips/io.h__inlc(port) : \
port246include/asm-mips/io.h__inl(port))
port248include/asm-mips/io.h#define outl_p(val,port) \
port249include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port250include/asm-mips/io.h__outlc_p((val),(port)) : \
port251include/asm-mips/io.h__outl_p((val),(port)))
port253include/asm-mips/io.h#define inl_p(port) \
port254include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port255include/asm-mips/io.h__inlc_p(port) : \
port256include/asm-mips/io.h__inl_p(port))
port259include/asm-mips/io.h#define outsb(port,addr,count) \
port260include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port261include/asm-mips/io.h__outsbc((port),(addr),(count)) : \
port262include/asm-mips/io.h__outsb ((port),(addr),(count)))
port264include/asm-mips/io.h#define insb(port,addr,count) \
port265include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port266include/asm-mips/io.h__insbc((port),(addr),(count)) : \
port267include/asm-mips/io.h__insb((port),(addr),(count)))
port269include/asm-mips/io.h#define outsw(port,addr,count) \
port270include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port271include/asm-mips/io.h__outswc((port),(addr),(count)) : \
port272include/asm-mips/io.h__outsw ((port),(addr),(count)))
port274include/asm-mips/io.h#define insw(port,addr,count) \
port275include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port276include/asm-mips/io.h__inswc((port),(addr),(count)) : \
port277include/asm-mips/io.h__insw((port),(addr),(count)))
port279include/asm-mips/io.h#define outsl(port,addr,count) \
port280include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port281include/asm-mips/io.h__outslc((port),(addr),(count)) : \
port282include/asm-mips/io.h__outsl ((port),(addr),(count)))
port284include/asm-mips/io.h#define insl(port,addr,count) \
port285include/asm-mips/io.h((__builtin_constant_p((port)) && (port) < 32768) ? \
port286include/asm-mips/io.h__inslc((port),(addr),(count)) : \
port287include/asm-mips/io.h__insl((port),(addr),(count)))
port24include/asm-mips/vector.hunsigned char (*fd_inb)(unsigned int port);
port25include/asm-mips/vector.hvoid (*fd_outb)(unsigned char value, unsigned int port);
port66include/asm-ppc/io.hunsigned char inb(int port);
port67include/asm-ppc/io.hunsigned short inw(int port);
port68include/asm-ppc/io.hunsigned long inl(int port);
port69include/asm-ppc/io.hunsigned char outb(unsigned char val,int port);
port70include/asm-ppc/io.hunsigned short outw(unsigned short val,int port);
port71include/asm-ppc/io.hunsigned long outl(unsigned long val,int port);
port72include/asm-ppc/io.hvoid outsl(int port, long *ptr, int len);
port74include/asm-ppc/io.hstatic inline unsigned char  inb_p(int port) {return (inb(port)); }
port75include/asm-ppc/io.hstatic inline unsigned short inw_p(int port) {return (inw(port)); }
port76include/asm-ppc/io.hstatic inline unsigned long  inl_p(int port) {return (inl(port)); }
port80include/asm-ppc/io.hstatic inline unsigned char  outb_p(unsigned char val,int port) { return (outb(val,port)); }
port81include/asm-ppc/io.hstatic inline unsigned short outw_p(unsigned short val,int port) { return (outw(val,port)); }
port82include/asm-ppc/io.hstatic inline unsigned long  outl_p(unsigned long val,int port) { return (outl(val,port)); }
port48include/asm-sparc/floppy.hunsigned char (*fd_inb)(int port);
port49include/asm-sparc/floppy.hvoid (*fd_outb)(unsigned char value, int port);
port54include/asm-sparc/floppy.h#define fd_inb(port)              sun_fdops.fd_inb(port)
port55include/asm-sparc/floppy.h#define fd_outb(value,port)       sun_fdops.fd_outb(value,port)
port98include/asm-sparc/floppy.hstatic unsigned char sun_82072_fd_inb(int port)
port100include/asm-sparc/floppy.hswitch(port & 7) {
port102include/asm-sparc/floppy.hprintk("floppy: Asked to read unknown port %d\n", port);
port117include/asm-sparc/floppy.hstatic void sun_82072_fd_outb(unsigned char value, int port)
port119include/asm-sparc/floppy.hswitch(port & 7) {
port121include/asm-sparc/floppy.hprintk("floppy: Asked to write to unknown port %d\n", port);
port154include/asm-sparc/floppy.hstatic unsigned char sun_82077_fd_inb(int port)
port156include/asm-sparc/floppy.hswitch(port & 7) {
port158include/asm-sparc/floppy.hprintk("floppy: Asked to read unknown port %d\n", port);
port173include/asm-sparc/floppy.hstatic void sun_82077_fd_outb(unsigned char value, int port)
port175include/asm-sparc/floppy.hswitch(port & 7) {
port177include/asm-sparc/floppy.hprintk("floppy: Asked to write to unknown port %d\n", port);
port122include/linux/cdk.hunsigned short  port;
port74include/linux/gscd.h#define READ_DATA(port, buf, nr) insb(port, buf, nr)
port82include/linux/if.hunsigned char port;
port75include/linux/mcd.h#define READ_DATA(port, buf, nr) \
port76include/linux/mcd.hinsb(port, buf, nr)
port151include/linux/mtio.hunsigned short  port;  /* IO port base address */
port69include/linux/ncp.h__u16 port                   __attribute__ ((packed));
port111include/linux/scc.h#define Inb(port)  inb_p(port)
port112include/linux/scc.h#define Outb(port, val)  outb_p(val, port)
port114include/linux/scc.h#define Inb(port)  inb(port)
port115include/linux/scc.h#define Outb(port, val)  outb(val, port)
port16include/linux/serial.hint  port;
port134include/linux/serial.hint      port;
port113include/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)
port123include/linux/xd.hstatic inline u_char xd_waitport (u_short port,u_char flags,u_char mask,u_long timeout);
port98include/net/sock.hunsigned short    port;
port1198net/core/dev.cifr.ifr_map.port=dev->if_port;
port166net/ipv4/ip_fw.cextern inline int port_match(unsigned short *portptr,int nports,unsigned short port,int range_flag)
port172net/ipv4/ip_fw.cif ( portptr[0] <= port && port <= portptr[1] ) 
port181net/ipv4/ip_fw.cif ( *portptr++ == port ) 
port621net/ipv4/ip_fw.cunsigned short port;
port682net/ipv4/ip_fw.cport = (p5<<8) | p6;
port684net/ipv4/ip_fw.cprintk("PORT %lX:%X detected\n",from,port);
port694net/ipv4/ip_fw.cms->sport    = htons(port);  /* derived from PORT cmd */
port709net/ipv4/ip_fw.cport = ntohs(ms->mport);
port712net/ipv4/ip_fw.cport>>8&255,port&255);
port251net/ipx/af_ipx.cipxitf_find_socket(ipx_interface *intrfc, unsigned short port)
port256net/ipx/af_ipx.c(s != NULL) && (s->protinfo.af_ipx.port != port); 
port267net/ipx/af_ipx.cunsigned char *node, unsigned short port)
port273net/ipx/af_ipx.cif (   (s->protinfo.af_ipx.port == port)
port300net/ipx/af_ipx.cs->protinfo.af_ipx.port = 0;
port383net/ipx/af_ipx.cif (   (s->protinfo.af_ipx.port == ipx->ipx_dest.sock)
port1209net/ipx/af_ipx.cif ((err = ntohs(sk->protinfo.af_ipx.port)) == 0x453 || err == 0x452)  
port1221net/ipx/af_ipx.cipx->ipx_source.sock = sk->protinfo.af_ipx.port;
port1395net/ipx/af_ipx.chtons(s->protinfo.af_ipx.port));
port1399net/ipx/af_ipx.chtons(s->protinfo.af_ipx.port));
port1629net/ipx/af_ipx.csk->protinfo.af_ipx.port = 0;
port1711net/ipx/af_ipx.csk->protinfo.af_ipx.port=addr->sipx_port;
port1737net/ipx/af_ipx.csk->protinfo.af_ipx.port) != NULL)
port1797net/ipx/af_ipx.cif(sk->protinfo.af_ipx.port==0)
port1870net/ipx/af_ipx.csipx.sipx_port = sk->protinfo.af_ipx.port;
port1989net/ipx/af_ipx.cif(sk->protinfo.af_ipx.port == 0)