Lines Matching refs:bval
2249 u8 bval; in data_io_transfer() local
2414 bval = (io_dir & DMACMD_DIR) ? SCMD_FIFO_IN : SCMD_FIFO_OUT; in data_io_transfer()
2415 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, bval); in data_io_transfer()
2564 u8 bval; in msgin_set_sync() local
2583 bval = 0; in msgin_set_sync()
2584 while (bval < 7 && (srb->msgin_buf[3] > clock_period[bval] in msgin_set_sync()
2586 clock_period[bval])) in msgin_set_sync()
2587 bval++; in msgin_set_sync()
2588 if (srb->msgin_buf[3] < clock_period[bval]) in msgin_set_sync()
2591 clock_period[bval] << 2); in msgin_set_sync()
2592 srb->msgin_buf[3] = clock_period[bval]; in msgin_set_sync()
2594 dcb->sync_period |= ALT_SYNC | bval; in msgin_set_sync()
2938 u8 bval = DC395x_read8(acb, TRM_S1040_SCSI_SIGNAL); in disconnect() local
2942 if (bval & 0x40) { in disconnect()
2945 bval); in disconnect()
3422 u8 bval; in set_basic_config() local
3426 bval = PHASELATCH | INITIATOR | BLOCKRST | PARITYCHECK; in set_basic_config()
3428 bval = PHASELATCH | INITIATOR | BLOCKRST; in set_basic_config()
3430 DC395x_write8(acb, TRM_S1040_SCSI_CONFIG0, bval); in set_basic_config()
4127 u8 bval; in adapter_print_config() local
4129 bval = DC395x_read8(acb, TRM_S1040_GEN_STATUS); in adapter_print_config()
4131 ((bval & WIDESCSI) ? "(Wide) " : "")); in adapter_print_config()
4132 if (!(bval & CON5068)) in adapter_print_config()
4133 printk("ext%s ", !(bval & EXT68HIGH) ? "68" : "50"); in adapter_print_config()
4134 if (!(bval & CON68)) in adapter_print_config()
4135 printk("int68%s ", !(bval & INT68HIGH) ? "" : "(50)"); in adapter_print_config()
4136 if (!(bval & CON50)) in adapter_print_config()
4138 if ((bval & (CON5068 | CON50 | CON68)) == in adapter_print_config()
4141 bval = DC395x_read8(acb, TRM_S1040_GEN_CONTROL); in adapter_print_config()
4143 if (bval & DIS_TERM) in adapter_print_config()
4146 if (bval & AUTOTERM) in adapter_print_config()
4148 if (bval & LOW8TERM) in adapter_print_config()
4150 if (bval & UP8TERM) in adapter_print_config()