Lines Matching refs:bval
813 u8 sstatus, residual, bval; in dc390_DataIn_0() local
864 bval = DC390_read8 (Current_Fifo); in dc390_DataIn_0()
865 while( bval & 0x1f ) in dc390_DataIn_0()
868 if( (bval & 0x1f) == 1 ) in dc390_DataIn_0()
872 bval = DC390_read8 (Current_Fifo); in dc390_DataIn_0()
873 if( !(bval & 0x1f) ) in dc390_DataIn_0()
883 bval = DC390_read8 (Current_Fifo); in dc390_DataIn_0()
889 bval = DC390_read8 (DMA_Status); in dc390_DataIn_0()
890 if (bval & BLAST_COMPLETE) in dc390_DataIn_0()
897 dc390_laststatus |= bval << 24; in dc390_DataIn_0()
899 DEBUG1(printk (KERN_DEBUG "Blast: Read %i times DMA_Status %02x", 0xa000-i, bval)); in dc390_DataIn_0()
912 bval = DC390_read8 (ScsiFifo); /* get one residual byte */ in dc390_DataIn_0()
917 *(ptr + offset) = bval; in dc390_DataIn_0()
1065 u8 bval; in dc390_MsgIn_set_sync() local
1105 bval = FAST_CLK+FAST_SCSI; /* fast clock / fast scsi */ in dc390_MsgIn_set_sync()
1117 bval = FAST_CLK; /* fast clock / normal scsi */ in dc390_MsgIn_set_sync()
1121 pDCB->CtrlR3 = bval; in dc390_MsgIn_set_sync()
1126 if (! (bval & FAST_SCSI)) wval1++; in dc390_MsgIn_set_sync()
1412 u8 bval, i, cnt; in dc390_MsgOutPhase() local
1433 bval = ABORT; /* ??? MSG_NOP */ in dc390_MsgOutPhase()
1441 DC390_write8 (ScsiFifo, bval); in dc390_MsgOutPhase()
1489 u8 bval, i, cnt; in dc390_SetXferRate() local
1498 bval = pDCB->TargetID; in dc390_SetXferRate()
1501 if( ptr->TargetID == bval ) in dc390_SetXferRate()
2038 u8 bval; in DC390_bus_reset() local
2042 bval = DC390_read8(CtrlReg1) | DIS_INT_ON_SCSI_RST; in DC390_bus_reset()
2043 DC390_write8(CtrlReg1, bval); /* disable IRQ on bus reset */ in DC390_bus_reset()
2061 bval = DC390_read8(CtrlReg1) & ~DIS_INT_ON_SCSI_RST; in DC390_bus_reset()
2062 DC390_write8(CtrlReg1, bval); /* re-enable interrupt */ in DC390_bus_reset()
2223 u8 carryFlag = 1, j = 0x80, bval; in dc390_eeprom_prepare_read() local
2229 bval = 0xc0; in dc390_eeprom_prepare_read()
2231 bval = 0x80; in dc390_eeprom_prepare_read()
2234 pci_write_config_byte(pdev, 0x80, bval); in dc390_eeprom_prepare_read()
2248 u8 bval; in dc390_eeprom_get_data() local
2257 pci_read_config_byte(pdev, 0x00, &bval); in dc390_eeprom_get_data()
2259 if (bval == 0x22) in dc390_eeprom_get_data()
2539 u8 bval; in dc390_remove_one() local
2545 bval = DC390_read8(CtrlReg1) | DIS_INT_ON_SCSI_RST; in dc390_remove_one()
2546 DC390_write8 (CtrlReg1, bval); /* disable interrupt */ in dc390_remove_one()