Lines Matching refs:sync_flag
983 if (!(target->sync_flag & (SDTR_DONE | SDTR_INITIATOR | SDTR_TARGET))) { in nsp32_queuecommand_lck()
989 target->sync_flag |= SDTR_INITIATOR; in nsp32_queuecommand_lck()
992 target->sync_flag |= SDTR_DONE; in nsp32_queuecommand_lck()
998 } else if (target->sync_flag & SDTR_INITIATOR) { in nsp32_queuecommand_lck()
1005 target->sync_flag &= ~SDTR_INITIATOR; in nsp32_queuecommand_lck()
1006 target->sync_flag |= SDTR_DONE; in nsp32_queuecommand_lck()
1010 } else if (target->sync_flag & SDTR_TARGET) { in nsp32_queuecommand_lck()
1017 target->sync_flag &= ~SDTR_TARGET; in nsp32_queuecommand_lck()
1018 target->sync_flag |= SDTR_DONE; in nsp32_queuecommand_lck()
1026 SCpnt->device->id, target->sync_flag, target->syncreg, in nsp32_queuecommand_lck()
1496 if (data->target[id].sync_flag == SDTR_DONE) { in nsp32_show_info()
1646 if (data->cur_target->sync_flag & SDTR_INITIATOR) { in nsp32_busfree_occur()
1652 data->cur_target->sync_flag &= ~SDTR_INITIATOR; in nsp32_busfree_occur()
1653 data->cur_target->sync_flag |= SDTR_DONE; in nsp32_busfree_occur()
1654 } else if (data->cur_target->sync_flag & SDTR_TARGET) { in nsp32_busfree_occur()
1672 data->cur_target->sync_flag &= ~SDTR_TARGET; in nsp32_busfree_occur()
1673 data->cur_target->sync_flag |= SDTR_DONE; in nsp32_busfree_occur()
2042 if (data->cur_target->sync_flag & in nsp32_msgin_occur()
2050 data->cur_target->sync_flag &= ~SDTR_INITIATOR; in nsp32_msgin_occur()
2051 data->cur_target->sync_flag |= SDTR_DONE; in nsp32_msgin_occur()
2240 if (target->sync_flag & SDTR_INITIATOR) { in nsp32_analyze_sdtr()
2247 target->sync_flag &= ~SDTR_INITIATOR; in nsp32_analyze_sdtr()
2248 target->sync_flag |= SDTR_DONE; in nsp32_analyze_sdtr()
2305 target->sync_flag |= SDTR_INITIATOR; in nsp32_analyze_sdtr()
2680 target->sync_flag = 0; in nsp32_detect()
2821 if (data->cur_target->sync_flag & (SDTR_INITIATOR | SDTR_TARGET)) { in nsp32_eh_abort()
2823 data->cur_target->sync_flag = 0; in nsp32_eh_abort()
2861 target->sync_flag = 0; in nsp32_do_bus_reset()