Lines Matching refs:tinfo
577 struct ahc_initiator_tinfo *tinfo; in ahc_linux_target_alloc() local
626 tinfo = ahc_fetch_transinfo(ahc, channel, ahc->our_id, in ahc_linux_target_alloc()
1191 struct ahc_initiator_tinfo *tinfo; in ahc_linux_initialize_scsi_bus() local
1205 tinfo = ahc_fetch_transinfo(ahc, channel, our_id, in ahc_linux_initialize_scsi_bus()
1210 tinfo, AHC_NEG_ALWAYS); in ahc_linux_initialize_scsi_bus()
1441 struct ahc_initiator_tinfo *tinfo; in ahc_linux_run_command() local
1497 tinfo = ahc_fetch_transinfo(ahc, SCB_GET_CHANNEL(ahc, scb), in ahc_linux_run_command()
1500 hscb->scsirate = tinfo->scsirate; in ahc_linux_run_command()
1501 hscb->scsioffset = tinfo->curr.offset; in ahc_linux_run_command()
1637 struct ahc_initiator_tinfo *tinfo; in ahc_send_async() local
1644 tinfo = ahc_fetch_transinfo(ahc, channel, in ahc_send_async()
1653 if (tinfo->curr.period != tinfo->goal.period in ahc_send_async()
1654 || tinfo->curr.width != tinfo->goal.width in ahc_send_async()
1655 || tinfo->curr.offset != tinfo->goal.offset in ahc_send_async()
1656 || tinfo->curr.ppr_options != tinfo->goal.ppr_options) in ahc_send_async()
1677 if (tinfo->curr.period == spi_period(starget) in ahc_send_async()
1678 && tinfo->curr.width == spi_width(starget) in ahc_send_async()
1679 && tinfo->curr.offset == spi_offset(starget) in ahc_send_async()
1680 && tinfo->curr.ppr_options == target_ppr_options) in ahc_send_async()
1684 spi_period(starget) = tinfo->curr.period; in ahc_send_async()
1685 spi_width(starget) = tinfo->curr.width; in ahc_send_async()
1686 spi_offset(starget) = tinfo->curr.offset; in ahc_send_async()
1687 spi_dt(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_DT_REQ ? 1 : 0; in ahc_send_async()
1688 spi_qas(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_QAS_REQ ? 1 : 0; in ahc_send_async()
1689 spi_iu(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ ? 1 : 0; in ahc_send_async()
2377 struct ahc_initiator_tinfo *tinfo in ahc_linux_set_period() local
2382 unsigned int ppr_options = tinfo->goal.ppr_options; in ahc_linux_set_period()
2384 unsigned long offset = tinfo->goal.offset; in ahc_linux_set_period()
2421 struct ahc_initiator_tinfo *tinfo in ahc_linux_set_offset() local
2435 period = tinfo->goal.period; in ahc_linux_set_offset()
2436 ppr_options = tinfo->goal.ppr_options; in ahc_linux_set_offset()
2449 struct ahc_initiator_tinfo *tinfo in ahc_linux_set_dt() local
2454 unsigned int ppr_options = tinfo->goal.ppr_options in ahc_linux_set_dt()
2456 unsigned int period = tinfo->goal.period; in ahc_linux_set_dt()
2457 unsigned int width = tinfo->goal.width; in ahc_linux_set_dt()
2472 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, in ahc_linux_set_dt()
2487 struct ahc_initiator_tinfo *tinfo
2492 unsigned int ppr_options = tinfo->goal.ppr_options
2494 unsigned int period = tinfo->goal.period;
2505 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,
2515 struct ahc_initiator_tinfo *tinfo
2520 unsigned int ppr_options = tinfo->goal.ppr_options
2522 unsigned int period = tinfo->goal.period;
2533 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,