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 | 74 | include/linux/tty.h | int port; |
port | 87 | kernel/blk_drv/hd.c | #define port_read(port,buf,nr) \ |
port | 88 | kernel/blk_drv/hd.c | __asm__("cld;rep;insw"::"d" (port),"D" (buf),"c" (nr):"cx","di") |
port | 90 | kernel/blk_drv/hd.c | #define port_write(port,buf,nr) \ |
port | 91 | kernel/blk_drv/hd.c | __asm__("cld;rep;outsw"::"d" (port),"S" (buf),"c" (nr):"cx","si") |
port | 171 | kernel/blk_drv/hd.c | unsigned short port; |
port | 187 | kernel/blk_drv/hd.c | port=HD_DATA; |
port | 188 | kernel/blk_drv/hd.c | outb_p(hd_info[drive].wpcom>>2,++port); |
port | 189 | kernel/blk_drv/hd.c | outb_p(nsect,++port); |
port | 190 | kernel/blk_drv/hd.c | outb_p(sect,++port); |
port | 191 | kernel/blk_drv/hd.c | outb_p(cyl,++port); |
port | 192 | kernel/blk_drv/hd.c | outb_p(cyl>>8,++port); |
port | 193 | kernel/blk_drv/hd.c | outb_p(0xA0|(drive<<4)|head,++port); |
port | 194 | 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 | 246 | kernel/blk_drv/scsi/fdomain.c | inline static unsigned short inw( unsigned short port ) |
port | 251 | kernel/blk_drv/scsi/fdomain.c | :"=a" (_v):"d" ((unsigned short) port)); |
port | 255 | kernel/blk_drv/scsi/fdomain.c | inline static void outw( unsigned short value, unsigned short port ) |
port | 259 | kernel/blk_drv/scsi/fdomain.c | "d" ((unsigned short) port)); |
port | 265 | kernel/blk_drv/scsi/fdomain.c | #define insw( buf, count, port ) \ |
port | 267 | kernel/blk_drv/scsi/fdomain.c | ( "cld;rep;insw"::"d" (port),"D" (buf),"c" (count):"cx","di" ) |
port | 269 | kernel/blk_drv/scsi/fdomain.c | #define outsw( buf, count, port ) \ |
port | 271 | kernel/blk_drv/scsi/fdomain.c | ("cld;rep;outsw"::"d" (port),"S" (buf),"c" (count):"cx","si") |
port | 288 | kernel/blk_drv/scsi/fdomain.c | static int fdomain_is_valid_port( int port ) |
port | 294 | kernel/blk_drv/scsi/fdomain.c | inb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) ); |
port | 303 | kernel/blk_drv/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */ |
port | 304 | kernel/blk_drv/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0x27) return 0; |
port | 305 | kernel/blk_drv/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x61) return 0; |
port | 307 | kernel/blk_drv/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x60) return 0; |
port | 317 | kernel/blk_drv/scsi/fdomain.c | options = inb( port + Option_Select ); |
port | 59 | kernel/blk_drv/scsi/ultrastor.h | #define LCL_DOORBELL_MASK(port) ((port) + 0x0) |
port | 60 | kernel/blk_drv/scsi/ultrastor.h | #define LCL_DOORBELL_INTR(port) ((port) + 0x1) |
port | 61 | kernel/blk_drv/scsi/ultrastor.h | #define SYS_DOORBELL_MASK(port) ((port) + 0x2) |
port | 62 | kernel/blk_drv/scsi/ultrastor.h | #define SYS_DOORBELL_INTR(port) ((port) + 0x3) |
port | 63 | kernel/blk_drv/scsi/ultrastor.h | #define PRODUCT_ID(port) ((port) + 0x4) |
port | 64 | kernel/blk_drv/scsi/ultrastor.h | #define CONFIG(port) ((port) + 0x6) |
port | 65 | kernel/blk_drv/scsi/ultrastor.h | #define OGM_DATA_PTR(port) ((port) + 0x8) |
port | 66 | 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 | 164 | kernel/chr_drv/serial.c | return inb(info->port + offset); |
port | 169 | kernel/chr_drv/serial.c | return inb_p(info->port + offset); |
port | 174 | kernel/chr_drv/serial.c | outb(value, info->port+offset); |
port | 180 | kernel/chr_drv/serial.c | outb_p(value, info->port+offset); |
port | 185 | kernel/chr_drv/serial.c | if (!info->port) |
port | 605 | kernel/chr_drv/serial.c | if (!info->port) |
port | 678 | kernel/chr_drv/serial.c | ICP = (info->port & 0xFE0) | 0x01F; |
port | 707 | kernel/chr_drv/serial.c | unsigned short port; |
port | 718 | kernel/chr_drv/serial.c | if (!(port = info->port)) |
port | 773 | kernel/chr_drv/serial.c | tmp.port = info->port; |
port | 805 | kernel/chr_drv/serial.c | new_port = tmp.port; |
port | 858 | kernel/chr_drv/serial.c | if (new_port != info->port) { |
port | 860 | kernel/chr_drv/serial.c | info->port = new_port; |
port | 981 | kernel/chr_drv/serial.c | if (!info->port || !info->irq || !info->type) { |
port | 1052 | kernel/chr_drv/serial.c | unsigned short ICP=0, port = info->port; |
port | 1064 | kernel/chr_drv/serial.c | ICP = (port & 0xFE0) | 0x01F; |
port | 1102 | kernel/chr_drv/serial.c | unsigned short port = info->port; |
port | 1120 | kernel/chr_drv/serial.c | outb_p(UART_FCR_ENABLE_FIFO, UART_FCR + port); |
port | 1121 | kernel/chr_drv/serial.c | scratch = inb(UART_IIR + port) >> 6; |
port | 1139 | kernel/chr_drv/serial.c | scratch = inb(UART_SCR + port); |
port | 1140 | kernel/chr_drv/serial.c | outb_p(0xa5, UART_SCR + port); |
port | 1141 | kernel/chr_drv/serial.c | status1 = inb(UART_SCR + port); |
port | 1142 | kernel/chr_drv/serial.c | outb_p(0x5a, UART_SCR + port); |
port | 1143 | kernel/chr_drv/serial.c | status2 = inb(UART_SCR + port); |
port | 1144 | kernel/chr_drv/serial.c | outb_p(scratch, UART_SCR + port); |
port | 1196 | kernel/chr_drv/serial.c | if (!info->port) |
port | 1212 | kernel/chr_drv/serial.c | info->port, info->irq); |
port | 244 | net/tcp/udp.c | udp_loopback (volatile struct sock *sk, unsigned short port, |
port | 255 | net/tcp/udp.c | pair = get_sock (sk->prot, net16(port), saddr, |
port | 278 | net/tcp/udp.c | uh -> dest = port; |