Lines Matching refs:sync_state
217 printk(" busyluns[%d]=%08lx dev[%d]={ disconnect_ok=%d stp=%X sof=%X sync_state=%X }\n",
220 info->device[i].sof, info->device[i].sync_state);
534 if (dev->sync_state == neg_inprogress) {
535 dev->sync_state = neg_invalid;
541 switch (dev->sync_state) {
572 dev->sync_state = neg_targcomplete;
586 dev->sync_state = neg_complete;
1601 neg_t sync_state;
1606 sync_state = neg_invalid;
1610 sync_state = neg_wait;
1619 info->device[i].sync_state = sync_state;
1805 if ((info->device[SCpnt->device->id].sync_state == neg_wait ||
1806 info->device[SCpnt->device->id].sync_state == neg_complete) &&
1809 info->device[SCpnt->device->id].sync_state = neg_inprogress;