Lines Matching refs:ahc
83 #define AIC_LIB_PREFIX ahc
194 int ahc_dmamap_load(struct ahc_softc *ahc, bus_dma_tag_t /*dmat*/,
217 #define ahc_dmamap_sync(ahc, dma_tag, dmamap, offset, len, op) argument
370 uint8_t ahc_inb(struct ahc_softc * ahc, long port);
371 void ahc_outb(struct ahc_softc * ahc, long port, uint8_t val);
372 void ahc_outsb(struct ahc_softc * ahc, long port,
374 void ahc_insb(struct ahc_softc * ahc, long port,
385 ahc_lockinit(struct ahc_softc *ahc) in ahc_lockinit() argument
387 spin_lock_init(&ahc->platform_data->spin_lock); in ahc_lockinit()
391 ahc_lock(struct ahc_softc *ahc, unsigned long *flags) in ahc_lock() argument
393 spin_lock_irqsave(&ahc->platform_data->spin_lock, *flags); in ahc_lock()
397 ahc_unlock(struct ahc_softc *ahc, unsigned long *flags) in ahc_unlock() argument
399 spin_unlock_irqrestore(&ahc->platform_data->spin_lock, *flags); in ahc_unlock()
449 int aic7770_map_registers(struct ahc_softc *ahc,
451 int aic7770_map_int(struct ahc_softc *ahc, u_int irq);
464 int ahc_pci_map_registers(struct ahc_softc *ahc);
465 int ahc_pci_map_int(struct ahc_softc *ahc);
504 ahc_flush_device_writes(struct ahc_softc *ahc) in ahc_flush_device_writes() argument
507 ahc_inb(ahc, INTSTAT); in ahc_flush_device_writes()
624 ahc_get_sense_bufsize(struct ahc_softc *ahc, struct scb *scb) in ahc_get_sense_bufsize() argument
630 ahc_notify_xfer_settings_change(struct ahc_softc *ahc, in ahc_notify_xfer_settings_change() argument
637 ahc_platform_scb_free(struct ahc_softc *ahc, struct scb *scb) in ahc_platform_scb_free() argument
641 int ahc_platform_alloc(struct ahc_softc *ahc, void *platform_arg);
642 void ahc_platform_free(struct ahc_softc *ahc);
643 void ahc_platform_freeze_devq(struct ahc_softc *ahc, struct scb *scb);
654 void ahc_platform_set_tags(struct ahc_softc *ahc, struct scsi_device *sdev,
656 int ahc_platform_abort_scbs(struct ahc_softc *ahc, int target,
661 void ahc_platform_flushwork(struct ahc_softc *ahc);