Lines Matching refs:tinfo
567 struct ahc_initiator_tinfo *tinfo; in ahc_linux_target_alloc() local
616 tinfo = ahc_fetch_transinfo(ahc, channel, ahc->our_id, in ahc_linux_target_alloc()
1182 struct ahc_initiator_tinfo *tinfo; in ahc_linux_initialize_scsi_bus() local
1196 tinfo = ahc_fetch_transinfo(ahc, channel, our_id, in ahc_linux_initialize_scsi_bus()
1201 tinfo, AHC_NEG_ALWAYS); in ahc_linux_initialize_scsi_bus()
1428 struct ahc_initiator_tinfo *tinfo; in ahc_linux_run_command() local
1484 tinfo = ahc_fetch_transinfo(ahc, SCB_GET_CHANNEL(ahc, scb), in ahc_linux_run_command()
1487 hscb->scsirate = tinfo->scsirate; in ahc_linux_run_command()
1488 hscb->scsioffset = tinfo->curr.offset; in ahc_linux_run_command()
1616 struct ahc_initiator_tinfo *tinfo; in ahc_send_async() local
1623 tinfo = ahc_fetch_transinfo(ahc, channel, in ahc_send_async()
1632 if (tinfo->curr.period != tinfo->goal.period in ahc_send_async()
1633 || tinfo->curr.width != tinfo->goal.width in ahc_send_async()
1634 || tinfo->curr.offset != tinfo->goal.offset in ahc_send_async()
1635 || tinfo->curr.ppr_options != tinfo->goal.ppr_options) in ahc_send_async()
1656 if (tinfo->curr.period == spi_period(starget) in ahc_send_async()
1657 && tinfo->curr.width == spi_width(starget) in ahc_send_async()
1658 && tinfo->curr.offset == spi_offset(starget) in ahc_send_async()
1659 && tinfo->curr.ppr_options == target_ppr_options) in ahc_send_async()
1663 spi_period(starget) = tinfo->curr.period; in ahc_send_async()
1664 spi_width(starget) = tinfo->curr.width; in ahc_send_async()
1665 spi_offset(starget) = tinfo->curr.offset; in ahc_send_async()
1666 spi_dt(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_DT_REQ ? 1 : 0; in ahc_send_async()
1667 spi_qas(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_QAS_REQ ? 1 : 0; in ahc_send_async()
1668 spi_iu(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ ? 1 : 0; in ahc_send_async()
2357 struct ahc_initiator_tinfo *tinfo in ahc_linux_set_period() local
2362 unsigned int ppr_options = tinfo->goal.ppr_options; in ahc_linux_set_period()
2364 unsigned long offset = tinfo->goal.offset; in ahc_linux_set_period()
2401 struct ahc_initiator_tinfo *tinfo in ahc_linux_set_offset() local
2415 period = tinfo->goal.period; in ahc_linux_set_offset()
2416 ppr_options = tinfo->goal.ppr_options; in ahc_linux_set_offset()
2429 struct ahc_initiator_tinfo *tinfo in ahc_linux_set_dt() local
2434 unsigned int ppr_options = tinfo->goal.ppr_options in ahc_linux_set_dt()
2436 unsigned int period = tinfo->goal.period; in ahc_linux_set_dt()
2437 unsigned int width = tinfo->goal.width; in ahc_linux_set_dt()
2452 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset, in ahc_linux_set_dt()
2467 struct ahc_initiator_tinfo *tinfo
2472 unsigned int ppr_options = tinfo->goal.ppr_options
2474 unsigned int period = tinfo->goal.period;
2485 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,
2495 struct ahc_initiator_tinfo *tinfo
2500 unsigned int ppr_options = tinfo->goal.ppr_options
2502 unsigned int period = tinfo->goal.period;
2513 ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,