Lines Matching refs:features
317 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_pause_bug_fix()
642 if ((ahc->features & AHC_QUEUE_REGS) != 0) { in ahc_queue_scb()
645 if ((ahc->features & AHC_AUTOPAUSE) == 0) in ahc_queue_scb()
648 if ((ahc->features & AHC_AUTOPAUSE) == 0) in ahc_queue_scb()
793 if (intstat == 0xFF && (ahc->features & AHC_REMOVABLE) != 0) { in ahc_intr()
843 if ((ahc->features & AHC_CMD_CHAN) != 0) { in ahc_restart()
1324 if ((ahc->features & AHC_DT) == 0) { in ahc_handle_seqint()
1431 if ((ahc->features & AHC_ULTRA2) != 0) { in ahc_handle_seqint()
1544 if ((ahc->features & AHC_TWIN) != 0 in ahc_handle_scsiint()
1551 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_handle_scsiint()
1557 if ((ahc->features & AHC_TWIN) != 0) { in ahc_handle_scsiint()
1581 if ((ahc->features & AHC_ULTRA2) != 0 in ahc_handle_scsiint()
1671 if ((ahc->features & AHC_DT) != 0) { in ahc_handle_scsiint()
1687 if ((ahc->features & AHC_DT) != 0 in ahc_handle_scsiint()
2046 if ((ahc->features & AHC_DT) != 0) in ahc_clear_critical_section()
2062 if ((ahc->features & AHC_DT) != 0) { in ahc_clear_critical_section()
2224 if ((ahc->features & AHC_ULTRA2) != 0) { in ahc_devlimited_syncrate()
2233 } else if ((ahc->features & AHC_ULTRA) != 0) { in ahc_devlimited_syncrate()
2277 if ((ahc->features & AHC_DT) == 0) in ahc_find_syncrate()
2287 if ((ahc->features & (AHC_DT | AHC_ULTRA2)) == 0 in ahc_find_syncrate()
2290 if ((ahc->features & (AHC_DT | AHC_ULTRA2 | AHC_ULTRA)) == 0 in ahc_find_syncrate()
2302 if ((ahc->features & AHC_ULTRA2) != 0 in ahc_find_syncrate()
2333 || ((ahc->features & AHC_ULTRA2) != 0 in ahc_find_syncrate()
2352 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_find_period()
2358 if ((ahc->features & AHC_DT) == 0 && maxsync < AHC_SYNCRATE_ULTRA2) in ahc_find_period()
2360 if ((ahc->features & (AHC_DT | AHC_ULTRA2)) == 0 in ahc_find_period()
2363 if ((ahc->features & (AHC_DT | AHC_ULTRA2 | AHC_ULTRA)) == 0 in ahc_find_period()
2371 if ((ahc->features & AHC_ULTRA2) != 0) { in ahc_find_period()
2399 } else if ((ahc->features & AHC_ULTRA2) != 0) { in ahc_validate_offset()
2426 if (ahc->features & AHC_WIDE) { in ahc_validate_width()
2465 if ((ahc->features & AHC_WIDE) != 0) in ahc_update_neg_request()
2541 if ((ahc->features & AHC_ULTRA2) != 0) { in ahc_set_syncrate()
2579 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_set_syncrate()
2783 && (ahc->features & AHC_MULTI_TID) != 0 in ahc_fetch_devinfo()
2788 } else if ((ahc->features & AHC_ULTRA2) != 0) in ahc_fetch_devinfo()
2865 if ((ahc->features & AHC_DT) == 0) in ahc_assert_atn()
3015 if ((ahc->features & AHC_WIDE) != 0) in ahc_build_transfer_msg()
4312 if ((ahc->features & AHC_ULTRA2) == 0) { in ahc_reinitialize_dataptrs()
4438 ahc->features = AHC_FENONE; in ahc_alloc()
4652 ahc->features |= AHC_WIDE; in ahc_reset()
4656 ahc->features |= AHC_TWIN; in ahc_reset()
4671 if ((ahc->features & AHC_TWIN) != 0) { in ahc_reset()
5055 if ((ahc->features & AHC_TWIN) != 0) in ahc_controller_info()
5065 if ((ahc->features & AHC_ULTRA) != 0) { in ahc_controller_info()
5067 } else if ((ahc->features & AHC_DT) != 0) { in ahc_controller_info()
5069 } else if ((ahc->features & AHC_ULTRA2) != 0) { in ahc_controller_info()
5072 if ((ahc->features & AHC_WIDE) != 0) { in ahc_controller_info()
5103 if (ahc->features & AHC_TWIN) { in ahc_chip_init()
5114 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_chip_init()
5123 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_chip_init()
5131 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_chip_init()
5159 if ((ahc->features & AHC_MULTI_TID) != 0) { in ahc_chip_init()
5193 if ((ahc->features & AHC_HS_MAILBOX) != 0) in ahc_chip_init()
5197 if ((ahc->features & AHC_TARGETMODE) != 0) { in ahc_chip_init()
5204 if ((ahc->features & AHC_QUEUE_REGS) != 0) { in ahc_chip_init()
5254 if ((ahc->features & AHC_ULTRA2) != 0) { in ahc_chip_init()
5300 if ((ahc->features & AHC_MORE_SRAM) != 0) { in ahc_init()
5333 ahc->features &= ~AHC_TARGETMODE; in ahc_init()
5365 if ((ahc->features & AHC_TARGETMODE) != 0) in ahc_init()
5396 if ((ahc->features & AHC_TARGETMODE) != 0) { in ahc_init()
5427 if ((ahc->features & AHC_TWIN) != 0) { in ahc_init()
5456 if (ahc->features & AHC_TWIN) { in ahc_init()
5478 if ((ahc->features & AHC_ULTRA) != 0) in ahc_init()
5483 if ((ahc->features & (AHC_ULTRA|AHC_ULTRA2)) != 0) in ahc_init()
5488 if ((ahc->features & (AHC_WIDE|AHC_TWIN)) == 0) in ahc_init()
5501 if (i > 7 && (ahc->features & AHC_TWIN) != 0) { in ahc_init()
5511 if ((ahc->features & AHC_WIDE) != 0) in ahc_init()
5527 if ((ahc->features & AHC_ULTRA2) != 0) { in ahc_init()
5547 if ((ahc->features & AHC_DT) != 0) in ahc_init()
5556 && (ahc->features & AHC_DT) != 0) in ahc_init()
5577 && (ahc->features & AHC_WIDE) != 0) in ahc_init()
5580 if ((ahc->features & AHC_DT) != 0) in ahc_init()
5650 && (intstat != 0xFF || (ahc->features & AHC_REMOVABLE) == 0) in ahc_pause_and_flushwork()
5830 if ((ahc->features & AHC_QUEUE_REGS) != 0) { in ahc_qinfifo_requeue_tail()
5859 if ((ahc->features & AHC_QUEUE_REGS) != 0) { in ahc_qinfifo_count()
5885 have_qregs = (ahc->features & AHC_QUEUE_REGS) != 0; in ahc_search_qinfifo()
5955 if ((ahc->features & AHC_QUEUE_REGS) != 0) { in ahc_search_qinfifo()
6540 if ((ahc->features & AHC_TWIN) != 0 in ahc_reset_channel()
6595 max_scsiid = (ahc->features & AHC_WIDE) ? 15 : 7; in ahc_reset_channel()
6960 ahc_name(ahc), ahc->features, ahc->bugs, ahc->flags); in ahc_loadseq()
7069 if ((ahc->features & AHC_CMD_CHAN) == 0 in ahc_download_instr()
7086 if ((ahc->features & AHC_ULTRA2) != 0) { in ahc_download_instr()
7212 if ((ahc->features & AHC_DT) != 0) in ahc_dump_card_state()
7242 if ((ahc->features & AHC_QUEUE_REGS) != 0) { in ahc_dump_card_state()
7335 maxtarget = (ahc->features & (AHC_WIDE|AHC_TWIN)) ? 15 : 7; in ahc_dump_card_state()
7366 if ((ahc->features & AHC_TARGETMODE) == 0) in ahc_find_tmode_devs()
7380 max_id = (ahc->features & AHC_WIDE) ? 16 : 8; in ahc_find_tmode_devs()
7448 if ((ahc->features & AHC_MULTIROLE) != 0) { in ahc_handle_en_lun()
7450 if ((ahc->features & AHC_MULTI_TID) != 0 in ahc_handle_en_lun()
7471 } else if ((ahc->features & AHC_MULTI_TID) == 0 in ahc_handle_en_lun()
7501 if ((ahc->features & AHC_MULTIROLE) == 0) in ahc_handle_en_lun()
7594 if ((ahc->features & AHC_MULTI_TID) != 0) { in ahc_handle_en_lun()
7624 if ((ahc->features & AHC_TWIN) == 0) in ahc_handle_en_lun()
7717 if (ahc->features & AHC_MULTI_TID) { in ahc_handle_en_lun()
7752 if ((ahc->features & AHC_MULTIROLE) == 0) { in ahc_handle_en_lun()
7779 if ((ahc->features & AHC_MULTI_TID) == 0) in ahc_update_scsiid()
7788 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_update_scsiid()
7805 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_update_scsiid()
7821 if ((ahc->features & AHC_AUTOPAUSE) != 0) in ahc_run_tqinfifo()
7847 if ((ahc->features & AHC_HS_MAILBOX) != 0) { in ahc_run_tqinfifo()