Lines Matching defs:ahd

66 #define AIC_LIB_PREFIX ahd
181 int ahd_dmamap_load(struct ahd_softc *ahd, bus_dma_tag_t /*dmat*/,
204 #define ahd_dmamap_sync(ahd, dma_tag, dmamap, offset, len, op)
357 uint8_t ahd_inb(struct ahd_softc * ahd, long port);
358 void ahd_outb(struct ahd_softc * ahd, long port, uint8_t val);
359 void ahd_outw_atomic(struct ahd_softc * ahd,
361 void ahd_outsb(struct ahd_softc * ahd, long port,
363 void ahd_insb(struct ahd_softc * ahd, long port,
372 ahd_lockinit(struct ahd_softc *ahd)
374 spin_lock_init(&ahd->platform_data->spin_lock);
378 ahd_lock(struct ahd_softc *ahd, unsigned long *flags)
380 spin_lock_irqsave(&ahd->platform_data->spin_lock, *flags);
384 ahd_unlock(struct ahd_softc *ahd, unsigned long *flags)
386 spin_unlock_irqrestore(&ahd->platform_data->spin_lock, *flags);
451 void ahd_power_state_change(struct ahd_softc *ahd,
457 int ahd_pci_map_registers(struct ahd_softc *ahd);
458 int ahd_pci_map_int(struct ahd_softc *ahd);
489 ahd_flush_device_writes(struct ahd_softc *ahd)
492 ahd_inb(ahd, INTSTAT);
520 static inline void ahd_platform_scb_free(struct ahd_softc *ahd,
631 ahd_get_sense_bufsize(struct ahd_softc *ahd, struct scb *scb)
637 ahd_notify_xfer_settings_change(struct ahd_softc *ahd,
644 ahd_platform_scb_free(struct ahd_softc *ahd, struct scb *scb)
646 ahd->flags &= ~AHD_RESOURCE_SHORTAGE;
649 int ahd_platform_alloc(struct ahd_softc *ahd, void *platform_arg);
650 void ahd_platform_free(struct ahd_softc *ahd);
651 void ahd_platform_init(struct ahd_softc *ahd);
652 void ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb);
663 void ahd_platform_set_tags(struct ahd_softc *ahd, struct scsi_device *sdev,
665 int ahd_platform_abort_scbs(struct ahd_softc *ahd, int target,