Lines Matching refs:ahd

71 #define SCSIID_TARGET(ahd, scsiid)	\  argument
75 #define SCSIID_CHANNEL(ahd, scsiid) ('A') argument
76 #define SCB_IS_SCSIBUS_B(ahd, scb) (0) argument
79 #define SCB_GET_TARGET(ahd, scb) \ argument
80 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
81 #define SCB_GET_CHANNEL(ahd, scb) \ argument
82 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
85 #define SCB_GET_TARGET_OFFSET(ahd, scb) \ argument
86 SCB_GET_TARGET(ahd, scb)
87 #define SCB_GET_TARGET_MASK(ahd, scb) \ argument
88 (0x01 << (SCB_GET_TARGET_OFFSET(ahd, scb)))
120 #define AHD_GET_SCB_COL_IDX(ahd, scb) \ argument
121 ((SCB_GET_LUN(scb) << 4) | SCB_GET_TARGET(ahd, scb))
959 int ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf,
962 int ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf,
965 int ahd_acquire_seeprom(struct ahd_softc *ahd);
966 void ahd_release_seeprom(struct ahd_softc *ahd);
1257 #define AHD_SET_SLEWRATE(ahd, new_slew) \ argument
1259 (ahd)->iocell_opts[AHD_PRECOMP_SLEW_INDEX] &= ~AHD_SLEWRATE_MASK; \
1260 (ahd)->iocell_opts[AHD_PRECOMP_SLEW_INDEX] |= \
1264 #define AHD_SET_PRECOMP(ahd, new_pcomp) \ argument
1266 (ahd)->iocell_opts[AHD_PRECOMP_SLEW_INDEX] &= ~AHD_PRECOMP_MASK; \
1267 (ahd)->iocell_opts[AHD_PRECOMP_SLEW_INDEX] |= \
1271 #define AHD_SET_AMPLITUDE(ahd, new_amp) \ argument
1273 (ahd)->iocell_opts[AHD_AMPLITUDE_INDEX] &= ~AHD_AMPLITUDE_MASK; \
1274 (ahd)->iocell_opts[AHD_AMPLITUDE_INDEX] |= \
1337 void ahd_qinfifo_requeue_tail(struct ahd_softc *ahd,
1343 void ahd_controller_info(struct ahd_softc *ahd, char *buf);
1344 int ahd_init(struct ahd_softc *ahd);
1345 int __maybe_unused ahd_suspend(struct ahd_softc *ahd);
1346 void __maybe_unused ahd_resume(struct ahd_softc *ahd);
1347 int ahd_default_config(struct ahd_softc *ahd);
1348 int ahd_parse_vpddata(struct ahd_softc *ahd,
1350 int ahd_parse_cfgdata(struct ahd_softc *ahd,
1352 void ahd_intr_enable(struct ahd_softc *ahd, int enable);
1353 void ahd_pause_and_flushwork(struct ahd_softc *ahd);
1356 struct scb *ahd_get_scb(struct ahd_softc *ahd, u_int col_idx);
1357 void ahd_free_scb(struct ahd_softc *ahd, struct scb *scb);
1358 void ahd_free(struct ahd_softc *ahd);
1359 int ahd_reset(struct ahd_softc *ahd, int reinit);
1360 int ahd_write_flexport(struct ahd_softc *ahd,
1362 int ahd_read_flexport(struct ahd_softc *ahd, u_int addr,
1372 int ahd_search_qinfifo(struct ahd_softc *ahd, int target,
1376 int ahd_search_disc_list(struct ahd_softc *ahd, int target,
1380 int ahd_reset_channel(struct ahd_softc *ahd, char channel,
1388 void ahd_find_syncrate(struct ahd_softc *ahd, u_int *period,
1404 void ahd_set_width(struct ahd_softc *ahd,
1407 void ahd_set_syncrate(struct ahd_softc *ahd,
1422 void ahd_handle_en_lun(struct ahd_softc *ahd,
1424 cam_status ahd_find_tmode_devs(struct ahd_softc *ahd,
1455 void ahd_print_devinfo(struct ahd_softc *ahd,
1457 void ahd_dump_card_state(struct ahd_softc *ahd);