Lines Matching refs:ahc_softc
110 struct ahc_softc;
179 int ahc_dma_tag_create(struct ahc_softc *, bus_dma_tag_t /*parent*/,
187 void ahc_dma_tag_destroy(struct ahc_softc *, bus_dma_tag_t /*tag*/);
189 int ahc_dmamem_alloc(struct ahc_softc *, bus_dma_tag_t /*dmat*/,
193 void ahc_dmamem_free(struct ahc_softc *, bus_dma_tag_t /*dmat*/,
196 void ahc_dmamap_destroy(struct ahc_softc *, bus_dma_tag_t /*tag*/,
199 int ahc_dmamap_load(struct ahc_softc *ahc, bus_dma_tag_t /*dmat*/,
204 int ahc_dmamap_unload(struct ahc_softc *, bus_dma_tag_t, bus_dmamap_t);
375 uint8_t ahc_inb(struct ahc_softc * ahc, long port);
376 void ahc_outb(struct ahc_softc * ahc, long port, uint8_t val);
377 void ahc_outsb(struct ahc_softc * ahc, long port,
379 void ahc_insb(struct ahc_softc * ahc, long port,
383 int ahc_linux_register_host(struct ahc_softc *,
390 ahc_lockinit(struct ahc_softc *ahc) in ahc_lockinit()
396 ahc_lock(struct ahc_softc *ahc, unsigned long *flags) in ahc_lock()
402 ahc_unlock(struct ahc_softc *ahc, unsigned long *flags) in ahc_unlock()
456 int aic7770_map_registers(struct ahc_softc *ahc,
458 int aic7770_map_int(struct ahc_softc *ahc, u_int irq);
471 int ahc_pci_map_registers(struct ahc_softc *ahc);
472 int ahc_pci_map_int(struct ahc_softc *ahc);
509 static inline void ahc_flush_device_writes(struct ahc_softc *);
511 ahc_flush_device_writes(struct ahc_softc *ahc) in ahc_flush_device_writes()
539 static inline uint32_t ahc_get_sense_bufsize(struct ahc_softc *,
541 static inline void ahc_notify_xfer_settings_change(struct ahc_softc *,
543 static inline void ahc_platform_scb_free(struct ahc_softc *ahc,
654 ahc_get_sense_bufsize(struct ahc_softc *ahc, struct scb *scb) in ahc_get_sense_bufsize()
660 ahc_notify_xfer_settings_change(struct ahc_softc *ahc, in ahc_notify_xfer_settings_change()
667 ahc_platform_scb_free(struct ahc_softc *ahc, struct scb *scb) in ahc_platform_scb_free()
671 int ahc_platform_alloc(struct ahc_softc *ahc, void *platform_arg);
672 void ahc_platform_free(struct ahc_softc *ahc);
673 void ahc_platform_freeze_devq(struct ahc_softc *ahc, struct scb *scb);
684 void ahc_platform_set_tags(struct ahc_softc *ahc, struct scsi_device *sdev,
686 int ahc_platform_abort_scbs(struct ahc_softc *ahc, int target,
691 void ahc_platform_flushwork(struct ahc_softc *ahc);
692 void ahc_done(struct ahc_softc*, struct scb*);
693 void ahc_send_async(struct ahc_softc *, char channel,
695 void ahc_print_path(struct ahc_softc *, struct scb *);
696 void ahc_platform_dump_card_state(struct ahc_softc *ahc);