Lines Matching refs:ahc

68 #define SCSIID_TARGET(ahc, scsiid) \  argument
69 (((scsiid) & ((((ahc)->features & AHC_TWIN) != 0) ? TWIN_TID : TID)) \
73 #define SCSIID_CHANNEL(ahc, scsiid) \ argument
74 ((((ahc)->features & AHC_TWIN) != 0) \
77 #define SCB_IS_SCSIBUS_B(ahc, scb) \ argument
78 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
81 #define SCB_GET_TARGET(ahc, scb) \ argument
82 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
83 #define SCB_GET_CHANNEL(ahc, scb) \ argument
84 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid)
87 #define SCB_GET_TARGET_OFFSET(ahc, scb) \ argument
88 (SCB_GET_TARGET(ahc, scb) + (SCB_IS_SCSIBUS_B(ahc, scb) ? 8 : 0))
89 #define SCB_GET_TARGET_MASK(ahc, scb) \ argument
90 (0x01 << (SCB_GET_TARGET_OFFSET(ahc, scb)))
1135 void __maybe_unused ahc_pci_resume(struct ahc_softc *ahc);
1139 int aic7770_config(struct ahc_softc *ahc,
1145 void ahc_qinfifo_requeue_tail(struct ahc_softc *ahc,
1147 int ahc_match_scb(struct ahc_softc *ahc, struct scb *scb,
1154 void ahc_controller_info(struct ahc_softc *ahc, char *buf);
1155 int ahc_chip_init(struct ahc_softc *ahc);
1156 int ahc_init(struct ahc_softc *ahc);
1157 void ahc_intr_enable(struct ahc_softc *ahc, int enable);
1158 void ahc_pause_and_flushwork(struct ahc_softc *ahc);
1159 int __maybe_unused ahc_suspend(struct ahc_softc *ahc);
1160 int __maybe_unused ahc_resume(struct ahc_softc *ahc);
1163 void ahc_free(struct ahc_softc *ahc);
1164 int ahc_reset(struct ahc_softc *ahc, int reinit);
1172 int ahc_search_qinfifo(struct ahc_softc *ahc, int target,
1176 int ahc_search_untagged_queues(struct ahc_softc *ahc,
1181 int ahc_search_disc_list(struct ahc_softc *ahc, int target,
1185 int ahc_reset_channel(struct ahc_softc *ahc, char channel,
1194 const struct ahc_syncrate* ahc_find_syncrate(struct ahc_softc *ahc, u_int *period,
1196 u_int ahc_find_period(struct ahc_softc *ahc,
1212 void ahc_set_width(struct ahc_softc *ahc,
1215 void ahc_set_syncrate(struct ahc_softc *ahc,
1231 void ahc_handle_en_lun(struct ahc_softc *ahc,
1233 cam_status ahc_find_tmode_devs(struct ahc_softc *ahc,
1259 void ahc_print_devinfo(struct ahc_softc *ahc,
1261 void ahc_dump_card_state(struct ahc_softc *ahc);
1270 int ahc_acquire_seeprom(struct ahc_softc *ahc,