Lines Matching refs:bval
2248 u8 bval; in data_io_transfer() local
2413 bval = (io_dir & DMACMD_DIR) ? SCMD_FIFO_IN : SCMD_FIFO_OUT; in data_io_transfer()
2414 DC395x_write8(acb, TRM_S1040_SCSI_COMMAND, bval); in data_io_transfer()
2563 u8 bval; in msgin_set_sync() local
2582 bval = 0; in msgin_set_sync()
2583 while (bval < 7 && (srb->msgin_buf[3] > clock_period[bval] in msgin_set_sync()
2585 clock_period[bval])) in msgin_set_sync()
2586 bval++; in msgin_set_sync()
2587 if (srb->msgin_buf[3] < clock_period[bval]) in msgin_set_sync()
2590 clock_period[bval] << 2); in msgin_set_sync()
2591 srb->msgin_buf[3] = clock_period[bval]; in msgin_set_sync()
2593 dcb->sync_period |= ALT_SYNC | bval; in msgin_set_sync()
2937 u8 bval = DC395x_read8(acb, TRM_S1040_SCSI_SIGNAL); in disconnect() local
2941 if (bval & 0x40) { in disconnect()
2944 bval); in disconnect()
3418 u8 bval; in set_basic_config() local
3422 bval = PHASELATCH | INITIATOR | BLOCKRST | PARITYCHECK; in set_basic_config()
3424 bval = PHASELATCH | INITIATOR | BLOCKRST; in set_basic_config()
3426 DC395x_write8(acb, TRM_S1040_SCSI_CONFIG0, bval); in set_basic_config()
4132 u8 bval; in adapter_print_config() local
4134 bval = DC395x_read8(acb, TRM_S1040_GEN_STATUS); in adapter_print_config()
4136 ((bval & WIDESCSI) ? "(Wide) " : "")); in adapter_print_config()
4137 if (!(bval & CON5068)) in adapter_print_config()
4138 printk("ext%s ", !(bval & EXT68HIGH) ? "68" : "50"); in adapter_print_config()
4139 if (!(bval & CON68)) in adapter_print_config()
4140 printk("int68%s ", !(bval & INT68HIGH) ? "" : "(50)"); in adapter_print_config()
4141 if (!(bval & CON50)) in adapter_print_config()
4143 if ((bval & (CON5068 | CON50 | CON68)) == in adapter_print_config()
4146 bval = DC395x_read8(acb, TRM_S1040_GEN_CONTROL); in adapter_print_config()
4148 if (bval & DIS_TERM) in adapter_print_config()
4151 if (bval & AUTOTERM) in adapter_print_config()
4153 if (bval & LOW8TERM) in adapter_print_config()
4155 if (bval & UP8TERM) in adapter_print_config()