tag | line | file | source code |
port | 93 | arch/alpha/lib/io.c | void insb (unsigned long port, void *dst, unsigned long count) |
port | 99 | arch/alpha/lib/io.c | *(unsigned char *) dst = inb(port); |
port | 106 | arch/alpha/lib/io.c | w = inb(port); |
port | 107 | arch/alpha/lib/io.c | w |= inb(port) << 8; |
port | 108 | arch/alpha/lib/io.c | w |= inb(port) << 16; |
port | 109 | arch/alpha/lib/io.c | w |= inb(port) << 24; |
port | 116 | arch/alpha/lib/io.c | *(unsigned char *) dst = inb(port); |
port | 129 | arch/alpha/lib/io.c | void insw (unsigned long port, void *dst, unsigned long count) |
port | 138 | arch/alpha/lib/io.c | *(unsigned short* ) dst = inw(port); |
port | 145 | arch/alpha/lib/io.c | w = inw(port); |
port | 146 | arch/alpha/lib/io.c | w |= inw(port) << 16; |
port | 152 | arch/alpha/lib/io.c | *(unsigned short*) dst = inw(port); |
port | 164 | arch/alpha/lib/io.c | void insl (unsigned long port, void *dst, unsigned long count) |
port | 172 | arch/alpha/lib/io.c | *(unsigned int *) dst = inl(port); |
port | 183 | arch/alpha/lib/io.c | void outsb(unsigned long port, const void * src, unsigned long count) |
port | 187 | arch/alpha/lib/io.c | outb(*(char *)src, port); |
port | 198 | arch/alpha/lib/io.c | void outsw (unsigned long port, const void *src, unsigned long count) |
port | 204 | arch/alpha/lib/io.c | outw(*(unsigned short*)src, port); |
port | 214 | arch/alpha/lib/io.c | outw(w >> 0, port); |
port | 215 | arch/alpha/lib/io.c | outw(w >> 16, port); |
port | 219 | arch/alpha/lib/io.c | outw(*(unsigned short *) src, port); |
port | 230 | arch/alpha/lib/io.c | void outsl (unsigned long port, const void *src, unsigned long count) |
port | 238 | arch/alpha/lib/io.c | outl(*(unsigned int *) src, port); |
port | 17 | arch/mips/kernel/jazz-c.c | unsigned char jazz_fd_inb(unsigned int port) |
port | 21 | arch/mips/kernel/jazz-c.c | c = *(volatile unsigned char *) port; |
port | 27 | arch/mips/kernel/jazz-c.c | void jazz_fd_outb(unsigned char value, unsigned int port) |
port | 29 | arch/mips/kernel/jazz-c.c | *(volatile unsigned char *) port = value; |
port | 40 | arch/mips/kernel/setup.c | unsigned char jazz_fd_inb(unsigned int port); |
port | 41 | arch/mips/kernel/setup.c | void jazz_fd_outb(unsigned char value, unsigned int port); |
port | 94 | arch/mips/kernel/setup.c | void isa_outb(unsigned char value, unsigned int port); |
port | 95 | arch/mips/kernel/setup.c | unsigned char isa_inb(unsigned int port); |
port | 104 | arch/mips/kernel/setup.c | void isa_outb(unsigned char value, unsigned int port); |
port | 105 | arch/mips/kernel/setup.c | unsigned char isa_inb(unsigned int port); |
port | 114 | arch/mips/kernel/setup.c | void isa_outb(unsigned char value, unsigned int port); |
port | 115 | arch/mips/kernel/setup.c | unsigned char isa_inb(unsigned int port); |
port | 127 | arch/mips/kernel/setup.c | unsigned char jazz_fd_inb(unsigned int port); |
port | 128 | arch/mips/kernel/setup.c | void jazz_fd_outb(unsigned char value, unsigned int port); |
port | 21 | arch/mips/kernel/tyne-c.c | unsigned char deskstation_tyne_fd_inb(unsigned int port) |
port | 23 | arch/mips/kernel/tyne-c.c | return inb_p(port); |
port | 26 | arch/mips/kernel/tyne-c.c | void deskstation_tyne_fd_outb(unsigned char value, unsigned int port) |
port | 28 | arch/mips/kernel/tyne-c.c | outb_p(value, port); |
port | 10 | arch/ppc/kernel/port_io.c | inb(int port) |
port | 12 | arch/ppc/kernel/port_io.c | return (*((unsigned char *)(_IO_BASE+port))); |
port | 16 | arch/ppc/kernel/port_io.c | inw(int port) |
port | 18 | arch/ppc/kernel/port_io.c | return (_LE_to_BE_short(*((unsigned short *)(_IO_BASE+port)))); |
port | 22 | arch/ppc/kernel/port_io.c | inl(int port) |
port | 24 | arch/ppc/kernel/port_io.c | return (_LE_to_BE_long(*((unsigned long *)(_IO_BASE+port)))); |
port | 27 | arch/ppc/kernel/port_io.c | void insl(int port, long *ptr, int len) |
port | 29 | arch/ppc/kernel/port_io.c | unsigned long *io_ptr = (unsigned long *)(_IO_BASE+port); |
port | 36 | arch/ppc/kernel/port_io.c | unsigned char inb_p(int port) {return (inb(port)); } |
port | 37 | arch/ppc/kernel/port_io.c | unsigned short inw_p(int port) {return (inw(port)); } |
port | 38 | arch/ppc/kernel/port_io.c | unsigned long inl_p(int port) {return (inl(port)); } |
port | 41 | arch/ppc/kernel/port_io.c | outb(unsigned char val,int port) |
port | 43 | arch/ppc/kernel/port_io.c | *((unsigned char *)(_IO_BASE+port)) = (val); |
port | 48 | arch/ppc/kernel/port_io.c | outw(unsigned short val,int port) |
port | 50 | arch/ppc/kernel/port_io.c | *((unsigned short *)(_IO_BASE+port)) = _LE_to_BE_short(val); |
port | 55 | arch/ppc/kernel/port_io.c | outl(unsigned long val,int port) |
port | 57 | arch/ppc/kernel/port_io.c | *((unsigned long *)(_IO_BASE+port)) = _LE_to_BE_long(val); |
port | 61 | arch/ppc/kernel/port_io.c | void outsl(int port, long *ptr, int len) |
port | 63 | arch/ppc/kernel/port_io.c | unsigned long *io_ptr = (unsigned long *)(_IO_BASE+port); |
port | 70 | arch/ppc/kernel/port_io.c | unsigned char outb_p(unsigned char val,int port) { return (outb(val,port)); } |
port | 71 | arch/ppc/kernel/port_io.c | unsigned short outw_p(unsigned short val,int port) { return (outw(val,port)); } |
port | 72 | arch/ppc/kernel/port_io.c | unsigned long outl_p(unsigned long val,int port) { return (outl(val,port)); } |
port | 283 | arch/ppc/kernel/raw_printf.c | if (port == CRT_PORT) |
port | 288 | arch/ppc/kernel/raw_printf.c | if (port) |
port | 319 | arch/ppc/kernel/raw_printf.c | port = CRT_PORT; |
port | 322 | arch/ppc/kernel/raw_printf.c | port =(int) NS16550_init(0); |
port | 326 | arch/ppc/kernel/raw_printf.c | if (port == CRT_PORT) |
port | 330 | arch/ppc/kernel/raw_printf.c | if (port) |
port | 452 | arch/ppc/kernel/raw_printf.c | ISA_io[port] = c; |
port | 456 | arch/ppc/kernel/raw_printf.c | inb(int port) |
port | 469 | drivers/block/cmd640.c | int port = (if_num == 0) ? CNTRL : ARTTIM23; |
port | 473 | drivers/block/cmd640.c | b = get_cmd640_reg(port); |
port | 478 | drivers/block/cmd640.c | put_cmd640_reg(port, b); |
port | 224 | drivers/block/hd.c | unsigned short port; |
port | 238 | drivers/block/hd.c | port=HD_DATA; |
port | 239 | drivers/block/hd.c | outb_p(hd_info[drive].wpcom>>2,++port); |
port | 240 | drivers/block/hd.c | outb_p(nsect,++port); |
port | 241 | drivers/block/hd.c | outb_p(sect,++port); |
port | 242 | drivers/block/hd.c | outb_p(cyl,++port); |
port | 243 | drivers/block/hd.c | outb_p(cyl>>8,++port); |
port | 244 | drivers/block/hd.c | outb_p(0xA0|(drive<<4)|head,++port); |
port | 245 | drivers/block/hd.c | outb_p(cmd,++port); |
port | 367 | drivers/block/ide.c | static inline void do_vlb_sync (unsigned short port) { |
port | 368 | drivers/block/ide.c | (void) inb (port); |
port | 369 | drivers/block/ide.c | (void) inb (port); |
port | 370 | drivers/block/ide.c | (void) inb (port); |
port | 69 | drivers/block/umc8672.c | static void out_umc (char port,char wert) |
port | 71 | drivers/block/umc8672.c | outb_p (port,0x108); |
port | 75 | drivers/block/umc8672.c | static byte in_umc (char port) |
port | 77 | drivers/block/umc8672.c | outb_p (port,0x108); |
port | 445 | drivers/block/xd.c | static inline u_char xd_waitport (u_short port,u_char flags,u_char mask,u_long timeout) |
port | 449 | drivers/block/xd.c | while (((inb(port) & mask) != flags) && (jiffies < expiry)) |
port | 210 | drivers/cdrom/mcdx.c | static char *port(int*); |
port | 1135 | drivers/cdrom/mcdx.c | stuffp->wreg_data = stuffp->rreg_data = port(mcdx_drive_map[drive]); |
port | 3331 | drivers/cdrom/sbpcd.c | static int check_card(int port) |
port | 3341 | drivers/cdrom/sbpcd.c | save_port0=inb(port+0); |
port | 3342 | drivers/cdrom/sbpcd.c | save_port3=inb(port+3); |
port | 3346 | drivers/cdrom/sbpcd.c | OUT(port+3,j) ; /* enable drive #j */ |
port | 3347 | drivers/cdrom/sbpcd.c | OUT(port+0,CMD0_PATH_CHECK); |
port | 3348 | drivers/cdrom/sbpcd.c | for (i=10;i>0;i--) OUT(port+0,0); |
port | 3354 | drivers/cdrom/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
port | 3355 | drivers/cdrom/sbpcd.c | response[k]=inb(port+0); |
port | 3363 | drivers/cdrom/sbpcd.c | OUT(port+0,CMD0_PATH_CHECK); |
port | 3364 | drivers/cdrom/sbpcd.c | for (i=10;i>0;i--) OUT(port+0,0); |
port | 3370 | drivers/cdrom/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
port | 3371 | drivers/cdrom/sbpcd.c | response[k]=inb(port+0); |
port | 3386 | drivers/cdrom/sbpcd.c | OUT(port+3,j) ; /* enable drive #j */ |
port | 3387 | drivers/cdrom/sbpcd.c | OUT(port+0,CMD2_READ_VER); |
port | 3388 | drivers/cdrom/sbpcd.c | for (i=10;i>0;i--) OUT(port+0,0); |
port | 3394 | drivers/cdrom/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
port | 3395 | drivers/cdrom/sbpcd.c | response[k]=inb(port+0); |
port | 3404 | drivers/cdrom/sbpcd.c | OUT(port+0,CMD2_READ_VER); |
port | 3405 | drivers/cdrom/sbpcd.c | for (i=10;i>0;i--) OUT(port+0,0); |
port | 3411 | drivers/cdrom/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
port | 3412 | drivers/cdrom/sbpcd.c | response[k]=inb(port+0); |
port | 3425 | drivers/cdrom/sbpcd.c | OUT(port+0,save_port0); |
port | 3426 | drivers/cdrom/sbpcd.c | OUT(port+3,save_port3); |
port | 1829 | drivers/char/cyclades.c | tmp.port = info->card * 0x100 + info->line - cinfo->first_line; |
port | 2773 | drivers/char/cyclades.c | int board,port,i; |
port | 2866 | drivers/char/cyclades.c | for (port = cinfo->first_line ; |
port | 2867 | drivers/char/cyclades.c | port < cinfo->first_line + 4*cinfo->num_chips ; |
port | 2868 | drivers/char/cyclades.c | port++) |
port | 2870 | drivers/char/cyclades.c | info = &cy_port[port]; |
port | 2874 | drivers/char/cyclades.c | info->line = port; |
port | 1800 | drivers/char/istallion.c | sio.port = brdp->iobase; |
port | 279 | drivers/char/scc.c | InReg(register io_port port, register unsigned char reg) |
port | 283 | drivers/char/scc.c | Outb(port, reg); |
port | 285 | drivers/char/scc.c | r=Inb(port); |
port | 289 | drivers/char/scc.c | Outb(port, reg); |
port | 290 | drivers/char/scc.c | return Inb(port); |
port | 295 | drivers/char/scc.c | OutReg(register io_port port, register unsigned char reg, register unsigned char val) |
port | 298 | drivers/char/scc.c | Outb(port, reg); udelay(SCC_LDELAY); |
port | 299 | drivers/char/scc.c | Outb(port, val); udelay(SCC_LDELAY); |
port | 301 | drivers/char/scc.c | Outb(port, reg); |
port | 302 | drivers/char/scc.c | Outb(port, val); |
port | 130 | drivers/char/serial.c | #define C_P(card,port) (((card)<<6|(port)<<3) + 1) |
port | 242 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
port | 243 | drivers/char/serial.c | return inb(info->port+1); |
port | 246 | drivers/char/serial.c | return inb(info->port + offset); |
port | 253 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
port | 254 | drivers/char/serial.c | return inb_p(info->port+1); |
port | 258 | drivers/char/serial.c | return inb(info->port + offset); |
port | 260 | drivers/char/serial.c | return inb_p(info->port + offset); |
port | 268 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
port | 269 | drivers/char/serial.c | outb(value, info->port+1); |
port | 272 | drivers/char/serial.c | outb(value, info->port+offset); |
port | 280 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
port | 281 | drivers/char/serial.c | outb_p(value, info->port+1); |
port | 285 | drivers/char/serial.c | outb(value, info->port+offset); |
port | 287 | drivers/char/serial.c | outb_p(value, info->port+offset); |
port | 907 | drivers/char/serial.c | if (!info->port || !info->type) { |
port | 1016 | drivers/char/serial.c | ICP = (info->port & 0xFE0) | 0x01F; |
port | 1115 | drivers/char/serial.c | (void) inb((info->port & 0xFE0) | 0x01F); |
port | 1142 | drivers/char/serial.c | unsigned short port; |
port | 1150 | drivers/char/serial.c | if (!(port = info->port)) |
port | 1480 | drivers/char/serial.c | tmp.port = info->port; |
port | 1506 | drivers/char/serial.c | change_port = (new_serial.port != info->port) || (new_serial.hub6 != info->hub6); |
port | 1525 | drivers/char/serial.c | if ((new_serial.irq > 15) || (new_serial.port > 0xffff) || |
port | 1534 | drivers/char/serial.c | (rs_table[i].port == new_serial.port) && |
port | 1555 | drivers/char/serial.c | release_region(info->port,8); |
port | 1563 | drivers/char/serial.c | info->port = new_serial.port; |
port | 1567 | drivers/char/serial.c | request_region(info->port,8,"serial(set)"); |
port | 1571 | drivers/char/serial.c | if (!info->port || !info->type) |
port | 1704 | drivers/char/serial.c | if (!info->port) |
port | 2450 | drivers/char/serial.c | unsigned short ICP=0, port = info->port; |
port | 2463 | drivers/char/serial.c | ICP = (port & 0xFE0) | 0x01F; |
port | 2504 | drivers/char/serial.c | unsigned port = info->port; |
port | 2510 | drivers/char/serial.c | if (!port) |
port | 2544 | drivers/char/serial.c | unsigned port = info->port; |
port | 2549 | drivers/char/serial.c | if (!port) |
port | 2643 | drivers/char/serial.c | request_region(info->port,8,"serial(auto)"); |
port | 2770 | drivers/char/serial.c | info->port, info->irq); |
port | 2808 | drivers/char/serial.c | if (rs_table[i].port == req->port) |
port | 2825 | drivers/char/serial.c | "device already open\n", i, req->port, req->irq); |
port | 2829 | drivers/char/serial.c | info->port = req->port; |
port | 2838 | drivers/char/serial.c | info->port, info->irq); |
port | 1109 | drivers/char/stallion.c | sio.port = portp->ioaddr; |
port | 157 | drivers/isdn/icn/icn.c | static inline void icn_shiftout(unsigned short port, |
port | 167 | drivers/isdn/icn/icn.c | OUTB_P((u_char) ((val >> s) & 1) ? 0xff : 0, port); |
port | 778 | drivers/isdn/icn/icn.c | if (check_region(dev->port, ICN_PORTLEN)) { |
port | 779 | drivers/isdn/icn/icn.c | printk(KERN_WARNING "icn: ports 0x%03x-0x%03x in use.\n", dev->port, |
port | 780 | drivers/isdn/icn/icn.c | dev->port + ICN_PORTLEN); |
port | 784 | drivers/isdn/icn/icn.c | request_region(dev->port, ICN_PORTLEN, regname); |
port | 1089 | drivers/isdn/icn/icn.c | if (dev->port != (unsigned short) a) { |
port | 1101 | drivers/isdn/icn/icn.c | release_region(dev->port, ICN_PORTLEN); |
port | 1102 | drivers/isdn/icn/icn.c | dev->port = (unsigned short) a; |
port | 1105 | drivers/isdn/icn/icn.c | dev2->port = (unsigned short) a; |
port | 1109 | drivers/isdn/icn/icn.c | printk(KERN_INFO "icn: port set to 0x%03x\n", dev->port); |
port | 1115 | drivers/isdn/icn/icn.c | return (int) dev->port; |
port | 1383 | drivers/isdn/icn/icn.c | dev->port = portbase; |
port | 1457 | drivers/isdn/icn/icn.c | rev, dev->port, (uint) dev->shmem, dev->interface.id); |
port | 1489 | drivers/isdn/icn/icn.c | release_region(dev->port, ICN_PORTLEN); |
port | 112 | drivers/isdn/icn/icn.h | #define ICN_CFG (dev->port) |
port | 113 | drivers/isdn/icn/icn.h | #define ICN_MAPRAM (dev->port+1) |
port | 114 | drivers/isdn/icn/icn.h | #define ICN_RUN (dev->port+2) |
port | 115 | drivers/isdn/icn/icn.h | #define ICN_BANK (dev->port+3) |
port | 187 | drivers/isdn/icn/icn.h | unsigned short port; /* Base-port-adress */ |
port | 600 | drivers/net/arcnet.c | static int arcnet_found(struct device *dev,int port,int airq,u_long shmem); |
port | 739 | drivers/net/arcnet.c | int *port; |
port | 794 | drivers/net/arcnet.c | for (port = &ports[0]; port-ports<numports; port++) |
port | 803 | drivers/net/arcnet.c | BUGMSG2(D_INIT,"%Xh ",*port); |
port | 805 | drivers/net/arcnet.c | ioaddr=*port; |
port | 807 | drivers/net/arcnet.c | if (check_region(*port, ARCNET_TOTAL_SIZE)) |
port | 812 | drivers/net/arcnet.c | *port=ports[numports-1]; |
port | 814 | drivers/net/arcnet.c | port--; |
port | 823 | drivers/net/arcnet.c | *port=ports[numports-1]; |
port | 825 | drivers/net/arcnet.c | port--; |
port | 850 | drivers/net/arcnet.c | for (port = &ports[0]; port-ports<numports; port++) |
port | 859 | drivers/net/arcnet.c | BUGMSG2(D_INIT,"%Xh ",*port); |
port | 953 | drivers/net/arcnet.c | for (port = &ports[0]; port-ports<numports; port++) |
port | 962 | drivers/net/arcnet.c | BUGMSG2(D_INIT,"%Xh ",*port); |
port | 964 | drivers/net/arcnet.c | ioaddr=*port; |
port | 973 | drivers/net/arcnet.c | *port=ports[numports-1]; |
port | 975 | drivers/net/arcnet.c | port--; |
port | 987 | drivers/net/arcnet.c | *port=ports[numports-1]; |
port | 989 | drivers/net/arcnet.c | port--; |
port | 1013 | drivers/net/arcnet.c | *port=ports[numports-1]; |
port | 1015 | drivers/net/arcnet.c | port--; |
port | 1060 | drivers/net/arcnet.c | retval=arcnet_found(dev,*port,airq,*shmem); |
port | 1082 | drivers/net/arcnet.c | *port=ports[numports-1]; |
port | 1084 | drivers/net/arcnet.c | port--; |
port | 1101 | drivers/net/arcnet.c | int arcnet_found(struct device *dev,int port,int airq, u_long shmem) |
port | 1107 | drivers/net/arcnet.c | request_region(port,ARCNET_TOTAL_SIZE,"arcnet"); |
port | 1108 | drivers/net/arcnet.c | dev->base_addr=port; |
port | 1114 | drivers/net/arcnet.c | release_region(port,ARCNET_TOTAL_SIZE); |
port | 1144 | drivers/net/arcnet.c | release_region(port,ARCNET_TOTAL_SIZE); |
port | 155 | drivers/net/atp.c | int *port, ports[] = {0x378, 0x278, 0x3bc, 0}; |
port | 163 | drivers/net/atp.c | for (port = ports; *port; port++) { |
port | 164 | drivers/net/atp.c | int ioaddr = *port; |
port | 84 | drivers/net/atp.h | extern inline unsigned char inbyte(unsigned short port) |
port | 87 | drivers/net/atp.h | __asm__ __volatile__ ("inb %w1,%b0" :"=a" (_v):"d" (port)); |
port | 93 | drivers/net/atp.h | extern inline unsigned char read_nibble(short port, unsigned char offset) |
port | 96 | drivers/net/atp.h | outb(EOC+offset, port + PAR_DATA); |
port | 97 | drivers/net/atp.h | outb(RdAddr+offset, port + PAR_DATA); |
port | 98 | drivers/net/atp.h | inbyte(port + PAR_STATUS); /* Settling time delay */ |
port | 99 | drivers/net/atp.h | retval = inbyte(port + PAR_STATUS); |
port | 100 | drivers/net/atp.h | outb(EOC+offset, port + PAR_DATA); |
port | 158 | drivers/net/atp.h | write_reg(short port, unsigned char reg, unsigned char value) |
port | 161 | drivers/net/atp.h | outb(EOC | reg, port + PAR_DATA); |
port | 163 | drivers/net/atp.h | outb(outval, port + PAR_DATA); |
port | 164 | drivers/net/atp.h | outb(outval, port + PAR_DATA); /* Double write for PS/2. */ |
port | 168 | drivers/net/atp.h | outb(outval, port + PAR_DATA); |
port | 170 | drivers/net/atp.h | outb(outval, port + PAR_DATA); |
port | 171 | drivers/net/atp.h | outb(outval, port + PAR_DATA); |
port | 173 | drivers/net/atp.h | outb(EOC | outval, port + PAR_DATA); |
port | 177 | drivers/net/atp.h | write_reg_high(short port, unsigned char reg, unsigned char value) |
port | 181 | drivers/net/atp.h | outb(outval, port + PAR_DATA); |
port | 183 | drivers/net/atp.h | outb(outval, port + PAR_DATA); |
port | 184 | drivers/net/atp.h | outb(outval, port + PAR_DATA); /* Double write for PS/2. */ |
port | 187 | drivers/net/atp.h | outb(outval, port + PAR_DATA); |
port | 189 | drivers/net/atp.h | outb(outval, port + PAR_DATA); |
port | 190 | drivers/net/atp.h | outb(outval, port + PAR_DATA); |
port | 192 | drivers/net/atp.h | outb(EOC | HNib | outval, port + PAR_DATA); |
port | 197 | drivers/net/atp.h | write_reg_byte(short port, unsigned char reg, unsigned char value) |
port | 200 | drivers/net/atp.h | outb(EOC | reg, port + PAR_DATA); /* Reset the address register. */ |
port | 202 | drivers/net/atp.h | outb(outval, port + PAR_DATA); |
port | 203 | drivers/net/atp.h | outb(outval, port + PAR_DATA); /* Double write for PS/2. */ |
port | 205 | drivers/net/atp.h | outb((outval & 0xf0) | (value & 0x0f), port + PAR_DATA); |
port | 206 | drivers/net/atp.h | outb(value & 0x0f, port + PAR_DATA); |
port | 208 | drivers/net/atp.h | outb(value, port + PAR_DATA); |
port | 209 | drivers/net/atp.h | outb(0x10 | value, port + PAR_DATA); |
port | 210 | drivers/net/atp.h | outb(0x10 | value, port + PAR_DATA); |
port | 212 | drivers/net/atp.h | outb(EOC | value, port + PAR_DATA); /* Reset the address register. */ |
port | 71 | drivers/net/e2100.c | extern inline void mem_on(short port, volatile char *mem_base, |
port | 77 | drivers/net/e2100.c | inb(port + E21_MEM_ENABLE); |
port | 78 | drivers/net/e2100.c | outb(E21_MEM_ON, port + E21_MEM_ENABLE + E21_MEM_ON); |
port | 81 | drivers/net/e2100.c | extern inline void mem_off(short port) |
port | 83 | drivers/net/e2100.c | inb(port + E21_MEM_ENABLE); |
port | 84 | drivers/net/e2100.c | outb(0x00, port + E21_MEM_ENABLE); |
port | 120 | drivers/net/e2100.c | int *port; |
port | 128 | drivers/net/e2100.c | for (port = e21_probe_list; *port; port++) { |
port | 129 | drivers/net/e2100.c | if (check_region(*port, E21_IO_EXTENT)) |
port | 131 | drivers/net/e2100.c | if (e21_probe1(dev, *port) == 0) |
port | 254 | drivers/net/eexpress.c | unsigned short *port,ports[] = { 0x0300,0x0270,0x0320,0x0340,0 }; |
port | 262 | drivers/net/eexpress.c | for ( port=&ports[0] ; *port ; port++ ) |
port | 269 | drivers/net/eexpress.c | t = inb(*port + ID_PORT); |
port | 272 | drivers/net/eexpress.c | if (sum==0xbaba && !eexp_hw_probe(dev,*port)) |
port | 272 | drivers/net/lance.c | int *port; |
port | 316 | drivers/net/lance.c | for (port = lance_portlist; *port; port++) { |
port | 317 | drivers/net/lance.c | int ioaddr = *port; |
port | 235 | drivers/net/net_init.c | if (map->port != (u_char)(-1)) |
port | 236 | drivers/net/net_init.c | dev->if_port = map->port; |
port | 361 | drivers/net/ni52.c | int *port; |
port | 376 | drivers/net/ni52.c | for (port = ports; *port; port++) { |
port | 377 | drivers/net/ni52.c | int ioaddr = *port; |
port | 186 | drivers/net/ni65.c | int *port; |
port | 198 | drivers/net/ni65.c | for (port = ports; *port; port++) |
port | 200 | drivers/net/ni65.c | int ioaddr = *port; |
port | 311 | drivers/net/pi2.c | int port; |
port | 318 | drivers/net/pi2.c | port = lp->cardbase + TMR1; |
port | 322 | drivers/net/pi2.c | port = lp->cardbase + TMR2; |
port | 330 | drivers/net/pi2.c | outb_p((t1 << 1) & 0xFF, port); |
port | 331 | drivers/net/pi2.c | outb_p((t1 >> 7) & 0xFF, port); |
port | 1211 | drivers/net/pi2.c | int *port; |
port | 1220 | drivers/net/pi2.c | for (port = &ports[0]; *port && !card_type; port++) { |
port | 1221 | drivers/net/pi2.c | ioaddr = *port; |
port | 518 | drivers/net/pt.c | int *port; |
port | 527 | drivers/net/pt.c | for (port = &ports[0]; *port && !card_type; port++) { |
port | 528 | drivers/net/pt.c | ioaddr = *port; |
port | 216 | drivers/net/sk_g16.c | #define SK_PORT (board->port) /* Control, Status register */ |
port | 418 | drivers/net/sk_g16.c | unsigned volatile char port; /* Statusregister and Controlregister */ |
port | 552 | drivers/net/sk_g16.c | int *port, ports[] = SK_IO_PORTS; /* SK_G16 supported ports */ |
port | 579 | drivers/net/sk_g16.c | for (port = &ports[0]; *port; port++) |
port | 581 | drivers/net/sk_g16.c | ioaddr = *port; /* we need ioaddr for accessing POS regs */ |
port | 576 | drivers/scsi/advansys.c | #define inp(port) inb(port) |
port | 577 | drivers/scsi/advansys.c | #define inpw(port) inw(port) |
port | 578 | drivers/scsi/advansys.c | #define outp(port, byte) outb((byte), (port)) |
port | 579 | drivers/scsi/advansys.c | #define outpw(port, word) outw((word), (port)) |
port | 1699 | drivers/scsi/advansys.c | #define AscGetVarFreeQHead( port ) AscReadLramWord( port, ASCV_FREE_Q_HEAD_W ) |
port | 1700 | drivers/scsi/advansys.c | #define AscGetVarDoneQTail( port ) AscReadLramWord( port, ASCV_DONE_Q_TAIL_W ) |
port | 1701 | drivers/scsi/advansys.c | #define AscPutVarFreeQHead( port, val ) AscWriteLramWord( port, ASCV_FREE_Q_HEAD_W, val ) |
port | 1702 | drivers/scsi/advansys.c | #define AscPutVarDoneQTail( port, val ) AscWriteLramWord( port, ASCV_DONE_Q_TAIL_W, val ) |
port | 1704 | drivers/scsi/advansys.c | #define AscGetRiscVarFreeQHead( port ) AscReadLramByte( port, ASCV_NEXTRDY_B ) |
port | 1705 | drivers/scsi/advansys.c | #define AscGetRiscVarDoneQTail( port ) AscReadLramByte( port, ASCV_DONENEXT_B ) |
port | 1706 | drivers/scsi/advansys.c | #define AscPutRiscVarFreeQHead( port, val ) AscWriteLramByte( port, ASCV_NEXTRDY_B, val ) |
port | 1707 | drivers/scsi/advansys.c | #define AscPutRiscVarDoneQTail( port, val ) AscWriteLramByte( port, ASCV_DONENEXT_B, val ) |
port | 1709 | drivers/scsi/advansys.c | #define AscGetChipIFC( port ) inp( (port)+IOP_REG_IFC ) |
port | 1710 | drivers/scsi/advansys.c | #define AscPutChipIFC( port, data ) outp( (port)+IOP_REG_IFC, data ) |
port | 1712 | drivers/scsi/advansys.c | #define AscGetChipLramAddr( port ) ( ushort )inpw( ( PortAddr )((port)+IOP_RAM_ADDR) ) |
port | 1713 | drivers/scsi/advansys.c | #define AscSetChipLramAddr( port, addr ) outpw( ( PortAddr )( (port)+IOP_RAM_ADDR ), addr ) |
port | 1714 | drivers/scsi/advansys.c | #define AscPutChipLramData( port, data ) outpw( (port)+IOP_RAM_DATA, data ) |
port | 1715 | drivers/scsi/advansys.c | #define AscGetChipLramData( port ) inpw( (port)+IOP_RAM_DATA ) |
port | 1717 | drivers/scsi/advansys.c | #define AscWriteChipSyn( port, data ) outp( (port)+IOP_SYN_OFFSET, data ) |
port | 1718 | drivers/scsi/advansys.c | #define AscReadChipSyn( port ) inp( (port)+IOP_SYN_OFFSET ) |
port | 1720 | drivers/scsi/advansys.c | #define AscWriteChipIH( port, data ) outpw( (port)+IOP_REG_IH, data ) |
port | 1721 | drivers/scsi/advansys.c | #define AscReadChipIH( port ) inpw( (port)+IOP_REG_IH ) |
port | 1723 | drivers/scsi/advansys.c | #define AscWriteChipScsiID( port, data ) outp( (port)+IOP_REG_ID, data ) |
port | 1724 | drivers/scsi/advansys.c | #define AscReadChipScsiID( port ) inp( (port)+IOP_REG_ID ) |
port | 1726 | drivers/scsi/advansys.c | #define AscGetChipDmaSpeed( port ) ( uchar )inp( (port)+IOP_DMA_SPEED ) |
port | 1727 | drivers/scsi/advansys.c | #define AscSetChipDmaSpeed( port, data ) outp( (port)+IOP_DMA_SPEED, data ) |
port | 1728 | drivers/scsi/advansys.c | #define AscGetChipQP( port ) ( uchar )inp( (port)+IOP_REG_QP ) |
port | 1729 | drivers/scsi/advansys.c | #define AscSetPCAddr( port, data ) outpw( (port)+IOP_REG_PC, data ) |
port | 1730 | drivers/scsi/advansys.c | #define AscGetPCAddr( port ) inpw( (port)+IOP_REG_PC ) |
port | 1731 | drivers/scsi/advansys.c | #define AscGetChipVerNo( port ) ( uchar )inp( (port)+IOP_VERSION ) |
port | 1733 | drivers/scsi/advansys.c | #define AscGetChipEEPCmd( port ) ( uchar )inp( (port)+IOP_EEP_CMD ) |
port | 1734 | drivers/scsi/advansys.c | #define AscSetChipEEPCmd( port, data ) outp( (port)+IOP_EEP_CMD, data ) |
port | 1735 | drivers/scsi/advansys.c | #define AscGetChipEEPData( port ) inpw( (port)+IOP_EEP_DATA ) |
port | 1736 | drivers/scsi/advansys.c | #define AscSetChipEEPData( port, data ) outpw( (port)+IOP_EEP_DATA, data ) |
port | 1738 | drivers/scsi/advansys.c | #define AscGetChipControl( port ) ( uchar )inp( (port)+IOP_CTRL ) |
port | 1739 | drivers/scsi/advansys.c | #define AscSetChipControl( port, cc_val ) outp( (port)+IOP_CTRL, cc_val ) |
port | 1741 | drivers/scsi/advansys.c | #define AscGetChipStatus( port ) ( ASC_CS_TYPE )inpw( (port)+IOP_STATUS ) |
port | 1742 | drivers/scsi/advansys.c | #define AscSetChipStatus( port, cs_val ) outpw( (port)+IOP_STATUS, cs_val ) |
port | 1744 | drivers/scsi/advansys.c | #define AscGetChipCfgLsw( port ) ( ushort )inpw( (port)+IOP_CONFIG_LOW ) |
port | 1745 | drivers/scsi/advansys.c | #define AscGetChipCfgMsw( port ) ( ushort )inpw( (port)+IOP_CONFIG_HIGH ) |
port | 1746 | drivers/scsi/advansys.c | #define AscSetChipCfgLsw( port, data ) outpw( (port)+IOP_CONFIG_LOW, data ) |
port | 1747 | drivers/scsi/advansys.c | #define AscSetChipCfgMsw( port, data ) outpw( (port)+IOP_CONFIG_HIGH, data ) |
port | 1749 | drivers/scsi/advansys.c | #define AscIsIntPending( port ) ( AscGetChipStatus( port ) & CSW_INT_PENDING ) |
port | 1750 | drivers/scsi/advansys.c | #define AscGetChipScsiID( port ) ( ( AscGetChipCfgLsw( port ) >> 8 ) & ASC_MAX_TID ) |
port | 4636 | drivers/scsi/advansys.c | DvcOutPortDWords(PortAddr port, ulong *pdw, int dwords) |
port | 4645 | drivers/scsi/advansys.c | outpw(port, *pw); |
port | 306 | drivers/scsi/aha152x.h | unsigned short port; |
port | 318 | drivers/scsi/aha152x.h | #define cf_port port |
port | 124 | drivers/scsi/aha1542.c | #define WAIT(port, mask, allof, noneof) \ |
port | 128 | drivers/scsi/aha1542.c | WAITbits = inb(port) & (mask); \ |
port | 137 | drivers/scsi/aha1542.c | #define WAITd(port, mask, allof, noneof, timeout) \ |
port | 141 | drivers/scsi/aha1542.c | WAITbits = inb(port) & (mask); \ |
port | 509 | drivers/scsi/fdomain.c | static int fdomain_is_valid_port( int port ) |
port | 513 | drivers/scsi/fdomain.c | inb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) ); |
port | 522 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */ |
port | 523 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0x27) return 0; |
port | 524 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x61) return 0; |
port | 527 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x60) return 0; |
port | 537 | drivers/scsi/fdomain.c | outb( 0x80, port + IO_Control ); |
port | 538 | drivers/scsi/fdomain.c | if ((inb( port + Configuration2 ) & 0x80) == 0x80) { |
port | 539 | drivers/scsi/fdomain.c | outb( 0x00, port + IO_Control ); |
port | 540 | drivers/scsi/fdomain.c | if ((inb( port + Configuration2 ) & 0x80) == 0x00) { |
port | 551 | drivers/scsi/fdomain.c | if (inb( port + Configuration2 ) & 0x02) { |
port | 90 | drivers/scsi/g_NCR5380.h | #define NCR5380_map_config port |
port | 94 | drivers/scsi/g_NCR5380.h | #define NCR5380_map_name port |
port | 94 | drivers/scsi/in2000.c | inline static unsigned short inw( unsigned short port ) |
port | 99 | drivers/scsi/in2000.c | :"=a" (_v):"d" ((unsigned short) port)); |
port | 105 | drivers/scsi/in2000.c | inline static void outw( unsigned short value, unsigned short port ) |
port | 110 | drivers/scsi/in2000.c | "d" ((unsigned short) port)); |
port | 116 | drivers/scsi/in2000.c | #define port_read(port,buf,nr) \ |
port | 117 | drivers/scsi/in2000.c | __asm__("cld;rep;insw": :"d" (port),"D" (buf),"c" (nr):"cx","di") |
port | 119 | drivers/scsi/in2000.c | #define port_write(port,buf,nr) \ |
port | 120 | drivers/scsi/in2000.c | __asm__("cld;rep;outsw": :"d" (port),"S" (buf),"c" (nr):"cx","si") |
port | 195 | drivers/scsi/pas16.c | void enable_board( int board_num, unsigned short port ) |
port | 198 | drivers/scsi/pas16.c | outb( port >> 2, MASTER_ADDRESS_PTR ); |
port | 527 | drivers/scsi/qlogic.c | void qlogic_preset(int port, int irq) |
port | 529 | drivers/scsi/qlogic.c | qbase=port; |
port | 212 | drivers/scsi/ultrastor.c | #define U14F_PRODUCT_ID(port) ((port) + 0x4) |
port | 213 | drivers/scsi/ultrastor.c | #define CONFIG(port) ((port) + 0x6) |
port | 216 | drivers/scsi/ultrastor.c | #define LCL_DOORBELL_MASK(port) ((port) + 0x0) |
port | 217 | drivers/scsi/ultrastor.c | #define LCL_DOORBELL_INTR(port) ((port) + 0x1) |
port | 218 | drivers/scsi/ultrastor.c | #define SYS_DOORBELL_MASK(port) ((port) + 0x2) |
port | 219 | drivers/scsi/ultrastor.c | #define SYS_DOORBELL_INTR(port) ((port) + 0x3) |
port | 558 | drivers/scsi/wd7000.c | #define WAIT(port, mask, allof, noneof) \ |
port | 562 | drivers/scsi/wd7000.c | WAITbits = inb(port) & (mask); \ |
port | 366 | drivers/sound/aedsp16.c | WaitForDataAvail (int port) |
port | 373 | drivers/sound/aedsp16.c | ret = inb (port + DSP_DATAVAIL); |
port | 387 | drivers/sound/aedsp16.c | ReadData (int port) |
port | 389 | drivers/sound/aedsp16.c | if (WaitForDataAvail (port)) |
port | 391 | drivers/sound/aedsp16.c | return inb (port + DSP_READ); |
port | 395 | drivers/sound/aedsp16.c | CheckDSPOkay (int port) |
port | 397 | drivers/sound/aedsp16.c | return ((ReadData (port) == 0xaa) ? 0 : -1); |
port | 401 | drivers/sound/aedsp16.c | ResetBoard (int port) |
port | 406 | drivers/sound/aedsp16.c | outb (1, (port + DSP_RESET)); |
port | 408 | drivers/sound/aedsp16.c | outb (0, (port + DSP_RESET)); |
port | 411 | drivers/sound/aedsp16.c | return CheckDSPOkay (port); |
port | 415 | drivers/sound/aedsp16.c | WriteDSPCommand (int port, int cmd) |
port | 422 | drivers/sound/aedsp16.c | ret = inb (port + DSP_STATUS); |
port | 428 | drivers/sound/aedsp16.c | outb (cmd, port + DSP_COMMAND); |
port | 439 | drivers/sound/aedsp16.c | InitMSS (int port) |
port | 444 | drivers/sound/aedsp16.c | if (WriteDSPCommand (port, CMD6)) |
port | 456 | drivers/sound/aedsp16.c | SetUpBoard (int port) |
port | 471 | drivers/sound/aedsp16.c | while (WaitForDataAvail (port) && loop--); |
port | 474 | drivers/sound/aedsp16.c | if (CheckDSPOkay (port)) |
port | 480 | drivers/sound/aedsp16.c | if (ReadData (port) == -1) |
port | 508 | drivers/sound/aedsp16.c | GetCardVersion (int port) |
port | 516 | drivers/sound/aedsp16.c | if ((ret = ReadData (port)) == -1) |
port | 530 | drivers/sound/aedsp16.c | GetCardName (int port) |
port | 537 | drivers/sound/aedsp16.c | if ((ret = ReadData (port)) == -1) |
port | 113 | drivers/sound/mad16.c | mad_read (int port) |
port | 133 | drivers/sound/mad16.c | tmp = inb (port); |
port | 140 | drivers/sound/mad16.c | mad_write (int port, int value) |
port | 159 | drivers/sound/mad16.c | outb ((unsigned char) (value & 0xff), port); |
port | 63 | drivers/sound/sb_mixer.c | sb_setmixer (unsigned int port, unsigned int value) |
port | 69 | drivers/sound/sb_mixer.c | outb ((unsigned char) (port & 0xff), MIXER_ADDR); /* |
port | 79 | drivers/sound/sb_mixer.c | sb_getmixer (unsigned int port) |
port | 86 | drivers/sound/sb_mixer.c | outb ((unsigned char) (port & 0xff), MIXER_ADDR); /* |
port | 127 | drivers/sound/sound_calls.h | void sb_setmixer (unsigned int port, unsigned int value); |
port | 128 | drivers/sound/sound_calls.h | int sb_getmixer (unsigned int port); |
port | 752 | fs/nfs/nfsroot.c | short port = STARTPORT; |
port | 758 | fs/nfs/nfsroot.c | sin->sin_port = htons(port++); |
port | 759 | fs/nfs/nfsroot.c | if (port > ENDPORT) { |
port | 760 | fs/nfs/nfsroot.c | port = STARTPORT; |
port | 772 | fs/nfs/nfsroot.c | printk(KERN_NOTICE "NFS: Binding to listening port %d\n", port); |
port | 883 | fs/nfs/nfsroot.c | int port; |
port | 886 | fs/nfs/nfsroot.c | if ((port = root_nfs_get_port(NFS_NFS_PROGRAM, NFS_NFS_VERSION)) < 0) { |
port | 888 | fs/nfs/nfsroot.c | port = NFS_NFS_PORT; |
port | 890 | fs/nfs/nfsroot.c | nfs_port = port; |
port | 892 | fs/nfs/nfsroot.c | printk(KERN_NOTICE "NFS: Portmapper on server returned %d as nfsd port\n", port); |
port | 895 | fs/nfs/nfsroot.c | if ((port = root_nfs_get_port(NFS_MOUNT_PROGRAM, NFS_MOUNT_VERSION)) < 0) { |
port | 897 | fs/nfs/nfsroot.c | port = NFS_MOUNT_PORT; |
port | 899 | fs/nfs/nfsroot.c | server.sin_port = htons(port); |
port | 901 | fs/nfs/nfsroot.c | printk(KERN_NOTICE "NFS: Portmapper on server returned %d as mountd port\n", port); |
port | 340 | include/asm-alpha/alcor.h | #define inb(port) \ |
port | 341 | include/asm-alpha/alcor.h | (__builtin_constant_p((port))?__inb(port):_inb(port)) |
port | 343 | include/asm-alpha/alcor.h | #define outb(x, port) \ |
port | 344 | include/asm-alpha/alcor.h | (__builtin_constant_p((port))?__outb((x),(port)):_outb((x),(port))) |
port | 317 | include/asm-alpha/apecs.h | #define inb(port) \ |
port | 318 | include/asm-alpha/apecs.h | (__builtin_constant_p((port))?__inb(port):_inb(port)) |
port | 320 | include/asm-alpha/apecs.h | #define outb(x, port) \ |
port | 321 | include/asm-alpha/apecs.h | (__builtin_constant_p((port))?__outb((x),(port)):_outb((x),(port))) |
port | 13 | include/asm-alpha/floppy.h | #define fd_inb(port) inb_p(port) |
port | 14 | include/asm-alpha/floppy.h | #define fd_outb(port,value) outb_p(port,value) |
port | 91 | include/asm-alpha/io.h | extern unsigned int _inb (unsigned long port); |
port | 92 | include/asm-alpha/io.h | extern unsigned int _inw (unsigned long port); |
port | 93 | include/asm-alpha/io.h | extern unsigned int _inl (unsigned long port); |
port | 94 | include/asm-alpha/io.h | extern void _outb (unsigned char b,unsigned long port); |
port | 95 | include/asm-alpha/io.h | extern void _outw (unsigned short w,unsigned long port); |
port | 96 | include/asm-alpha/io.h | extern void _outl (unsigned int l,unsigned long port); |
port | 200 | include/asm-alpha/io.h | extern void insb (unsigned long port, void *dst, unsigned long count); |
port | 201 | include/asm-alpha/io.h | extern void insw (unsigned long port, void *dst, unsigned long count); |
port | 202 | include/asm-alpha/io.h | extern void insl (unsigned long port, void *dst, unsigned long count); |
port | 203 | include/asm-alpha/io.h | extern void outsb (unsigned long port, const void *src, unsigned long count); |
port | 204 | include/asm-alpha/io.h | extern void outsw (unsigned long port, const void *src, unsigned long count); |
port | 205 | include/asm-alpha/io.h | extern void outsl (unsigned long port, const void *src, unsigned long count); |
port | 256 | include/asm-alpha/jensen.h | #define inb(port) \ |
port | 257 | include/asm-alpha/jensen.h | (__builtin_constant_p((port))?__inb(port):_inb(port)) |
port | 259 | include/asm-alpha/jensen.h | #define outb(x, port) \ |
port | 260 | include/asm-alpha/jensen.h | (__builtin_constant_p((port))?__outb((x),(port)):_outb((x),(port))) |
port | 299 | include/asm-alpha/lca.h | #define inb(port) \ |
port | 300 | include/asm-alpha/lca.h | (__builtin_constant_p((port))?__inb(port):_inb(port)) |
port | 302 | include/asm-alpha/lca.h | #define outb(x, port) \ |
port | 303 | include/asm-alpha/lca.h | (__builtin_constant_p((port))?__outb((x),(port)):_outb((x),(port))) |
port | 13 | include/asm-i386/floppy.h | #define fd_inb(port) inb_p(port) |
port | 14 | include/asm-i386/floppy.h | #define fd_outb(port,value) outb_p(port,value) |
port | 91 | include/asm-i386/io.h | extern inline void __out##s(unsigned x value, unsigned short port) { |
port | 97 | include/asm-i386/io.h | __OUT1(s,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); } \ |
port | 98 | include/asm-i386/io.h | __OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); } \ |
port | 99 | include/asm-i386/io.h | __OUT1(s##_p,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); SLOW_DOWN_IO; } \ |
port | 100 | include/asm-i386/io.h | __OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); SLOW_DOWN_IO; } |
port | 103 | include/asm-i386/io.h | extern inline RETURN_TYPE __in##s(unsigned short port) { RETURN_TYPE _v; |
port | 109 | include/asm-i386/io.h | __IN1(s) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); return _v; } \ |
port | 110 | include/asm-i386/io.h | __IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); return _v; } \ |
port | 111 | include/asm-i386/io.h | __IN1(s##_p) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); SLOW_DOWN_IO; return _v; } \ |
port | 112 | include/asm-i386/io.h | __IN1(s##c_p) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); SLOW_DOWN_IO; return _v; } |
port | 115 | include/asm-i386/io.h | extern inline void ins##s(unsigned short port, void * addr, unsigned long count) \ |
port | 117 | include/asm-i386/io.h | : "=D" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
port | 120 | include/asm-i386/io.h | extern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \ |
port | 122 | include/asm-i386/io.h | : "=S" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
port | 153 | include/asm-i386/io.h | #define outb(val,port) \ |
port | 154 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 155 | include/asm-i386/io.h | __outbc((val),(port)) : \ |
port | 156 | include/asm-i386/io.h | __outb((val),(port))) |
port | 158 | include/asm-i386/io.h | #define inb(port) \ |
port | 159 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 160 | include/asm-i386/io.h | __inbc(port) : \ |
port | 161 | include/asm-i386/io.h | __inb(port)) |
port | 163 | include/asm-i386/io.h | #define outb_p(val,port) \ |
port | 164 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 165 | include/asm-i386/io.h | __outbc_p((val),(port)) : \ |
port | 166 | include/asm-i386/io.h | __outb_p((val),(port))) |
port | 168 | include/asm-i386/io.h | #define inb_p(port) \ |
port | 169 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 170 | include/asm-i386/io.h | __inbc_p(port) : \ |
port | 171 | include/asm-i386/io.h | __inb_p(port)) |
port | 173 | include/asm-i386/io.h | #define outw(val,port) \ |
port | 174 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 175 | include/asm-i386/io.h | __outwc((val),(port)) : \ |
port | 176 | include/asm-i386/io.h | __outw((val),(port))) |
port | 178 | include/asm-i386/io.h | #define inw(port) \ |
port | 179 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 180 | include/asm-i386/io.h | __inwc(port) : \ |
port | 181 | include/asm-i386/io.h | __inw(port)) |
port | 183 | include/asm-i386/io.h | #define outw_p(val,port) \ |
port | 184 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 185 | include/asm-i386/io.h | __outwc_p((val),(port)) : \ |
port | 186 | include/asm-i386/io.h | __outw_p((val),(port))) |
port | 188 | include/asm-i386/io.h | #define inw_p(port) \ |
port | 189 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 190 | include/asm-i386/io.h | __inwc_p(port) : \ |
port | 191 | include/asm-i386/io.h | __inw_p(port)) |
port | 193 | include/asm-i386/io.h | #define outl(val,port) \ |
port | 194 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 195 | include/asm-i386/io.h | __outlc((val),(port)) : \ |
port | 196 | include/asm-i386/io.h | __outl((val),(port))) |
port | 198 | include/asm-i386/io.h | #define inl(port) \ |
port | 199 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 200 | include/asm-i386/io.h | __inlc(port) : \ |
port | 201 | include/asm-i386/io.h | __inl(port)) |
port | 203 | include/asm-i386/io.h | #define outl_p(val,port) \ |
port | 204 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 205 | include/asm-i386/io.h | __outlc_p((val),(port)) : \ |
port | 206 | include/asm-i386/io.h | __outl_p((val),(port))) |
port | 208 | include/asm-i386/io.h | #define inl_p(port) \ |
port | 209 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 210 | include/asm-i386/io.h | __inlc_p(port) : \ |
port | 211 | include/asm-i386/io.h | __inl_p(port)) |
port | 19 | include/asm-mips/floppy.h | #define fd_inb(port) feature->fd_inb(port) |
port | 20 | include/asm-mips/floppy.h | #define fd_outb(value,port) feature->fd_outb(value,port) |
port | 99 | include/asm-mips/io.h | extern inline void __out##s(unsigned int value, unsigned int port) { |
port | 105 | include/asm-mips/io.h | __OUT1(s) __OUT2(m) : : "r" (value), "i" (0), "r" (PORT_BASE+port)); } \ |
port | 106 | include/asm-mips/io.h | __OUT1(s##c) __OUT2(m) : : "r" (value), "ir" (port), "r" (PORT_BASE)); } \ |
port | 107 | include/asm-mips/io.h | __OUT1(s##_p) __OUT2(m) : : "r" (value), "i" (0), "r" (PORT_BASE+port)); \ |
port | 109 | include/asm-mips/io.h | __OUT1(s##c_p) __OUT2(m) : : "r" (value), "ir" (port), "r" (PORT_BASE)); \ |
port | 113 | include/asm-mips/io.h | extern __inline__ t __in##s(unsigned int port) { t _v; |
port | 122 | include/asm-mips/io.h | __IN1(t,s) __IN2(m) : "=r" (_v) : "i" (0), "r" (PORT_BASE+port)); return _v; } \ |
port | 123 | include/asm-mips/io.h | __IN1(t,s##c) __IN2(m) : "=r" (_v) : "ir" (port), "r" (PORT_BASE)); return _v; } \ |
port | 124 | include/asm-mips/io.h | __IN1(t,s##_p) __IN2(m) : "=r" (_v) : "i" (0), "r" (PORT_BASE+port)); SLOW_DOWN_IO; return _v; } \ |
port | 125 | include/asm-mips/io.h | __IN1(t,s##c_p) __IN2(m) : "=r" (_v) : "ir" (port), "r" (PORT_BASE)); SLOW_DOWN_IO; return _v; } |
port | 128 | include/asm-mips/io.h | extern inline void __ins##s(unsigned int port, void * addr, unsigned long count) { |
port | 145 | include/asm-mips/io.h | : "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \ |
port | 149 | include/asm-mips/io.h | : "0" (addr), "1" (count), "ir" (port), "r" (PORT_BASE), "I" (i) \ |
port | 153 | include/asm-mips/io.h | extern inline void __outs##s(unsigned int port, const void * addr, unsigned long count) { |
port | 170 | include/asm-mips/io.h | : "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \ |
port | 174 | include/asm-mips/io.h | : "0" (addr), "1" (count), "ir" (port), "r" (PORT_BASE), "I" (i) \ |
port | 198 | include/asm-mips/io.h | #define outb(val,port) \ |
port | 199 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 200 | include/asm-mips/io.h | __outbc((val),(port)) : \ |
port | 201 | include/asm-mips/io.h | __outb((val),(port))) |
port | 203 | include/asm-mips/io.h | #define inb(port) \ |
port | 204 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 205 | include/asm-mips/io.h | __inbc(port) : \ |
port | 206 | include/asm-mips/io.h | __inb(port)) |
port | 208 | include/asm-mips/io.h | #define outb_p(val,port) \ |
port | 209 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 210 | include/asm-mips/io.h | __outbc_p((val),(port)) : \ |
port | 211 | include/asm-mips/io.h | __outb_p((val),(port))) |
port | 213 | include/asm-mips/io.h | #define inb_p(port) \ |
port | 214 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 215 | include/asm-mips/io.h | __inbc_p(port) : \ |
port | 216 | include/asm-mips/io.h | __inb_p(port)) |
port | 218 | include/asm-mips/io.h | #define outw(val,port) \ |
port | 219 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 220 | include/asm-mips/io.h | __outwc((val),(port)) : \ |
port | 221 | include/asm-mips/io.h | __outw((val),(port))) |
port | 223 | include/asm-mips/io.h | #define inw(port) \ |
port | 224 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 225 | include/asm-mips/io.h | __inwc(port) : \ |
port | 226 | include/asm-mips/io.h | __inw(port)) |
port | 228 | include/asm-mips/io.h | #define outw_p(val,port) \ |
port | 229 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 230 | include/asm-mips/io.h | __outwc_p((val),(port)) : \ |
port | 231 | include/asm-mips/io.h | __outw_p((val),(port))) |
port | 233 | include/asm-mips/io.h | #define inw_p(port) \ |
port | 234 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 235 | include/asm-mips/io.h | __inwc_p(port) : \ |
port | 236 | include/asm-mips/io.h | __inw_p(port)) |
port | 238 | include/asm-mips/io.h | #define outl(val,port) \ |
port | 239 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 240 | include/asm-mips/io.h | __outlc((val),(port)) : \ |
port | 241 | include/asm-mips/io.h | __outl((val),(port))) |
port | 243 | include/asm-mips/io.h | #define inl(port) \ |
port | 244 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 245 | include/asm-mips/io.h | __inlc(port) : \ |
port | 246 | include/asm-mips/io.h | __inl(port)) |
port | 248 | include/asm-mips/io.h | #define outl_p(val,port) \ |
port | 249 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 250 | include/asm-mips/io.h | __outlc_p((val),(port)) : \ |
port | 251 | include/asm-mips/io.h | __outl_p((val),(port))) |
port | 253 | include/asm-mips/io.h | #define inl_p(port) \ |
port | 254 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 255 | include/asm-mips/io.h | __inlc_p(port) : \ |
port | 256 | include/asm-mips/io.h | __inl_p(port)) |
port | 259 | include/asm-mips/io.h | #define outsb(port,addr,count) \ |
port | 260 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 261 | include/asm-mips/io.h | __outsbc((port),(addr),(count)) : \ |
port | 262 | include/asm-mips/io.h | __outsb ((port),(addr),(count))) |
port | 264 | include/asm-mips/io.h | #define insb(port,addr,count) \ |
port | 265 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 266 | include/asm-mips/io.h | __insbc((port),(addr),(count)) : \ |
port | 267 | include/asm-mips/io.h | __insb((port),(addr),(count))) |
port | 269 | include/asm-mips/io.h | #define outsw(port,addr,count) \ |
port | 270 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 271 | include/asm-mips/io.h | __outswc((port),(addr),(count)) : \ |
port | 272 | include/asm-mips/io.h | __outsw ((port),(addr),(count))) |
port | 274 | include/asm-mips/io.h | #define insw(port,addr,count) \ |
port | 275 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 276 | include/asm-mips/io.h | __inswc((port),(addr),(count)) : \ |
port | 277 | include/asm-mips/io.h | __insw((port),(addr),(count))) |
port | 279 | include/asm-mips/io.h | #define outsl(port,addr,count) \ |
port | 280 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 281 | include/asm-mips/io.h | __outslc((port),(addr),(count)) : \ |
port | 282 | include/asm-mips/io.h | __outsl ((port),(addr),(count))) |
port | 284 | include/asm-mips/io.h | #define insl(port,addr,count) \ |
port | 285 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 286 | include/asm-mips/io.h | __inslc((port),(addr),(count)) : \ |
port | 287 | include/asm-mips/io.h | __insl((port),(addr),(count))) |
port | 24 | include/asm-mips/vector.h | unsigned char (*fd_inb)(unsigned int port); |
port | 25 | include/asm-mips/vector.h | void (*fd_outb)(unsigned char value, unsigned int port); |
port | 66 | include/asm-ppc/io.h | unsigned char inb(int port); |
port | 67 | include/asm-ppc/io.h | unsigned short inw(int port); |
port | 68 | include/asm-ppc/io.h | unsigned long inl(int port); |
port | 69 | include/asm-ppc/io.h | unsigned char outb(unsigned char val,int port); |
port | 70 | include/asm-ppc/io.h | unsigned short outw(unsigned short val,int port); |
port | 71 | include/asm-ppc/io.h | unsigned long outl(unsigned long val,int port); |
port | 72 | include/asm-ppc/io.h | void outsl(int port, long *ptr, int len); |
port | 74 | include/asm-ppc/io.h | static inline unsigned char inb_p(int port) {return (inb(port)); } |
port | 75 | include/asm-ppc/io.h | static inline unsigned short inw_p(int port) {return (inw(port)); } |
port | 76 | include/asm-ppc/io.h | static inline unsigned long inl_p(int port) {return (inl(port)); } |
port | 80 | include/asm-ppc/io.h | static inline unsigned char outb_p(unsigned char val,int port) { return (outb(val,port)); } |
port | 81 | include/asm-ppc/io.h | static inline unsigned short outw_p(unsigned short val,int port) { return (outw(val,port)); } |
port | 82 | include/asm-ppc/io.h | static inline unsigned long outl_p(unsigned long val,int port) { return (outl(val,port)); } |
port | 48 | include/asm-sparc/floppy.h | unsigned char (*fd_inb)(int port); |
port | 49 | include/asm-sparc/floppy.h | void (*fd_outb)(unsigned char value, int port); |
port | 54 | include/asm-sparc/floppy.h | #define fd_inb(port) sun_fdops.fd_inb(port) |
port | 55 | include/asm-sparc/floppy.h | #define fd_outb(value,port) sun_fdops.fd_outb(value,port) |
port | 98 | include/asm-sparc/floppy.h | static unsigned char sun_82072_fd_inb(int port) |
port | 100 | include/asm-sparc/floppy.h | switch(port & 7) { |
port | 102 | include/asm-sparc/floppy.h | printk("floppy: Asked to read unknown port %d\n", port); |
port | 117 | include/asm-sparc/floppy.h | static void sun_82072_fd_outb(unsigned char value, int port) |
port | 119 | include/asm-sparc/floppy.h | switch(port & 7) { |
port | 121 | include/asm-sparc/floppy.h | printk("floppy: Asked to write to unknown port %d\n", port); |
port | 154 | include/asm-sparc/floppy.h | static unsigned char sun_82077_fd_inb(int port) |
port | 156 | include/asm-sparc/floppy.h | switch(port & 7) { |
port | 158 | include/asm-sparc/floppy.h | printk("floppy: Asked to read unknown port %d\n", port); |
port | 173 | include/asm-sparc/floppy.h | static void sun_82077_fd_outb(unsigned char value, int port) |
port | 175 | include/asm-sparc/floppy.h | switch(port & 7) { |
port | 177 | include/asm-sparc/floppy.h | printk("floppy: Asked to write to unknown port %d\n", port); |
port | 122 | include/linux/cdk.h | unsigned short port; |
port | 74 | include/linux/gscd.h | #define READ_DATA(port, buf, nr) insb(port, buf, nr) |
port | 82 | include/linux/if.h | unsigned char port; |
port | 75 | include/linux/mcd.h | #define READ_DATA(port, buf, nr) \ |
port | 76 | include/linux/mcd.h | insb(port, buf, nr) |
port | 151 | include/linux/mtio.h | unsigned short port; /* IO port base address */ |
port | 69 | include/linux/ncp.h | __u16 port __attribute__ ((packed)); |
port | 111 | include/linux/scc.h | #define Inb(port) inb_p(port) |
port | 112 | include/linux/scc.h | #define Outb(port, val) outb_p(val, port) |
port | 114 | include/linux/scc.h | #define Inb(port) inb(port) |
port | 115 | include/linux/scc.h | #define Outb(port, val) outb(val, port) |
port | 16 | include/linux/serial.h | int port; |
port | 134 | include/linux/serial.h | int port; |
port | 113 | include/linux/sjcd.h | #define S_READ_DATA( port, buf, nr ) insb( port, buf, nr ) |
port | 387 | include/linux/tpqic02.h | # define QIC02_TAPE_PORT (qic02_tape_dynconf.port) |
port | 123 | include/linux/xd.h | static inline u_char xd_waitport (u_short port,u_char flags,u_char mask,u_long timeout); |
port | 98 | include/net/sock.h | unsigned short port; |
port | 1198 | net/core/dev.c | ifr.ifr_map.port=dev->if_port; |
port | 166 | net/ipv4/ip_fw.c | extern inline int port_match(unsigned short *portptr,int nports,unsigned short port,int range_flag) |
port | 172 | net/ipv4/ip_fw.c | if ( portptr[0] <= port && port <= portptr[1] ) |
port | 181 | net/ipv4/ip_fw.c | if ( *portptr++ == port ) |
port | 621 | net/ipv4/ip_fw.c | unsigned short port; |
port | 682 | net/ipv4/ip_fw.c | port = (p5<<8) | p6; |
port | 684 | net/ipv4/ip_fw.c | printk("PORT %lX:%X detected\n",from,port); |
port | 694 | net/ipv4/ip_fw.c | ms->sport = htons(port); /* derived from PORT cmd */ |
port | 709 | net/ipv4/ip_fw.c | port = ntohs(ms->mport); |
port | 712 | net/ipv4/ip_fw.c | port>>8&255,port&255); |
port | 251 | net/ipx/af_ipx.c | ipxitf_find_socket(ipx_interface *intrfc, unsigned short port) |
port | 256 | net/ipx/af_ipx.c | (s != NULL) && (s->protinfo.af_ipx.port != port); |
port | 267 | net/ipx/af_ipx.c | unsigned char *node, unsigned short port) |
port | 273 | net/ipx/af_ipx.c | if ( (s->protinfo.af_ipx.port == port) |
port | 300 | net/ipx/af_ipx.c | s->protinfo.af_ipx.port = 0; |
port | 383 | net/ipx/af_ipx.c | if ( (s->protinfo.af_ipx.port == ipx->ipx_dest.sock) |
port | 1209 | net/ipx/af_ipx.c | if ((err = ntohs(sk->protinfo.af_ipx.port)) == 0x453 || err == 0x452) |
port | 1221 | net/ipx/af_ipx.c | ipx->ipx_source.sock = sk->protinfo.af_ipx.port; |
port | 1395 | net/ipx/af_ipx.c | htons(s->protinfo.af_ipx.port)); |
port | 1399 | net/ipx/af_ipx.c | htons(s->protinfo.af_ipx.port)); |
port | 1629 | net/ipx/af_ipx.c | sk->protinfo.af_ipx.port = 0; |
port | 1711 | net/ipx/af_ipx.c | sk->protinfo.af_ipx.port=addr->sipx_port; |
port | 1737 | net/ipx/af_ipx.c | sk->protinfo.af_ipx.port) != NULL) |
port | 1797 | net/ipx/af_ipx.c | if(sk->protinfo.af_ipx.port==0) |
port | 1870 | net/ipx/af_ipx.c | sipx.sipx_port = sk->protinfo.af_ipx.port; |
port | 1989 | net/ipx/af_ipx.c | if(sk->protinfo.af_ipx.port == 0) |