Lines Matching defs:emuxki_softc
100 struct emuxki_softc { struct
101 device_t sc_dev;
102 device_t sc_audev;
103 enum {
110 } sc_type;
111 audio_device_t sc_audv; /* for GETDEV */
114 bus_space_tag_t sc_iot;
115 bus_space_handle_t sc_ioh;
116 bus_addr_t sc_iob;
117 bus_size_t sc_ios;
118 pci_chipset_tag_t sc_pc; /* PCI tag */
119 bus_dma_tag_t sc_dmat;
120 void *sc_ih; /* interrupt handler */
121 kmutex_t sc_intr_lock;
122 kmutex_t sc_lock;
123 kmutex_t sc_index_lock;
126 struct dmamem *ptb; /* page table */
128 struct dmamem *pmem; /* play memory */
129 void (*pintr)(void *);
130 void *pintrarg;
131 audio_params_t play;
132 uint32_t pframesize;
133 uint32_t pblksize;
134 uint32_t plength;
135 uint32_t poffset;
137 struct dmamem *rmem; /* rec internal memory */
138 void (*rintr)(void *);
139 void *rintrarg;
140 audio_params_t rec;
141 void *rptr; /* rec MI ptr */
142 int rcurrent; /* rec software trans count */
143 int rframesize;
144 int rblksize;
145 int rlength;
146 int roffset;
150 struct ac97_host_if hostif;
151 struct ac97_codec_if *codecif;