tag | line | file | source code |
port | 226 | drivers/block/hd.c | unsigned short port; |
port | 240 | drivers/block/hd.c | port=HD_DATA; |
port | 241 | drivers/block/hd.c | outb_p(hd_info[drive].wpcom>>2,++port); |
port | 242 | drivers/block/hd.c | outb_p(nsect,++port); |
port | 243 | drivers/block/hd.c | outb_p(sect,++port); |
port | 244 | drivers/block/hd.c | outb_p(cyl,++port); |
port | 245 | drivers/block/hd.c | outb_p(cyl>>8,++port); |
port | 246 | drivers/block/hd.c | outb_p(0xA0|(drive<<4)|head,++port); |
port | 247 | drivers/block/hd.c | outb_p(cmd,++port); |
port | 435 | drivers/block/xd.c | static inline u_char xd_waitport (u_short port,u_char flags,u_char mask,u_long timeout) |
port | 439 | drivers/block/xd.c | while (((inb(port) & mask) != flags) && (jiffies < expiry)) |
port | 1770 | drivers/char/cyclades.c | tmp.port = info->card * 0x100 + info->line - cinfo->first_line; |
port | 127 | drivers/char/serial.c | #define C_P(card,port) (((card)<<6|(port)<<3) + 1) |
port | 239 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
port | 240 | drivers/char/serial.c | return inb(info->port+1); |
port | 243 | drivers/char/serial.c | return inb(info->port + offset); |
port | 250 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
port | 251 | drivers/char/serial.c | return inb_p(info->port+1); |
port | 255 | drivers/char/serial.c | return inb(info->port + offset); |
port | 257 | drivers/char/serial.c | return inb_p(info->port + offset); |
port | 265 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
port | 266 | drivers/char/serial.c | outb(value, info->port+1); |
port | 269 | drivers/char/serial.c | outb(value, info->port+offset); |
port | 277 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
port | 278 | drivers/char/serial.c | outb_p(value, info->port+1); |
port | 282 | drivers/char/serial.c | outb(value, info->port+offset); |
port | 284 | drivers/char/serial.c | outb_p(value, info->port+offset); |
port | 863 | drivers/char/serial.c | if (!info->port || !info->type) { |
port | 973 | drivers/char/serial.c | ICP = (info->port & 0xFE0) | 0x01F; |
port | 1071 | drivers/char/serial.c | (void) inb((info->port & 0xFE0) | 0x01F); |
port | 1098 | drivers/char/serial.c | unsigned short port; |
port | 1106 | drivers/char/serial.c | if (!(port = info->port)) |
port | 1426 | drivers/char/serial.c | tmp.port = info->port; |
port | 1452 | drivers/char/serial.c | change_port = (new_serial.port != info->port) || (new_serial.hub6 != info->hub6); |
port | 1471 | drivers/char/serial.c | if ((new_serial.irq > 15) || (new_serial.port > 0xffff) || |
port | 1480 | drivers/char/serial.c | (rs_table[i].port == new_serial.port) && |
port | 1501 | drivers/char/serial.c | release_region(info->port,8); |
port | 1509 | drivers/char/serial.c | info->port = new_serial.port; |
port | 1513 | drivers/char/serial.c | request_region(info->port,8,"serial(set)"); |
port | 1517 | drivers/char/serial.c | if (!info->port || !info->type) |
port | 1650 | drivers/char/serial.c | if (!info->port) |
port | 2317 | drivers/char/serial.c | unsigned short ICP=0, port = info->port; |
port | 2330 | drivers/char/serial.c | ICP = (port & 0xFE0) | 0x01F; |
port | 2371 | drivers/char/serial.c | unsigned port = info->port; |
port | 2377 | drivers/char/serial.c | if (!port) |
port | 2411 | drivers/char/serial.c | unsigned port = info->port; |
port | 2416 | drivers/char/serial.c | if (!port) |
port | 2510 | drivers/char/serial.c | request_region(info->port,8,"serial(auto)"); |
port | 2633 | drivers/char/serial.c | info->port, info->irq); |
port | 2671 | drivers/char/serial.c | if (rs_table[i].port == req->port) |
port | 2688 | drivers/char/serial.c | "device already open\n", i, req->port, req->irq); |
port | 2692 | drivers/char/serial.c | info->port = req->port; |
port | 2700 | drivers/char/serial.c | info->port, info->irq); |
port | 174 | drivers/net/3c505.c | #define INB(port) inb((unsigned short)(port)) |
port | 175 | drivers/net/3c505.c | #define OUTB(val,port) outb((unsigned char)(val),(unsigned short)(port)); |
port | 420 | drivers/net/arcnet.c | int *port, ports[] = {/* first the suggested values! */ |
port | 466 | drivers/net/arcnet.c | else for (port = &ports[0]; *port; port++) |
port | 468 | 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 | 1319 | drivers/net/depca.c | int *port, ports[] = DEPCA_IO_PORTS; |
port | 1322 | drivers/net/depca.c | for (status = -ENODEV, port = &ports[0]; |
port | 1323 | drivers/net/depca.c | *port && (num_depcas < MAX_NUM_DEPCAS); port++) { |
port | 1324 | drivers/net/depca.c | int ioaddr = *port; |
port | 67 | drivers/net/e2100.c | extern inline void mem_on(short port, volatile char *mem_base, |
port | 73 | drivers/net/e2100.c | inb(port + E21_MEM_ENABLE); |
port | 74 | drivers/net/e2100.c | outb(E21_MEM_ON, port + E21_MEM_ENABLE + E21_MEM_ON); |
port | 77 | drivers/net/e2100.c | extern inline void mem_off(short port) |
port | 79 | drivers/net/e2100.c | inb(port + E21_MEM_ENABLE); |
port | 80 | drivers/net/e2100.c | outb(0x00, port + E21_MEM_ENABLE); |
port | 113 | drivers/net/e2100.c | int *port; |
port | 121 | drivers/net/e2100.c | for (port = e21_probe_list; *port; port++) { |
port | 122 | drivers/net/e2100.c | if (check_region(*port, E21_IO_EXTENT)) |
port | 124 | drivers/net/e2100.c | if (e21_probe1(dev, *port) == 0) |
port | 315 | drivers/net/eexpress.c | int *port, ports[] = {0x300, 0x270, 0x320, 0x340, 0}; |
port | 323 | drivers/net/eexpress.c | for (port = &ports[0]; *port; port++) { |
port | 324 | drivers/net/eexpress.c | short id_addr = *port + ID_PORT; |
port | 338 | drivers/net/eexpress.c | && eexp_probe1(dev, *port) == 0) |
port | 256 | drivers/net/lance.c | int *port; |
port | 298 | drivers/net/lance.c | for (port = lance_portlist; *port; port++) { |
port | 299 | drivers/net/lance.c | int ioaddr = *port; |
port | 215 | drivers/net/net_init.c | if (map->port != (u_char)(-1)) |
port | 216 | drivers/net/net_init.c | dev->if_port = map->port; |
port | 321 | drivers/net/ni52.c | int *port, ports[] = {0x300, 0x280, 0x360 , 0x320 , 0x340, 0}; |
port | 331 | drivers/net/ni52.c | for (port = ports; *port; port++) { |
port | 332 | 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 | 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 | 555 | drivers/net/sk_g16.c | int *port, ports[] = SK_IO_PORTS; /* SK_G16 supported ports */ |
port | 582 | drivers/net/sk_g16.c | for (port = &ports[0]; *port; port++) |
port | 584 | drivers/net/sk_g16.c | ioaddr = *port; /* we need ioaddr for accessing POS regs */ |
port | 294 | drivers/scsi/aha152x.h | unsigned short port; |
port | 306 | drivers/scsi/aha152x.h | #define cf_port port |
port | 119 | drivers/scsi/aha1542.c | #define WAIT(port, mask, allof, noneof) \ |
port | 123 | drivers/scsi/aha1542.c | WAITbits = inb(port) & (mask); \ |
port | 132 | drivers/scsi/aha1542.c | #define WAITd(port, mask, allof, noneof, timeout) \ |
port | 136 | drivers/scsi/aha1542.c | WAITbits = inb(port) & (mask); \ |
port | 198 | drivers/scsi/buslogic.c | #define WAIT(port, allof, noneof) \ |
port | 199 | drivers/scsi/buslogic.c | CHECK(wait(port, allof, noneof, WAITNEXTTIMEOUT, FALSE)) |
port | 200 | drivers/scsi/buslogic.c | #define WAIT_WHILE(port, mask) WAIT(port, 0, mask) |
port | 201 | drivers/scsi/buslogic.c | #define WAIT_UNTIL(port, mask) WAIT(port, mask, 0) |
port | 202 | drivers/scsi/buslogic.c | #define WAIT_FAST(port, allof, noneof) \ |
port | 203 | drivers/scsi/buslogic.c | CHECK(wait(port, allof, noneof, 100, TRUE)) |
port | 204 | drivers/scsi/buslogic.c | #define WAIT_WHILE_FAST(port, mask) WAIT_FAST(port, 0, mask) |
port | 205 | drivers/scsi/buslogic.c | #define WAIT_UNTIL_FAST(port, mask) WAIT_FAST(port, mask, 0) |
port | 212 | drivers/scsi/buslogic.c | static __inline__ int wait(unsigned short port, |
port | 219 | drivers/scsi/buslogic.c | bits = inb(port); |
port | 437 | drivers/scsi/fdomain.c | static int fdomain_is_valid_port( int port ) |
port | 443 | drivers/scsi/fdomain.c | inb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) ); |
port | 452 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */ |
port | 453 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0x27) return 0; |
port | 454 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x61) return 0; |
port | 457 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x60) return 0; |
port | 467 | drivers/scsi/fdomain.c | outb( 0x80, port + IO_Control ); |
port | 468 | drivers/scsi/fdomain.c | if (inb( port + Configuration2 ) & 0x80 == 0x80) { |
port | 469 | drivers/scsi/fdomain.c | outb( 0x00, port + IO_Control ); |
port | 470 | drivers/scsi/fdomain.c | if (inb( port + Configuration2 ) & 0x80 == 0x00) { |
port | 481 | drivers/scsi/fdomain.c | if (inb( port + Configuration2 ) & 0x02) { |
port | 495 | drivers/scsi/fdomain.c | options = inb( port + Configuration1 ); |
port | 72 | drivers/scsi/g_NCR5380.c | int port; |
port | 100 | drivers/scsi/g_NCR5380.c | overrides[commandline_current].port = ints[1]; |
port | 125 | drivers/scsi/g_NCR5380.c | if (!(overrides[current_override].port)) |
port | 129 | drivers/scsi/g_NCR5380.c | instance->io_port = overrides[current_override].port; |
port | 65 | drivers/scsi/g_NCR5380.h | int port |
port | 68 | drivers/scsi/g_NCR5380.h | register int port |
port | 71 | drivers/scsi/g_NCR5380.h | port = (instance)->io_port |
port | 73 | drivers/scsi/g_NCR5380.h | #define NCR5380_read(reg) (inb(port + (reg))) |
port | 74 | drivers/scsi/g_NCR5380.h | #define NCR5380_write(reg, value) (outb((value), (port + (reg)))) |
port | 85 | drivers/scsi/in2000.c | inline static unsigned short inw( unsigned short port ) |
port | 90 | drivers/scsi/in2000.c | :"=a" (_v):"d" ((unsigned short) port)); |
port | 96 | drivers/scsi/in2000.c | inline static void outw( unsigned short value, unsigned short port ) |
port | 101 | drivers/scsi/in2000.c | "d" ((unsigned short) port)); |
port | 107 | drivers/scsi/in2000.c | #define port_read(port,buf,nr) \ |
port | 108 | drivers/scsi/in2000.c | __asm__("cld;rep;insw": :"d" (port),"D" (buf),"c" (nr):"cx","di") |
port | 110 | drivers/scsi/in2000.c | #define port_write(port,buf,nr) \ |
port | 111 | drivers/scsi/in2000.c | __asm__("cld;rep;outsw": :"d" (port),"S" (buf),"c" (nr):"cx","si") |
port | 184 | drivers/scsi/pas16.c | void enable_board( int board_num, unsigned short port ) |
port | 187 | drivers/scsi/pas16.c | outb( port >> 2, MASTER_ADDRESS_PTR ); |
port | 511 | drivers/scsi/qlogic.c | void qlogic_preset(int port, int irq) |
port | 513 | drivers/scsi/qlogic.c | qbase=port; |
port | 202 | drivers/scsi/ultrastor.c | #define U14F_PRODUCT_ID(port) ((port) + 0x4) |
port | 203 | drivers/scsi/ultrastor.c | #define CONFIG(port) ((port) + 0x6) |
port | 206 | drivers/scsi/ultrastor.c | #define LCL_DOORBELL_MASK(port) ((port) + 0x0) |
port | 207 | drivers/scsi/ultrastor.c | #define LCL_DOORBELL_INTR(port) ((port) + 0x1) |
port | 208 | drivers/scsi/ultrastor.c | #define SYS_DOORBELL_MASK(port) ((port) + 0x2) |
port | 209 | drivers/scsi/ultrastor.c | #define SYS_DOORBELL_INTR(port) ((port) + 0x3) |
port | 547 | drivers/scsi/wd7000.c | #define WAIT(port, mask, allof, noneof) \ |
port | 551 | drivers/scsi/wd7000.c | WAITbits = inb(port) & (mask); \ |
port | 104 | drivers/sound/pss.c | pss_outpw (unsigned short port, unsigned short value) |
port | 108 | drivers/sound/pss.c | :"a" (value), "d" (port)); |
port | 112 | drivers/sound/pss.c | pss_inpw (unsigned short port) |
port | 116 | drivers/sound/pss.c | :"=a" (_v):"d" (port), "0" (0)); |
port | 56 | drivers/sound/sb_mixer.c | sb_setmixer (unsigned int port, unsigned int value) |
port | 61 | drivers/sound/sb_mixer.c | OUTB ((unsigned char) (port & 0xff), MIXER_ADDR); /* |
port | 71 | drivers/sound/sb_mixer.c | sb_getmixer (unsigned int port) |
port | 77 | drivers/sound/sb_mixer.c | OUTB ((unsigned char) (port & 0xff), MIXER_ADDR); /* |
port | 140 | drivers/sound/sound_calls.h | void sb_setmixer (unsigned int port, unsigned int value); |
port | 141 | drivers/sound/sound_calls.h | int sb_getmixer (unsigned int port); |
port | 45 | include/asm-i386/io.h | extern inline void __out##s(unsigned x value, unsigned short port) { |
port | 51 | include/asm-i386/io.h | __OUT1(s,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); } \ |
port | 52 | include/asm-i386/io.h | __OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "i" (port)); } \ |
port | 53 | include/asm-i386/io.h | __OUT1(s##_p,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); SLOW_DOWN_IO; } \ |
port | 54 | include/asm-i386/io.h | __OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "i" (port)); SLOW_DOWN_IO; } |
port | 57 | include/asm-i386/io.h | extern inline unsigned int __in##s(unsigned short port) { unsigned int _v; |
port | 63 | include/asm-i386/io.h | __IN1(s) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); return _v; } \ |
port | 64 | include/asm-i386/io.h | __IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); return _v; } \ |
port | 65 | include/asm-i386/io.h | __IN1(s##_p) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); SLOW_DOWN_IO; return _v; } \ |
port | 66 | include/asm-i386/io.h | __IN1(s##c_p) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); SLOW_DOWN_IO; return _v; } |
port | 69 | include/asm-i386/io.h | extern inline void ins##s(unsigned short port, void * addr, unsigned long count) \ |
port | 71 | include/asm-i386/io.h | : "=D" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
port | 74 | include/asm-i386/io.h | extern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \ |
port | 76 | include/asm-i386/io.h | : "=S" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
port | 99 | include/asm-i386/io.h | #define outb(val,port) \ |
port | 100 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 101 | include/asm-i386/io.h | __outbc((val),(port)) : \ |
port | 102 | include/asm-i386/io.h | __outb((val),(port))) |
port | 104 | include/asm-i386/io.h | #define inb(port) \ |
port | 105 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 106 | include/asm-i386/io.h | __inbc(port) : \ |
port | 107 | include/asm-i386/io.h | __inb(port)) |
port | 109 | include/asm-i386/io.h | #define outb_p(val,port) \ |
port | 110 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 111 | include/asm-i386/io.h | __outbc_p((val),(port)) : \ |
port | 112 | include/asm-i386/io.h | __outb_p((val),(port))) |
port | 114 | include/asm-i386/io.h | #define inb_p(port) \ |
port | 115 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 116 | include/asm-i386/io.h | __inbc_p(port) : \ |
port | 117 | include/asm-i386/io.h | __inb_p(port)) |
port | 119 | include/asm-i386/io.h | #define outw(val,port) \ |
port | 120 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 121 | include/asm-i386/io.h | __outwc((val),(port)) : \ |
port | 122 | include/asm-i386/io.h | __outw((val),(port))) |
port | 124 | include/asm-i386/io.h | #define inw(port) \ |
port | 125 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 126 | include/asm-i386/io.h | __inwc(port) : \ |
port | 127 | include/asm-i386/io.h | __inw(port)) |
port | 129 | include/asm-i386/io.h | #define outw_p(val,port) \ |
port | 130 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 131 | include/asm-i386/io.h | __outwc_p((val),(port)) : \ |
port | 132 | include/asm-i386/io.h | __outw_p((val),(port))) |
port | 134 | include/asm-i386/io.h | #define inw_p(port) \ |
port | 135 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 136 | include/asm-i386/io.h | __inwc_p(port) : \ |
port | 137 | include/asm-i386/io.h | __inw_p(port)) |
port | 139 | include/asm-i386/io.h | #define outl(val,port) \ |
port | 140 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 141 | include/asm-i386/io.h | __outlc((val),(port)) : \ |
port | 142 | include/asm-i386/io.h | __outl((val),(port))) |
port | 144 | include/asm-i386/io.h | #define inl(port) \ |
port | 145 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 146 | include/asm-i386/io.h | __inlc(port) : \ |
port | 147 | include/asm-i386/io.h | __inl(port)) |
port | 149 | include/asm-i386/io.h | #define outl_p(val,port) \ |
port | 150 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 151 | include/asm-i386/io.h | __outlc_p((val),(port)) : \ |
port | 152 | include/asm-i386/io.h | __outl_p((val),(port))) |
port | 154 | include/asm-i386/io.h | #define inl_p(port) \ |
port | 155 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 156 | include/asm-i386/io.h | __inlc_p(port) : \ |
port | 157 | include/asm-i386/io.h | __inl_p(port)) |
port | 54 | include/asm-mips/io.h | extern inline void __out##s(unsigned int value, unsigned int port) { |
port | 60 | include/asm-mips/io.h | __OUT1(s) __OUT2(m) : : "r" (value), "i" (0), "r" (PORT_BASE+port)); } \ |
port | 61 | include/asm-mips/io.h | __OUT1(s##c) __OUT2(m) : : "r" (value), "i" (port), "r" (PORT_BASE)); } \ |
port | 62 | include/asm-mips/io.h | __OUT1(s##_p) __OUT2(m) : : "r" (value), "i" (0), "r" (PORT_BASE+port)); \ |
port | 64 | include/asm-mips/io.h | __OUT1(s##c_p) __OUT2(m) : : "r" (value), "i" (port), "r" (PORT_BASE)); \ |
port | 68 | include/asm-mips/io.h | extern inline unsigned int __in##s(unsigned int port) { unsigned int _v; |
port | 74 | include/asm-mips/io.h | __IN1(s) __IN2(m) STR(FILL_LDS) : "=r" (_v) : "i" (0), "r" (PORT_BASE+port)); return _v; } \ |
port | 75 | include/asm-mips/io.h | __IN1(s##c) __IN2(m) STR(FILL_LDS) : "=r" (_v) : "i" (port), "r" (PORT_BASE)); return _v; } \ |
port | 76 | include/asm-mips/io.h | __IN1(s##_p) __IN2(m) : "=r" (_v) : "i" (0), "r" (PORT_BASE+port)); SLOW_DOWN_IO; return _v; } \ |
port | 77 | include/asm-mips/io.h | __IN1(s##c_p) __IN2(m) : "=r" (_v) : "i" (port), "r" (PORT_BASE)); SLOW_DOWN_IO; return _v; } |
port | 80 | include/asm-mips/io.h | extern inline void __ins##s(unsigned int port, void * addr, unsigned long count) { |
port | 97 | include/asm-mips/io.h | : "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \ |
port | 101 | include/asm-mips/io.h | : "0" (addr), "1" (count), "i" (port), "r" (PORT_BASE), "I" (i) \ |
port | 105 | include/asm-mips/io.h | extern inline void __outs##s(unsigned int port, const void * addr, unsigned long count) { |
port | 122 | include/asm-mips/io.h | : "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \ |
port | 126 | include/asm-mips/io.h | : "0" (addr), "1" (count), "i" (port), "r" (PORT_BASE), "I" (i) \ |
port | 150 | include/asm-mips/io.h | #define outb(val,port) \ |
port | 151 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 152 | include/asm-mips/io.h | __outbc((val),(port)) : \ |
port | 153 | include/asm-mips/io.h | __outb((val),(port))) |
port | 155 | include/asm-mips/io.h | #define inb(port) \ |
port | 156 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 157 | include/asm-mips/io.h | __inbc(port) : \ |
port | 158 | include/asm-mips/io.h | __inb(port)) |
port | 160 | include/asm-mips/io.h | #define outb_p(val,port) \ |
port | 161 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 162 | include/asm-mips/io.h | __outbc_p((val),(port)) : \ |
port | 163 | include/asm-mips/io.h | __outb_p((val),(port))) |
port | 165 | include/asm-mips/io.h | #define inb_p(port) \ |
port | 166 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 167 | include/asm-mips/io.h | __inbc_p(port) : \ |
port | 168 | include/asm-mips/io.h | __inb_p(port)) |
port | 170 | include/asm-mips/io.h | #define outw(val,port) \ |
port | 171 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 172 | include/asm-mips/io.h | __outwc((val),(port)) : \ |
port | 173 | include/asm-mips/io.h | __outw((val),(port))) |
port | 175 | include/asm-mips/io.h | #define inw(port) \ |
port | 176 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 177 | include/asm-mips/io.h | __inwc(port) : \ |
port | 178 | include/asm-mips/io.h | __inw(port)) |
port | 180 | include/asm-mips/io.h | #define outw_p(val,port) \ |
port | 181 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 182 | include/asm-mips/io.h | __outwc_p((val),(port)) : \ |
port | 183 | include/asm-mips/io.h | __outw_p((val),(port))) |
port | 185 | include/asm-mips/io.h | #define inw_p(port) \ |
port | 186 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 187 | include/asm-mips/io.h | __inwc_p(port) : \ |
port | 188 | include/asm-mips/io.h | __inw_p(port)) |
port | 190 | include/asm-mips/io.h | #define outl(val,port) \ |
port | 191 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 192 | include/asm-mips/io.h | __outlc((val),(port)) : \ |
port | 193 | include/asm-mips/io.h | __outl((val),(port))) |
port | 195 | include/asm-mips/io.h | #define inl(port) \ |
port | 196 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 197 | include/asm-mips/io.h | __inlc(port) : \ |
port | 198 | include/asm-mips/io.h | __inl(port)) |
port | 200 | include/asm-mips/io.h | #define outl_p(val,port) \ |
port | 201 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 202 | include/asm-mips/io.h | __outlc_p((val),(port)) : \ |
port | 203 | include/asm-mips/io.h | __outl_p((val),(port))) |
port | 205 | include/asm-mips/io.h | #define inl_p(port) \ |
port | 206 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 207 | include/asm-mips/io.h | __inlc_p(port) : \ |
port | 208 | include/asm-mips/io.h | __inl_p(port)) |
port | 211 | include/asm-mips/io.h | #define outsb(port,addr,count) \ |
port | 212 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 213 | include/asm-mips/io.h | __outsbc((port),(addr),(count)) : \ |
port | 214 | include/asm-mips/io.h | __outsb ((port),(addr),(count))) |
port | 216 | include/asm-mips/io.h | #define insb(port,addr,count) \ |
port | 217 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 218 | include/asm-mips/io.h | __insbc((port),(addr),(count)) : \ |
port | 219 | include/asm-mips/io.h | __insb((port),(addr),(count))) |
port | 221 | include/asm-mips/io.h | #define outsw(port,addr,count) \ |
port | 222 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 223 | include/asm-mips/io.h | __outswc((port),(addr),(count)) : \ |
port | 224 | include/asm-mips/io.h | __outsw ((port),(addr),(count))) |
port | 226 | include/asm-mips/io.h | #define insw(port,addr,count) \ |
port | 227 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 228 | include/asm-mips/io.h | __inswc((port),(addr),(count)) : \ |
port | 229 | include/asm-mips/io.h | __insw((port),(addr),(count))) |
port | 231 | include/asm-mips/io.h | #define outsl(port,addr,count) \ |
port | 232 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 233 | include/asm-mips/io.h | __outslc((port),(addr),(count)) : \ |
port | 234 | include/asm-mips/io.h | __outsl ((port),(addr),(count))) |
port | 236 | include/asm-mips/io.h | #define insl(port,addr,count) \ |
port | 237 | include/asm-mips/io.h | ((__builtin_constant_p((port)) && (port) < 32768) ? \ |
port | 238 | include/asm-mips/io.h | __inslc((port),(addr),(count)) : \ |
port | 239 | include/asm-mips/io.h | __insl((port),(addr),(count))) |
port | 82 | include/linux/if.h | unsigned char port; |
port | 71 | include/linux/mcd.h | #define READ_DATA(port, buf, nr) \ |
port | 72 | include/linux/mcd.h | insb(port, buf, nr) |
port | 332 | include/linux/sbpcd.h | #define READ_DATA(port, buf, nr) insb(port, buf, nr) |
port | 16 | include/linux/serial.h | int port; |
port | 113 | include/linux/serial.h | int port; |
port | 387 | include/linux/tpqic02.h | # define QIC02_TAPE_PORT (qic02_tape_dynconf.port) |
port | 639 | include/linux/tpqic02.h | unsigned short port; /* IO port base address */ |
port | 124 | include/linux/xd.h | static inline u_char xd_waitport (u_short port,u_char flags,u_char mask,u_long timeout); |
port | 1237 | net/inet/dev.c | ifr.ifr_map.port=dev->if_port; |
port | 112 | net/inet/ip_fw.c | extern inline int port_match(unsigned short *portptr,int nports,unsigned short port,int range_flag) |
port | 118 | net/inet/ip_fw.c | if ( portptr[0] <= port && port <= portptr[1] ) |
port | 127 | net/inet/ip_fw.c | if ( *portptr++ == port ) |
port | 239 | net/inet/ipx.c | ipxitf_find_socket(ipx_interface *intrfc, unsigned short port) |
port | 244 | net/inet/ipx.c | (s != NULL) && (s->ipx_port != port); |