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()
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) in ahd_flush_device_writes() argument
490 ahd_inb(ahd, INTSTAT); in ahd_flush_device_writes()
606 ahd_get_sense_bufsize(struct ahd_softc *ahd, struct scb *scb) in ahd_get_sense_bufsize() argument
612 ahd_notify_xfer_settings_change(struct ahd_softc *ahd, in ahd_notify_xfer_settings_change() argument
619 ahd_platform_scb_free(struct ahd_softc *ahd, struct scb *scb) in ahd_platform_scb_free() argument
621 ahd->flags &= ~AHD_RESOURCE_SHORTAGE; in ahd_platform_scb_free()
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,