Lines Matching refs: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) argument
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) in ahd_lockinit() argument
374 spin_lock_init(&ahd->platform_data->spin_lock); in ahd_lockinit()
378 ahd_lock(struct ahd_softc *ahd, unsigned long *flags) in ahd_lock() argument
380 spin_lock_irqsave(&ahd->platform_data->spin_lock, *flags); in ahd_lock()
384 ahd_unlock(struct ahd_softc *ahd, unsigned long *flags) in ahd_unlock() argument
386 spin_unlock_irqrestore(&ahd->platform_data->spin_lock, *flags); in ahd_unlock()
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) in ahd_flush_device_writes() argument
492 ahd_inb(ahd, INTSTAT); in ahd_flush_device_writes()
520 static inline void ahd_platform_scb_free(struct ahd_softc *ahd,
631 ahd_get_sense_bufsize(struct ahd_softc *ahd, struct scb *scb) in ahd_get_sense_bufsize() argument
637 ahd_notify_xfer_settings_change(struct ahd_softc *ahd, in ahd_notify_xfer_settings_change() argument
644 ahd_platform_scb_free(struct ahd_softc *ahd, struct scb *scb) in ahd_platform_scb_free() argument
646 ahd->flags &= ~AHD_RESOURCE_SHORTAGE; in ahd_platform_scb_free()
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,