Lines Matching refs:tinfo
1010 tp->tinfo.user.scsi_version = tp->tinfo.curr.scsi_version= 2;
1011 tp->tinfo.user.spi_version = tp->tinfo.curr.spi_version = 2;
1012 tp->tinfo.user.period = np->minsync;
1013 tp->tinfo.user.offset = np->maxoffs;
1014 tp->tinfo.user.width = np->maxwide ? BUS_16_BIT : BUS_8_BIT;
1025 if (tp->tinfo.user.period <= 9 &&
1026 tp->tinfo.user.width == BUS_16_BIT) {
1027 tp->tinfo.user.options |= PPR_OPT_DT;
1028 tp->tinfo.user.offset = np->maxoffs_dt;
1029 tp->tinfo.user.spi_version = 3;
1483 tp->tinfo.goal.options = 0;
1487 if (tp->tinfo.goal.options & PPR_OPT_MASK)
1492 else if (tp->tinfo.curr.width != tp->tinfo.goal.width)
1497 else if (tp->tinfo.curr.period != tp->tinfo.goal.period ||
1498 tp->tinfo.curr.offset != tp->tinfo.goal.offset)
1506 msgptr[msglen++] = tp->tinfo.goal.period;
1507 msgptr[msglen++] = tp->tinfo.goal.offset;
1513 msgptr[msglen++] = tp->tinfo.goal.width;
1519 msgptr[msglen++] = tp->tinfo.goal.period;
1521 msgptr[msglen++] = tp->tinfo.goal.offset;
1522 msgptr[msglen++] = tp->tinfo.goal.width;
1523 msgptr[msglen++] = tp->tinfo.goal.options & PPR_OPT_DT;
1910 tp->tinfo.curr.period = 0;
1911 tp->tinfo.curr.offset = 0;
1912 tp->tinfo.curr.width = BUS_8_BIT;
1913 tp->tinfo.curr.options = 0;
2080 tp->tinfo.goal.width = tp->tinfo.curr.width = wide;
2081 tp->tinfo.curr.offset = 0;
2082 tp->tinfo.curr.period = 0;
2083 tp->tinfo.curr.options = 0;
2101 tp->tinfo.goal.period = tp->tinfo.curr.period = per;
2102 tp->tinfo.goal.offset = tp->tinfo.curr.offset = ofs;
2103 tp->tinfo.goal.options = tp->tinfo.curr.options = 0;
2120 tp->tinfo.goal.width = tp->tinfo.curr.width = wide;
2121 tp->tinfo.goal.period = tp->tinfo.curr.period = per;
2122 tp->tinfo.goal.offset = tp->tinfo.curr.offset = ofs;
2123 tp->tinfo.goal.options = tp->tinfo.curr.options = dt;
3131 if (tp->tinfo.curr.options & PPR_OPT_MASK)
3133 else if (tp->tinfo.curr.width != BUS_8_BIT)
3135 else if (tp->tinfo.curr.offset != 0)
3157 if (tp->tinfo.curr.scsi_version <= 2 && cp->lun <= 7)
3573 tp->tinfo.curr.period = 0;
3574 tp->tinfo.curr.offset = 0;
3575 tp->tinfo.curr.width = BUS_8_BIT;
3576 tp->tinfo.curr.options = 0;
3991 if (ofs > tp->tinfo.user.offset)
3992 {chg = 1; ofs = tp->tinfo.user.offset;}
4000 if (per < tp->tinfo.user.period)
4001 {chg = 1; per = tp->tinfo.user.period;}
4121 if (wide > tp->tinfo.user.width)
4122 {chg = 1; wide = tp->tinfo.user.width;}
4138 if (ofs > tp->tinfo.user.offset)
4139 {chg = 1; ofs = tp->tinfo.user.offset;}
4151 if (per < tp->tinfo.user.period)
4152 {chg = 1; per = tp->tinfo.user.period;}
4208 tp->tinfo.goal.options = 0;
4209 tp->tinfo.goal.width = wide;
4210 tp->tinfo.goal.period = per;
4211 tp->tinfo.goal.offset = ofs;
4274 if (wide > tp->tinfo.user.width)
4275 {chg = 1; wide = tp->tinfo.user.width;}
4352 if (tp->tinfo.goal.offset) {
4356 np->msgout[3] = tp->tinfo.goal.period;
4357 np->msgout[4] = tp->tinfo.goal.offset;
4397 tp->tinfo.goal.options = 0;
4398 if (tp->tinfo.goal.period < np->minsync)
4399 tp->tinfo.goal.period = np->minsync;
4400 if (tp->tinfo.goal.offset > np->maxoffs)
4401 tp->tinfo.goal.offset = np->maxoffs;
5326 if (tp->tinfo.curr.width != tp->tinfo.goal.width ||
5327 tp->tinfo.curr.period != tp->tinfo.goal.period ||
5328 tp->tinfo.curr.offset != tp->tinfo.goal.offset ||
5329 tp->tinfo.curr.options != tp->tinfo.goal.options) {