Lines Matching defs:iop_softc

107 struct iop_softc {  struct
108 device_t sc_dev; /* Generic device data */
109 bus_space_handle_t sc_ioh; /* Bus space handle */
110 bus_space_tag_t sc_iot; /* Bus space tag */
111 bus_dma_tag_t sc_dmat; /* Bus DMA tag */
112 bus_space_handle_t sc_msg_ioh; /* Message queue bus space handle */
113 bus_space_tag_t sc_msg_iot; /* Message queue bus space tag */
114 void *sc_ih; /* Interrupt handler cookie */
116 struct iop_msg *sc_ims; /* Message wrappers */
118 kmutex_t sc_intrlock; /* Interrupt level lock */
120 bus_dmamap_t sc_rep_dmamap; /* Reply frames DMA map */
121 int sc_rep_size; /* Reply frames size */
122 bus_addr_t sc_rep_phys; /* Reply frames PA */
123 void * sc_rep; /* Reply frames VA */
125 int sc_maxib; /* Max inbound (-> IOP) queue depth */
126 int sc_maxob; /* Max outbound (<- IOP) queue depth */
127 int sc_curib; /* Current inbound queue depth */
128 int sc_framesize; /* Max msg frame size in bytes */
130 struct i2o_hrt *sc_hrt; /* Hardware resource table */
131 struct iop_tidmap *sc_tidmap; /* TID map (per-LCT-entry flags) */
132 struct i2o_lct *sc_lct; /* Logical configuration table */
133 int sc_nlctent; /* Number of LCT entries */
134 int sc_flags; /* IOP-wide flags */
135 u_int32_t sc_chgind; /* Configuration change indicator */
136 kmutex_t sc_conflock; /* Configuration lock */
137 kcondvar_t sc_confcv; /* Configuration CV */
138 lwp_t *sc_reconf_thread;/* Auto reconfiguration process */
140 int sc_nii; /* Total number of initiators */
141 int sc_nuii; /* Number of utility initiators */
166 void iop_init(struct iop_softc *, const char *); argument