Searched refs:scsirate (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c1623 u_int scsirate; ahc_handle_scsiint() local
1664 scsirate = ahc_inb(ahc, SCSIRATE); ahc_handle_scsiint()
1670 scsirate); ahc_handle_scsiint()
1682 (scsirate & SINGLE_EDGE) ahc_handle_scsiint()
2347 ahc_find_period(struct ahc_softc *ahc, u_int scsirate, u_int maxsync) ahc_find_period() argument
2352 scsirate &= SXFR_ULTRA2; ahc_find_period()
2354 scsirate &= SXFR; ahc_find_period()
2373 else if (scsirate == (syncrate->sxfr_u2 & SXFR_ULTRA2)) ahc_find_period()
2375 } else if (scsirate == (syncrate->sxfr & SXFR)) { ahc_find_period()
2536 u_int scsirate; ahc_set_syncrate() local
2539 scsirate = tinfo->scsirate; ahc_set_syncrate()
2542 scsirate &= ~(SXFR_ULTRA2|SINGLE_EDGE|ENABLE_CRC); ahc_set_syncrate()
2544 scsirate |= syncrate->sxfr_u2; ahc_set_syncrate()
2546 scsirate |= ENABLE_CRC; ahc_set_syncrate()
2548 scsirate |= SINGLE_EDGE; ahc_set_syncrate()
2552 scsirate &= ~(SXFR|SOFS); ahc_set_syncrate()
2563 scsirate |= syncrate->sxfr & SXFR; ahc_set_syncrate()
2564 scsirate |= offset & SOFS; ahc_set_syncrate()
2577 ahc_outb(ahc, SCSIRATE, scsirate); ahc_set_syncrate()
2582 tinfo->scsirate = scsirate; ahc_set_syncrate()
2642 u_int scsirate; ahc_set_width() local
2645 scsirate = tinfo->scsirate; ahc_set_width()
2646 scsirate &= ~WIDEXFER; ahc_set_width()
2648 scsirate |= WIDEXFER; ahc_set_width()
2650 tinfo->scsirate = scsirate; ahc_set_width()
2653 ahc_outb(ahc, SCSIRATE, scsirate); ahc_set_width()
2719 pending_hscb->scsirate = tinfo->scsirate; ahc_update_pending_scbs()
2759 ahc_outb(ahc, SCB_SCSIRATE, pending_hscb->scsirate); ahc_update_pending_scbs()
3598 targ_scsirate = tinfo->scsirate; ahc_parse_msg()
5514 u_int scsirate; ahc_init() local
5518 scsirate = ahc_inb(ahc, TARG_SCSIRATE + i); ahc_init()
5524 if ((scsirate & SOFS) == 0x0F) { ahc_init()
5529 scsirate = (scsirate & SXFR) >> 4 ahc_init()
5532 | (scsirate & WIDEXFER); ahc_init()
5536 if ((scsirate & ~WIDEXFER) == 0 && offset != 0) ahc_init()
5538 scsirate |= 0x1c; ahc_init()
5543 ahc_find_period(ahc, scsirate, maxsync); ahc_init()
5548 if ((scsirate & SXFR_ULTRA2) <= 8/*10MHz*/ ahc_init()
5552 } else if ((scsirate & SOFS) != 0) { ahc_init()
5553 if ((scsirate & SXFR) == 0x40 ahc_init()
5556 scsirate &= ~SXFR; ahc_init()
5560 ahc_find_period(ahc, scsirate, ahc_init()
5569 if ((scsirate & WIDEXFER) != 0 ahc_init()
H A Daic7xxx_pci.c1437 u_int scsirate; ahc_parse_pci_eeprom() local
1469 scsirate = (sc->device_flags[i] & CFXFER) ahc_parse_pci_eeprom()
1472 scsirate |= WIDEXFER; ahc_parse_pci_eeprom()
1474 scsirate = (sc->device_flags[i] & CFXFER) << 4; ahc_parse_pci_eeprom()
1476 scsirate |= SOFS; ahc_parse_pci_eeprom()
1478 scsirate |= WIDEXFER; ahc_parse_pci_eeprom()
1480 ahc_outb(ahc, TARG_SCSIRATE + i, scsirate); ahc_parse_pci_eeprom()
H A Daic7xxx_osm.c565 unsigned short scsirate; ahc_linux_target_alloc() local
604 scsirate = (flags & CFXFER) | (ultra ? 0x8 : 0); ahc_linux_target_alloc()
606 scsirate = (flags & CFXFER) << 4; ahc_linux_target_alloc()
614 ahc_find_period(ahc, scsirate, maxsync); ahc_linux_target_alloc()
1487 hscb->scsirate = tinfo->scsirate; ahc_linux_run_command()
H A Daic7xxx.h470 /*29*/ uint8_t scsirate; /* Value for SCSIRATE register */ member in struct:hardware_scb
703 uint8_t scsirate; /* Computed value for SCSIRATE reg */ member in struct:ahc_initiator_tinfo
1208 u_int scsirate, u_int maxsync);

Completed in 160 milliseconds