Lines Matching refs:STp
1994 NCR_700_set_period(struct scsi_target *STp, int period) in NCR_700_set_period() argument
1996 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent); in NCR_700_set_period()
2006 spi_period(STp) = period; in NCR_700_set_period()
2007 spi_flags(STp) &= ~(NCR_700_DEV_NEGOTIATED_SYNC | in NCR_700_set_period()
2009 spi_flags(STp) |= NCR_700_DEV_PRINT_SYNC_NEGOTIATION; in NCR_700_set_period()
2013 NCR_700_set_offset(struct scsi_target *STp, int offset) in NCR_700_set_offset() argument
2015 struct Scsi_Host *SHp = dev_to_shost(STp->dev.parent); in NCR_700_set_offset()
2028 if(spi_offset(STp) == 0 && (spi_period(STp) < hostdata->min_period || in NCR_700_set_offset()
2029 spi_period(STp) > 0xff)) in NCR_700_set_offset()
2030 spi_period(STp) = hostdata->min_period; in NCR_700_set_offset()
2032 spi_offset(STp) = offset; in NCR_700_set_offset()
2033 spi_flags(STp) &= ~(NCR_700_DEV_NEGOTIATED_SYNC | in NCR_700_set_offset()
2035 spi_flags(STp) |= NCR_700_DEV_PRINT_SYNC_NEGOTIATION; in NCR_700_set_offset()