Home | History | Annotate | Download | only in ic

Lines Matching defs:tinfo

140 					     struct ahd_transinfo *tinfo);
2214 struct ahd_initiator_tinfo *tinfo;
2225 tinfo = ahd_fetch_transinfo(ahd, devinfo.channel,
2228 tinfo->curr.transport_version = 2;
2229 tinfo->goal.transport_version = 2;
2230 tinfo->goal.ppr_options = 0;
2765 struct ahd_initiator_tinfo *tinfo,
2790 transinfo = &tinfo->user;
2792 transinfo = &tinfo->goal;
2853 struct ahd_initiator_tinfo *tinfo,
2870 if (tinfo != NULL) {
2872 *offset = MIN(*offset, tinfo->user.offset);
2874 *offset = MIN(*offset, tinfo->goal.offset);
2883 ahd_validate_width(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo,
2898 if (tinfo != NULL) {
2900 *bus_width = MIN(tinfo->user.width, *bus_width);
2902 *bus_width = MIN(tinfo->goal.width, *bus_width);
2915 struct ahd_initiator_tinfo *tinfo, ahd_neg_type neg_type)
2928 tinfo->curr.width = AHD_WIDTH_UNKNOWN;
2929 tinfo->curr.period = AHD_PERIOD_UNKNOWN;
2930 tinfo->curr.offset = AHD_OFFSET_UNKNOWN;
2932 if (tinfo->curr.period != tinfo->goal.period
2933 || tinfo->curr.width != tinfo->goal.width
2934 || tinfo->curr.offset != tinfo->goal.offset
2935 || tinfo->curr.ppr_options != tinfo->goal.ppr_options
2937 && (tinfo->goal.offset != 0
2938 || tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT
2939 || tinfo->goal.ppr_options != 0)))
2960 struct ahd_initiator_tinfo *tinfo;
2976 tinfo = ahd_fetch_transinfo(ahd, devinfo->channel, devinfo->our_scsiid,
2980 tinfo->user.period = period;
2981 tinfo->user.offset = offset;
2982 tinfo->user.ppr_options = ppr_options;
2986 tinfo->goal.period = period;
2987 tinfo->goal.offset = offset;
2988 tinfo->goal.ppr_options = ppr_options;
2991 old_period = tinfo->curr.period;
2992 old_offset = tinfo->curr.offset;
2993 old_ppr = tinfo->curr.ppr_options;
3002 tinfo->curr.period = period;
3003 tinfo->curr.offset = offset;
3004 tinfo->curr.ppr_options = ppr_options;
3062 ahd_update_neg_table(ahd, devinfo, &tinfo->curr);
3088 tinfo, AHD_NEG_TO_GOAL);
3106 struct ahd_initiator_tinfo *tinfo;
3114 tinfo = ahd_fetch_transinfo(ahd, devinfo->channel, devinfo->our_scsiid,
3118 tinfo->user.width = width;
3121 tinfo->goal.width = width;
3123 oldwidth = tinfo->curr.width;
3128 tinfo->curr.width = width;
3142 ahd_update_neg_table(ahd, devinfo, &tinfo->curr);
3148 tinfo, AHD_NEG_TO_GOAL);
3168 struct ahd_transinfo *tinfo)
3183 period = tinfo->period;
3184 offset = tinfo->offset;
3186 ppr_opts = tinfo->ppr_options & (MSG_EXT_PPR_QAS_REQ|MSG_EXT_PPR_DT_REQ
3216 if ((tinfo->ppr_options & MSG_EXT_PPR_PCOMP_EN) == 0)
3245 if (tinfo->width == MSG_EXT_WDTR_BUS_16_BIT)
3253 if ((tinfo->ppr_options & MSG_EXT_PPR_IU_REQ) == 0)
3577 struct ahd_initiator_tinfo *tinfo;
3586 tinfo = ahd_fetch_transinfo(ahd, devinfo->channel, devinfo->our_scsiid,
3594 period = tinfo->goal.period;
3595 offset = tinfo->goal.offset;
3596 ppr_options = tinfo->goal.ppr_options;
3600 ahd_devlimited_syncrate(ahd, tinfo, &period,
3602 dowide = tinfo->curr.width != tinfo->goal.width;
3603 dosync = tinfo->curr.offset != offset || tinfo->curr.period != period;
3612 dowide = tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT;
3613 dosync = tinfo->goal.offset != 0;
3645 offset = tinfo->goal.offset;
3646 ahd_validate_offset(ahd, tinfo, period, &offset,
3647 doppr ? tinfo->goal.width
3648 : tinfo->curr.width,
3652 tinfo->goal.width, ppr_options);
3657 ahd_construct_wdtr(ahd, devinfo, tinfo->goal.width);
4162 struct ahd_initiator_tinfo *tinfo;
4171 tinfo = ahd_fetch_transinfo(ahd, devinfo->channel, devinfo->our_scsiid,
4234 ahd_devlimited_syncrate(ahd, tinfo, &period,
4236 ahd_validate_offset(ahd, tinfo, period, &offset,
4237 tinfo->curr.width, devinfo->role);
4308 ahd_validate_width(ahd, tinfo, &bus_width,
4362 tinfo, AHD_NEG_ALWAYS);
4428 ahd_validate_width(ahd, tinfo, &bus_width,
4430 ahd_devlimited_syncrate(ahd, tinfo, &period,
4432 ahd_validate_offset(ahd, tinfo, period, &offset,
4587 struct ahd_initiator_tinfo *tinfo;
4595 tinfo = ahd_fetch_transinfo(ahd, devinfo->channel,
4603 && tinfo->goal.period <= AHD_SYNCRATE_PACED) {
4615 tinfo->goal.period = AHD_SYNCRATE_DT;
4616 tinfo->goal.ppr_options &= MSG_EXT_PPR_IU_REQ
4630 tinfo->goal.ppr_options = 0;
4631 tinfo->curr.transport_version = 2;
4632 tinfo->goal.transport_version = 2;
4655 if (tinfo->goal.offset != tinfo->curr.offset) {
6381 struct ahd_initiator_tinfo *tinfo;
6384 tinfo = ahd_fetch_transinfo(ahd, 'A', ahd->our_id,
6389 ahd_update_neg_table(ahd, &devinfo, &tinfo->curr);
6554 struct ahd_initiator_tinfo *tinfo;
6558 tinfo = ahd_fetch_transinfo(ahd, 'A', ahd->our_id,
6563 tinfo->user.protocol_version = 4;
6564 tinfo->user.transport_version = 4;
6571 tinfo->user.period = AHD_SYNCRATE_DT;
6573 tinfo->user.period = AHD_SYNCRATE_160;
6575 tinfo->user.offset= MAX_OFFSET;
6576 tinfo->user.ppr_options = MSG_EXT_PPR_RDSTRM
6583 tinfo->user.ppr_options |= MSG_EXT_PPR_RTI;
6585 tinfo->user.width = MSG_EXT_WDTR_BUS_16_BIT;
6591 tinfo->goal.protocol_version = 2;
6592 tinfo->goal.transport_version = 2;
6593 tinfo->curr.protocol_version = 2;
6594 tinfo->curr.transport_version = 2;
6633 struct ahd_initiator_tinfo *tinfo;
6638 tinfo = ahd_fetch_transinfo(ahd, 'A', ahd->our_id,
6640 user_tinfo = &tinfo->user;
6645 tinfo->user.protocol_version = 4;
6646 tinfo->user.transport_version = 4;
6705 tinfo->goal.protocol_version = 2;
6706 tinfo->goal.transport_version = 2;
6707 tinfo->curr.protocol_version = 2;
6708 tinfo->curr.transport_version = 2;