Lines Matching defs:siop_target
338 struct siop_common_target *siop_target = siop_cmd->siop_target;
342 if (siop_target->status == TARST_WIDE_NEG) {
346 siop_target->flags &= ~TARF_ISWIDE;
350 if (siop_target->flags & TARF_WIDE) {
351 siop_target->flags |= TARF_ISWIDE;
361 siop_target->flags &= ~TARF_ISWIDE;
362 siop_target->status = TARST_OK;
363 siop_target->offset = siop_target->period = 0;
378 if (siop_target->flags & TARF_SYNC) {
379 siop_target->status = TARST_SYNC_NEG;
384 siop_target->status = TARST_OK;
391 && (siop_target->flags & TARF_WIDE)) {
392 siop_target->flags |= TARF_ISWIDE;
395 siop_target->flags &= ~TARF_ISWIDE;
405 siop_target->status = TARST_OK;
406 siop_target->offset = siop_target->period = 0;
408 siop_wdtr_msg(siop_cmd, 0, (siop_target->flags & TARF_ISWIDE) ?
418 struct siop_common_target *siop_target = siop_cmd->siop_target;
431 if (siop_target->status == TARST_PPR_NEG) {
440 siop_target->status = TARST_ASYNC;
441 siop_target->flags &= ~(TARF_DT | TARF_ISDT);
442 siop_target->offset = 0;
443 siop_target->period = 0;
453 siop_target->offset = 0;
454 siop_target->period = 0;
462 siop_target->offset = offset;
463 siop_target->period = sync;
465 siop_target->flags |= TARF_ISDT;
468 if ((siop_target->flags & TARF_ISDT) == 0) {
476 siop_target->status = TARST_ASYNC;
477 siop_target->flags &= ~(TARF_DT | TARF_ISDT);
478 siop_target->offset = 0;
479 siop_target->period = 0;
489 siop_target->status = TARST_ASYNC;
492 siop_target->flags |= TARF_ISWIDE;
498 (siop_target->offset & SXFER_MO_MASK) << 8;
501 siop_target->status = TARST_OK;
525 struct siop_common_target *siop_target = siop_cmd->siop_target;
537 if (siop_target->status == TARST_SYNC_NEG) {
539 siop_target->status = TARST_OK;
551 siop_target->offset = offset;
552 siop_target->period = sync;
584 siop_target->offset = siop_target->period = 0;
602 siop_target->offset = offset;
603 siop_target->period = sync;
626 siop_target->offset = siop_target->period = 0;
635 if (siop_target->status == TARST_OK)
773 if (siop_cmd->siop_target->flags & TARF_ISWIDE) {
891 if ((siop_cmd->siop_target->flags & TARF_ISWIDE) == 0) {
1026 struct siop_common_target *siop_target = sc->targets[target];
1034 if (siop_target->flags & TARF_ISWIDE)
1036 if (siop_target->period) {
1037 xm.xm_period = siop_target->period;
1038 xm.xm_offset = siop_target->offset;
1041 if (siop_target->flags & TARF_TAG) {