Lines Matching defs:iw_softc

77 struct iw_softc {  struct
78 device_t sc_dev;
79 bus_space_tag_t sc_iot; /* bus cookie */
80 isa_chipset_tag_t sc_ic;
81 kmutex_t sc_lock;
82 kmutex_t sc_intr_lock;
84 int vers;
85 int revision;
86 int sc_fullduplex;
87 int sc_irate;
88 int sc_orate;
89 u_long sc_dma_flags;
90 int sc_irq;
91 int sc_midi_irq;
93 void (*sc_recintr)(void *);
94 void *sc_recarg;
95 void *sc_recdma_bp;
96 int sc_playdrq;
97 bus_size_t sc_play_maxsize;
98 int sc_recdrq;
99 bus_size_t sc_rec_maxsize;
100 int sc_recdma_cnt;
101 int sc_playing;
102 int sc_maxdma;
104 u_long outfifo;
105 u_long infifo;
107 int fifosize;
108 u_short silence;
110 u_long sc_last_dmasize;
111 u_long sc_last_playsize;
112 u_long sc_last_played;
113 u_long sc_play_pos; /* position of next free byte in buffer */
114 u_long sc_play_start; /* address of start of the buffer */
115 u_long sc_play_end; /* end */
117 void (*sc_playintr)(void *);
118 void *sc_playarg;
119 void *sc_playdma_bp;
120 int sc_playdma_cnt;
122 int play_encoding;
123 int play_channels;
124 int play_precision;
125 int sc_playlastcc;
127 int sc_fillcount;
128 int bytesout;
129 int bytesin;
131 int sc_playbuf_available;
132 int sc_recbuf_available;
134 int rec_encoding;
135 int rec_channels;
136 int rec_precision;
137 int sc_reclastcc;
139 u_char recfmtbits;
140 u_char playfmtbits;
141 u_char sc_recsrcbits;
142 int (*sc_ih)(void *);
143 iw_port_info_t sc_mic;
144 iw_port_info_t sc_aux1;
145 iw_port_info_t sc_aux2;
146 iw_port_info_t sc_linein;
147 iw_port_info_t sc_lineout;
148 iw_port_info_t sc_rec;
149 iw_port_info_t sc_dac;
150 iw_port_info_t sc_loopback;
151 iw_port_info_t sc_monoin;
152 volatile u_short flags; /* InterWave stat flags */
154 bus_space_handle_t dir_h; /* dummy handle for direct access*/
155 int codec_index; /* Base Port for Codec */
156 bus_space_handle_t codec_index_h;
157 isa_chipset_tag_t sc_codec_ic;
158 int pcdrar; /* Base Port for Ext Device */
159 int p2xr; /* Compatibility Base Port */
160 bus_space_handle_t p2xr_h;
161 isa_chipset_tag_t sc_p2xr_ic;
162 int p3xr; /* MIDI and Synth Base Port */
163 bus_space_handle_t p3xr_h;
164 isa_chipset_tag_t sc_p3xr_ic;
165 int p401ar; /* Gen Purpose Reg. 1 address */
166 int p201ar; /* Game Ctrl normally at 0x201 */
167 int pataar; /* Base Address for ATAPI I/O Space */
169 int p388ar; /* Base Port for AdLib. It should bbe 388h */
170 int pnprdp; /* PNP read data port */
171 int igidxr; /* Gen Index Reg at P3XR+0x03 */
172 int i16dp; /* 16-bit data port at P3XR+0x04 */
196 void iwattach(struct iw_softc *); argument