Lines Matching refs:tinfo
1161 struct ahc_initiator_tinfo *tinfo; in ahc_linux_initialize_scsi_bus() local
1175 tinfo = ahc_fetch_transinfo(ahc, channel, our_id, in ahc_linux_initialize_scsi_bus()
1180 tinfo, AHC_NEG_ALWAYS); in ahc_linux_initialize_scsi_bus()
1407 struct ahc_initiator_tinfo *tinfo; in ahc_linux_run_command() local
1463 tinfo = ahc_fetch_transinfo(ahc, SCB_GET_CHANNEL(ahc, scb), in ahc_linux_run_command()
1466 hscb->scsirate = tinfo->scsirate; in ahc_linux_run_command()
1467 hscb->scsioffset = tinfo->curr.offset; in ahc_linux_run_command()
1594 struct ahc_initiator_tinfo *tinfo; in ahc_send_async() local
1601 tinfo = ahc_fetch_transinfo(ahc, channel, in ahc_send_async()
1610 if (tinfo->curr.period != tinfo->goal.period in ahc_send_async()
1611 || tinfo->curr.width != tinfo->goal.width in ahc_send_async()
1612 || tinfo->curr.offset != tinfo->goal.offset in ahc_send_async()
1613 || tinfo->curr.ppr_options != tinfo->goal.ppr_options) in ahc_send_async()
1633 if (tinfo->curr.period == spi_period(starget) in ahc_send_async()
1634 && tinfo->curr.width == spi_width(starget) in ahc_send_async()
1635 && tinfo->curr.offset == spi_offset(starget) in ahc_send_async()
1636 && tinfo->curr.ppr_options == target_ppr_options) in ahc_send_async()
1640 spi_period(starget) = tinfo->curr.period; in ahc_send_async()
1641 spi_width(starget) = tinfo->curr.width; in ahc_send_async()
1642 spi_offset(starget) = tinfo->curr.offset; in ahc_send_async()
1643 spi_dt(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_DT_REQ ? 1 : 0; in ahc_send_async()
1644 spi_qas(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_QAS_REQ ? 1 : 0; in ahc_send_async()
1645 spi_iu(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ ? 1 : 0; in ahc_send_async()
2330 struct ahc_initiator_tinfo *tinfo in ahc_linux_set_period() local
2335 unsigned int ppr_options = tinfo->goal.ppr_options; in ahc_linux_set_period()
2337 unsigned long offset = tinfo->goal.offset; in ahc_linux_set_period()
2375 struct ahc_initiator_tinfo *tinfo in ahc_linux_set_offset() local
2390 period = tinfo->goal.period; in ahc_linux_set_offset()
2391 ppr_options = tinfo->goal.ppr_options; in ahc_linux_set_offset()
2404 struct ahc_initiator_tinfo *tinfo in ahc_linux_set_dt() local
2409 unsigned int ppr_options = tinfo->goal.ppr_options in ahc_linux_set_dt()
2411 unsigned int period = tinfo->goal.period; in ahc_linux_set_dt()
2412 unsigned int width = tinfo->goal.width; in ahc_linux_set_dt()
2428 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, in ahc_linux_set_dt()
2443 struct ahc_initiator_tinfo *tinfo
2448 unsigned int ppr_options = tinfo->goal.ppr_options
2450 unsigned int period = tinfo->goal.period;
2462 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,
2472 struct ahc_initiator_tinfo *tinfo
2477 unsigned int ppr_options = tinfo->goal.ppr_options
2479 unsigned int period = tinfo->goal.period;
2491 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,