• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/aic7xxx/

Lines Matching refs:ahd

71 #define SCSIID_TARGET(ahd, scsiid)	\
75 #define SCSIID_CHANNEL(ahd, scsiid) ('A')
76 #define SCB_IS_SCSIBUS_B(ahd, scb) (0)
79 #define SCB_GET_TARGET(ahd, scb) \
80 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
81 #define SCB_GET_CHANNEL(ahd, scb) \
82 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
85 #define SCB_GET_TARGET_OFFSET(ahd, scb) \
86 SCB_GET_TARGET(ahd, scb)
87 #define SCB_GET_TARGET_MASK(ahd, scb) \
88 (0x01 << (SCB_GET_TARGET_OFFSET(ahd, scb)))
120 #define AHD_GET_SCB_COL_IDX(ahd, scb) \
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);
1263 #define AHD_SET_SLEWRATE(ahd, new_slew) \
1265 (ahd)->iocell_opts[AHD_PRECOMP_SLEW_INDEX] &= ~AHD_SLEWRATE_MASK; \
1266 (ahd)->iocell_opts[AHD_PRECOMP_SLEW_INDEX] |= \
1270 #define AHD_SET_PRECOMP(ahd, new_pcomp) \
1272 (ahd)->iocell_opts[AHD_PRECOMP_SLEW_INDEX] &= ~AHD_PRECOMP_MASK; \
1273 (ahd)->iocell_opts[AHD_PRECOMP_SLEW_INDEX] |= \
1277 #define AHD_SET_AMPLITUDE(ahd, new_amp) \
1279 (ahd)->iocell_opts[AHD_AMPLITUDE_INDEX] &= ~AHD_AMPLITUDE_MASK; \
1280 (ahd)->iocell_opts[AHD_AMPLITUDE_INDEX] |= \
1345 void ahd_qinfifo_requeue_tail(struct ahd_softc *ahd,
1351 void ahd_controller_info(struct ahd_softc *ahd, char *buf);
1352 int ahd_init(struct ahd_softc *ahd);
1354 int ahd_suspend(struct ahd_softc *ahd);
1355 void ahd_resume(struct ahd_softc *ahd);
1357 int ahd_default_config(struct ahd_softc *ahd);
1358 int ahd_parse_vpddata(struct ahd_softc *ahd,
1360 int ahd_parse_cfgdata(struct ahd_softc *ahd,
1362 void ahd_intr_enable(struct ahd_softc *ahd, int enable);
1363 void ahd_pause_and_flushwork(struct ahd_softc *ahd);
1366 struct scb *ahd_get_scb(struct ahd_softc *ahd, u_int col_idx);
1367 void ahd_free_scb(struct ahd_softc *ahd, struct scb *scb);
1368 void ahd_free(struct ahd_softc *ahd);
1369 int ahd_reset(struct ahd_softc *ahd, int reinit);
1370 int ahd_write_flexport(struct ahd_softc *ahd,
1372 int ahd_read_flexport(struct ahd_softc *ahd, u_int addr,
1382 int ahd_search_qinfifo(struct ahd_softc *ahd, int target,
1386 int ahd_search_disc_list(struct ahd_softc *ahd, int target,
1390 int ahd_reset_channel(struct ahd_softc *ahd, char channel,
1398 void ahd_find_syncrate(struct ahd_softc *ahd, u_int *period,
1414 void ahd_set_width(struct ahd_softc *ahd,
1417 void ahd_set_syncrate(struct ahd_softc *ahd,
1432 void ahd_handle_en_lun(struct ahd_softc *ahd,
1434 cam_status ahd_find_tmode_devs(struct ahd_softc *ahd,
1465 void ahd_print_devinfo(struct ahd_softc *ahd,
1467 void ahd_dump_card_state(struct ahd_softc *ahd);