Home
last modified time | relevance | path

Searched refs:tinfo (Results 1 – 15 of 15) sorted by relevance

/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/
Dsym_misc.c159 #define __tprev tp->tinfo.prev in sym_announce_transfer_rate()
160 #define __tcurr tp->tinfo.curr in sym_announce_transfer_rate()
228 bcopy(&tp->tinfo.user, &tp->tinfo.goal, sizeof(tp->tinfo.goal)); in sym_update_trans_settings()
233 tp->tinfo.goal.options = 0; in sym_update_trans_settings()
243 tp->tinfo.goal.width = 0; in sym_update_trans_settings()
244 tp->tinfo.goal.options = 0; in sym_update_trans_settings()
248 tp->tinfo.goal.offset = 0; in sym_update_trans_settings()
249 tp->tinfo.goal.options = 0; in sym_update_trans_settings()
252 if (tp->tinfo.goal.options & PPR_OPT_DT) { in sym_update_trans_settings()
253 if (tp->tinfo.goal.offset > np->maxoffs_dt) in sym_update_trans_settings()
[all …]
Dsym_hipd.c1010 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;
[all …]
Dsym_nvram.c135 tp->tinfo.user.period = tn->sync_period ? (tn->sync_period + 3) / 4 : 0; in sym_Symbios_setup_target()
136 tp->tinfo.user.width = tn->bus_width == 0x10 ? BUS_16_BIT : BUS_8_BIT; in sym_Symbios_setup_target()
160 tp->tinfo.user.period = Tekram_sync[i]; in sym_Tekram_setup_target()
163 tp->tinfo.user.width = in sym_Tekram_setup_target()
Dsym_glue.c1477 tp->tinfo.goal.options = 0; in sym_exec_user_command()
1478 tp->tinfo.goal.offset = 0; in sym_exec_user_command()
1485 tp->tinfo.goal.options = PPR_OPT_DT; in sym_exec_user_command()
1486 tp->tinfo.goal.width = 1; in sym_exec_user_command()
1487 tp->tinfo.goal.period = uc->data; in sym_exec_user_command()
1488 tp->tinfo.goal.offset = np->maxoffs_dt; in sym_exec_user_command()
1493 tp->tinfo.goal.options = 0; in sym_exec_user_command()
1494 tp->tinfo.goal.period = uc->data; in sym_exec_user_command()
1495 tp->tinfo.goal.offset = np->maxoffs; in sym_exec_user_command()
1499 tp->tinfo.goal.width = uc->data ? 1 : 0; in sym_exec_user_command()
Dsym_hipd.h475 struct sym_tinfo tinfo; member
/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daic79xx_proc.c99 ahd_format_transinfo(struct info_str *info, struct ahd_transinfo *tinfo) in ahd_format_transinfo() argument
105 if (tinfo->period == AHD_PERIOD_UNKNOWN) { in ahd_format_transinfo()
111 if (tinfo->offset != 0) { in ahd_format_transinfo()
112 freq = aic_calc_syncsrate(tinfo->period); in ahd_format_transinfo()
115 speed *= (0x01 << tinfo->width); in ahd_format_transinfo()
127 if ((tinfo->ppr_options & MSG_EXT_PPR_RD_STRM) != 0) { in ahd_format_transinfo()
131 if ((tinfo->ppr_options & MSG_EXT_PPR_DT_REQ) != 0) { in ahd_format_transinfo()
135 if ((tinfo->ppr_options & MSG_EXT_PPR_IU_REQ) != 0) { in ahd_format_transinfo()
139 if ((tinfo->ppr_options & MSG_EXT_PPR_RTI) != 0) { in ahd_format_transinfo()
144 if ((tinfo->ppr_options & MSG_EXT_PPR_QAS_REQ) != 0) { in ahd_format_transinfo()
[all …]
Daic7xxx_proc.c100 ahc_format_transinfo(struct info_str *info, struct ahc_transinfo *tinfo) in ahc_format_transinfo() argument
108 if (tinfo->offset != 0) { in ahc_format_transinfo()
109 freq = aic_calc_syncsrate(tinfo->period); in ahc_format_transinfo()
112 speed *= (0x01 << tinfo->width); in ahc_format_transinfo()
122 (tinfo->ppr_options & MSG_EXT_PPR_DT_REQ) != 0 in ahc_format_transinfo()
123 ? " DT" : "", tinfo->offset); in ahc_format_transinfo()
126 if (tinfo->width > 0) { in ahc_format_transinfo()
132 copy_info(info, "%dbit)", 8 * (0x01 << tinfo->width)); in ahc_format_transinfo()
145 struct ahc_initiator_tinfo *tinfo; in ahc_dump_target_state() local
149 tinfo = ahc_fetch_transinfo(ahc, channel, our_id, in ahc_dump_target_state()
[all …]
Daic7xxx_core.c481 struct ahc_transinfo *tinfo; in ahc_handle_seqint() local
498 tinfo = &targ_info->curr; in ahc_handle_seqint()
521 if (tinfo->protocol_version <= SCSI_REV_2 in ahc_handle_seqint()
1289 struct ahc_initiator_tinfo *tinfo; in ahc_handle_scsiint() local
1296 tinfo = ahc_fetch_transinfo(ahc, in ahc_handle_scsiint()
1301 tinfo->curr.transport_version = 2; in ahc_handle_scsiint()
1302 tinfo->goal.transport_version = 2; in ahc_handle_scsiint()
1303 tinfo->goal.ppr_options = 0; in ahc_handle_scsiint()
1633 struct ahc_initiator_tinfo *tinfo, in ahc_devlimited_syncrate() argument
1664 transinfo = &tinfo->user; in ahc_devlimited_syncrate()
[all …]
Daic79xx_core.c134 struct ahd_transinfo *tinfo);
685 struct ahd_transinfo *tinfo; in ahd_handle_seqint() local
718 tinfo = &targ_info->curr; in ahd_handle_seqint()
1864 struct ahd_initiator_tinfo *tinfo; in ahd_handle_nonpkt_busfree() local
1875 tinfo = ahd_fetch_transinfo(ahd, devinfo.channel, in ahd_handle_nonpkt_busfree()
1878 tinfo->curr.transport_version = 2; in ahd_handle_nonpkt_busfree()
1879 tinfo->goal.transport_version = 2; in ahd_handle_nonpkt_busfree()
1880 tinfo->goal.ppr_options = 0; in ahd_handle_nonpkt_busfree()
2414 struct ahd_initiator_tinfo *tinfo, in ahd_devlimited_syncrate() argument
2439 transinfo = &tinfo->user; in ahd_devlimited_syncrate()
[all …]
Daic79xx_osm.c1558 struct ahd_initiator_tinfo *tinfo; local
1589 tinfo = ahd_fetch_transinfo(ahd, 'A', ahd->our_id,
1605 if ((tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ) != 0) {
2241 struct ahd_initiator_tinfo *tinfo; local
2244 tinfo = ahd_fetch_transinfo(ahd, 'A', ahd->our_id,
2249 tinfo, AHD_NEG_ALWAYS);
3587 struct ahd_initiator_tinfo *tinfo; local
3606 tinfo = ahd_fetch_transinfo(ahd, devinfo->channel,
3609 goal = &tinfo->goal;
3984 struct ahd_initiator_tinfo *tinfo; local
[all …]
Daic7xxx_osm.c1897 struct ahc_initiator_tinfo *tinfo; local
1911 tinfo = ahc_fetch_transinfo(ahc, channel, our_id,
1916 tinfo, AHC_NEG_ALWAYS);
3241 struct ahc_initiator_tinfo *tinfo; local
3263 tinfo = ahc_fetch_transinfo(ahc, devinfo->channel,
3266 goal = &tinfo->goal;
3661 struct ahc_initiator_tinfo *tinfo; local
3706 tinfo = ahc_fetch_transinfo(ahc, SCB_GET_CHANNEL(ahc, scb),
3709 hscb->scsirate = tinfo->scsirate;
3710 hscb->scsioffset = tinfo->curr.offset;
[all …]
Daic7xxx.h1264 struct ahc_initiator_tinfo *tinfo,
1269 struct ahc_initiator_tinfo *tinfo,
Daic79xx.h1444 struct ahd_initiator_tinfo *tinfo,
1448 struct ahd_initiator_tinfo *tinfo,
Daic7xxx_osm.h686 struct ahc_transinfo *tinfo);
Daic79xx_osm.h717 struct ahd_transinfo *tinfo);