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);
449 void ahd_power_state_change(struct ahd_softc *ahd,
455 int ahd_pci_map_registers(struct ahd_softc *ahd);
456 int ahd_pci_map_int(struct ahd_softc *ahd);
487 ahd_flush_device_writes(struct ahd_softc *ahd)
490 ahd_inb(ahd, INTSTAT);
606 ahd_get_sense_bufsize(struct ahd_softc *ahd, struct scb *scb)
612 ahd_notify_xfer_settings_change(struct ahd_softc *ahd,
619 ahd_platform_scb_free(struct ahd_softc *ahd, struct scb *scb)
621 ahd->flags &= ~AHD_RESOURCE_SHORTAGE;
624 int ahd_platform_alloc(struct ahd_softc *ahd, void *platform_arg);
625 void ahd_platform_free(struct ahd_softc *ahd);
626 void ahd_platform_init(struct ahd_softc *ahd);
627 void ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb);
638 void ahd_platform_set_tags(struct ahd_softc *ahd, struct scsi_device *sdev,
640 int ahd_platform_abort_scbs(struct ahd_softc *ahd, int target,