tag | line | file | source code |
port | 27 | include/asm/io.h | extern inline void outb(char value, unsigned short port) |
port | 30 | include/asm/io.h | ::"a" ((char) value),"d" ((unsigned short) port)); |
port | 33 | include/asm/io.h | extern inline unsigned int inb(unsigned short port) |
port | 37 | include/asm/io.h | :"=a" (_v):"d" ((unsigned short) port),"0" (0)); |
port | 41 | include/asm/io.h | extern inline void outb_p(char value, unsigned short port) |
port | 44 | include/asm/io.h | ::"a" ((char) value),"d" ((unsigned short) port)); |
port | 48 | include/asm/io.h | extern inline unsigned int inb_p(unsigned short port) |
port | 52 | include/asm/io.h | :"=a" (_v):"d" ((unsigned short) port),"0" (0)); |
port | 73 | include/linux/kd.h | unsigned short port; |
port | 21 | include/linux/serial.h | int port; |
port | 75 | include/linux/tty.h | int port; |
port | 126 | include/linux/xd.h | static inline u_char xd_waitport (u_short port,u_char flags,u_char mask,u_long timeout); |
port | 89 | kernel/blk_drv/hd.c | #define port_read(port,buf,nr) \ |
port | 90 | kernel/blk_drv/hd.c | __asm__("cld;rep;insw"::"d" (port),"D" (buf),"c" (nr):"cx","di") |
port | 92 | kernel/blk_drv/hd.c | #define port_write(port,buf,nr) \ |
port | 93 | kernel/blk_drv/hd.c | __asm__("cld;rep;outsw"::"d" (port),"S" (buf),"c" (nr):"cx","si") |
port | 175 | kernel/blk_drv/hd.c | unsigned short port; |
port | 191 | kernel/blk_drv/hd.c | port=HD_DATA; |
port | 192 | kernel/blk_drv/hd.c | outb_p(hd_info[drive].wpcom>>2,++port); |
port | 193 | kernel/blk_drv/hd.c | outb_p(nsect,++port); |
port | 194 | kernel/blk_drv/hd.c | outb_p(sect,++port); |
port | 195 | kernel/blk_drv/hd.c | outb_p(cyl,++port); |
port | 196 | kernel/blk_drv/hd.c | outb_p(cyl>>8,++port); |
port | 197 | kernel/blk_drv/hd.c | outb_p(0xA0|(drive<<4)|head,++port); |
port | 198 | kernel/blk_drv/hd.c | outb_p(cmd,++port); |
port | 73 | kernel/blk_drv/scsi/aha1542.c | #define WAIT(port, mask, allof, noneof) \ |
port | 77 | kernel/blk_drv/scsi/aha1542.c | WAITbits = inb(port) & (mask); \ |
port | 245 | kernel/blk_drv/scsi/fdomain.c | inline static unsigned short inw( unsigned short port ) |
port | 250 | kernel/blk_drv/scsi/fdomain.c | :"=a" (_v):"d" ((unsigned short) port)); |
port | 254 | kernel/blk_drv/scsi/fdomain.c | inline static void outw( unsigned short value, unsigned short port ) |
port | 258 | kernel/blk_drv/scsi/fdomain.c | "d" ((unsigned short) port)); |
port | 264 | kernel/blk_drv/scsi/fdomain.c | #define insw( buf, count, port ) \ |
port | 266 | kernel/blk_drv/scsi/fdomain.c | ( "cld;rep;insw"::"d" (port),"D" (buf),"c" (count):"cx","di" ) |
port | 268 | kernel/blk_drv/scsi/fdomain.c | #define outsw( buf, count, port ) \ |
port | 270 | kernel/blk_drv/scsi/fdomain.c | ("cld;rep;outsw"::"d" (port),"S" (buf),"c" (count):"cx","si") |
port | 287 | kernel/blk_drv/scsi/fdomain.c | static int fdomain_is_valid_port( int port ) |
port | 293 | kernel/blk_drv/scsi/fdomain.c | inb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) ); |
port | 302 | kernel/blk_drv/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */ |
port | 303 | kernel/blk_drv/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0x27) return 0; |
port | 304 | kernel/blk_drv/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x61) return 0; |
port | 306 | kernel/blk_drv/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x60) return 0; |
port | 316 | kernel/blk_drv/scsi/fdomain.c | options = inb( port + Option_Select ); |
port | 49 | kernel/blk_drv/scsi/ultrastor.h | #define LCL_DOORBELL_MASK(port) ((port) + 0x0) |
port | 50 | kernel/blk_drv/scsi/ultrastor.h | #define LCL_DOORBELL_INTR(port) ((port) + 0x1) |
port | 51 | kernel/blk_drv/scsi/ultrastor.h | #define SYS_DOORBELL_MASK(port) ((port) + 0x2) |
port | 52 | kernel/blk_drv/scsi/ultrastor.h | #define SYS_DOORBELL_INTR(port) ((port) + 0x3) |
port | 53 | kernel/blk_drv/scsi/ultrastor.h | #define PRODUCT_ID(port) ((port) + 0x4) |
port | 54 | kernel/blk_drv/scsi/ultrastor.h | #define CONFIG(port) ((port) + 0x6) |
port | 55 | kernel/blk_drv/scsi/ultrastor.h | #define OGM_DATA_PTR(port) ((port) + 0x8) |
port | 56 | kernel/blk_drv/scsi/ultrastor.h | #define ICM_DATA_PTR(port) ((port) + 0xC) |
port | 99 | kernel/blk_drv/scsi/wd7000.c | #define WAIT(port, mask, allof, noneof) \ |
port | 103 | kernel/blk_drv/scsi/wd7000.c | WAITbits = inb(port) & (mask); \ |
port | 379 | kernel/blk_drv/xd.c | static inline u_char xd_waitport (u_short port,u_char flags,u_char mask,u_long timeout) |
port | 383 | kernel/blk_drv/xd.c | while (((inb(port) & mask) != flags) && (jiffies < expiry)) |
port | 149 | kernel/chr_drv/serial.c | return inb(info->port + offset); |
port | 154 | kernel/chr_drv/serial.c | return inb_p(info->port + offset); |
port | 159 | kernel/chr_drv/serial.c | outb(value, info->port+offset); |
port | 165 | kernel/chr_drv/serial.c | outb_p(value, info->port+offset); |
port | 560 | kernel/chr_drv/serial.c | ICP = (info->port & 0xFE0) | 0x01F; |
port | 617 | kernel/chr_drv/serial.c | unsigned short port; |
port | 628 | kernel/chr_drv/serial.c | if (!(port = info->port)) |
port | 791 | kernel/chr_drv/serial.c | tmp.port = info->port; |
port | 819 | kernel/chr_drv/serial.c | new.port = 0; /* Prevent initialization below */ |
port | 823 | kernel/chr_drv/serial.c | if ((new.irq > 15) || (new.port > 0xffff) || |
port | 846 | kernel/chr_drv/serial.c | if (new.port && info->type && |
port | 862 | kernel/chr_drv/serial.c | (new.port != info->port)) { |
port | 880 | kernel/chr_drv/serial.c | info->port = new.port; |
port | 884 | kernel/chr_drv/serial.c | if (new.port && info->type && |
port | 963 | kernel/chr_drv/serial.c | if (!info->port) |
port | 1234 | kernel/chr_drv/serial.c | if (!info->port || !info->type) { |
port | 1320 | kernel/chr_drv/serial.c | unsigned short ICP=0, port = info->port; |
port | 1332 | kernel/chr_drv/serial.c | ICP = (port & 0xFE0) | 0x01F; |
port | 1378 | kernel/chr_drv/serial.c | unsigned port = info->port; |
port | 1381 | kernel/chr_drv/serial.c | if (!port) |
port | 1455 | kernel/chr_drv/serial.c | outb_p(UART_FCR_ENABLE_FIFO, UART_FCR + port); |
port | 1456 | kernel/chr_drv/serial.c | scratch = inb(UART_IIR + port) >> 6; |
port | 1474 | kernel/chr_drv/serial.c | scratch = inb(UART_SCR + port); |
port | 1475 | kernel/chr_drv/serial.c | outb_p(0xa5, UART_SCR + port); |
port | 1476 | kernel/chr_drv/serial.c | status1 = inb(UART_SCR + port); |
port | 1477 | kernel/chr_drv/serial.c | outb_p(0x5a, UART_SCR + port); |
port | 1478 | kernel/chr_drv/serial.c | status2 = inb(UART_SCR + port); |
port | 1479 | kernel/chr_drv/serial.c | outb_p(scratch, UART_SCR + port); |
port | 1552 | kernel/chr_drv/serial.c | info->port, info->irq); |
port | 253 | net/tcp/udp.c | udp_loopback (volatile struct sock *sk, unsigned short port, |
port | 264 | net/tcp/udp.c | pair = get_sock (sk->prot, net16(port), saddr, |
port | 287 | net/tcp/udp.c | uh -> dest = port; |