Lines Matching defs:tinfo

601 	struct	 ncr_target_tinfo tinfo;
3625 tp->tinfo.user.period = usrsync;
3626 tp->tinfo.user.offset = usrsync != 0 ? np->maxoffs : 0;
3627 tp->tinfo.user.width = usrwide;
3628 tp->tinfo.disc_tag = NCR_CUR_DISCENB
3916 if (tp->tinfo.current.width
3917 != tp->tinfo.goal.width) {
3920 } else if ((tp->tinfo.current.period
3921 != tp->tinfo.goal.period)
3922 || (tp->tinfo.current.offset
3923 != tp->tinfo.goal.offset)) {
3966 if (tp->tinfo.disc_tag & NCR_CUR_DISCENB)
3983 msgptr[msglen++] = tp->tinfo.goal.period;
3984 msgptr[msglen++] = tp->tinfo.goal.offset;
3996 msgptr[msglen++] = tp->tinfo.goal.width;
4070 cp->phys.select.sel_scntl3 = tp->tinfo.wval;
4071 cp->phys.select.sel_sxfer = tp->tinfo.sval;
4110 cp->sync_status = tp->tinfo.sval;
4112 cp->wide_status = tp->tinfo.wval;
4185 tp->tinfo.disc_tag |= NCR_CUR_DISCENB;
4187 tp->tinfo.disc_tag &= ~NCR_CUR_DISCENB;
4192 tp->tinfo.disc_tag |= NCR_USR_DISCENB;
4194 tp->tinfo.disc_tag &= ~NCR_USR_DISCENB;
4202 tp->tinfo.disc_tag |= NCR_CUR_TAGENB;
4204 tp->tinfo.disc_tag &= ~NCR_CUR_TAGENB;
4209 tp->tinfo.disc_tag |= NCR_USR_TAGENB;
4211 tp->tinfo.disc_tag &= ~NCR_USR_TAGENB;
4237 tp->tinfo.user.period = spi->sync_period;
4239 tp->tinfo.user.offset = spi->sync_offset;
4241 tp->tinfo.user.width = spi->bus_width;
4245 tp->tinfo.goal.period = spi->sync_period;
4248 tp->tinfo.goal.offset = spi->sync_offset;
4251 tp->tinfo.goal.width = spi->bus_width;
4261 struct ncr_transinfo *tinfo;
4274 tinfo = &tp->tinfo.current;
4275 if (tp->tinfo.disc_tag & NCR_CUR_DISCENB)
4280 if (tp->tinfo.disc_tag & NCR_CUR_TAGENB)
4285 tinfo = &tp->tinfo.user;
4286 if (tp->tinfo.disc_tag & NCR_USR_DISCENB)
4291 if (tp->tinfo.disc_tag & NCR_USR_TAGENB)
4297 spi->sync_period = tinfo->period;
4298 spi->sync_offset = tinfo->offset;
4299 spi->bus_width = tinfo->width;
4436 tp->tinfo.goal.period = 0;
4437 tp->tinfo.goal.offset = 0;
4761 tp->tinfo.sval = 0;
4762 tp->tinfo.wval = np->rv_scntl3;
4764 tp->tinfo.current.period = 0;
4765 tp->tinfo.current.offset = 0;
4766 tp->tinfo.current.width = MSG_EXT_WDTR_BUS_8_BIT;
4895 scntl3 = (scntl3 & 0xf0) | (tp->tinfo.wval & EWS)
4910 tp->tinfo.goal.period = period;
4911 tp->tinfo.goal.offset = sxfer & 0x1f;
4912 tp->tinfo.current.period = period;
4913 tp->tinfo.current.offset = sxfer & 0x1f;
4918 if (tp->tinfo.sval == sxfer && tp->tinfo.wval == scntl3) return;
4919 tp->tinfo.sval = sxfer;
4920 tp->tinfo.wval = scntl3;
4993 tp->tinfo.current.width = wide;
4994 tp->tinfo.goal.width = wide;
4995 tp->tinfo.current.period = 0;
4996 tp->tinfo.current.offset = 0;
4998 scntl3 = (tp->tinfo.wval & (~EWS)) | (wide ? EWS : 0);
5000 sxfer = ack ? 0 : tp->tinfo.sval;
5005 if (tp->tinfo.sval == sxfer && tp->tinfo.wval == scntl3) return;
5006 tp->tinfo.sval = sxfer;
5007 tp->tinfo.wval = scntl3;
6053 if (per < tp->tinfo.user.period)
6054 {chg = 1; per = tp->tinfo.user.period;}
6055 if (ofs > tp->tinfo.user.offset)
6056 {chg = 1; ofs = tp->tinfo.user.offset;}
6164 if (wide > tp->tinfo.user.width)
6165 {chg = 1; wide = tp->tinfo.user.width;}
6459 tp->getscr[1] = vtophys (&tp->tinfo.sval);
6463 tp->getscr[4] = vtophys (&tp->tinfo.wval);
6467 (offsetof(struct tcb ,tinfo)
6470 (offsetof(struct tcb, tinfo)