Lines Matching refs:sync_state
214 printk(" busyluns[%d]=%08lx dev[%d]={ disconnect_ok=%d stp=%X sof=%X sync_state=%X }\n",
217 info->device[i].sof, info->device[i].sync_state);
531 if (dev->sync_state == neg_inprogress) {
532 dev->sync_state = neg_invalid;
538 switch (dev->sync_state) {
569 dev->sync_state = neg_targcomplete;
583 dev->sync_state = neg_complete;
1595 neg_t sync_state;
1600 sync_state = neg_invalid;
1604 sync_state = neg_wait;
1613 info->device[i].sync_state = sync_state;
1798 if ((info->device[SCpnt->device->id].sync_state == neg_wait ||
1799 info->device[SCpnt->device->id].sync_state == neg_complete) &&
1802 info->device[SCpnt->device->id].sync_state = neg_inprogress;