Lines Matching refs:ahd_softc
236 static __inline void ahd_flush_device_writes(struct ahd_softc *);
239 ahd_flush_device_writes(struct ahd_softc *ahd)
247 static __inline void ahd_lockinit(struct ahd_softc *);
248 static __inline void ahd_lock(struct ahd_softc *, int *);
249 static __inline void ahd_unlock(struct ahd_softc *, int *);
252 static __inline void ahd_done_lockinit(struct ahd_softc *);
253 static __inline void ahd_done_lock(struct ahd_softc *, unsigned long *);
254 static __inline void ahd_done_unlock(struct ahd_softc *, unsigned long *);
262 ahd_lockinit(struct ahd_softc *ahd)
267 ahd_lock(struct ahd_softc *ahd, int *flags)
273 ahd_unlock(struct ahd_softc *ahd, int *flags)
280 ahd_done_lockinit(struct ahd_softc *ahd)
285 ahd_done_lock(struct ahd_softc *ahd, unsigned long *flags)
290 ahd_done_unlock(struct ahd_softc *ahd, unsigned long *flags)
325 static __inline uint32_t ahd_get_sense_bufsize(struct ahd_softc*, struct scb*);
326 static __inline void ahd_freeze_simq(struct ahd_softc *);
327 static __inline void ahd_release_simq(struct ahd_softc *);
329 static __inline void ahd_platform_freeze_devq(struct ahd_softc *, struct scb *);
330 static __inline int ahd_platform_abort_scbs(struct ahd_softc *, int,
408 ahd_get_sense_bufsize(struct ahd_softc *ahd, struct scb *scb)
414 ahd_freeze_simq(struct ahd_softc *ahd)
420 ahd_release_simq(struct ahd_softc *ahd)
437 ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb)
443 ahd_platform_abort_scbs(struct ahd_softc *ahd, int target,
452 ahd_platform_scb_free(struct ahd_softc *ahd, struct scb *scb)
475 int ahd_pci_map_registers(struct ahd_softc *);
476 int ahd_pci_map_int(struct ahd_softc *);
518 void ahd_power_state_change(struct ahd_softc *, ahd_power_state);
521 int aic7770_map_registers(struct ahd_softc *);
522 int aic7770_map_int(struct ahd_softc *, int);
525 static __inline void ahd_print_path(struct ahd_softc *, struct scb *);
526 static __inline void ahd_platform_dump_card_state(struct ahd_softc *);
528 ahd_print_path(struct ahd_softc *ahd, struct scb *scb)
534 ahd_platform_dump_card_state(struct ahd_softc *ahd)
539 void ahd_notify_xfer_settings_change(struct ahd_softc *,
541 void ahd_platform_set_tags(struct ahd_softc *, struct ahd_devinfo *,
545 int ahd_platform_alloc(struct ahd_softc *, void *);
546 void ahd_platform_free(struct ahd_softc *);
547 int ahd_map_int(struct ahd_softc *);
548 int ahd_attach(struct ahd_softc *);
549 int ahd_softc_comp(struct ahd_softc *, struct ahd_softc *);
550 ahd_softc *, int);
556 static __inline void ahd_platform_flushwork(struct ahd_softc *);
558 ahd_platform_flushwork(struct ahd_softc *ahd)
564 void ahd_done(struct ahd_softc *, struct scb *);
565 void ahd_send_async(struct ahd_softc *, char, u_int, u_int, ac_code, void *);