aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx/aic79xx_inline.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx_inline.h')
-rw-r--r--drivers/scsi/aic7xxx/aic79xx_inline.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_inline.h b/drivers/scsi/aic7xxx/aic79xx_inline.h
index 875137262156..5f12cf9d99d0 100644
--- a/drivers/scsi/aic7xxx/aic79xx_inline.h
+++ b/drivers/scsi/aic7xxx/aic79xx_inline.h
@@ -66,10 +66,6 @@ static __inline void ahd_extract_mode_state(struct ahd_softc *ahd,
66 66
67void ahd_set_modes(struct ahd_softc *ahd, ahd_mode src, 67void ahd_set_modes(struct ahd_softc *ahd, ahd_mode src,
68 ahd_mode dst); 68 ahd_mode dst);
69void ahd_update_modes(struct ahd_softc *ahd);
70void ahd_assert_modes(struct ahd_softc *ahd, ahd_mode srcmode,
71 ahd_mode dstmode, const char *file,
72 int line);
73ahd_mode_state ahd_save_modes(struct ahd_softc *ahd); 69ahd_mode_state ahd_save_modes(struct ahd_softc *ahd);
74void ahd_restore_modes(struct ahd_softc *ahd, 70void ahd_restore_modes(struct ahd_softc *ahd,
75 ahd_mode_state state); 71 ahd_mode_state state);
@@ -104,33 +100,12 @@ ahd_extract_mode_state(struct ahd_softc *ahd, ahd_mode_state state,
104void *ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb, 100void *ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb,
105 void *sgptr, dma_addr_t addr, 101 void *sgptr, dma_addr_t addr,
106 bus_size_t len, int last); 102 bus_size_t len, int last);
107void ahd_setup_scb_common(struct ahd_softc *ahd,
108 struct scb *scb);
109void ahd_setup_data_scb(struct ahd_softc *ahd,
110 struct scb *scb);
111void ahd_setup_noxfer_scb(struct ahd_softc *ahd,
112 struct scb *scb);
113 103
114/************************** Memory mapping routines ***************************/ 104/************************** Memory mapping routines ***************************/
115static __inline size_t ahd_sg_size(struct ahd_softc *ahd); 105static __inline size_t ahd_sg_size(struct ahd_softc *ahd);
116 106
117void *
118 ahd_sg_bus_to_virt(struct ahd_softc *ahd,
119 struct scb *scb,
120 uint32_t sg_busaddr);
121uint32_t
122 ahd_sg_virt_to_bus(struct ahd_softc *ahd,
123 struct scb *scb,
124 void *sg);
125void ahd_sync_scb(struct ahd_softc *ahd,
126 struct scb *scb, int op);
127void ahd_sync_sglist(struct ahd_softc *ahd, 107void ahd_sync_sglist(struct ahd_softc *ahd,
128 struct scb *scb, int op); 108 struct scb *scb, int op);
129void ahd_sync_sense(struct ahd_softc *ahd,
130 struct scb *scb, int op);
131uint32_t
132 ahd_targetcmd_offset(struct ahd_softc *ahd,
133 u_int index);
134 109
135static __inline size_t 110static __inline size_t
136ahd_sg_size(struct ahd_softc *ahd) 111ahd_sg_size(struct ahd_softc *ahd)
@@ -160,26 +135,10 @@ void ahd_outq(struct ahd_softc *ahd, u_int port,
160 uint64_t value); 135 uint64_t value);
161u_int ahd_get_scbptr(struct ahd_softc *ahd); 136u_int ahd_get_scbptr(struct ahd_softc *ahd);
162void ahd_set_scbptr(struct ahd_softc *ahd, u_int scbptr); 137void ahd_set_scbptr(struct ahd_softc *ahd, u_int scbptr);
163u_int ahd_get_hnscb_qoff(struct ahd_softc *ahd);
164void ahd_set_hnscb_qoff(struct ahd_softc *ahd, u_int value);
165u_int ahd_get_hescb_qoff(struct ahd_softc *ahd);
166void ahd_set_hescb_qoff(struct ahd_softc *ahd, u_int value);
167u_int ahd_get_snscb_qoff(struct ahd_softc *ahd);
168void ahd_set_snscb_qoff(struct ahd_softc *ahd, u_int value);
169u_int ahd_get_sescb_qoff(struct ahd_softc *ahd);
170void ahd_set_sescb_qoff(struct ahd_softc *ahd, u_int value);
171u_int ahd_get_sdscb_qoff(struct ahd_softc *ahd);
172void ahd_set_sdscb_qoff(struct ahd_softc *ahd, u_int value);
173u_int ahd_inb_scbram(struct ahd_softc *ahd, u_int offset); 138u_int ahd_inb_scbram(struct ahd_softc *ahd, u_int offset);
174u_int ahd_inw_scbram(struct ahd_softc *ahd, u_int offset); 139u_int ahd_inw_scbram(struct ahd_softc *ahd, u_int offset);
175uint32_t
176 ahd_inl_scbram(struct ahd_softc *ahd, u_int offset);
177uint64_t
178 ahd_inq_scbram(struct ahd_softc *ahd, u_int offset);
179struct scb * 140struct scb *
180 ahd_lookup_scb(struct ahd_softc *ahd, u_int tag); 141 ahd_lookup_scb(struct ahd_softc *ahd, u_int tag);
181void ahd_swap_with_next_hscb(struct ahd_softc *ahd,
182 struct scb *scb);
183void ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb); 142void ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb);
184 143
185static __inline uint8_t * 144static __inline uint8_t *
@@ -212,9 +171,6 @@ ahd_get_sense_bufaddr(struct ahd_softc *ahd, struct scb *scb)
212} 171}
213 172
214/************************** Interrupt Processing ******************************/ 173/************************** Interrupt Processing ******************************/
215void ahd_sync_qoutfifo(struct ahd_softc *ahd, int op);
216void ahd_sync_tqinfifo(struct ahd_softc *ahd, int op);
217u_int ahd_check_cmdcmpltqueues(struct ahd_softc *ahd);
218int ahd_intr(struct ahd_softc *ahd); 174int ahd_intr(struct ahd_softc *ahd);
219 175
220#endif /* _AIC79XX_INLINE_H_ */ 176#endif /* _AIC79XX_INLINE_H_ */