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 | 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 | 350 | drivers/block/ide.c | static inline void do_vlb_sync (unsigned short port) { |
port | 351 | drivers/block/ide.c | (void) inb (port); |
port | 352 | drivers/block/ide.c | (void) inb (port); |
port | 353 | drivers/block/ide.c | (void) inb (port); |
port | 45 | drivers/block/umc8672.c | void out_umc (char port,char wert) |
port | 47 | drivers/block/umc8672.c | outb_p (port,0x108); |
port | 51 | drivers/block/umc8672.c | byte in_umc (char port) |
port | 53 | 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 | 1092 | drivers/cdrom/mcdx.c | stuffp->wreg_data = stuffp->rreg_data = port(mcdx_drive_map[drive]); |
port | 3285 | drivers/cdrom/sbpcd.c | static int check_card(int port) |
port | 3295 | drivers/cdrom/sbpcd.c | save_port0=inb(port+0); |
port | 3296 | drivers/cdrom/sbpcd.c | save_port3=inb(port+3); |
port | 3300 | drivers/cdrom/sbpcd.c | OUT(port+3,j) ; /* enable drive #j */ |
port | 3301 | drivers/cdrom/sbpcd.c | OUT(port+0,CMD0_PATH_CHECK); |
port | 3302 | drivers/cdrom/sbpcd.c | for (i=10;i>0;i--) OUT(port+0,0); |
port | 3308 | drivers/cdrom/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
port | 3309 | drivers/cdrom/sbpcd.c | response[k]=inb(port+0); |
port | 3317 | drivers/cdrom/sbpcd.c | OUT(port+0,CMD0_PATH_CHECK); |
port | 3318 | drivers/cdrom/sbpcd.c | for (i=10;i>0;i--) OUT(port+0,0); |
port | 3324 | drivers/cdrom/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
port | 3325 | drivers/cdrom/sbpcd.c | response[k]=inb(port+0); |
port | 3340 | drivers/cdrom/sbpcd.c | OUT(port+3,j) ; /* enable drive #j */ |
port | 3341 | drivers/cdrom/sbpcd.c | OUT(port+0,CMD2_READ_VER); |
port | 3342 | drivers/cdrom/sbpcd.c | for (i=10;i>0;i--) OUT(port+0,0); |
port | 3348 | drivers/cdrom/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
port | 3349 | drivers/cdrom/sbpcd.c | response[k]=inb(port+0); |
port | 3358 | drivers/cdrom/sbpcd.c | OUT(port+0,CMD2_READ_VER); |
port | 3359 | drivers/cdrom/sbpcd.c | for (i=10;i>0;i--) OUT(port+0,0); |
port | 3365 | drivers/cdrom/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
port | 3366 | drivers/cdrom/sbpcd.c | response[k]=inb(port+0); |
port | 3379 | drivers/cdrom/sbpcd.c | OUT(port+0,save_port0); |
port | 3380 | drivers/cdrom/sbpcd.c | OUT(port+3,save_port3); |
port | 1823 | drivers/char/cyclades.c | tmp.port = info->card * 0x100 + info->line - cinfo->first_line; |
port | 2767 | drivers/char/cyclades.c | int board,port,i; |
port | 2861 | drivers/char/cyclades.c | for (port = cinfo->first_line ; |
port | 2862 | drivers/char/cyclades.c | port < cinfo->first_line + 4*cinfo->num_chips ; |
port | 2863 | drivers/char/cyclades.c | port++) |
port | 2865 | drivers/char/cyclades.c | info = &cy_port[port]; |
port | 2869 | drivers/char/cyclades.c | info->line = port; |
port | 1737 | drivers/char/istallion.c | sio.port = stli_brdconf[portp->brdnr].ioaddr1; |
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 | 128 | drivers/char/serial.c | #define C_P(card,port) (((card)<<6|(port)<<3) + 1) |
port | 240 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
port | 241 | drivers/char/serial.c | return inb(info->port+1); |
port | 244 | drivers/char/serial.c | return inb(info->port + offset); |
port | 251 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
port | 252 | drivers/char/serial.c | return inb_p(info->port+1); |
port | 256 | drivers/char/serial.c | return inb(info->port + offset); |
port | 258 | drivers/char/serial.c | return inb_p(info->port + offset); |
port | 266 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
port | 267 | drivers/char/serial.c | outb(value, info->port+1); |
port | 270 | drivers/char/serial.c | outb(value, info->port+offset); |
port | 278 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
port | 279 | drivers/char/serial.c | outb_p(value, info->port+1); |
port | 283 | drivers/char/serial.c | outb(value, info->port+offset); |
port | 285 | drivers/char/serial.c | outb_p(value, info->port+offset); |
port | 894 | drivers/char/serial.c | if (!info->port || !info->type) { |
port | 1004 | drivers/char/serial.c | ICP = (info->port & 0xFE0) | 0x01F; |
port | 1102 | drivers/char/serial.c | (void) inb((info->port & 0xFE0) | 0x01F); |
port | 1129 | drivers/char/serial.c | unsigned short port; |
port | 1137 | drivers/char/serial.c | if (!(port = info->port)) |
port | 1467 | drivers/char/serial.c | tmp.port = info->port; |
port | 1493 | drivers/char/serial.c | change_port = (new_serial.port != info->port) || (new_serial.hub6 != info->hub6); |
port | 1512 | drivers/char/serial.c | if ((new_serial.irq > 15) || (new_serial.port > 0xffff) || |
port | 1521 | drivers/char/serial.c | (rs_table[i].port == new_serial.port) && |
port | 1542 | drivers/char/serial.c | release_region(info->port,8); |
port | 1550 | drivers/char/serial.c | info->port = new_serial.port; |
port | 1554 | drivers/char/serial.c | request_region(info->port,8,"serial(set)"); |
port | 1558 | drivers/char/serial.c | if (!info->port || !info->type) |
port | 1691 | drivers/char/serial.c | if (!info->port) |
port | 2427 | drivers/char/serial.c | unsigned short ICP=0, port = info->port; |
port | 2440 | drivers/char/serial.c | ICP = (port & 0xFE0) | 0x01F; |
port | 2481 | drivers/char/serial.c | unsigned port = info->port; |
port | 2487 | drivers/char/serial.c | if (!port) |
port | 2521 | drivers/char/serial.c | unsigned port = info->port; |
port | 2526 | drivers/char/serial.c | if (!port) |
port | 2620 | drivers/char/serial.c | request_region(info->port,8,"serial(auto)"); |
port | 2748 | drivers/char/serial.c | info->port, info->irq); |
port | 2786 | drivers/char/serial.c | if (rs_table[i].port == req->port) |
port | 2803 | drivers/char/serial.c | "device already open\n", i, req->port, req->irq); |
port | 2807 | drivers/char/serial.c | info->port = req->port; |
port | 2815 | drivers/char/serial.c | info->port, info->irq); |
port | 1113 | drivers/char/stallion.c | sio.port = portp->ioaddr; |
port | 672 | drivers/net/arcnet.c | int *port, ports[] = {/* first the suggested values! */ |
port | 730 | drivers/net/arcnet.c | else for (port = &ports[0]; *port; port++) |
port | 732 | drivers/net/arcnet.c | int ioaddr = *port; |
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 | 311 | drivers/net/eexpress.c | int *port, ports[] = {0x300, 0x270, 0x320, 0x340, 0}; |
port | 319 | drivers/net/eexpress.c | for (port = &ports[0]; *port; port++) { |
port | 320 | drivers/net/eexpress.c | short id_addr = *port + ID_PORT; |
port | 334 | drivers/net/eexpress.c | && eexp_probe1(dev, *port) == 0) |
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 | 320 | drivers/net/ni52.c | int *port, ports[] = {0x300, 0x280, 0x360 , 0x320 , 0x340, 0}; |
port | 330 | drivers/net/ni52.c | for (port = ports; *port; port++) { |
port | 331 | drivers/net/ni52.c | int ioaddr = *port; |
port | 180 | drivers/net/ni65.c | int *port, ports[] = {0x300,0x320,0x340,0x360, 0}; |
port | 188 | drivers/net/ni65.c | for (port = ports; *port; port++) |
port | 190 | 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 | 217 | drivers/net/sk_g16.c | #define SK_PORT (board->port) /* Control, Status register */ |
port | 419 | drivers/net/sk_g16.c | unsigned volatile char port; /* Statusregister and Controlregister */ |
port | 553 | drivers/net/sk_g16.c | int *port, ports[] = SK_IO_PORTS; /* SK_G16 supported ports */ |
port | 580 | drivers/net/sk_g16.c | for (port = &ports[0]; *port; port++) |
port | 582 | drivers/net/sk_g16.c | ioaddr = *port; /* we need ioaddr for accessing POS regs */ |
port | 306 | drivers/scsi/aha152x.h | unsigned short port; |
port | 318 | drivers/scsi/aha152x.h | #define cf_port port |
port | 127 | drivers/scsi/aha1542.c | #define WAIT(port, mask, allof, noneof) \ |
port | 131 | drivers/scsi/aha1542.c | WAITbits = inb(port) & (mask); \ |
port | 140 | drivers/scsi/aha1542.c | #define WAITd(port, mask, allof, noneof, timeout) \ |
port | 144 | drivers/scsi/aha1542.c | WAITbits = inb(port) & (mask); \ |
port | 499 | drivers/scsi/fdomain.c | static int fdomain_is_valid_port( int port ) |
port | 503 | drivers/scsi/fdomain.c | inb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) ); |
port | 512 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */ |
port | 513 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0x27) return 0; |
port | 514 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x61) return 0; |
port | 517 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x60) return 0; |
port | 527 | drivers/scsi/fdomain.c | outb( 0x80, port + IO_Control ); |
port | 528 | drivers/scsi/fdomain.c | if ((inb( port + Configuration2 ) & 0x80) == 0x80) { |
port | 529 | drivers/scsi/fdomain.c | outb( 0x00, port + IO_Control ); |
port | 530 | drivers/scsi/fdomain.c | if ((inb( port + Configuration2 ) & 0x80) == 0x00) { |
port | 541 | drivers/scsi/fdomain.c | if (inb( port + Configuration2 ) & 0x02) { |
port | 78 | drivers/scsi/g_NCR5380.c | int port; |
port | 106 | drivers/scsi/g_NCR5380.c | overrides[commandline_current].port = ints[1]; |
port | 133 | drivers/scsi/g_NCR5380.c | if (!(overrides[current_override].port)) |
port | 137 | drivers/scsi/g_NCR5380.c | instance->io_port = overrides[current_override].port; |
port | 69 | drivers/scsi/g_NCR5380.h | int port |
port | 72 | drivers/scsi/g_NCR5380.h | register int port |
port | 75 | drivers/scsi/g_NCR5380.h | port = (instance)->io_port |
port | 77 | drivers/scsi/g_NCR5380.h | #define NCR5380_read(reg) (inb(port + (reg))) |
port | 78 | drivers/scsi/g_NCR5380.h | #define NCR5380_write(reg, value) (outb((value), (port + (reg)))) |
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 | 365 | drivers/sound/aedsp16.c | WaitForDataAvail (int port) |
port | 372 | drivers/sound/aedsp16.c | ret = inb (port + DSP_DATAVAIL); |
port | 386 | drivers/sound/aedsp16.c | ReadData (int port) |
port | 388 | drivers/sound/aedsp16.c | if (WaitForDataAvail (port)) |
port | 390 | drivers/sound/aedsp16.c | return inb (port + DSP_READ); |
port | 394 | drivers/sound/aedsp16.c | CheckDSPOkay (int port) |
port | 396 | drivers/sound/aedsp16.c | return ((ReadData (port) == 0xaa) ? 0 : -1); |
port | 400 | drivers/sound/aedsp16.c | ResetBoard (int port) |
port | 405 | drivers/sound/aedsp16.c | outb (1, (port + DSP_RESET)); |
port | 407 | drivers/sound/aedsp16.c | outb (0, (port + DSP_RESET)); |
port | 410 | drivers/sound/aedsp16.c | return CheckDSPOkay (port); |
port | 414 | drivers/sound/aedsp16.c | WriteDSPCommand (int port, int cmd) |
port | 421 | drivers/sound/aedsp16.c | ret = inb (port + DSP_STATUS); |
port | 427 | drivers/sound/aedsp16.c | outb (cmd, port + DSP_COMMAND); |
port | 438 | drivers/sound/aedsp16.c | InitMSS (int port) |
port | 443 | drivers/sound/aedsp16.c | if (WriteDSPCommand (port, CMD6)) |
port | 455 | drivers/sound/aedsp16.c | SetUpBoard (int port) |
port | 470 | drivers/sound/aedsp16.c | while (WaitForDataAvail (port) && loop--); |
port | 473 | drivers/sound/aedsp16.c | if (CheckDSPOkay (port)) |
port | 479 | drivers/sound/aedsp16.c | if (ReadData (port) == -1) |
port | 507 | drivers/sound/aedsp16.c | GetCardVersion (int port) |
port | 515 | drivers/sound/aedsp16.c | if ((ret = ReadData (port)) == -1) |
port | 529 | drivers/sound/aedsp16.c | GetCardName (int port) |
port | 536 | drivers/sound/aedsp16.c | if ((ret = ReadData (port)) == -1) |
port | 110 | drivers/sound/mad16.c | mad_read (int port) |
port | 130 | drivers/sound/mad16.c | tmp = inb (port); |
port | 137 | drivers/sound/mad16.c | mad_write (int port, int value) |
port | 156 | drivers/sound/mad16.c | outb ((unsigned char) (value & 0xff), port); |
port | 58 | drivers/sound/sb_mixer.c | sb_setmixer (unsigned int port, unsigned int value) |
port | 64 | drivers/sound/sb_mixer.c | outb ((unsigned char) (port & 0xff), MIXER_ADDR); /* |
port | 74 | drivers/sound/sb_mixer.c | sb_getmixer (unsigned int port) |
port | 81 | drivers/sound/sb_mixer.c | outb ((unsigned char) (port & 0xff), MIXER_ADDR); /* |
port | 122 | drivers/sound/sound_calls.h | void sb_setmixer (unsigned int port, unsigned int value); |
port | 123 | drivers/sound/sound_calls.h | int sb_getmixer (unsigned int port); |
port | 753 | fs/nfs/nfsroot.c | short port = STARTPORT; |
port | 759 | fs/nfs/nfsroot.c | sin->sin_port = htons(port++); |
port | 760 | fs/nfs/nfsroot.c | if (port > ENDPORT) { |
port | 761 | fs/nfs/nfsroot.c | port = STARTPORT; |
port | 773 | fs/nfs/nfsroot.c | printk(KERN_NOTICE "NFS: Binding to listening port %d\n", port); |
port | 884 | fs/nfs/nfsroot.c | int port; |
port | 887 | fs/nfs/nfsroot.c | if ((port = root_nfs_get_port(NFS_NFS_PROGRAM, NFS_NFS_VERSION)) < 0) { |
port | 889 | fs/nfs/nfsroot.c | port = NFS_NFS_PORT; |
port | 891 | fs/nfs/nfsroot.c | nfs_port = port; |
port | 893 | fs/nfs/nfsroot.c | printk(KERN_NOTICE "NFS: Portmapper on server returned %d as nfsd port\n", port); |
port | 896 | fs/nfs/nfsroot.c | if ((port = root_nfs_get_port(NFS_MOUNT_PROGRAM, NFS_MOUNT_VERSION)) < 0) { |
port | 898 | fs/nfs/nfsroot.c | port = NFS_MOUNT_PORT; |
port | 900 | fs/nfs/nfsroot.c | server.sin_port = htons(port); |
port | 902 | fs/nfs/nfsroot.c | printk(KERN_NOTICE "NFS: Portmapper on server returned %d as mountd port\n", 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 | 89 | include/asm-alpha/io.h | extern unsigned int _inb (unsigned long port); |
port | 90 | include/asm-alpha/io.h | extern unsigned int _inw (unsigned long port); |
port | 91 | include/asm-alpha/io.h | extern unsigned int _inl (unsigned long port); |
port | 92 | include/asm-alpha/io.h | extern void _outb (unsigned char b,unsigned long port); |
port | 93 | include/asm-alpha/io.h | extern void _outw (unsigned short w,unsigned long port); |
port | 94 | include/asm-alpha/io.h | extern void _outl (unsigned int l,unsigned long port); |
port | 196 | include/asm-alpha/io.h | extern void insb (unsigned long port, void *dst, unsigned long count); |
port | 197 | include/asm-alpha/io.h | extern void insw (unsigned long port, void *dst, unsigned long count); |
port | 198 | include/asm-alpha/io.h | extern void insl (unsigned long port, void *dst, unsigned long count); |
port | 199 | include/asm-alpha/io.h | extern void outsb (unsigned long port, const void *src, unsigned long count); |
port | 200 | include/asm-alpha/io.h | extern void outsw (unsigned long port, const void *src, unsigned long count); |
port | 201 | 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 | 133 | 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 | 1248 | net/core/dev.c | ifr.ifr_map.port=dev->if_port; |
port | 152 | net/ipv4/ip_fw.c | extern inline int port_match(unsigned short *portptr,int nports,unsigned short port,int range_flag) |
port | 158 | net/ipv4/ip_fw.c | if ( portptr[0] <= port && port <= portptr[1] ) |
port | 167 | net/ipv4/ip_fw.c | if ( *portptr++ == port ) |
port | 602 | net/ipv4/ip_fw.c | unsigned short port; |
port | 663 | net/ipv4/ip_fw.c | port = (p5<<8) | p6; |
port | 665 | net/ipv4/ip_fw.c | printk("PORT %lX:%X detected\n",from,port); |
port | 675 | net/ipv4/ip_fw.c | ms->sport = htons(port); /* derived from PORT cmd */ |
port | 690 | net/ipv4/ip_fw.c | port = ntohs(ms->mport); |
port | 693 | net/ipv4/ip_fw.c | port>>8&255,port&255); |
port | 249 | net/ipx/af_ipx.c | ipxitf_find_socket(ipx_interface *intrfc, unsigned short port) |
port | 254 | net/ipx/af_ipx.c | (s != NULL) && (s->ipx_port != port); |