tag | line | file | source code |
inb | 252 | include/asm/dma.h | count = 1 + inb(io_port); |
inb | 253 | include/asm/dma.h | count += inb(io_port) << 8; |
inb | 823 | kernel/blk_drv/floppy.c | if (inb(FD_DIR) & 0x80) |
inb | 854 | kernel/blk_drv/floppy.c | if (inb(FD_DIR) & 0x80) { |
inb | 1131 | kernel/blk_drv/floppy.c | keep_data[drive] = (inb(FD_DIR) & 0x80) ? 1 : 0; |
inb | 105 | kernel/blk_drv/hd.c | i |= inb(0x40) << 8; |
inb | 122 | kernel/blk_drv/hd.c | hd_error = inb(HD_ERROR); |
inb | 226 | kernel/blk_drv/hd.c | if ((hd_error = inb(HD_ERROR)) != 1) |
inb | 318 | kernel/blk_drv/hd.c | hd_error = (unsigned) inb(HD_ERROR); |
inb | 369 | kernel/blk_drv/hd.c | hd_error = (unsigned) inb(HD_ERROR); |
inb | 77 | kernel/blk_drv/scsi/aha1542.c | WAITbits = inb(port) & (mask); \ |
inb | 108 | kernel/blk_drv/scsi/aha1542.c | *cmdp++ = inb(DATA); |
inb | 187 | kernel/blk_drv/scsi/aha1542.c | if (inb(INTRFLAGS)&INTRMASK) goto fail; |
inb | 208 | kernel/blk_drv/scsi/aha1542.c | if (inb(DATA) != 42) goto fail; |
inb | 212 | kernel/blk_drv/scsi/aha1542.c | if (inb(STATUS) & DF) goto fail; |
inb | 247 | kernel/blk_drv/scsi/aha1542.c | int flag = inb(INTRFLAGS); |
inb | 254 | kernel/blk_drv/scsi/aha1542.c | printk("status %02x\n", inb(STATUS)); |
inb | 557 | kernel/blk_drv/scsi/aha1542.c | i = inb(STATUS); |
inb | 559 | kernel/blk_drv/scsi/aha1542.c | i = inb(DATA); |
inb | 618 | kernel/blk_drv/scsi/aha1542.c | i = inb(STATUS); |
inb | 620 | kernel/blk_drv/scsi/aha1542.c | i = inb(DATA); |
inb | 137 | kernel/blk_drv/scsi/aha1740.c | name[0]= 'A' -1 + ((tmp = inb(HID0)) >> 2); /* First character */ |
inb | 139 | kernel/blk_drv/scsi/aha1740.c | name[1]+= ((tmp = inb(HID1)) >> 5)&0x7; /* Second Character */ |
inb | 142 | kernel/blk_drv/scsi/aha1740.c | tmp = inb(HID2); |
inb | 143 | kernel/blk_drv/scsi/aha1740.c | if ( strcmp ( name, HID_MFG ) || inb(HID2) != HID_PRD ) |
inb | 150 | kernel/blk_drv/scsi/aha1740.c | if ( inb(EBCNTRL) != EBCNTRL_VALUE ) |
inb | 153 | kernel/blk_drv/scsi/aha1740.c | inb(EBCNTRL)); |
inb | 157 | kernel/blk_drv/scsi/aha1740.c | if ( inb(PORTADR) & PORTADDR_ENH ) |
inb | 181 | kernel/blk_drv/scsi/aha1740.c | while(inb(G2STAT) & G2STAT_INTPEND) |
inb | 184 | kernel/blk_drv/scsi/aha1740.c | adapstat = inb(G2INTST); |
inb | 192 | kernel/blk_drv/scsi/aha1740.c | ecbptr = (void *) ( ((ulong) inb(MBOXIN0)) + |
inb | 193 | kernel/blk_drv/scsi/aha1740.c | ((ulong) inb(MBOXIN1) <<8) + |
inb | 194 | kernel/blk_drv/scsi/aha1740.c | ((ulong) inb(MBOXIN2) <<16) + |
inb | 195 | kernel/blk_drv/scsi/aha1740.c | ((ulong) inb(MBOXIN3) <<24) ); |
inb | 223 | kernel/blk_drv/scsi/aha1740.c | inb(MBOXIN0),inb(MBOXIN1),inb(MBOXIN2),inb(MBOXIN3)); /* Say What? */ |
inb | 372 | kernel/blk_drv/scsi/aha1740.c | if ( ! (inb(G2STAT) & G2STAT_MBXOUT) ) |
inb | 377 | kernel/blk_drv/scsi/aha1740.c | while ( ! (inb(G2STAT) & G2STAT_MBXOUT) ); /* Oh Well. */ |
inb | 383 | kernel/blk_drv/scsi/aha1740.c | if ( inb(G2STAT) & G2STAT_BUSY ) |
inb | 388 | kernel/blk_drv/scsi/aha1740.c | while ( inb(G2STAT) & G2STAT_BUSY ); /* And Again! */ |
inb | 424 | kernel/blk_drv/scsi/aha1740.c | irq_level = intab [ inb(INTDEF)&0x7 ]; |
inb | 442 | kernel/blk_drv/scsi/aha1740.c | if ( (inb(G2STAT) & (G2STAT_MBXOUT | G2STAT_BUSY) ) != G2STAT_MBXOUT ) |
inb | 293 | kernel/blk_drv/scsi/fdomain.c | inb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) ); |
inb | 302 | kernel/blk_drv/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */ |
inb | 303 | kernel/blk_drv/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0x27) return 0; |
inb | 304 | kernel/blk_drv/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x61) return 0; |
inb | 306 | kernel/blk_drv/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x60) return 0; |
inb | 316 | kernel/blk_drv/scsi/fdomain.c | options = inb( port + Option_Select ); |
inb | 335 | kernel/blk_drv/scsi/fdomain.c | result = inb( port_base + Read_Loopback ); |
inb | 591 | kernel/blk_drv/scsi/fdomain.c | status = inb( TMC_Status_port ); /* Read adapter status */ |
inb | 626 | kernel/blk_drv/scsi/fdomain.c | status = inb( SCSI_Status_port ); /* Read adapter status */ |
inb | 696 | kernel/blk_drv/scsi/fdomain.c | printk( " RECON %x ", inb( SCSI_Data_NoACK_port ) ); |
inb | 700 | kernel/blk_drv/scsi/fdomain.c | while ( (status = inb( SCSI_Status_port )) & 0x20 ) { |
inb | 707 | kernel/blk_drv/scsi/fdomain.c | status = inb( TMC_Status_port ); /* Read adapter status */ |
inb | 732 | kernel/blk_drv/scsi/fdomain.c | status = inb( SCSI_Status_port ); |
inb | 811 | kernel/blk_drv/scsi/fdomain.c | *current_SC->SCp.ptr++ = inb( Read_FIFO_port ); |
inb | 831 | kernel/blk_drv/scsi/fdomain.c | status = inb( SCSI_Status_port ); |
inb | 861 | kernel/blk_drv/scsi/fdomain.c | current_SC->SCp.Status = inb( Read_SCSI_Data_port ); |
inb | 887 | kernel/blk_drv/scsi/fdomain.c | current_SC->SCp.Message = inb( Read_SCSI_Data_port ); |
inb | 923 | kernel/blk_drv/scsi/fdomain.c | *current_SC->SCp.ptr++ = inb( Read_FIFO_port ); |
inb | 1099 | kernel/blk_drv/scsi/fdomain.c | while (((status = inb( SCSI_Status_port )) & 1) |
inb | 1127 | kernel/blk_drv/scsi/fdomain.c | *in_buf_pt++ = inb( Read_FIFO_port ); |
inb | 1141 | kernel/blk_drv/scsi/fdomain.c | Status = inb( Read_SCSI_Data_port ); |
inb | 1156 | kernel/blk_drv/scsi/fdomain.c | Message = inb( Read_SCSI_Data_port ); |
inb | 1195 | kernel/blk_drv/scsi/fdomain.c | *in_buf_pt++ = inb( Read_FIFO_port ); |
inb | 1237 | kernel/blk_drv/scsi/fdomain.c | printk( "IMR = 0x%02x%02x\n", inb( 0x0a1 ), inb( 0x21 ) ); |
inb | 1239 | kernel/blk_drv/scsi/fdomain.c | printk( "IRR = 0x%02x", inb( 0xa0 ) ); |
inb | 1241 | kernel/blk_drv/scsi/fdomain.c | printk( "%02x\n", inb( 0x20 ) ); |
inb | 1243 | kernel/blk_drv/scsi/fdomain.c | printk( "ISR = 0x%02x", inb( 0xa0 ) ); |
inb | 1245 | kernel/blk_drv/scsi/fdomain.c | printk( "%02x\n", inb( 0x20 ) ); |
inb | 1246 | kernel/blk_drv/scsi/fdomain.c | printk( "SCSI Status = %x\n", inb( SCSI_Status_port ) ); |
inb | 1247 | kernel/blk_drv/scsi/fdomain.c | printk( "TMC Status = %x\n", inb( TMC_Status_port ) ); |
inb | 1248 | kernel/blk_drv/scsi/fdomain.c | printk( "Interrupt Mask = %x\n", inb( Interrupt_Mask_port ) ); |
inb | 203 | kernel/blk_drv/scsi/ultrastor.c | in_byte = inb(PRODUCT_ID(PORT_ADDRESS + 0)); |
inb | 218 | kernel/blk_drv/scsi/ultrastor.c | in_byte = inb(PRODUCT_ID(PORT_ADDRESS + 1)); |
inb | 253 | kernel/blk_drv/scsi/ultrastor.c | *(char *)&config_1 = inb(CONFIG(PORT_ADDRESS + 0)); |
inb | 254 | kernel/blk_drv/scsi/ultrastor.c | *(char *)&config_2 = inb(CONFIG(PORT_ADDRESS + 1)); |
inb | 103 | kernel/blk_drv/scsi/wd7000.c | WAITbits = inb(port) & (mask); \ |
inb | 223 | kernel/blk_drv/scsi/wd7000.c | } while (inb(ASC_STAT) & CMD_REJ); |
inb | 298 | kernel/blk_drv/scsi/wd7000.c | flag = inb(INTR_STAT); |
inb | 301 | kernel/blk_drv/scsi/wd7000.c | if (!(inb(ASC_STAT)&0x80)){ |
inb | 449 | kernel/blk_drv/scsi/wd7000.c | if ((i=inb(INTR_STAT)) != 1) { |
inb | 330 | kernel/blk_drv/xd.c | if (inb(XD_STATUS) & STAT_INTERRUPT) { /* check if it was our device */ |
inb | 383 | kernel/blk_drv/xd.c | while (((inb(port) & mask) != flags) && (jiffies < expiry)) |
inb | 407 | kernel/blk_drv/xd.c | switch (inb(XD_STATUS) & (STAT_COMMAND | STAT_INPUT)) { |
inb | 423 | kernel/blk_drv/xd.c | *indata++ = inb(XD_DATA); |
inb | 425 | kernel/blk_drv/xd.c | inb(XD_DATA); |
inb | 432 | kernel/blk_drv/xd.c | csb = inb(XD_DATA); |
inb | 38 | kernel/chr_drv/atixlmouse.c | outb( (0x20 | inb( ATIXL_MSE_DATA_PORT )), ATIXL_MSE_DATA_PORT ); } |
inb | 42 | kernel/chr_drv/atixlmouse.c | outb( (0xdf & inb( ATIXL_MSE_DATA_PORT )), ATIXL_MSE_DATA_PORT ); } |
inb | 46 | kernel/chr_drv/atixlmouse.c | outb( (0xe7 & inb( ATIXL_MSE_DATA_PORT )), ATIXL_MSE_DATA_PORT ); } |
inb | 50 | kernel/chr_drv/atixlmouse.c | outb( (0x08 | inb( ATIXL_MSE_DATA_PORT )), ATIXL_MSE_DATA_PORT ); } |
inb | 69 | kernel/chr_drv/atixlmouse.c | mouse.dx += inb( ATIXL_MSE_DATA_PORT); |
inb | 71 | kernel/chr_drv/atixlmouse.c | mouse.dy += inb( ATIXL_MSE_DATA_PORT); |
inb | 73 | kernel/chr_drv/atixlmouse.c | mouse.latch_buttons |= inb( ATIXL_MSE_DATA_PORT); |
inb | 158 | kernel/chr_drv/atixlmouse.c | a = inb( ATIXL_MSE_SIGNATURE_PORT ); /* Get signature */ |
inb | 159 | kernel/chr_drv/atixlmouse.c | b = inb( ATIXL_MSE_SIGNATURE_PORT ); |
inb | 160 | kernel/chr_drv/atixlmouse.c | c = inb( ATIXL_MSE_SIGNATURE_PORT ); |
inb | 42 | kernel/chr_drv/busmouse.c | dx = (inb(MSE_DATA_PORT) & 0xf); |
inb | 44 | kernel/chr_drv/busmouse.c | dx |= (inb(MSE_DATA_PORT) & 0xf) << 4; |
inb | 46 | kernel/chr_drv/busmouse.c | dy = (inb(MSE_DATA_PORT) & 0xf); |
inb | 48 | kernel/chr_drv/busmouse.c | buttons = inb(MSE_DATA_PORT); |
inb | 153 | kernel/chr_drv/busmouse.c | if (inb(MSE_SIGNATURE_PORT) != MSE_SIGNATURE_BYTE) { |
inb | 98 | kernel/chr_drv/keyboard.c | scancode = inb(0x60); |
inb | 145 | kernel/chr_drv/mem.c | put_fs_byte(inb(i),tmp); |
inb | 44 | kernel/chr_drv/msbusmouse.c | outb((inb(MS_MSE_DATA_PORT) | 0x20), MS_MSE_DATA_PORT); |
inb | 47 | kernel/chr_drv/msbusmouse.c | dx = inb(MS_MSE_DATA_PORT); |
inb | 50 | kernel/chr_drv/msbusmouse.c | dy = inb(MS_MSE_DATA_PORT); |
inb | 53 | kernel/chr_drv/msbusmouse.c | buttons = ~(inb(MS_MSE_DATA_PORT)) & 0x07; |
inb | 56 | kernel/chr_drv/msbusmouse.c | outb((inb(MS_MSE_DATA_PORT) & 0xdf), MS_MSE_DATA_PORT); |
inb | 162 | kernel/chr_drv/msbusmouse.c | if (inb(MS_MSE_SIGNATURE_PORT) == 0xde) { |
inb | 166 | kernel/chr_drv/msbusmouse.c | mse_byte = inb(MS_MSE_SIGNATURE_PORT); |
inb | 173 | kernel/chr_drv/msbusmouse.c | if (inb(MS_MSE_SIGNATURE_PORT) == 0xde) { |
inb | 176 | kernel/chr_drv/msbusmouse.c | if (inb(MS_MSE_SIGNATURE_PORT) == mse_byte) |
inb | 98 | kernel/chr_drv/psaux.c | while ((inb(AUX_STATUS) & AUX_OBUF_FULL) == 0); /* wait for ack */ |
inb | 99 | kernel/chr_drv/psaux.c | if ((inb(AUX_STATUS) & 0x20) == 0x20) |
inb | 101 | kernel/chr_drv/psaux.c | return (inb(AUX_INPUT_PORT)); |
inb | 149 | kernel/chr_drv/psaux.c | queue->buf[head] = inb(AUX_INPUT_PORT); |
inb | 303 | kernel/chr_drv/psaux.c | while ((inb(AUX_STATUS)&0x03) && retries++ < MAX_RETRIES) { |
inb | 149 | kernel/chr_drv/serial.c | return inb(info->port + offset); |
inb | 1456 | kernel/chr_drv/serial.c | scratch = inb(UART_IIR + port) >> 6; |
inb | 1474 | kernel/chr_drv/serial.c | scratch = inb(UART_SCR + port); |
inb | 1476 | kernel/chr_drv/serial.c | status1 = inb(UART_SCR + port); |
inb | 1478 | kernel/chr_drv/serial.c | status2 = inb(UART_SCR + port); |
inb | 723 | kernel/sys.c | if (inb(0x20) & 1) |