Lines Matching refs:scsirate
2070 aic7xxx_find_period(struct aic7xxx_host *p, unsigned int scsirate, in aic7xxx_find_period() argument
2077 scsirate &= SXFR_ULTRA2; in aic7xxx_find_period()
2081 scsirate &= SXFR; in aic7xxx_find_period()
2091 else if (scsirate == syncrate->sxfr_ultra2) in aic7xxx_find_period()
2093 else if (scsirate == (syncrate->sxfr_ultra2 & ~AHC_SYNCRATE_CRC)) in aic7xxx_find_period()
2096 else if (scsirate == (syncrate->sxfr & ~ULTRA_SXFR)) in aic7xxx_find_period()
2172 unsigned int scsirate; in aic7xxx_set_syncrate() local
2174 scsirate = aic_inb(p, TARG_SCSIRATE + tindex); in aic7xxx_set_syncrate()
2177 scsirate &= ~SXFR_ULTRA2; in aic7xxx_set_syncrate()
2186 scsirate |= (syncrate->sxfr_ultra2 & ~AHC_SYNCRATE_CRC); in aic7xxx_set_syncrate()
2189 scsirate |= syncrate->sxfr_ultra2; in aic7xxx_set_syncrate()
2201 scsirate &= ~(SXFR|SOFS); in aic7xxx_set_syncrate()
2209 scsirate |= (syncrate->sxfr & SXFR); in aic7xxx_set_syncrate()
2210 scsirate |= (offset & SOFS); in aic7xxx_set_syncrate()
2227 aic_outb(p, scsirate, SCSIRATE); in aic7xxx_set_syncrate()
2229 aic_outb(p, scsirate, TARG_SCSIRATE + tindex); in aic7xxx_set_syncrate()
2239 int rate_mod = (scsirate & WIDEXFER) ? 1 : 0; in aic7xxx_set_syncrate()
2291 unsigned char scsirate; in aic7xxx_set_width() local
2293 scsirate = aic_inb(p, TARG_SCSIRATE + tindex); in aic7xxx_set_width()
2295 scsirate &= ~WIDEXFER; in aic7xxx_set_width()
2297 scsirate |= WIDEXFER; in aic7xxx_set_width()
2299 aic_outb(p, scsirate, TARG_SCSIRATE + tindex); in aic7xxx_set_width()
2302 aic_outb(p, scsirate, SCSIRATE); in aic7xxx_set_width()
2311 lun, (scsirate & WIDEXFER) ? "Wide(16bit)" : "Narrow(8bit)" ); in aic7xxx_set_width()
8964 unsigned char scsirate, scsi_conf; in aic7xxx_load_seeprom() local
9250 scsirate = (sc->device_flags[i] & CFXFER); in aic7xxx_load_seeprom()
9265 scsirate = (sc->device_flags[i] & CFXFER) | in aic7xxx_load_seeprom()
9270 p->transinfo[i].user_period = aic7xxx_find_period(p, scsirate, in aic7xxx_load_seeprom()
9280 scsirate = (sc->device_flags[i] & CFXFER) | in aic7xxx_load_seeprom()
9284 p->transinfo[i].user_period = aic7xxx_find_period(p, scsirate, in aic7xxx_load_seeprom()
9292 scsirate = (sc->device_flags[i] & CFXFER) << 4; in aic7xxx_load_seeprom()
9302 scsirate, in aic7xxx_load_seeprom()
9314 scsirate, AHC_SYNCRATE_FAST); in aic7xxx_load_seeprom()