Lines Matching refs:ahc_softc
116 struct ahc_softc;
212 int ahc_dma_tag_create(struct ahc_softc *, bus_dma_tag_t /*parent*/,
220 void ahc_dma_tag_destroy(struct ahc_softc *, bus_dma_tag_t /*tag*/);
222 int ahc_dmamem_alloc(struct ahc_softc *, bus_dma_tag_t /*dmat*/,
226 void ahc_dmamem_free(struct ahc_softc *, bus_dma_tag_t /*dmat*/,
229 void ahc_dmamap_destroy(struct ahc_softc *, bus_dma_tag_t /*tag*/,
232 int ahc_dmamap_load(struct ahc_softc *ahc, bus_dma_tag_t /*dmat*/,
237 int ahc_dmamap_unload(struct ahc_softc *, bus_dma_tag_t, bus_dmamap_t);
279 struct ahc_softc *ahc; in ahc_timer_reset()
281 ahc = (struct ahc_softc *)arg; in ahc_timer_reset()
472 struct ahc_softc *ahc;
603 static __inline uint8_t ahc_inb(struct ahc_softc * ahc, long port);
604 static __inline void ahc_outb(struct ahc_softc * ahc, long port, uint8_t val);
605 static __inline void ahc_outsb(struct ahc_softc * ahc, long port,
607 static __inline void ahc_insb(struct ahc_softc * ahc, long port,
611 ahc_inb(struct ahc_softc * ahc, long port) in ahc_inb()
629 ahc_outb(struct ahc_softc * ahc, long port, uint8_t val) in ahc_outb()
644 ahc_outsb(struct ahc_softc * ahc, long port, uint8_t *array, int count) in ahc_outsb()
658 ahc_insb(struct ahc_softc * ahc, long port, uint8_t *array, int count) in ahc_insb()
672 int ahc_linux_register_host(struct ahc_softc *,
690 static __inline void ahc_lockinit(struct ahc_softc *);
691 static __inline void ahc_lock(struct ahc_softc *, unsigned long *flags);
692 static __inline void ahc_unlock(struct ahc_softc *, unsigned long *flags);
695 static __inline void ahc_midlayer_entrypoint_lock(struct ahc_softc *,
697 static __inline void ahc_midlayer_entrypoint_unlock(struct ahc_softc *,
701 static __inline void ahc_done_lockinit(struct ahc_softc *);
702 static __inline void ahc_done_lock(struct ahc_softc *, unsigned long *flags);
703 static __inline void ahc_done_unlock(struct ahc_softc *, unsigned long *flags);
712 ahc_lockinit(struct ahc_softc *ahc) in ahc_lockinit()
718 ahc_lock(struct ahc_softc *ahc, unsigned long *flags) in ahc_lock()
724 ahc_unlock(struct ahc_softc *ahc, unsigned long *flags) in ahc_unlock()
730 ahc_midlayer_entrypoint_lock(struct ahc_softc *ahc, unsigned long *flags) in ahc_midlayer_entrypoint_lock()
746 ahc_midlayer_entrypoint_unlock(struct ahc_softc *ahc, unsigned long *flags) in ahc_midlayer_entrypoint_unlock()
755 ahc_done_lockinit(struct ahc_softc *ahc) in ahc_done_lockinit()
765 ahc_done_lock(struct ahc_softc *ahc, unsigned long *flags) in ahc_done_lock()
773 ahc_done_unlock(struct ahc_softc *ahc, unsigned long *flags) in ahc_done_unlock()
858 int aic7770_map_registers(struct ahc_softc *ahc,
860 int aic7770_map_int(struct ahc_softc *ahc, u_int irq);
865 void ahc_power_state_change(struct ahc_softc *ahc,
869 int ahc_pci_map_registers(struct ahc_softc *ahc);
870 int ahc_pci_map_int(struct ahc_softc *ahc);
950 static __inline void ahc_flush_device_writes(struct ahc_softc *);
952 ahc_flush_device_writes(struct ahc_softc *ahc) in ahc_flush_device_writes()
1008 static __inline uint32_t ahc_get_sense_bufsize(struct ahc_softc *,
1010 static __inline void ahc_notify_xfer_settings_change(struct ahc_softc *,
1012 static __inline void ahc_platform_scb_free(struct ahc_softc *ahc,
1149 ahc_get_sense_bufsize(struct ahc_softc *ahc, struct scb *scb) in ahc_get_sense_bufsize()
1155 ahc_notify_xfer_settings_change(struct ahc_softc *ahc, in ahc_notify_xfer_settings_change()
1162 ahc_platform_scb_free(struct ahc_softc *ahc, struct scb *scb) in ahc_platform_scb_free()
1167 int ahc_platform_alloc(struct ahc_softc *ahc, void *platform_arg);
1168 void ahc_platform_free(struct ahc_softc *ahc);
1169 void ahc_platform_freeze_devq(struct ahc_softc *ahc, struct scb *scb);
1180 void ahc_platform_set_tags(struct ahc_softc *ahc,
1182 int ahc_platform_abort_scbs(struct ahc_softc *ahc, int target,
1187 void ahc_platform_flushwork(struct ahc_softc *ahc);
1188 int ahc_softc_comp(struct ahc_softc *, struct ahc_softc *);
1189 void ahc_done(struct ahc_softc*, struct scb*);
1190 void ahc_send_async(struct ahc_softc *, char channel,
1192 void ahc_print_path(struct ahc_softc *, struct scb *);
1193 void ahc_platform_dump_card_state(struct ahc_softc *ahc);