Lines Matching defs:hifn_softc
130 struct hifn_softc { struct
131 device_t sc_dv; /* generic device */
132 void * sc_ih; /* interrupt handler cookie */
133 u_int32_t sc_dmaier;
134 u_int32_t sc_drammodel; /* 1=dram, 0=sram */
136 bus_space_handle_t sc_sh0, sc_sh1;
137 bus_space_tag_t sc_st0, sc_st1;
138 bus_size_t sc_iosz0, sc_iosz1;
139 bus_dma_tag_t sc_dmat;
140 struct pool_cache *sc_cmd_cache;
142 struct hifn_dma *sc_dma;
143 bus_dmamap_t sc_dmamap;
144 bus_dma_segment_t sc_dmasegs[1];
145 int sc_dmansegs;
146 int32_t sc_cid;
147 int sc_maxses;
148 int sc_nsessions;
149 int sc_ramsize;
150 int sc_flags;
159 struct timeval sc_rngboottime; /* time we flipped RNG on */
160 struct callout sc_rngto; /* rng timeout */
161 struct callout sc_tickto; /* led-clear timeout */
162 krndsource_t sc_rnd_source;
163 unsigned sc_rng_needbits; /* how many bits wanted */
164 int sc_c_busy; /* command ring busy */
165 int sc_s_busy; /* source data ring busy */
166 int sc_d_busy; /* destination data ring busy */
167 int sc_r_busy; /* result ring busy */
168 int sc_active; /* for initial countdown */
169 int sc_needwakeup; /* ops q'd waiting on resources */
170 uint8_t sc_sessions[2048/NBBY];
171 pci_chipset_tag_t sc_pci_pc;
172 pcitag_t sc_pci_tag;
173 bus_size_t sc_waw_lastreg;
174 int sc_waw_lastgroup;
175 kmutex_t sc_mtx;