Lines Matching defs:envy_softc
61 struct envy_softc { struct
62 struct device dev;
63 struct device *audio;
64 int isht; /* is a Envy24HT ? */
65 int isac97; /* is a Envy24HT AC97 ? */
66 struct envy_buf ibuf, obuf;
67 pcitag_t pci_tag;
68 pci_chipset_tag_t pci_pc;
69 pci_intr_handle_t *pci_ih;
70 bus_dma_tag_t pci_dmat;
71 bus_space_tag_t ccs_iot;
72 bus_space_handle_t ccs_ioh;
73 bus_size_t ccs_iosz;
74 bus_space_tag_t mt_iot;
75 bus_space_handle_t mt_ioh;
76 bus_size_t mt_iosz;
77 int iactive; /* trigger_input called */
78 int oactive; /* trigger_output called */
79 int ibusy; /* input DMA started */
80 int obusy; /* output DMA started */
82 unsigned spurious;
83 struct timespec start_ts;
85 unsigned nintr;
86 struct envy_intr {
89 } intrs[ENVY_NINTR];
91 struct envy_card *card;
92 unsigned char shadow[4][16];
94 unsigned char eeprom[ENVY_EEPROM_MAXSZ];
95 struct ac97_codec_if *codec_if;
96 struct ac97_host_if host_if;
97 enum ac97_host_flags codec_flags;
98 void (*iintr)(void *);
99 void *iarg;
100 void (*ointr)(void *);
101 void *oarg;
103 void (*midi_in)(void *, int);
104 void (*midi_out)(void *);
105 void *midi_arg;
106 struct device *midi;
107 int midi_isopen;