tag | line | file | source code |
port | 107 | arch/alpha/lib/io.c | void insb (unsigned long port, void *dst, unsigned long count) |
port | 113 | arch/alpha/lib/io.c | *(unsigned char *) dst = inb(port); |
port | 120 | arch/alpha/lib/io.c | w = inb(port); |
port | 121 | arch/alpha/lib/io.c | w |= inb(port) << 8; |
port | 122 | arch/alpha/lib/io.c | w |= inb(port) << 16; |
port | 123 | arch/alpha/lib/io.c | w |= inb(port) << 24; |
port | 130 | arch/alpha/lib/io.c | *(unsigned char *) dst = inb(port); |
port | 144 | arch/alpha/lib/io.c | void insw (unsigned long port, void *dst, unsigned long count) |
port | 153 | arch/alpha/lib/io.c | *(unsigned short* ) dst = inw(port); |
port | 160 | arch/alpha/lib/io.c | w = inw(port); |
port | 161 | arch/alpha/lib/io.c | w |= inw(port) << 16; |
port | 167 | arch/alpha/lib/io.c | *(unsigned short*) dst = inw(port); |
port | 180 | arch/alpha/lib/io.c | void insl (unsigned long port, void *dst, unsigned long count) |
port | 188 | arch/alpha/lib/io.c | *(unsigned int *) dst = inl(port); |
port | 200 | arch/alpha/lib/io.c | void outsb(unsigned long port, void * src, unsigned long count) |
port | 204 | arch/alpha/lib/io.c | outb(*(char *)src, port); |
port | 216 | arch/alpha/lib/io.c | void outsw (unsigned long port, void *src, unsigned long count) |
port | 222 | arch/alpha/lib/io.c | outw(*(unsigned short*)src, port); |
port | 232 | arch/alpha/lib/io.c | outw(w >> 0, port); |
port | 233 | arch/alpha/lib/io.c | outw(w >> 16, port); |
port | 237 | arch/alpha/lib/io.c | outw(*(unsigned short *) src, port); |
port | 249 | arch/alpha/lib/io.c | void outsl (unsigned long port, void *src, unsigned long count) |
port | 257 | arch/alpha/lib/io.c | outl(*(unsigned int *) src, port); |
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 | 208 | drivers/block/mcdx.c | static char *port(int*); |
port | 974 | drivers/block/mcdx.c | stuffp->wreg_data = stuffp->rreg_data = port(mcdx_drive_map[drive]); |
port | 3294 | drivers/block/sbpcd.c | static int check_card(int port) |
port | 3304 | drivers/block/sbpcd.c | save_port0=inb(port+0); |
port | 3305 | drivers/block/sbpcd.c | save_port3=inb(port+3); |
port | 3309 | drivers/block/sbpcd.c | OUT(port+3,j) ; /* enable drive #j */ |
port | 3310 | drivers/block/sbpcd.c | OUT(port+0,CMD0_PATH_CHECK); |
port | 3311 | drivers/block/sbpcd.c | for (i=10;i>0;i--) OUT(port+0,0); |
port | 3317 | drivers/block/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
port | 3318 | drivers/block/sbpcd.c | response[k]=inb(port+0); |
port | 3326 | drivers/block/sbpcd.c | OUT(port+0,CMD0_PATH_CHECK); |
port | 3327 | drivers/block/sbpcd.c | for (i=10;i>0;i--) OUT(port+0,0); |
port | 3333 | drivers/block/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
port | 3334 | drivers/block/sbpcd.c | response[k]=inb(port+0); |
port | 3349 | drivers/block/sbpcd.c | OUT(port+3,j) ; /* enable drive #j */ |
port | 3350 | drivers/block/sbpcd.c | OUT(port+0,CMD2_READ_VER); |
port | 3351 | drivers/block/sbpcd.c | for (i=10;i>0;i--) OUT(port+0,0); |
port | 3357 | drivers/block/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
port | 3358 | drivers/block/sbpcd.c | response[k]=inb(port+0); |
port | 3367 | drivers/block/sbpcd.c | OUT(port+0,CMD2_READ_VER); |
port | 3368 | drivers/block/sbpcd.c | for (i=10;i>0;i--) OUT(port+0,0); |
port | 3374 | drivers/block/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
port | 3375 | drivers/block/sbpcd.c | response[k]=inb(port+0); |
port | 3388 | drivers/block/sbpcd.c | OUT(port+0,save_port0); |
port | 3389 | drivers/block/sbpcd.c | OUT(port+3,save_port3); |
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 | 1773 | drivers/char/cyclades.c | tmp.port = info->card * 0x100 + info->line - cinfo->first_line; |
port | 163 | drivers/char/scc.c | InReg(register io_port port, register unsigned char reg) |
port | 167 | drivers/char/scc.c | Outb(port, reg); |
port | 169 | drivers/char/scc.c | r=Inb(port); |
port | 173 | drivers/char/scc.c | Outb(port, reg); |
port | 174 | drivers/char/scc.c | return Inb(port); |
port | 179 | drivers/char/scc.c | OutReg(register io_port port, register unsigned char reg, register unsigned char val) |
port | 182 | drivers/char/scc.c | Outb(port, reg); udelay(5); |
port | 183 | drivers/char/scc.c | Outb(port, val); udelay(5); |
port | 185 | drivers/char/scc.c | Outb(port, reg); |
port | 186 | drivers/char/scc.c | Outb(port, val); |
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 | 880 | drivers/char/serial.c | if (!info->port || !info->type) { |
port | 990 | drivers/char/serial.c | ICP = (info->port & 0xFE0) | 0x01F; |
port | 1088 | drivers/char/serial.c | (void) inb((info->port & 0xFE0) | 0x01F); |
port | 1115 | drivers/char/serial.c | unsigned short port; |
port | 1123 | drivers/char/serial.c | if (!(port = info->port)) |
port | 1451 | drivers/char/serial.c | tmp.port = info->port; |
port | 1477 | drivers/char/serial.c | change_port = (new_serial.port != info->port) || (new_serial.hub6 != info->hub6); |
port | 1496 | drivers/char/serial.c | if ((new_serial.irq > 15) || (new_serial.port > 0xffff) || |
port | 1505 | drivers/char/serial.c | (rs_table[i].port == new_serial.port) && |
port | 1526 | drivers/char/serial.c | release_region(info->port,8); |
port | 1534 | drivers/char/serial.c | info->port = new_serial.port; |
port | 1538 | drivers/char/serial.c | request_region(info->port,8,"serial(set)"); |
port | 1542 | drivers/char/serial.c | if (!info->port || !info->type) |
port | 1675 | drivers/char/serial.c | if (!info->port) |
port | 2343 | drivers/char/serial.c | unsigned short ICP=0, port = info->port; |
port | 2356 | drivers/char/serial.c | ICP = (port & 0xFE0) | 0x01F; |
port | 2397 | drivers/char/serial.c | unsigned port = info->port; |
port | 2403 | drivers/char/serial.c | if (!port) |
port | 2437 | drivers/char/serial.c | unsigned port = info->port; |
port | 2442 | drivers/char/serial.c | if (!port) |
port | 2536 | drivers/char/serial.c | request_region(info->port,8,"serial(auto)"); |
port | 2661 | drivers/char/serial.c | info->port, info->irq); |
port | 2699 | drivers/char/serial.c | if (rs_table[i].port == req->port) |
port | 2716 | drivers/char/serial.c | "device already open\n", i, req->port, req->irq); |
port | 2720 | drivers/char/serial.c | info->port = req->port; |
port | 2728 | drivers/char/serial.c | info->port, info->irq); |
port | 493 | drivers/net/arcnet.c | int *port, ports[] = {/* first the suggested values! */ |
port | 539 | drivers/net/arcnet.c | else for (port = &ports[0]; *port; port++) |
port | 541 | 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 | 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 | 277 | drivers/net/lance.c | int *port; |
port | 321 | drivers/net/lance.c | for (port = lance_portlist; *port; port++) { |
port | 322 | drivers/net/lance.c | int ioaddr = *port; |
port | 260 | drivers/net/net_init.c | if (map->port != (u_char)(-1)) |
port | 261 | 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 | 312 | drivers/net/pi2.c | int port; |
port | 319 | drivers/net/pi2.c | port = lp->cardbase + TMR1; |
port | 323 | drivers/net/pi2.c | port = lp->cardbase + TMR2; |
port | 331 | drivers/net/pi2.c | outb_p((t1 << 1) & 0xFF, port); |
port | 332 | 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 | 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 | 297 | drivers/scsi/aha152x.h | unsigned short port; |
port | 309 | 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 | 202 | drivers/scsi/buslogic.c | #define WAIT(port, allof, noneof) \ |
port | 203 | drivers/scsi/buslogic.c | CHECK(wait(port, allof, noneof, WAITNEXTTIMEOUT, FALSE)) |
port | 204 | drivers/scsi/buslogic.c | #define WAIT_WHILE(port, mask) WAIT(port, 0, mask) |
port | 205 | drivers/scsi/buslogic.c | #define WAIT_UNTIL(port, mask) WAIT(port, mask, 0) |
port | 206 | drivers/scsi/buslogic.c | #define WAIT_FAST(port, allof, noneof) \ |
port | 207 | drivers/scsi/buslogic.c | CHECK(wait(port, allof, noneof, 100, TRUE)) |
port | 208 | drivers/scsi/buslogic.c | #define WAIT_WHILE_FAST(port, mask) WAIT_FAST(port, 0, mask) |
port | 209 | drivers/scsi/buslogic.c | #define WAIT_UNTIL_FAST(port, mask) WAIT_FAST(port, mask, 0) |
port | 216 | drivers/scsi/buslogic.c | static __inline__ int wait(unsigned short port, |
port | 223 | drivers/scsi/buslogic.c | bits = inb(port); |
port | 462 | drivers/scsi/fdomain.c | static int fdomain_is_valid_port( int port ) |
port | 466 | drivers/scsi/fdomain.c | inb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) ); |
port | 475 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */ |
port | 476 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0x27) return 0; |
port | 477 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x61) return 0; |
port | 480 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x60) return 0; |
port | 490 | drivers/scsi/fdomain.c | outb( 0x80, port + IO_Control ); |
port | 491 | drivers/scsi/fdomain.c | if ((inb( port + Configuration2 ) & 0x80) == 0x80) { |
port | 492 | drivers/scsi/fdomain.c | outb( 0x00, port + IO_Control ); |
port | 493 | drivers/scsi/fdomain.c | if ((inb( port + Configuration2 ) & 0x80) == 0x00) { |
port | 504 | drivers/scsi/fdomain.c | if (inb( port + Configuration2 ) & 0x02) { |
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 | 66 | drivers/scsi/g_NCR5380.h | int port |
port | 69 | drivers/scsi/g_NCR5380.h | register int port |
port | 72 | drivers/scsi/g_NCR5380.h | port = (instance)->io_port |
port | 74 | drivers/scsi/g_NCR5380.h | #define NCR5380_read(reg) (inb(port + (reg))) |
port | 75 | drivers/scsi/g_NCR5380.h | #define NCR5380_write(reg, value) (outb((value), (port + (reg)))) |
port | 88 | drivers/scsi/in2000.c | inline static unsigned short inw( unsigned short port ) |
port | 93 | drivers/scsi/in2000.c | :"=a" (_v):"d" ((unsigned short) port)); |
port | 99 | drivers/scsi/in2000.c | inline static void outw( unsigned short value, unsigned short port ) |
port | 104 | drivers/scsi/in2000.c | "d" ((unsigned short) port)); |
port | 110 | drivers/scsi/in2000.c | #define port_read(port,buf,nr) \ |
port | 111 | drivers/scsi/in2000.c | __asm__("cld;rep;insw": :"d" (port),"D" (buf),"c" (nr):"cx","di") |
port | 113 | drivers/scsi/in2000.c | #define port_write(port,buf,nr) \ |
port | 114 | drivers/scsi/in2000.c | __asm__("cld;rep;outsw": :"d" (port),"S" (buf),"c" (nr):"cx","si") |
port | 189 | drivers/scsi/pas16.c | void enable_board( int board_num, unsigned short port ) |
port | 192 | drivers/scsi/pas16.c | outb( port >> 2, MASTER_ADDRESS_PTR ); |
port | 524 | drivers/scsi/qlogic.c | void qlogic_preset(int port, int irq) |
port | 526 | drivers/scsi/qlogic.c | qbase=port; |
port | 206 | drivers/scsi/ultrastor.c | #define U14F_PRODUCT_ID(port) ((port) + 0x4) |
port | 207 | drivers/scsi/ultrastor.c | #define CONFIG(port) ((port) + 0x6) |
port | 210 | drivers/scsi/ultrastor.c | #define LCL_DOORBELL_MASK(port) ((port) + 0x0) |
port | 211 | drivers/scsi/ultrastor.c | #define LCL_DOORBELL_INTR(port) ((port) + 0x1) |
port | 212 | drivers/scsi/ultrastor.c | #define SYS_DOORBELL_MASK(port) ((port) + 0x2) |
port | 213 | drivers/scsi/ultrastor.c | #define SYS_DOORBELL_INTR(port) ((port) + 0x3) |
port | 551 | drivers/scsi/wd7000.c | #define WAIT(port, mask, allof, noneof) \ |
port | 555 | 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 | 103 | drivers/sound/mad16.c | mad_read (int port) |
port | 122 | drivers/sound/mad16.c | tmp = INB (port); |
port | 129 | drivers/sound/mad16.c | mad_write (int port, int value) |
port | 147 | drivers/sound/mad16.c | OUTB ((unsigned char) (value & 0xff), port); |
port | 57 | drivers/sound/sb_mixer.c | sb_setmixer (unsigned int port, unsigned int value) |
port | 62 | drivers/sound/sb_mixer.c | OUTB ((unsigned char) (port & 0xff), MIXER_ADDR); /* |
port | 72 | drivers/sound/sb_mixer.c | sb_getmixer (unsigned int port) |
port | 78 | drivers/sound/sb_mixer.c | OUTB ((unsigned char) (port & 0xff), MIXER_ADDR); /* |
port | 139 | drivers/sound/sound_calls.h | void sb_setmixer (unsigned int port, unsigned int value); |
port | 140 | drivers/sound/sound_calls.h | int sb_getmixer (unsigned int port); |
port | 64 | include/asm-alpha/io.h | extern unsigned int _inb (unsigned long port); |
port | 65 | include/asm-alpha/io.h | extern unsigned int _inw (unsigned long port); |
port | 66 | include/asm-alpha/io.h | extern unsigned int _inl (unsigned long port); |
port | 67 | include/asm-alpha/io.h | extern void _outb (unsigned char b,unsigned long port); |
port | 68 | include/asm-alpha/io.h | extern void _outw (unsigned short w,unsigned long port); |
port | 69 | include/asm-alpha/io.h | extern void _outl (unsigned int l,unsigned long port); |
port | 105 | include/asm-alpha/io.h | extern void insb (unsigned long port, void *src, unsigned long count); |
port | 106 | include/asm-alpha/io.h | extern void insw (unsigned long port, void *src, unsigned long count); |
port | 107 | include/asm-alpha/io.h | extern void insl (unsigned long port, void *src, unsigned long count); |
port | 108 | include/asm-alpha/io.h | extern void outsb (unsigned long port, void *dst, unsigned long count); |
port | 109 | include/asm-alpha/io.h | extern void outsw (unsigned long port, void *dst, unsigned long count); |
port | 110 | include/asm-alpha/io.h | extern void outsl (unsigned long port, void *dst, unsigned long count); |
port | 270 | include/asm-alpha/jensen.h | #define inb(port) \ |
port | 271 | include/asm-alpha/jensen.h | (__builtin_constant_p((port))?__inb(port):(inb)(port)) |
port | 273 | include/asm-alpha/jensen.h | #define outb(x, port) \ |
port | 274 | include/asm-alpha/jensen.h | (__builtin_constant_p((port))?__outb((x),(port)):(outb)((x),(port))) |
port | 298 | include/asm-alpha/lca.h | #define inb(port) \ |
port | 299 | include/asm-alpha/lca.h | (__builtin_constant_p((port))?__inb(port):(inb)(port)) |
port | 301 | include/asm-alpha/lca.h | #define outb(x, port) \ |
port | 302 | include/asm-alpha/lca.h | (__builtin_constant_p((port))?__outb((x),(port)):(outb)((x),(port))) |
port | 85 | include/asm-i386/io.h | extern inline void __out##s(unsigned x value, unsigned short port) { |
port | 91 | include/asm-i386/io.h | __OUT1(s,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); } \ |
port | 92 | include/asm-i386/io.h | __OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "i" (port)); } \ |
port | 93 | include/asm-i386/io.h | __OUT1(s##_p,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); SLOW_DOWN_IO; } \ |
port | 94 | include/asm-i386/io.h | __OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "i" (port)); SLOW_DOWN_IO; } |
port | 97 | include/asm-i386/io.h | extern inline unsigned int __in##s(unsigned short port) { unsigned int _v; |
port | 103 | include/asm-i386/io.h | __IN1(s) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); return _v; } \ |
port | 104 | include/asm-i386/io.h | __IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); return _v; } \ |
port | 105 | include/asm-i386/io.h | __IN1(s##_p) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); SLOW_DOWN_IO; return _v; } \ |
port | 106 | include/asm-i386/io.h | __IN1(s##c_p) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); SLOW_DOWN_IO; return _v; } |
port | 109 | include/asm-i386/io.h | extern inline void ins##s(unsigned short port, void * addr, unsigned long count) \ |
port | 111 | include/asm-i386/io.h | : "=D" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
port | 114 | include/asm-i386/io.h | extern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \ |
port | 116 | include/asm-i386/io.h | : "=S" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
port | 139 | include/asm-i386/io.h | #define outb(val,port) \ |
port | 140 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 141 | include/asm-i386/io.h | __outbc((val),(port)) : \ |
port | 142 | include/asm-i386/io.h | __outb((val),(port))) |
port | 144 | include/asm-i386/io.h | #define inb(port) \ |
port | 145 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 146 | include/asm-i386/io.h | __inbc(port) : \ |
port | 147 | include/asm-i386/io.h | __inb(port)) |
port | 149 | include/asm-i386/io.h | #define outb_p(val,port) \ |
port | 150 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 151 | include/asm-i386/io.h | __outbc_p((val),(port)) : \ |
port | 152 | include/asm-i386/io.h | __outb_p((val),(port))) |
port | 154 | include/asm-i386/io.h | #define inb_p(port) \ |
port | 155 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 156 | include/asm-i386/io.h | __inbc_p(port) : \ |
port | 157 | include/asm-i386/io.h | __inb_p(port)) |
port | 159 | include/asm-i386/io.h | #define outw(val,port) \ |
port | 160 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 161 | include/asm-i386/io.h | __outwc((val),(port)) : \ |
port | 162 | include/asm-i386/io.h | __outw((val),(port))) |
port | 164 | include/asm-i386/io.h | #define inw(port) \ |
port | 165 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 166 | include/asm-i386/io.h | __inwc(port) : \ |
port | 167 | include/asm-i386/io.h | __inw(port)) |
port | 169 | include/asm-i386/io.h | #define outw_p(val,port) \ |
port | 170 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 171 | include/asm-i386/io.h | __outwc_p((val),(port)) : \ |
port | 172 | include/asm-i386/io.h | __outw_p((val),(port))) |
port | 174 | include/asm-i386/io.h | #define inw_p(port) \ |
port | 175 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 176 | include/asm-i386/io.h | __inwc_p(port) : \ |
port | 177 | include/asm-i386/io.h | __inw_p(port)) |
port | 179 | include/asm-i386/io.h | #define outl(val,port) \ |
port | 180 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 181 | include/asm-i386/io.h | __outlc((val),(port)) : \ |
port | 182 | include/asm-i386/io.h | __outl((val),(port))) |
port | 184 | include/asm-i386/io.h | #define inl(port) \ |
port | 185 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 186 | include/asm-i386/io.h | __inlc(port) : \ |
port | 187 | include/asm-i386/io.h | __inl(port)) |
port | 189 | include/asm-i386/io.h | #define outl_p(val,port) \ |
port | 190 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 191 | include/asm-i386/io.h | __outlc_p((val),(port)) : \ |
port | 192 | include/asm-i386/io.h | __outl_p((val),(port))) |
port | 194 | include/asm-i386/io.h | #define inl_p(port) \ |
port | 195 | include/asm-i386/io.h | ((__builtin_constant_p((port)) && (port) < 256) ? \ |
port | 196 | include/asm-i386/io.h | __inlc_p(port) : \ |
port | 197 | 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 | 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 | 71 | include/linux/mcd.h | #define READ_DATA(port, buf, nr) \ |
port | 72 | include/linux/mcd.h | insb(port, buf, nr) |
port | 119 | include/linux/scc.h | #define Inb(port) inb_p(port) |
port | 120 | include/linux/scc.h | #define Outb(port, val) outb_p(val, port) |
port | 122 | include/linux/scc.h | #define Inb(port) inb(port) |
port | 123 | include/linux/scc.h | #define Outb(port, val) outb(val, port) |
port | 16 | include/linux/serial.h | int port; |
port | 113 | include/linux/serial.h | int port; |
port | 79 | 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 | 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 | 1168 | net/core/dev.c | ifr.ifr_map.port=dev->if_port; |
port | 140 | net/ipv4/ip_fw.c | extern inline int port_match(unsigned short *portptr,int nports,unsigned short port,int range_flag) |
port | 146 | net/ipv4/ip_fw.c | if ( portptr[0] <= port && port <= portptr[1] ) |
port | 155 | net/ipv4/ip_fw.c | if ( *portptr++ == port ) |
port | 526 | net/ipv4/ip_fw.c | unsigned short port; |
port | 568 | net/ipv4/ip_fw.c | port = (p5<<8) | p6; |
port | 569 | net/ipv4/ip_fw.c | printk("PORT %lX:%X detected\n",from,port); |
port | 579 | net/ipv4/ip_fw.c | ms->sport = htons(port); /* derived from PORT cmd */ |
port | 589 | net/ipv4/ip_fw.c | port = ntohs(ms->mport); |
port | 592 | net/ipv4/ip_fw.c | port>>8&255,port&255); |
port | 245 | net/ipx/af_ipx.c | ipxitf_find_socket(ipx_interface *intrfc, unsigned short port) |
port | 250 | net/ipx/af_ipx.c | (s != NULL) && (s->ipx_port != port); |