Lines Matching defs:ahd

49 static inline char *ahd_name(struct ahd_softc *ahd);
51 static inline char *ahd_name(struct ahd_softc *ahd)
53 return (ahd->name);
57 static inline void ahd_known_modes(struct ahd_softc *ahd,
59 static inline ahd_mode_state ahd_build_mode_state(struct ahd_softc *ahd,
62 static inline void ahd_extract_mode_state(struct ahd_softc *ahd,
66 void ahd_set_modes(struct ahd_softc *ahd, ahd_mode src,
68 ahd_mode_state ahd_save_modes(struct ahd_softc *ahd);
69 void ahd_restore_modes(struct ahd_softc *ahd,
71 int ahd_is_paused(struct ahd_softc *ahd);
72 void ahd_pause(struct ahd_softc *ahd);
73 void ahd_unpause(struct ahd_softc *ahd);
76 ahd_known_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst)
78 ahd->src_mode = src;
79 ahd->dst_mode = dst;
80 ahd->saved_src_mode = src;
81 ahd->saved_dst_mode = dst;
85 ahd_build_mode_state(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst)
91 ahd_extract_mode_state(struct ahd_softc *ahd, ahd_mode_state state,
99 void *ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb,
104 static inline size_t ahd_sg_size(struct ahd_softc *ahd);
106 void ahd_sync_sglist(struct ahd_softc *ahd,
109 static inline size_t ahd_sg_size(struct ahd_softc *ahd)
111 if ((ahd->flags & AHD_64BIT_ADDRESSING) != 0)
118 ahd_fetch_transinfo(struct ahd_softc *ahd,
123 ahd_inw(struct ahd_softc *ahd, u_int port);
124 void ahd_outw(struct ahd_softc *ahd, u_int port,
127 ahd_inl(struct ahd_softc *ahd, u_int port);
128 void ahd_outl(struct ahd_softc *ahd, u_int port,
131 ahd_inq(struct ahd_softc *ahd, u_int port);
132 void ahd_outq(struct ahd_softc *ahd, u_int port,
134 u_int ahd_get_scbptr(struct ahd_softc *ahd);
135 void ahd_set_scbptr(struct ahd_softc *ahd, u_int scbptr);
136 u_int ahd_inb_scbram(struct ahd_softc *ahd, u_int offset);
137 u_int ahd_inw_scbram(struct ahd_softc *ahd, u_int offset);
139 ahd_lookup_scb(struct ahd_softc *ahd, u_int tag);
140 void ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb);
142 static inline uint8_t *ahd_get_sense_buf(struct ahd_softc *ahd,
144 static inline uint32_t ahd_get_sense_bufaddr(struct ahd_softc *ahd,
158 ahd_get_sense_buf(struct ahd_softc *ahd, struct scb *scb)
164 ahd_get_sense_bufaddr(struct ahd_softc *ahd, struct scb *scb)
170 int ahd_intr(struct ahd_softc *ahd);