Lines Matching refs:ahd

66 #define AIC_LIB_PREFIX ahd
186 int ahd_dmamap_load(struct ahd_softc *ahd, bus_dma_tag_t /*dmat*/,
209 #define ahd_dmamap_sync(ahd, dma_tag, dmamap, offset, len, op) argument
369 uint8_t ahd_inb(struct ahd_softc * ahd, long port);
370 void ahd_outb(struct ahd_softc * ahd, long port, uint8_t val);
371 void ahd_outw_atomic(struct ahd_softc * ahd,
373 void ahd_outsb(struct ahd_softc * ahd, long port,
375 void ahd_insb(struct ahd_softc * ahd, long port,
384 ahd_lockinit(struct ahd_softc *ahd) in ahd_lockinit() argument
386 spin_lock_init(&ahd->platform_data->spin_lock); in ahd_lockinit()
390 ahd_lock(struct ahd_softc *ahd, unsigned long *flags) in ahd_lock() argument
392 spin_lock_irqsave(&ahd->platform_data->spin_lock, *flags); in ahd_lock()
396 ahd_unlock(struct ahd_softc *ahd, unsigned long *flags) in ahd_unlock() argument
398 spin_unlock_irqrestore(&ahd->platform_data->spin_lock, *flags); in ahd_unlock()
463 void ahd_power_state_change(struct ahd_softc *ahd,
469 int ahd_pci_map_registers(struct ahd_softc *ahd);
470 int ahd_pci_map_int(struct ahd_softc *ahd);
501 ahd_flush_device_writes(struct ahd_softc *ahd) in ahd_flush_device_writes() argument
504 ahd_inb(ahd, INTSTAT); in ahd_flush_device_writes()
532 static inline void ahd_platform_scb_free(struct ahd_softc *ahd,
643 ahd_get_sense_bufsize(struct ahd_softc *ahd, struct scb *scb) in ahd_get_sense_bufsize() argument
649 ahd_notify_xfer_settings_change(struct ahd_softc *ahd, in ahd_notify_xfer_settings_change() argument
656 ahd_platform_scb_free(struct ahd_softc *ahd, struct scb *scb) in ahd_platform_scb_free() argument
658 ahd->flags &= ~AHD_RESOURCE_SHORTAGE; in ahd_platform_scb_free()
661 int ahd_platform_alloc(struct ahd_softc *ahd, void *platform_arg);
662 void ahd_platform_free(struct ahd_softc *ahd);
663 void ahd_platform_init(struct ahd_softc *ahd);
664 void ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb);
675 void ahd_platform_set_tags(struct ahd_softc *ahd, struct scsi_device *sdev,
677 int ahd_platform_abort_scbs(struct ahd_softc *ahd, int target,